preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: May 19, 2024, 09:33:51 am
 Dwarf Fortress File Depot » Minor Mods » [50.xx] Shaped Gloves
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: [50.xx] Shaped Gloves
Last Updated: Jan 18, 2023, 05:31:42 am
First Created: Jan 16, 2023, 09:42:46 am
File version: 1.0.1
For DF version: Multiple
Downloads: 72 (80) Size: 66.1 KB
Views: 217 (242) Type: ZIP
Rating (0 votes): Unrated
Description
Allows military dwarves to change into armored gauntlets despite wearing gloves or mittens.

Please note: I had originally misunderstood one of the complex clothing combination rules. I've updated this mod as a result of being informed about how that rule worked. :)

The game by default permits dwarves to wear:
  • 2 pairs of gloves with 1 pair of mittens
  • 1 pair of gloves with 1 pair of gauntlets
  • 1 pair of gauntlets with 1 pair of mittens

If a dwarf is normally wearing gloves + mittens they will fail to be able to put their armor gauntlets on, because they're not allowed the bulk of all 3 items together.

This mod is based on the same game mechanic of marking clothing items as shaped so that only one of a set of items can be worn at the same time that is used in the Shaped Shoes/Boots mod. The game already defines gauntlets as SHAPED. This mod marks mittens as also SHAPED so that the dwarves can wear mittens OR gauntlets but never both at once. That results in forcing them to take their mittens off before trying to put their gauntlets on, allowing them to succeed at wearing their gauntlets even when wearing gloves as well.

Note: It does however stop dwarves from being able to wear gauntlets + mittens at the same time.

This is because that would be two shaped items on the same body part. It's a trade off as to whether you'd prefer them to be able to reliably put on their gauntlets at the cost of losing one of the valid clothing combinations or not, which is why I've split this to its own mod instead of adding it to Shaped Shoes/Boots.

I'm continuing to look into whether there is anything better that can be done that won't lose a clothing combination while still making equipping gauntlets more reliable.

Also available on the Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2919041302

Installation:
  • Download using the Workshop, or extract the shaped_shoes folder and place it in Dwarf Fortress\mods.
  • Generate a new world!

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_gloves.txt"
  • Add the "[SHAPED]" tag to the end of the ITEM_GLOVES:ITEM_GLOVES_MITTENS definition.
Code:
[ITEM_GLOVES:ITEM_GLOVES_MITTENS] [NAME:mitten:mittens] [LAYER:COVER] [COVERAGE:150] [LAYER_SIZE:15] [LAYER_PERMIT:20] [MATERIAL_SIZE:1] [SOFT] [LEATHER] [STRUCTURAL_ELASTICITY_WOVEN_THREAD] [SHAPED]
Raw Data: JSON / Text
Checksum / Hash
SHA-256: c25605c87dae71aec42d6f50df02e869d2c0344400f64c6a428c8d3622c09253
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2024).
Hosted by Linode.