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.

Editing v0.31:Weight

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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 'd' as found in the raws multiplied by an item constant C.
  
: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>)
+
:W = d * C / 100,000
  
Internally, all custom volume/capacity numbers are rounded down to the nearest multiple of 10 - thus, if you define a weapon with [SIZE:15], it will actually behave as if you had specified [SIZE:10].
+
The formula for C is [http://www.bay12games.com/dwarves/mantisbt/view.php?id=1386 almost always] the same for all items in the same raw file(such as item_helm or item_pants).  These variations are thought to be caused by bugs, though confirmation is needed.  Note that the displayed weight value is truncated and not rounded after the calculation is done, it is thought that the exact weight is maintained internally.
 
 
Items also have a "bulk" which does not depend on the material and is used to determine [[clutter]] as well as how many items can fit into a container.
 
  
 +
The following table lists all currently known formulas for finding the value of C.
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#999999"
 
|- bgcolor="#999999"
! Item Type
+
! Category
! Volume
+
! Formula
! Bulk
 
! Capacity
 
 
! Notes
 
! Notes
  
 
|-
 
|-
 
| [[Bar]]s
 
| [[Bar]]s
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Cut [[gem]]s
 
| Cut [[gem]]s
| 200
+
| 20
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Block]]s
 
| [[Block]]s
| 2500
+
| 250
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Rough [[gem]]s
 
| Rough [[gem]]s
| 2500
+
| 250
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Mined [[stone]]
 
| Mined [[stone]]
| 70000
+
| 7000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Wood [[log]]s
 
| Wood [[log]]s
| 50000
+
| 5000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Door]]
 
| [[Door]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Floodgate]]
 
| [[Floodgate]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Bed]]
 
| [[Bed]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Chair]]
 
| [[Chair]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Chain]]
 
| [[Chain]]
| 5000
+
| 500
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Flask]]
 
| [[Flask]]
| 1000
+
| 100
| 3000
 
| 1800
 
 
|
 
|
  
 
|-
 
|-
 
| [[Goblet]]
 
| [[Goblet]]
| 1000
+
| 100
| 3000
 
| 1800
 
 
|
 
|
  
 
|-
 
|-
 
| [[Instrument]]
 
| [[Instrument]]
| 4000
+
| 400
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Toy]]
 
| [[Toy]]
| 1000
+
| 100
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Window]]
 
| [[Window]]
| 20000
+
| 2000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Cage]]
 
| [[Cage]]
| 30000
+
| 3000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Barrel]]
 
| [[Barrel]]
| 20000
+
| 2000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Bucket]]
 
| [[Bucket]]
| 3000
+
| 300
| 6000
 
| 6000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Animal trap]]
 
| [[Animal trap]]
| 3000
+
| 300
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Table]]
 
| [[Table]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Coffin]]
 
| [[Coffin]]
| 30000
+
| 3000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Statue]]
 
| [[Statue]]
| 60000
 
 
| 6000
 
| 6000
|
 
 
|
 
|
  
Line 189: Line 140:
 
| [[Corpse]]
 
| [[Corpse]]
 
| Special
 
| Special
| Special
+
|  
|
 
| Based on the size of the corpse and what it's made of
 
  
 
|-
 
|-
 
| [[Weapon]]
 
| [[Weapon]]
| SIZE
+
| SIZE / 10
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
| Body [[armor]]
+
| item_armor
| ?
+
| <s>(layer size/ material size)/<br> 1 010</s>
| 9000
 
|
 
 
| 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]]
+
| item_shoes
| ?
+
| <s>layer size/ 7 500</s>
| 1800
 
|
 
 
| 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
+
| item_shield
| ?
+
| <s>1/ 100 000</s>
| 6000
 
|
 
 
| Based on UPSTEP and the race that crafted it
 
| Based on UPSTEP and the race that crafted it
  
 
|-
 
|-
| [[Helm]]s
+
| item_helm
| ?
+
| <s>layer size/ 60 000</s>
| 3000
 
|
 
 
| Based on COVERAGE, LAYER_SIZE, and the race that crafted it
 
| Based on COVERAGE, LAYER_SIZE, and the race that crafted it
  
 
|-
 
|-
| [[Gloves]]
+
| item_gloves
| ?
+
| <s>1/ 100 000</s>
| 1200
 
|
 
 
| 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
+
| 2000 or 100
| 6000
 
| 60000
 
 
| Bags weigh 100, boxes/chests/coffers weigh 2000
 
| Bags weigh 100, boxes/chests/coffers weigh 2000
  
 
|-
 
|-
 
| [[Bin]]
 
| [[Bin]]
| 15000
+
| 1500
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Armor stand]]
 
| [[Armor stand]]
| 10000
+
| 1000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Weapon rack]]
 
| [[Weapon rack]]
| 10000
+
| 1000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Cabinet]]
 
| [[Cabinet]]
| 30000
+
| 3000
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Figurine]]
 
| [[Figurine]]
| 1000
+
| 100
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Amulet]]
 
| [[Amulet]]
| 500
+
| 50
| 1200
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Scepter]]
 
| [[Scepter]]
| 3000
+
| 300
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Ammo]]
 
| [[Ammo]]
| SIZE
+
| SIZE / 10
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Crown]]
 
| [[Crown]]
| 1000
+
| 100
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Ring]]
 
| [[Ring]]
| 50
+
| 5
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Earring]]
 
| [[Earring]]
| 30
+
| 3
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Bracelet]]
 
| [[Bracelet]]
| 200
+
| 20
| 1200
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Large gem]]
 
| [[Large gem]]
| 50
+
| 5
| 1800
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Anvil]]
 
| [[Anvil]]
| 10000
+
| 1000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Body part]]
 
| [[Body part]]
| Special
 
 
| Special
 
| Special
 
|
 
|
| Based on the size of the body part and what it's made of
 
  
 
|-
 
|-
 
| [[Remains]]
 
| [[Remains]]
| 2000
+
| 200
| 1200
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Meat]]
 
| [[Meat]]
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Fish]]
 
| [[Fish]]
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Unprepared [[fish]]
 
| Unprepared [[fish]]
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Live [[vermin]]
 
| Live [[vermin]]
| Special
 
 
| Special
 
| Special
 
|
 
|
| Based on creature's adult size
 
  
 
|-
 
|-
 
| Tame [[vermin]]
 
| Tame [[vermin]]
| Special
 
 
| Special
 
| Special
 
|
 
|
| Based on creature's adult size
 
  
 
|-
 
|-
 
| [[Seed]]s
 
| [[Seed]]s
| 100
+
| 10
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Plant]]
 
| [[Plant]]
| 1000
+
| 100
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Leather]]
 
| [[Leather]]
| 5000
+
| 500
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Leaves]]
 
| [[Leaves]]
| 50
+
| 5
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Thread]]
 
| [[Thread]]
| ceil(Dimension/50)
+
| ceil(Dimension/500)
| 6000
+
| 20 for freshly extracted/gathered thread
|
 
| 300 for freshly extracted/gathered thread
 
  
 
|-
 
|-
 
| [[Cloth]]
 
| [[Cloth]]
| ceil(Dimension/50)
+
| ceil(Dimension/500)
| 6000
+
| 30 for freshly woven cloth
|
 
| 200 for freshly woven cloth
 
  
 
|-
 
|-
 
| [[Totem]]
 
| [[Totem]]
| 5000
+
| 500
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
| [[Pants]]
+
| item_pants
| ?
+
| <s>layer size/ 5 190</s>
| 1800
 
|
 
 
| 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
+
| 500
| 6000
 
| 60000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Quiver]]
 
| [[Quiver]]
| 3000
+
| 300
| 6000
 
| 12000
 
 
|
 
|
  
 
|-
 
|-
 
| [[Catapult parts]]
 
| [[Catapult parts]]
| 20000
+
| 2000
| 12000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Ballista parts]]
 
| [[Ballista parts]]
| 20000
+
| 2000
| 12000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Siege ammo]]
 
| [[Siege ammo]]
| 30000
+
| 3000
| 30000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Ballista arrow head]]
 
| [[Ballista arrow head]]
| 10000
+
| 1000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Mechanism]]s
 
| [[Mechanism]]s
| 20000
+
| 2000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Trap component]]
 
| [[Trap component]]
| SIZE
+
| SIZE/10
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Alcohol|Drink]]
 
| [[Alcohol|Drink]]
| 2000
+
| 200
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Mill|Powder]]
 
| [[Mill|Powder]]
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Cheese]]
 
| [[Cheese]]
| 1000
+
| 100
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Prepared meal]]
 
| [[Prepared meal]]
| 1000
+
| 100
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Extract|Misc. liquid]]
 
| [[Extract|Misc. liquid]]
| 2000
+
| 200
| 600
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Coin]]
 
| [[Coin]]
| 10/16
+
| 1
| 35
+
| Seemingly divided further
|
 
| Stacks smaller than 16 are weightless and can be placed inside any item regardless of its available capacity. {{bug|6218}}
 
  
 
|-
 
|-
 
| [[Fat|Glob]]
 
| [[Fat|Glob]]
| 2000
+
| 200
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Small [[rock]]
 
| Small [[rock]]
| 2000
+
| 200
| 600
 
|
 
 
| As [[Thrower|thrown]] by adventurers
 
| As [[Thrower|thrown]] by adventurers
  
 
|-
 
|-
 
| [[Pipe section]]
 
| [[Pipe section]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Hatch cover]]
 
| [[Hatch cover]]
| 10000
+
| 1000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Grate]]
 
| [[Grate]]
| 10000
+
| 1000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Quern]]
 
| [[Quern]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Millstone]]
 
| [[Millstone]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Splint]]
 
| [[Splint]]
| 2000
+
| 200
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Crutch]]
 
| [[Crutch]]
| 2000
+
| 200
| 18000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Traction bench]]
 
| [[Traction bench]]
| 30000
+
| 3000
| 6000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| Orthopedic [[cast]]
 
| Orthopedic [[cast]]
| 2000
+
| 200
| 3000
 
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Tool]]
 
| [[Tool]]
| 1000*
+
| 100
| 3000
+
| Should be SIZE/10{{bug|4979}}
| CAPACITY
 
| Broken - supposed to be SIZE{{bug|4979}}
 
  
 
|-
 
|-
 
| [[Slab]]
 
| [[Slab]]
| 60000
 
 
| 6000
 
| 6000
|
 
 
|
 
|
  
 
|-
 
|-
 
| [[Egg]]
 
| [[Egg]]
| Special
 
 
| Special
 
| Special
 
|
 
|
| Presumably the caste's EGG_SIZE
+
 
 
|}
 
|}
  
{{Category|Items}}
+
These values are up to date as of version 0.31.25.
 +
 
 +
Other examples: stack of cheap stones, or stone statue, 161-167 Γ. Steel chainmail 19 Γ. Steel or bronze bars, 15-16 Γ. Iron flask, 12 Γ.
 +
The heaviest metal is [[Main:Platinum|Platinum]], and the lightest metal is [[Main:Adamantine|Adamantine]].

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)