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 "v0.34:Weight"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(small changes to lead)
m
 
(17 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 / 100,000
+
: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
| 200
+
| 6000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Cut [[gem]]s
 
| Cut [[gem]]s
| 20
+
| 200
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Block]]s
 
| [[Block]]s
| 250
+
| 6000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Rough [[gem]]s
 
| Rough [[gem]]s
| 250
+
| 2500
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Mined [[stone]]
 
| Mined [[stone]]
| 7000
+
| 100000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Wood [[log]]s
 
| Wood [[log]]s
| 5000
+
| 50000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Door]]
 
| [[Door]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Floodgate]]
 
| [[Floodgate]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Bed]]
 
| [[Bed]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Chair]]
 
| [[Chair]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Chain]]
 
| [[Chain]]
| 500
+
| 5000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Flask]]
 
| [[Flask]]
| 100
+
| 1000
|
+
| 1800
 +
|  
  
 
|-
 
|-
| [[Goblet]]
+
| [[Finished_goods#Goblets|Goblet]]
| 100
+
| 1000
|
+
| 1800
 +
|  
  
 
|-
 
|-
| [[Instrument]]
+
| [[Finished_goods#Instruments|Instrument]]
| 400
+
| 4000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Toy]]
+
| [[Finished_goods#Toys|Toy]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Window]]
 
| [[Window]]
| 2000
+
| 20000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Cage]]
 
| [[Cage]]
| 3000
+
| 30000
|
+
| 60000
 +
|  
  
 
|-
 
|-
 
| [[Barrel]]
 
| [[Barrel]]
| 2000
+
| 20000
|
+
| 30000
 +
|  
  
 
|-
 
|-
 
| [[Bucket]]
 
| [[Bucket]]
| 300
+
| 3000
|
+
| 6000
 +
|  
  
 
|-
 
|-
 
| [[Animal trap]]
 
| [[Animal trap]]
| 300
+
| 3000
|
+
| 30000
 +
|  
  
 
|-
 
|-
 
| [[Table]]
 
| [[Table]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Coffin]]
 
| [[Coffin]]
| 3000
+
| 30000
 +
| 60000
 
|
 
|
  
 
|-
 
|-
 
| [[Statue]]
 
| [[Statue]]
| 6000
+
| 60000
 +
|
 
|
 
|
  
Line 137: Line 165:
 
| [[Corpse]]
 
| [[Corpse]]
 
| Special
 
| Special
| Based on the size of the corps and what it's made of
+
|
 +
| Based on the size of the corpse and what it's made of.
  
 
|-
 
|-
 
| [[Weapon]]
 
| [[Weapon]]
| SIZE / 10
+
| SIZE
 +
|
 
|
 
|
  
 
|-
 
|-
| Body [[armor]]
+
| Body [[Armor#Upper_Body|armor]]
| <s>(layer size/ material size)/<br> 1 010</s>
+
| ?
| 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]]
| <s>layer size/ 7 500</s>
+
| ?
| 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
| <s>1/ 100 000</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
| <s>layer size/ 60 000</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]]
| <s>1/ 100 000</s>
+
| ?
| 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]]
| 2000 or 100
+
| 20000 or 1000
| Bags weigh 100, boxes/chests/coffers weigh 2000
+
| 30000
 +
| Bags have a volume of 1000, boxes/chests/coffers have a volume of 20000.
  
 
|-
 
|-
 
| [[Bin]]
 
| [[Bin]]
| 1500
+
| 15000
 +
| 30000
 
|
 
|
  
 
|-
 
|-
 
| [[Armor stand]]
 
| [[Armor stand]]
| 1000
+
| 10000
 +
| 60000
 
|
 
|
  
 
|-
 
|-
 
| [[Weapon rack]]
 
| [[Weapon rack]]
| 1000
+
| 10000
 +
| 60000
 
|
 
|
  
 
|-
 
|-
 
| [[Cabinet]]
 
| [[Cabinet]]
| 3000
+
| 30000
 +
| 60000
 
|
 
|
  
 
|-
 
|-
 
| [[Figurine]]
 
| [[Figurine]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Amulet]]
+
| [[Jewelry|Amulet]]
| 50
+
| 500
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Scepter]]
+
| [[Finished_goods#Crafts|Scepter]]
| 300
+
| 3000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Ammo]]
 
| [[Ammo]]
| SIZE / 10
+
| SIZE
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Crown]]
+
| [[Jewelry|Crown]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Ring]]
+
| [[Jewelry|Ring]]
| 5
+
| 50
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Earring]]
+
| [[Jewelry|Earring]]
| 3
+
| 30
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Bracelet]]
+
| [[Jewelry|Bracelet]]
| 20
+
| 200
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Large gem]]
+
| [[Finished_goods#Large_gems|Large gem]]
| 5
+
| 50
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Anvil]]
 
| [[Anvil]]
| 1000
+
| 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]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Meat]]
 
| [[Meat]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Fish]]
 
| [[Fish]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Unprepared [[fish]]
 
| Unprepared [[fish]]
| 200
+
| 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
| 10
+
| 100
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Plant]]
 
| [[Plant]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Leather]]
 
| [[Leather]]
| 500
+
| 5000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Leaves]]
 
| [[Leaves]]
| 5
+
| 50
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Thread]]
 
| [[Thread]]
| ceil(Dimension/500)
+
| ceil(Dimension/50)
| 20 for freshly extracted/gathered thread
+
|
 +
| 300 for freshly extracted/gathered thread.
  
 
|-
 
|-
 
| [[Cloth]]
 
| [[Cloth]]
| ceil(Dimension/500)
+
| ceil(Dimension/50)
| 30 for freshly woven cloth
+
|
 +
| 200 for freshly woven cloth
  
 
|-
 
|-
| [[Totem]]
+
| [[Finished_goods#Totems|Totem]]
| 500
+
| 5000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Pants]]
+
| [[Armor#Lower_Body|Pants]]
| <s>layer size/ 5 190</s>
+
| ?
 +
|
 
| 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]]
| 500
+
| 5000
 +
| 30000
 
|
 
|
  
 
|-
 
|-
 
| [[Quiver]]
 
| [[Quiver]]
| 300
+
| 3000
 +
| 12000
 
|
 
|
  
 
|-
 
|-
 
| [[Catapult parts]]
 
| [[Catapult parts]]
| 2000
+
| 20000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Ballista parts]]
 
| [[Ballista parts]]
| 2000
+
| 20000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Siege ammo]]
+
| [[Ballista_arrow|Siege ammo]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
| [[Ballista arrow head]]
+
| [[Ballista arrow]] head
| 1000
+
| 10000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Mechanism]]s
 
| [[Mechanism]]s
| 2000
+
| 20000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Trap component]]
 
| [[Trap component]]
| SIZE/10
+
| SIZE
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Alcohol|Drink]]
 
| [[Alcohol|Drink]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Mill|Powder]]
 
| [[Mill|Powder]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Cheese]]
 
| [[Cheese]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Prepared meal]]
 
| [[Prepared meal]]
| 100
+
| 1000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Extract|Misc. liquid]]
 
| [[Extract|Misc. liquid]]
| 200
+
| 600
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Coin]]
 
| [[Coin]]
| 1/16
+
| 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]]
| 200
+
| 600
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Small [[rock]]
 
| Small [[rock]]
| 200
+
| 2000
| As [[Thrower|thrown]] by adventurers
+
|
 +
| As [[Thrower|thrown]] by adventurers.
  
 
|-
 
|-
 
| [[Pipe section]]
 
| [[Pipe section]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Hatch cover]]
 
| [[Hatch cover]]
| 1000
+
| 10000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Grate]]
 
| [[Grate]]
| 1000
+
| 10000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Quern]]
 
| [[Quern]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Millstone]]
 
| [[Millstone]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Splint]]
 
| [[Splint]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Crutch]]
 
| [[Crutch]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Traction bench]]
 
| [[Traction bench]]
| 3000
+
| 30000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| Orthopedic [[cast]]
 
| Orthopedic [[cast]]
| 200
+
| 2000
 +
|
 
|
 
|
  
 
|-
 
|-
 
| [[Tool]]
 
| [[Tool]]
| 100
+
| SIZE
| Broken - supposed to be SIZE/10{{bug|4979}}
+
| CAPACITY
 +
|  
  
 
|-
 
|-
 
| [[Slab]]
 
| [[Slab]]
| 6000
+
| 60000
 +
|
 
|
 
|
  
Line 457: Line 549:
 
| [[Egg]]
 
| [[Egg]]
 
| Special
 
| Special
| Presumably the caste's EGG_SIZE
+
|
 +
| Presumably the caste's EGG_SIZE.
 +
 
 +
|-
 +
| [[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