Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005812Dwarf FortressDwarf Mode -- Militarypublic2012-04-14 11:542022-08-07 03:35
Videospirit 
Loci 
normaltweakalways
acknowledgedopen 
Toshiba Satellite L300DWindows 7
0.34.07 
 
0005812: Bigger than average dwarves refuse to equip big weapons
http://dwarffortresswiki.org/index.php/Weapons [^] implies bigger dwarves can equip the larger weapons in adventure mode, but dwarves refuse to do so in fortress mode. This makes the Pikedwarf skill impossible to train in fortress mode. Goblins, who are the same size as dwarves, have no problem equipping these items when they invade. Also, Dwarves seem to refuse to use Longswords 1 handed but that may have just been them being too lazy to pick up a shield.
either trade for or kill some foreign units for two handed swords, halberds, pikes, Mauls, or Great axes, than try to make a dwarf equip one.
body size, equip, halberd, maul, pike, size, weapon
related to 0000535acknowledged Toady One Equipping weapons/armor on military is erratic 
Issue History
2012-04-14 11:54VideospiritNew Issue
2012-04-14 19:25FelbloodIssue Monitored: Felblood
2012-06-25 15:13splinterzNote Added: 0023109
2012-06-25 15:14splinterzIssue Monitored: splinterz
2012-06-25 15:14splinterzIssue End Monitor: splinterz
2012-06-27 05:31splinterzTag Attached: equip
2012-06-27 05:31splinterzTag Attached: pike
2012-06-27 05:31splinterzTag Attached: size
2012-06-27 05:31splinterzTag Attached: weapon
2012-06-27 05:31splinterzTag Attached: body size
2012-06-27 05:31splinterzTag Attached: halberd
2012-06-27 05:31splinterzTag Attached: maul
2012-06-27 05:31splinterzIssue Monitored: splinterz
2012-12-22 13:06arclanceIssue Monitored: arclance
2013-09-27 11:19FootkerchiefRelationship addedrelated to 0000535
2014-08-18 14:12ButtonIssue Monitored: Button
2014-08-18 14:30TalvienoIssue Monitored: Talvieno
2014-08-18 14:40TalvienoIssue End Monitor: Talvieno
2014-11-07 18:47park66665Issue Monitored: park66665
2014-11-08 11:04FootkerchiefNote Added: 0030908
2014-11-08 11:04FootkerchiefAssigned To => Footkerchief
2014-11-08 11:04FootkerchiefStatusnew => needs feedback
2018-10-21 10:30Turbo2151Note Added: 0038885
2019-01-07 13:15LociNote Added: 0039092
2019-01-07 13:15LociAssigned ToFootkerchief => Loci
2019-01-07 13:15LociStatusneeds feedback => acknowledged
2020-04-09 08:01PatrikLundellNote Added: 0040446
2022-02-08 05:21enemy-of-christNote Added: 0041224
2022-08-07 03:35TehmyneNote Added: 0041291

Notes
(0023109)
splinterz   
2012-06-25 15:13   
testing has shown that appearance modifiers broadness and height, while changing the overall size of a dwarf, aren't taken into account when checking if weapons can or cannot be used. only the base average body size (60000 for adult dwarves) is used.


http://www.bay12forums.com/smf/index.php?topic=112093.msg3401686#msg3401686 [^]
(0030908)
Footkerchief   
2014-11-08 11:04   
Is this bug still present in 0.40.15+?
(0038885)
Turbo2151   
2018-10-21 10:30   
Not sure if this is the right place to post but it looks like this issue is still occurring in 0.44.12. According to dwarf therapist, my military dwarf (who is trying to equip the weapon) has a size of 71610 and will not equip either a pike (req. size 62500 according to wiki), great axe (req. size 62500 according to wiki) or Maul (req. size 62500 according to wiki). They will equip a battle axe and whip when asked (which are located in the same stockpile) however when switching their weapon in the military equip screen they will put their current weapon (battle axe, whip etc) away into the stockpile but will not then pick up their new weapon rather they will go to drill without it. Specifying the weapon type further e.g. asking for them to equip a bronze maul (The maul I currently have is Bronze) and changing to exact match doesn't change the outcome conversely specifying only the weapon type with partial match results in the same outcome.
(0039092)
Loci   
2019-01-07 13:15   
Thanks for the update!
(0040446)
PatrikLundell   
2020-04-09 08:01   
0.47.04. While not the same bug, it's an issue with the bug: I just had a (fortress) migrant skilled in pike use, and assuming the bug hasn't magically fixed itself, the weapon can't be used by the dorf (and I even have one in the spoils from the first necro attack...).
(0041224)
enemy-of-christ   
2022-02-08 05:21   
same as https://www.bay12games.com/dwarves/mantisbt/view.php?id=11810 [^]
which is a short self-contained example that is easy to test, and shows that equipping is mostly based on the sum/average of all cast's maximum BODY_SIZE with age.
However there is also a small range of BODY_SIZEs where the equipping ability appears to be based on another as yet unknown factor.
(0041291)
Tehmyne   
2022-08-07 03:35   
I was playing around with EOC's example above, and after a bunch of testing, there is a pretty easy workaround to this bug (sorry if this is already common knowledge.) The 2 handed check seems to trigger purely off of the last BODY_SIZE you have under that caste, checking whether it is above the 62500 needed for weapons like the 2H Sword, Maul, and Pike. So, after your BODY_SIZE modifiers you want for your dwarves, you can put [BODY_SIZE:2000:0:62500] where (BODY_SIZE|<year>|<day>|<average size>).

This triggers your average dwarf to grow to about 62500 at the pointless age of 2000 years old which, let's be honest, if they made it that far, maybe they deserve the height increase. But it also means that it shouldn't actually change anything about the game with the singular exception that now all dwarves of the caste you've edited can now use multigrasp on these large weapons (unless you somehow get a 2000-year-old dwarf, which I'm pretty sure is impossible at current state). This change does seem to work in saved games too. Example based off of EOC's example below:

    [CASTE:FEMALE]
        The gender tag lets it know how breeding works.
        [FEMALE]
        [MULTIPLE_LITTER_RARE]
        To add beards, put square brackets around the following:
        BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS
            [BODY_SIZE:0:0:3000]
            [BODY_SIZE:1:168:7500]
            [BODY_SIZE:5:0:15000] These six sizes are normal aging size increases.
            [BODY_SIZE:12:0:45000] I added a few more for my own personal flavor, but they function the same as the basic 3.
            [BODY_SIZE:16:0:60000]
            [BODY_SIZE:90:0:50000]
            [BODY_SIZE:2000:0:62500] This is the line that makes 2 handed weapons useable.
    [CASTE:MALE]
        [MALE]
        [SET_BP_GROUP:BY_TYPE:LOWERBODY][BP_ADD_TYPE:GELDABLE]
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
            [BODY_SIZE:0:0:3000]
            [BODY_SIZE:1:168:7500]
            [BODY_SIZE:5:0:15000]
            [BODY_SIZE:12:0:45000]
            [BODY_SIZE:16:0:60000]
            [BODY_SIZE:90:0:50000]
            [BODY_SIZE:2000:0:62400] The size number here (62400 instead of 62500) means no male dwarves can use 2H weapons, their caste won't allow it.

There -does- still seem to be a glitch here regardless of my workaround: when the flag / trigger enables multigrasp for larger weapons, it does so regardless of how big your dwarf actually is. I.E. it's just a caste check, having no data taken from any individual dwarf. So Shortast McDwarf who's body size is only 30000 won't be able to wield a standard battle axe correctly (I think he might have to 2 hand it?) but he can sure equip that massive two-handed sword (again, multigrasped.)

After looking at this a bit further, I actually think this problem was already happening with smaller weapons and minuscule dwarves. My 2-year-old dwarf (who for the purposes of testing magically became an adult, congrats kid) who's size is 6760 right now can apparently two-hand that battle axe and two-handed sword as well, because the 2 handed check has triggered for all weapons under 62500 size.