Shaped Shoes/Boots

If you liked this item, please rate it up on Steam Workshop page.

Author: Dawnmist

Last revision: 16 Jan, 2023 at 14:16 UTC (1)

File size: 68.61 KB

On Steam Workshop

Description:

Allows military dwarves to change into armored boots when equipping their uniforms by adding the SHAPED tag to shoes/boots.

This mod implements the recommended work-around to allow military dwarves to change footwear when equipping armor that is specified in the Dwarf Fortress bugtracker at https://www.bay12games.com/dwarves/mantisbt/view.php?id=10899#c39584

Normally military dwarfs attempt to put their armor boots on over the top of their shoes and that exceeds the limit for the amount of clothing permitted on their feet at the same time. They then proceed to fight in plain shoes instead of their armored boots because they couldn’t put the armor boots on over the top of their shoes.

Only one item that is "shaped" is allowed to be worn on a body part at once. That was originally added to the game for helms/hoods so that they would put their helmet on instead of continuing to run around in their plain hats. This mod adds that same shaped flag to all footwear other than socks, so that they take their shoes off before trying to put their armor boots on.

See also: Shaped Gloves, which uses the same technique to try to make wearing armor gauntlets more reliable when dwarves are wearing gloves & mittens.

FAQ:

Can I add this mod to an existing save?

Unfortunately, no. Mods can only be added to a save at world generation time. However, you CAN directly modify the game files yourself to apply the same changes which will then apply to all worlds you are playing.

The benefit when the changes are done as a mod is that game updates won’t overwrite the changes, since they’re defined in a separate file. The downside is that you can only add a mod to a save when first generating the world. Editing the game files directly lets you add the change to existing saves, but if the game updates or you run steam’s "validate files" you’ll need to redo the changes.

Applying the change manually can be a good way to get started on your current world, then use the mod for any future worlds. That way when you finish with the current game you would no longer need to keep modifying the game files each update for your future worlds.

How to apply the edits manually so they apply to an existing save:

  • Open the file "Dwarf Fortress/data/vanilla/vanilla_items/objects/item_shoes.txt"
  • For each item in the file other than socks, add the "[SHAPED]" tag to the end of the item definition.
  • Do NOT add "[SHAPED]" to socks because you want them to be able to wear socks together with both shoes and boots.

Example:

[ITEM_SHOES:ITEM_SHOES_SHOES] [NAME:shoe:shoes] [LAYER:OVER] [COVERAGE:100] [LAYER_SIZE:20] [LAYER_PERMIT:15] [MATERIAL_SIZE:1] [SOFT] [LEATHER] [STRUCTURAL_ELASTICITY_WOVEN_THREAD] [SHAPED]
Download
Revisions:

Old revisions of this mod are available below. Click the link to download.