Bay 12 Games Forum

Dwarf Fortress => DF Modding => Topic started by: Xinael on March 15, 2023, 06:07:07 pm

Title: Modding vanilla raws that do not have CUT/SELECT
Post by: Xinael on March 15, 2023, 06:07:07 pm
If I want to modify some vanilla raw entries (in this case body detail plans and tissue templates but my question applies equally to everything without a CUT command), is the only option to disable the vanilla file in the Mods screen, and reproduce the entire contents of that file in my mod?

Or modify the vanilla files directly, I guess, but I don't want to do that.
Title: Re: Modding vanilla raws that do not have CUT/SELECT
Post by: Eric Blank on March 16, 2023, 12:18:42 pm
You can CUT the specific object you want to change and then remake it. Dont have to remove the entire vanilla objects files for it or anything like that.
Title: Re: Modding vanilla raws that do not have CUT/SELECT
Post by: Xinael on March 16, 2023, 06:29:48 pm
I don't think I can CUT a tissue template or a body detail plan though, because the wiki says they're not supported. So for example

Code: [Select]
[CUT_TISSUE_TEMPLATE:CHITIN_TEMPLATE]
will not do anything. That's the whole essence of my question - if there's a way to CUT tissue templates, body detail plans, material templates, or bodies, then I'm all ears!
Title: Re: Modding vanilla raws that do not have CUT/SELECT
Post by: Eric Blank on March 17, 2023, 11:43:20 am
My bad, I didn't read properly. In that case yeah, duplicating the vanilla objects for those classes and then editing them, and disabling the vanilla objects in the load order, is probably necessary.
Title: Re: Modding vanilla raws that do not have CUT/SELECT
Post by: Deon on March 25, 2023, 03:25:27 pm
You can make one of your mods incompatible with one of vanilla files, to specifically indicate that you are replacing that file.
You just need to put that information in info.txt file.
Example:
[CONFLICTS_WITH_ID:vanilla_bodies]