diff --git a/dodo.py b/dodo.py index 6c3f963..cbcf918 100644 --- a/dodo.py +++ b/dodo.py @@ -94,6 +94,17 @@ class ScriptedPatchwork(BasePatchwork): class RasterPatchwork(BasePatchwork): pass + +class Patchset(list): + def __init__(self, *args, **kwargs): + self.modimage_path = kwargs.pop('modimage_path') + super().__init__(*args, **kwargs) + + def image_files(self): + for patches in self: + if isinstance(patches, BasePatchwork): + pass + mod_name = 'randchgs' mod_install_path = get_var('descriptor_mod_path', 'C:/Users/User/Documents/Paradox Interactive/Hearts of Iron IV/mod/randchgs') dir_vanilla = Path(get_var('vanilla_path', '../vanilla/current'))