Dwarf Fortress

Dwarf Fortress

Not enough ratings
Wieldable Big Weapons (bug fix)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
158.349 KB
Jan 28, 2023 @ 6:26pm
1 Change Note ( view )

Subscribe to download
Wieldable Big Weapons (bug fix)

Description
Description
Due to a minor bug in code dwarves normally won't wield big foreign weapons even if they're physically capable of doing so. My fix tries to mitigate that by keeping weapon size unchanged, while setting dwarf maximum average size just big enough to pass wielding check.

With this method, only 17/49 genetically lucky dwarves will be capable to wield big weapons, as opposed to 24/49 odds provided by making weapons a wee bit smaller.

Known Issues
None so far
4 Comments
Alyfox Jan 29, 2023 @ 11:32am 
this is usually my solution to things, rather than making the weapons smaller, I think you're the first person on the workshop that has done it this way
Dembeor  [author] Jan 29, 2023 @ 1:57am 
Under individual dwarf's health->description tab. Broad and tall dwarves are slightly (2-25%) bigger than average, making few extremely big dwarves (3/49) capable of holding halberds one-handed!

I'll post full math table when I get a chance . ^^
Count Jan 28, 2023 @ 9:06pm 
Interesting! How might one determine whether a particular dwarf is big enough to handle the weapon?

Trial and error? Or is there an in-game description somewhere
Gonzo Jan 28, 2023 @ 8:31pm 
nice! thanks a lot.