mifki / df-twbt

Text Will Be Text
187 stars 30 forks source link

Read multiple `overrides*.txt` files #44

Open PeridexisErrant opened 8 years ago

PeridexisErrant commented 8 years ago

An increasing number of graphics packs are sharing part of their TwbT config. It would be really nice for maintainers if they could have (eg) overrides_phoebus_items.txt and so on. How to deal with duplicate entries would be up to you.

pronvit commented 8 years ago

@PeridexisErrant Where should I look for these files? Just the init folder or somewhere per-savegame/raws, etc?

PeridexisErrant commented 8 years ago

Your choice, but I'd suggest the init folder in the same way as the current system. Moving it into the raws is probably just borrowing trouble.

pronvit commented 8 years ago

Sure. I thought there were some developments related to updating tilesets in saves/merging/etc, but I wasn't following, so asked just in case.

jecowa commented 6 years ago

Maybe this feature could just be super basic for now.

Have it check for a /raw/overrides.txt and copy-paste (concat?) it onto the end of the /data/init/overrides.txt file. The new overrides files would still get its overrides PNG files from the usual /data/art/ folder.

Having dual-overrides support would make it a little easier to install mods with manual installations and with Lazy Newb Packs. I'm fine with it not being able to compensate for both overrides files trying to use the same tileset identifier name. Mod makers can be responsible for making their identifiers unique since there should be no mods already using the /raw/ folder for its overrides. Also I can make most of the more popular graphics packs use more unique identifiers.