- 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"
(Updated for 0.34.08) |
m |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 9: | Line 9: | ||
==Weight Calculation== | ==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. | + | 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 * Volume / | + | :Weight (in Γ) = Density (in kg/m<sup>3</sup>) * Volume (in cm<sup>3</sup>) / 1,000,000 (cm<sup>3</sup>/m<sup>3</sup>) |
− | {| {{prettytable}} | + | 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. | ||
+ | |||
+ | {| {{prettytable}} class="sortable" | ||
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
! Item Type | ! Item Type | ||
! Volume | ! Volume | ||
+ | ! Capacity | ||
! Notes | ! Notes | ||
|- | |- | ||
| [[Bar]]s | | [[Bar]]s | ||
− | | | + | | 6000 |
+ | | | ||
| | | | ||
|- | |- | ||
| Cut [[gem]]s | | Cut [[gem]]s | ||
− | | | + | | 200 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Block]]s | | [[Block]]s | ||
− | | | + | | 6000 |
+ | | | ||
| | | | ||
|- | |- | ||
| Rough [[gem]]s | | Rough [[gem]]s | ||
− | | | + | | 2500 |
+ | | | ||
| | | | ||
|- | |- | ||
| Mined [[stone]] | | Mined [[stone]] | ||
− | | | + | | 100000 |
+ | | | ||
| | | | ||
|- | |- | ||
| Wood [[log]]s | | Wood [[log]]s | ||
− | | | + | | 50000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Door]] | | [[Door]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Floodgate]] | | [[Floodgate]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Bed]] | | [[Bed]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Chair]] | | [[Chair]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Chain]] | | [[Chain]] | ||
− | | | + | | 5000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Flask]] | | [[Flask]] | ||
− | | | + | | 1000 |
− | | | + | | 1800 |
+ | | | ||
|- | |- | ||
− | | [[Goblet]] | + | | [[Finished_goods#Goblets|Goblet]] |
− | | | + | | 1000 |
− | | | + | | 1800 |
+ | | | ||
|- | |- | ||
− | | [[Instrument]] | + | | [[Finished_goods#Instruments|Instrument]] |
− | | | + | | 4000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Toy]] | + | | [[Finished_goods#Toys|Toy]] |
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Window]] | | [[Window]] | ||
− | | | + | | 20000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Cage]] | | [[Cage]] | ||
− | | | + | | 30000 |
− | | | + | | 60000 |
+ | | | ||
|- | |- | ||
| [[Barrel]] | | [[Barrel]] | ||
− | | | + | | 20000 |
− | | | + | | 30000 |
+ | | | ||
|- | |- | ||
| [[Bucket]] | | [[Bucket]] | ||
− | | | + | | 3000 |
− | | | + | | 6000 |
+ | | | ||
|- | |- | ||
| [[Animal trap]] | | [[Animal trap]] | ||
− | | | + | | 3000 |
− | | | + | | 30000 |
+ | | | ||
|- | |- | ||
| [[Table]] | | [[Table]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Coffin]] | | [[Coffin]] | ||
− | | | + | | 30000 |
+ | | 60000 | ||
| | | | ||
|- | |- | ||
| [[Statue]] | | [[Statue]] | ||
− | | | + | | 60000 |
+ | | | ||
| | | | ||
Line 137: | Line 165: | ||
| [[Corpse]] | | [[Corpse]] | ||
| Special | | Special | ||
− | | Based on the size of the corpse and what it's made of | + | | |
+ | | Based on the size of the corpse and what it's made of. | ||
|- | |- | ||
| [[Weapon]] | | [[Weapon]] | ||
− | | SIZE | + | | SIZE |
+ | | | ||
| | | | ||
|- | |- | ||
− | | Body [[armor]] | + | | Body [[Armor#Upper_Body|armor]] |
− | | | + | | ? |
− | | Based on UBSTEP, LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | + | | |
+ | | Based on UBSTEP, LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it. | ||
|- | |- | ||
− | | [[Shoes]] | + | | [[Armor#Footwear|Shoes]] |
− | | | + | | ? |
− | | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | + | | |
+ | | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it. | ||
|- | |- | ||
− | | [[Shield]]s | + | | [[Armor#Shield|Shield]]s |
− | | | + | | ? |
− | | Based on UPSTEP and the race that crafted it | + | | |
+ | | Based on UPSTEP and the race that crafted it. | ||
|- | |- | ||
− | | [[Helm]]s | + | | [[Armor#Headgear|Helm]]s |
− | | | + | | ? |
− | | Based on COVERAGE, LAYER_SIZE, and the race that crafted it | + | | |
+ | | Based on COVERAGE, LAYER_SIZE, and the race that crafted it. | ||
|- | |- | ||
− | | [[Gloves]] | + | | [[Armor#Hands|Gloves]] |
− | | | + | | ? |
− | | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | + | | |
+ | | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it. | ||
|- | |- | ||
| [[Box]] | | [[Box]] | ||
− | | | + | | 20000 or 1000 |
− | | Bags | + | | 30000 |
+ | | Bags have a volume of 1000, boxes/chests/coffers have a volume of 20000. | ||
|- | |- | ||
| [[Bin]] | | [[Bin]] | ||
− | | | + | | 15000 |
+ | | 30000 | ||
| | | | ||
|- | |- | ||
| [[Armor stand]] | | [[Armor stand]] | ||
− | | | + | | 10000 |
+ | | 60000 | ||
| | | | ||
|- | |- | ||
| [[Weapon rack]] | | [[Weapon rack]] | ||
− | | | + | | 10000 |
+ | | 60000 | ||
| | | | ||
|- | |- | ||
| [[Cabinet]] | | [[Cabinet]] | ||
− | | | + | | 30000 |
+ | | 60000 | ||
| | | | ||
|- | |- | ||
| [[Figurine]] | | [[Figurine]] | ||
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Amulet]] | + | | [[Jewelry|Amulet]] |
− | | | + | | 500 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Scepter]] | + | | [[Finished_goods#Crafts|Scepter]] |
− | | | + | | 3000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Ammo]] | | [[Ammo]] | ||
− | | SIZE | + | | SIZE |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Crown]] | + | | [[Jewelry|Crown]] |
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Ring]] | + | | [[Jewelry|Ring]] |
− | | | + | | 50 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Earring]] | + | | [[Jewelry|Earring]] |
− | | | + | | 30 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Bracelet]] | + | | [[Jewelry|Bracelet]] |
− | | | + | | 200 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Large gem]] | + | | [[Finished_goods#Large_gems|Large gem]] |
− | | | + | | 50 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Anvil]] | | [[Anvil]] | ||
− | | | + | | 10000 |
+ | | | ||
| | | | ||
Line 247: | Line 297: | ||
| [[Body part]] | | [[Body part]] | ||
| Special | | Special | ||
− | | Based on the size of the body part and what it's made of | + | | |
+ | | Based on the size of the body part and what it's made of. | ||
|- | |- | ||
| [[Remains]] | | [[Remains]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Meat]] | | [[Meat]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Fish]] | | [[Fish]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| Unprepared [[fish]] | | Unprepared [[fish]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
Line 272: | Line 327: | ||
| Live [[vermin]] | | Live [[vermin]] | ||
| Special | | Special | ||
− | | Based on creature's adult size | + | | |
+ | | Based on creature's adult size. | ||
|- | |- | ||
| Tame [[vermin]] | | Tame [[vermin]] | ||
| Special | | Special | ||
− | | Based on creature's adult size | + | | |
+ | | Based on creature's adult size. | ||
|- | |- | ||
| [[Seed]]s | | [[Seed]]s | ||
− | | | + | | 100 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Plant]] | | [[Plant]] | ||
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Leather]] | | [[Leather]] | ||
− | | | + | | 5000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Leaves]] | | [[Leaves]] | ||
− | | | + | | 50 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Thread]] | | [[Thread]] | ||
− | | ceil(Dimension/ | + | | ceil(Dimension/50) |
− | | | + | | |
+ | | 300 for freshly extracted/gathered thread. | ||
|- | |- | ||
| [[Cloth]] | | [[Cloth]] | ||
− | | ceil(Dimension/ | + | | ceil(Dimension/50) |
− | | | + | | |
+ | | 200 for freshly woven cloth | ||
|- | |- | ||
− | | [[Totem]] | + | | [[Finished_goods#Totems|Totem]] |
− | | | + | | 5000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Pants]] | + | | [[Armor#Lower_Body|Pants]] |
− | | | + | | ? |
+ | | | ||
| Based on LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | | Based on LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | ||
|- | |- | ||
| [[Backpack]] | | [[Backpack]] | ||
− | | | + | | 5000 |
+ | | 30000 | ||
| | | | ||
|- | |- | ||
| [[Quiver]] | | [[Quiver]] | ||
− | | | + | | 3000 |
+ | | 12000 | ||
| | | | ||
|- | |- | ||
| [[Catapult parts]] | | [[Catapult parts]] | ||
− | | | + | | 20000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Ballista parts]] | | [[Ballista parts]] | ||
− | | | + | | 20000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Siege ammo]] | + | | [[Ballista_arrow|Siege ammo]] |
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
− | | [[Ballista arrow | + | | [[Ballista arrow]] head |
− | | | + | | 10000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Mechanism]]s | | [[Mechanism]]s | ||
− | | | + | | 20000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Trap component]] | | [[Trap component]] | ||
− | | SIZE | + | | SIZE |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Alcohol|Drink]] | | [[Alcohol|Drink]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Mill|Powder]] | | [[Mill|Powder]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Cheese]] | | [[Cheese]] | ||
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Prepared meal]] | | [[Prepared meal]] | ||
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Extract|Misc. liquid]] | | [[Extract|Misc. liquid]] | ||
− | | | + | | 600 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Coin]] | | [[Coin]] | ||
− | | | + | | 10/16 |
| | | | ||
+ | | Stacks smaller than 16 are weightless and can be placed inside ''any'' item regardless of its available capacity. {{bug|6218}} | ||
|- | |- | ||
| [[Fat|Glob]] | | [[Fat|Glob]] | ||
− | | | + | | 600 |
+ | | | ||
| | | | ||
|- | |- | ||
| Small [[rock]] | | Small [[rock]] | ||
− | | | + | | 2000 |
− | | As [[Thrower|thrown]] by adventurers | + | | |
+ | | As [[Thrower|thrown]] by adventurers. | ||
|- | |- | ||
| [[Pipe section]] | | [[Pipe section]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Hatch cover]] | | [[Hatch cover]] | ||
− | | | + | | 10000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Grate]] | | [[Grate]] | ||
− | | | + | | 10000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Quern]] | | [[Quern]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Millstone]] | | [[Millstone]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Splint]] | | [[Splint]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Crutch]] | | [[Crutch]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Traction bench]] | | [[Traction bench]] | ||
− | | | + | | 30000 |
+ | | | ||
| | | | ||
|- | |- | ||
| Orthopedic [[cast]] | | Orthopedic [[cast]] | ||
− | | | + | | 2000 |
+ | | | ||
| | | | ||
|- | |- | ||
| [[Tool]] | | [[Tool]] | ||
− | | SIZE | + | | SIZE |
+ | | CAPACITY | ||
| | | | ||
|- | |- | ||
| [[Slab]] | | [[Slab]] | ||
− | | | + | | 60000 |
+ | | | ||
| | | | ||
Line 457: | Line 549: | ||
| [[Egg]] | | [[Egg]] | ||
| Special | | Special | ||
− | | Presumably the caste's EGG_SIZE | + | | |
+ | | Presumably the caste's EGG_SIZE. | ||
|- | |- | ||
| [[Book]] | | [[Book]] | ||
− | | | + | | 1000 |
+ | | | ||
| | | | ||
|} | |} | ||
+ | |||
+ | {{Category|Items}} |
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 |