DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.86k stars 469 forks source link

Feature request: allow specifying material in the tailor plugin #1911

Closed TymurGubayev closed 3 years ago

TymurGubayev commented 3 years ago

I'd like to have tailor enabled since I find it nice, but I don't want it to use leather.

ab9rf commented 3 years ago

The default order is silk, cloth, yarn, leather. I had in mind to make this end-user configurable (as well as the hold-aside limit of ten) but never got around to it.

It's not a terribly hard change to make. I'll give it some serious thought.

ab9rf commented 3 years ago

The PR referenced above allows you to set the list of materials to use. With this change, if you don't want it to use leather, the command tailor materials silk cloth yarn (or whatever other order you like) and it will only use those materials.

Please note that the version in this PR doesn't persist this setting in the save; you'll have to reset it whenever you reload. I suggest putting your preferred setting in your dfhack init file.