v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Weight"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Apparently, these were backwards)
(Based on [SIZE:5] die still having weight + DFhack getVolume() returning 1. Would've made a talk discussing this rather than making the edit, but attempting to create the talk page results in a fatal error.)
Line 564: Line 564:
 
|
 
|
 
|}
 
|}
:<sup>1</sup> - As noted above, all values are rounded ''down'' to the nearest multiple of 10, even if this results in it becoming 0.
+
:<sup>1</sup> - As noted above, all values are rounded ''down'' to the nearest multiple of 10, down to a minimum value of 1.
  
 
{{Translation
 
{{Translation

Revision as of 07:13, 13 April 2022

This article is about the current version of DF.
Note that some content may still need to be updated.

Weight, or sometimes more correctly termed mass, is an item property, and is measured in the unit Γ, also sometimes known as urists, or more commonly as the kilogram, its equivalent real-life unit.

Weight is largely used by the game to determine how fast someone or something should move, due to encumbrance effects and carry weight restrictions; to calculate damage, since object mass factors into impact momentum; and to some extent to make temperature calculations, as mass factors into heat capacity. Note that, for DF, weight and mass are currently indistinguishable because, as it stands, DF gravity is uniform both across the whole universe and from world to world and buoyancy isn't implemented.

Weight is displayed as a quantity associated with an item. Weight calculation is not entirely straightforward, since each item category — or sometimes even individual items — have their own formula for determining weight.

Weight Calculation

The general form for calculating weight in DF is to take the material density (as found in the raws) multiplied by the item's volume.

Weight (in Γ) = Density (in kg/m3) * Volume (in cm3) / 1,000,000 (cm3/m3)

Internally, all custom volume/capacity numbers are rounded down to the nearest multiple of 10 - thus, if you define a tool with [SIZE:15], it will actually behave as if you had specified [SIZE:10].

An item's volume is also used to determine workshop clutter as well as how many items can fit into a container.

Item Type Volume Capacity Notes
Bars 6000
Cut gems 200
Blocks 6000
Rough gems 2500
Mined stone 100000
Wood logs 50000
Door 30000
Floodgate 30000
Bed 30000
Chair 30000
Chain 5000
Flask 1000 1800
Goblet 1000 1800
Instrument 4000
Toy 1000
Window 20000
Cage 30000 60000
Barrel 20000 60000
Bucket 3000 6000
Animal trap 3000 30000
Table 30000
Coffin 30000 60000
Statue 60000
Corpse Special Based on the size of the corpse and what it's made of.
Weapon SIZE1
Body armor ? Based on UBSTEP, LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it.
Shoes ? Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it.
Shields ? Based on UPSTEP and the race that crafted it.
Helms ? Based on COVERAGE, LAYER_SIZE, and the race that crafted it.
Gloves ? Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it.
Box 20000 or 1000 60000 Bags have a volume of 1000, boxes/chests/coffers have a volume of 20000.
Bin 15000 60000
Armor stand 10000 60000
Weapon rack 10000 60000
Cabinet 30000 60000
Figurine 1000
Amulet 500
Scepter 3000
Ammo SIZE1
Crown 1000
Ring 50
Earring 30
Bracelet 200
Large gem 50
Anvil 10000
Body part Special Based on the size of the body part and what it's made of.
Remains 2000
Meat 2000
Fish 2000
Unprepared fish 2000
Live vermin Special Based on creature's adult size.
Tame vermin Special Based on creature's adult size.
Seeds 100
Plant 1000
Leather 5000
Plant growths 50
Thread ceil(Dimension/50)1 Freshly gathered/produced thread has a dimension of 15000 and thus has a volume of 300
Cloth ceil(Dimension/50)1 Freshly woven cloth has a dimension of 10000 and thus has a volume of 200
Totem 5000
Pants ? Based on LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it
Backpack 5000 30000
Quiver 3000 12000
Catapult parts 20000
Ballista parts 20000
Siege ammo 30000
Ballista arrow head 10000
Mechanisms 20000
Trap component SIZE1
Drink 2000
Powder 2000
Cheese 1000
Prepared meal 1000
Misc. liquid 600
Coin 10/161
Glob 600
Small rock 2000 As thrown by adventurers.
Pipe section 30000
Hatch cover 10000
Grate 10000
Quern 30000
Millstone 30000
Splint 2000
Crutch 2000
Traction bench 30000
Orthopedic cast 2000
Tool SIZE1 CAPACITY1
Slab 60000
Egg Special Presumably the caste's EGG_SIZE.
Book 1000
Sheet 10
1 - As noted above, all values are rounded down to the nearest multiple of 10, down to a minimum value of 1.
"Weight" in other Languages Books-aj.svg aj ashton 01.svg
Dwarven: âl
Elven: eba
Goblin: deslo
Human: ketas