Dwarf Fortress

Dwarf Fortress

290 ratings
Shaped Shoes/Boots
5
2
5
2
2
   
Award
Favorite
Favorited
Unfavorite
qol, fix
Tags: mod
File Size
Posted
Updated
70.492 KB
Dec 28, 2022 @ 1:37am
Jan 16, 2023 @ 7:16am
3 Change Notes ( view )

Subscribe to download
Shaped Shoes/Boots

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]
41 Comments
OAP2024 Jan 5 @ 1:16pm 
Oh thank goodness, this is EXACTLY what I needed.
I assigned my military full steel, but for some reason most of them were going barefoot, despite my order to wear armor over clothes. Unsurprisingly, when a forgotten beast appeared, one of the barefoot dwarves got their foot ripped off. Forgotten beast then immediately got decapitated, but it was still annoying, but could have been a LOT worse than just 1 lost foot.
Elvis Oct 29, 2024 @ 11:21am 
@Fuzzatron but they have time for adventure mode
Fuzzatron Oct 14, 2024 @ 3:45pm 
@dragmoor because it is a minor issue and the game is made by 2 guys. It is the most complicated simulation game ever made. It will get looked at eventually but the main dev is getting married and has more important issues to fix in game than this
atacool3 Aug 16, 2024 @ 12:08am 
If you guys are curious, this mod is still 'needed' in whatever stable patch is on atm. I was wondering why the heck my dwarves refused to wear the metal boots i made for them, turns out I need this mod lol.
Dragmoor Aug 11, 2024 @ 3:05am 
Not the sexiest of mods, how is this not just fixed by the devs?
Dawnmist  [author] Apr 9, 2024 @ 11:29pm 
@SetArk <Nyanverick 07>: I haven't played for a while, but as far as I can see the game files do not have the "[SHAPED]" tag on shoes/boots and there is no mention in the release notes about changing the algorithm for calculating what can be worn, so my belief is yes this is still needed.
SetArk <Nyanverick 07> Apr 7, 2024 @ 4:17pm 
Hail! Does this mod is still needed on the most modern patches?
matterfaulker Nov 4, 2023 @ 3:57pm 
Amazing thank you
Mc.turdle Apr 10, 2023 @ 2:37am 
Thanks!
Olek Feb 6, 2023 @ 6:54pm 
Thanks Dawnmist, this was a frustrating issue.