Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011928Dwarf FortressDwarf Mode -- Itemspublic2022-11-19 19:342022-11-19 19:34
qeveren 
 
lowminoralways
newopen 
WindowsWindows 10 Home 64-bit21H2
0.47.05 
 
0011928: Custom single-piece musical instruments ignore [SIZE] token
When modding custom single-piece instruments into the game, the weight calculated for the instrument appears to ignore the value set in the [SIZE] token of the item definition. Instead, the instrument seems to be assigned a [SIZE] value somewhere in the range of 3000-4000.
1. Create a new single-piece instrument item definition including a [SIZE] value of your choice (ideally >> 4000).
2. Generate a new world.
3. Check the weight value in-game; regardless of the defined [SIZE], the instrument's weight will correspond to a [SIZE] between 3000 and 4000.
I'm assuming weight = density (kg/m^3) * SIZE (cc) / 1 000 000
No tags attached.
Issue History
2022-11-19 19:34qeverenNew Issue

There are no notes attached to this issue.