basic object for patchset grouping
This commit is contained in:
parent
eb857ddde4
commit
a572a142ca
11
dodo.py
11
dodo.py
@ -94,6 +94,17 @@ class ScriptedPatchwork(BasePatchwork):
|
|||||||
class RasterPatchwork(BasePatchwork):
|
class RasterPatchwork(BasePatchwork):
|
||||||
pass
|
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_name = 'randchgs'
|
||||||
mod_install_path = get_var('descriptor_mod_path', 'C:/Users/User/Documents/Paradox Interactive/Hearts of Iron IV/mod/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'))
|
dir_vanilla = Path(get_var('vanilla_path', '../vanilla/current'))
|
||||||
|
Loading…
Reference in New Issue
Block a user