|This article is about an older version of DF.|
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.
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.
|Corpse||Special||Based on the size of the corpse and what it's made of.|
|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||30000||Bags have a volume of 1000, boxes/chests/coffers have a volume of 20000.|
|Body part||Special||Based on the size of the body part and what it's made of.|
|Live vermin||Special||Based on creature's adult size.|
|Tame vermin||Special||Based on creature's adult size.|
|Thread||ceil(Dimension/50)||300 for freshly extracted/gathered thread.|
|Cloth||ceil(Dimension/50)||200 for freshly woven cloth|
|Pants||?||Based on LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it|
|Ballista arrow head||10000|
|Coin||10/16||Stacks smaller than 16 are weightless and can be placed inside any item regardless of its available capacity. Bug:6218|
|Small rock||2000||As thrown by adventurers.|
|Egg||Special||Presumably the caste's EGG_SIZE.|