- 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.
Difference between revisions of "v0.34:Weight"
m |
m |
||
Line 364: | Line 364: | ||
| ceil(Dimension/50) | | ceil(Dimension/50) | ||
| | | | ||
− | | | + | | 300 for freshly extracted/gathered thread. |
|- | |- | ||
Line 370: | Line 370: | ||
| ceil(Dimension/50) | | ceil(Dimension/50) | ||
| | | | ||
− | | | + | | 200 for freshly woven cloth |
|- | |- |
Latest revision as of 15:28, 8 April 2022
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.
Weight Calculation[edit]
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 | 30000 | |
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 | SIZE | ||
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. |
Bin | 15000 | 30000 | |
Armor stand | 10000 | 60000 | |
Weapon rack | 10000 | 60000 | |
Cabinet | 30000 | 60000 | |
Figurine | 1000 | ||
Amulet | 500 | ||
Scepter | 3000 | ||
Ammo | SIZE | ||
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 | ||
Leaves | 50 | ||
Thread | ceil(Dimension/50) | 300 for freshly extracted/gathered thread. | |
Cloth | ceil(Dimension/50) | 200 for freshly woven cloth | |
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 | SIZE | ||
Drink | 2000 | ||
Powder | 2000 | ||
Cheese | 1000 | ||
Prepared meal | 1000 | ||
Misc. liquid | 600 | ||
Coin | 10/16 | Stacks smaller than 16 are weightless and can be placed inside any item regardless of its available capacity. Bug:6218 | |
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 | SIZE | CAPACITY | |
Slab | 60000 | ||
Egg | Special | Presumably the caste's EGG_SIZE. | |
Book | 1000 |