Dwarf Fortress

Dwarf Fortress

The Dwarf Fortress Workshop
Share and subscribe to Dwarf Fortress mods.
CaZsm 1 16 Dec, 2022 @ 7:19pm
Merging modded raw files
AFAIK this is not a thing in classic dwarf fortress. I was wondering if this can be done now, and if not, (not sure if feature requests here are monitored) this is something sorely missing particularly now that we have steam workshop.

If I need to redefine an entire creature just to add e.g. a new caste, or add/replace a particular tag, that makes my mod (no matter how tiny it is), completely incompatible with every other mod for that creature. Real world example: I want to see if I can add/replace gem shapes (for flavor purposes), but to do that I need to replace the entity raws so civilizations can use any additional gem shapes. This is prohibitively heavy for a mod that doesn't even make any changes to entities.

Is there a way to handle this gracefully?

What I'd like to be able to do is flag that if my definition collides with another definition, its contents should be appended to the definition that already exists. Now that we have mod load order, this should be possible? I also want to be able to modify particular tags on an existing definition, so maybe a way to achieve this would be to specify a specific tag that matches 1:1 in the original raw to delete, which would include deleting any sub-tags that applied to that "root" tag if applicable.
< >
Showing 1-1 of 1 comments
Nautilus 6 25 May, 2023 @ 11:41am 
I think you can add tags to a creature or entity without making them incompatible with other mods. If you want to subtract tags you probably have to overwrite the old version though.
< >
Showing 1-1 of 1 comments
Per page: 1530 50