Dwarf Fortress

Dwarf Fortress

The Dwarf Fortress Workshop
Share and subscribe to Dwarf Fortress mods.
GhostPutty 12 24 Dec, 2022 @ 12:04am
Remove a token
When editing the raws it is easy to remove a token. I'm not sure how to remove them in a mod though.
< >
Showing 1-6 of 6 comments
zeeb 6 24 Dec, 2022 @ 5:22am 
If you want to remove a token from a creature, you need to overwrite that creature completely with your own mod. Might have to do with mod load order as well, so could be worth checking it out. Loading your own mod before the game loads the vanilla ones if you don't see any changes.
GhostPutty 12 24 Dec, 2022 @ 8:04am 
Oh, damn. That's a bit of a pain. Oh well I will see if I really want to do that.
Van Silke 3 24 Dec, 2022 @ 8:26am 
Originally posted by zeeb:
If you want to remove a token from a creature, you need to overwrite that creature completely with your own mod.

It's how I managed to overwrite noble demands. First I let the game load the normal stuff, then had two files in my mod folder - entity_cut and entity_patch.

entity_cut would remove the civ, and entity_patch insert my own in its place, the latter was mostly a copy-paste job with removing/changing what I wanted.

That way everything's the same, only with the changes I wanted to make. The only caveat is, it needs to be loaded BEFORE other mods, so that the other mods modify the altered civ, not the deleted one.

I agree that adding tokens is easy, but removing/editing specific ones is a pain.
GhostPutty 12 24 Dec, 2022 @ 8:35am 
How did the entity_cut file work?
Axebeard 26 Dec, 2022 @ 9:29pm 
I thought there was a thing that could cut tokens and stuff out of a raw so you didn't need to replace the entire creature.
Aradar 15 27 Feb @ 12:42pm 
You can accomplish this with creature variations. You can add and remove any tag from a creature with this.
< >
Showing 1-6 of 6 comments
Per page: 1530 50