Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004979Dwarf FortressItemspublic2011-12-09 19:232013-09-22 17:57
Quietust 
Toady One 
normalminoralways
resolvedfixed 
i386WindowsXP
0.31.25 
0.34.06 
0004979: Tool weight ignores [SIZE]
All tools made of a specific material weight the same amount - 100Γ times the material's SOLID_DENSITY divided by 100,000.

For example, all tools made of slade weigh exactly 200Γ.
No tags attached.
related to 0004213new  Stone pots weigh less than wooden barrels. 
related to 0000130resolved Toady One Forge jobs always use only a single bar 
related to 0004897new  Large pots not very large 
Issue History
2011-12-09 19:23QuietustNew Issue
2011-12-10 06:05Knight OtuRelationship addedparent of 0004213
2011-12-10 06:06Knight OtuNote Added: 0019102
2011-12-10 15:27QuietustNote Added: 0019114
2011-12-12 06:47Logical2uNote Added: 0019154
2011-12-12 09:32QuietustNote Added: 0019155
2011-12-12 09:33QuietustNote Edited: 0019155bug_revision_view_page.php?bugnote_id=0019155#r7168
2011-12-12 09:37QuietustNote Edited: 0019155bug_revision_view_page.php?bugnote_id=0019155#r7169
2011-12-12 11:37QuietustNote Edited: 0019155bug_revision_view_page.php?bugnote_id=0019155#r7170
2012-01-23 12:41FootkerchiefRelationship addedrelated to 0000130
2012-01-23 12:42FootkerchiefNote Added: 0019416
2012-01-23 18:04QuietustNote Added: 0019419
2012-02-15 09:37FootkerchiefRelationship replacedrelated to 0004213
2012-03-15 01:16Toady OneStatusnew => resolved
2012-03-15 01:16Toady OneFixed in Version => Next Version
2012-03-15 01:16Toady OneResolutionopen => fixed
2012-03-15 01:16Toady OneAssigned To => Toady One
2013-09-22 17:57FootkerchiefRelationship addedrelated to 0004897

Notes
(0019102)
Knight Otu   
2011-12-10 06:06   
I guess that's the source of 0004213, then.
(0019114)
Quietust   
2011-12-10 15:27   
Effectively, all tools are being treated as though they have [SIZE:1000].
(0019154)
Logical2u   
2011-12-12 06:47   
Possibly related to 0000130?
(0019155)
Quietust   
2011-12-12 09:32   
(edited on: 2011-12-12 11:37)
Not at all related to 0000130 - the entirety of the bug is that the function item_toolst::getSize() (or whatever it's called) consists of "return 100;" instead of "return subtype->size;" (where subtype->size is the value in the [SIZE] token divided by 10) as is done with weapons, ammo, and trap components.

(0019416)
Footkerchief   
2012-01-23 12:42   
There may not be any direct relationship in the code, but the conceptual relationship is close enough.
(0019419)
Quietust   
2012-01-23 18:04   
Technically, 0005029 is the one that's related to 0000130, not this one.