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 | + | 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. |
− | : | + | :W = d * C / 100,000 |
− | + | 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. | |
− | |||
− | |||
+ | The following table lists all currently known formulas for finding the value of C. | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
− | ! | + | ! Category |
− | ! | + | ! Formula |
− | |||
− | |||
! Notes | ! Notes | ||
|- | |- | ||
| [[Bar]]s | | [[Bar]]s | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Cut [[gem]]s | | Cut [[gem]]s | ||
− | | | + | | 20 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Block]]s | | [[Block]]s | ||
− | | | + | | 250 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Rough [[gem]]s | | Rough [[gem]]s | ||
− | | | + | | 250 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Mined [[stone]] | | Mined [[stone]] | ||
− | | | + | | 7000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Wood [[log]]s | | Wood [[log]]s | ||
− | | | + | | 5000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Door]] | | [[Door]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Floodgate]] | | [[Floodgate]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Bed]] | | [[Bed]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Chair]] | | [[Chair]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Chain]] | | [[Chain]] | ||
− | | | + | | 500 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Flask]] | | [[Flask]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Goblet]] | | [[Goblet]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Instrument]] | | [[Instrument]] | ||
− | | | + | | 400 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Toy]] | | [[Toy]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Window]] | | [[Window]] | ||
− | | | + | | 2000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Cage]] | | [[Cage]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Barrel]] | | [[Barrel]] | ||
− | | | + | | 2000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Bucket]] | | [[Bucket]] | ||
− | | | + | | 300 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Animal trap]] | | [[Animal trap]] | ||
− | | | + | | 300 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Table]] | | [[Table]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Coffin]] | | [[Coffin]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Statue]] | | [[Statue]] | ||
− | |||
| 6000 | | 6000 | ||
− | |||
| | | | ||
Line 189: | Line 140: | ||
| [[Corpse]] | | [[Corpse]] | ||
| Special | | Special | ||
− | | | + | | |
− | |||
− | |||
|- | |- | ||
| [[Weapon]] | | [[Weapon]] | ||
− | | SIZE | + | | SIZE / 10 |
− | |||
− | |||
| | | | ||
|- | |- | ||
− | | | + | | item_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 | ||
|- | |- | ||
− | | | + | | item_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 | ||
|- | |- | ||
− | | | + | | item_shield |
− | + | | <s>1/ 100 000</s> | |
− | |||
− | | | ||
| Based on UPSTEP and the race that crafted it | | Based on UPSTEP and the race that crafted it | ||
|- | |- | ||
− | | | + | | item_helm |
− | + | | <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 | ||
|- | |- | ||
− | | | + | | item_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 |
− | |||
− | |||
| Bags weigh 100, boxes/chests/coffers weigh 2000 | | Bags weigh 100, boxes/chests/coffers weigh 2000 | ||
|- | |- | ||
| [[Bin]] | | [[Bin]] | ||
− | | | + | | 1500 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Armor stand]] | | [[Armor stand]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Weapon rack]] | | [[Weapon rack]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Cabinet]] | | [[Cabinet]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Figurine]] | | [[Figurine]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Amulet]] | | [[Amulet]] | ||
− | | | + | | 50 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Scepter]] | | [[Scepter]] | ||
− | | | + | | 300 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Ammo]] | | [[Ammo]] | ||
− | | SIZE | + | | SIZE / 10 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Crown]] | | [[Crown]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Ring]] | | [[Ring]] | ||
− | | | + | | 5 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Earring]] | | [[Earring]] | ||
− | | | + | | 3 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Bracelet]] | | [[Bracelet]] | ||
− | | | + | | 20 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Large gem]] | | [[Large gem]] | ||
− | | | + | | 5 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Anvil]] | | [[Anvil]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Body part]] | | [[Body part]] | ||
− | |||
| Special | | Special | ||
| | | | ||
− | |||
|- | |- | ||
| [[Remains]] | | [[Remains]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Meat]] | | [[Meat]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Fish]] | | [[Fish]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Unprepared [[fish]] | | Unprepared [[fish]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Live [[vermin]] | | Live [[vermin]] | ||
− | |||
| Special | | Special | ||
| | | | ||
− | |||
|- | |- | ||
| Tame [[vermin]] | | Tame [[vermin]] | ||
− | |||
| Special | | Special | ||
| | | | ||
− | |||
|- | |- | ||
| [[Seed]]s | | [[Seed]]s | ||
− | | | + | | 10 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Plant]] | | [[Plant]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Leather]] | | [[Leather]] | ||
− | | | + | | 500 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Leaves]] | | [[Leaves]] | ||
− | | | + | | 5 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Thread]] | | [[Thread]] | ||
− | | ceil(Dimension/ | + | | ceil(Dimension/500) |
− | | | + | | 20 for freshly extracted/gathered thread |
− | |||
− | |||
|- | |- | ||
| [[Cloth]] | | [[Cloth]] | ||
− | | ceil(Dimension/ | + | | ceil(Dimension/500) |
− | | | + | | 30 for freshly woven cloth |
− | |||
− | |||
|- | |- | ||
| [[Totem]] | | [[Totem]] | ||
− | | | + | | 500 |
− | |||
− | |||
| | | | ||
|- | |- | ||
− | | | + | | item_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 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Quiver]] | | [[Quiver]] | ||
− | | | + | | 300 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Catapult parts]] | | [[Catapult parts]] | ||
− | | | + | | 2000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Ballista parts]] | | [[Ballista parts]] | ||
− | | | + | | 2000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Siege ammo]] | | [[Siege ammo]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Ballista arrow head]] | | [[Ballista arrow head]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Mechanism]]s | | [[Mechanism]]s | ||
− | | | + | | 2000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Trap component]] | | [[Trap component]] | ||
− | | SIZE | + | | SIZE/10 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Alcohol|Drink]] | | [[Alcohol|Drink]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Mill|Powder]] | | [[Mill|Powder]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Cheese]] | | [[Cheese]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Prepared meal]] | | [[Prepared meal]] | ||
− | | | + | | 100 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Extract|Misc. liquid]] | | [[Extract|Misc. liquid]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Coin]] | | [[Coin]] | ||
− | | | + | | 1 |
− | | | + | | Seemingly divided further |
− | |||
− | |||
|- | |- | ||
| [[Fat|Glob]] | | [[Fat|Glob]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Small [[rock]] | | Small [[rock]] | ||
− | | | + | | 200 |
− | |||
− | |||
| As [[Thrower|thrown]] by adventurers | | As [[Thrower|thrown]] by adventurers | ||
|- | |- | ||
| [[Pipe section]] | | [[Pipe section]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Hatch cover]] | | [[Hatch cover]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Grate]] | | [[Grate]] | ||
− | | | + | | 1000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Quern]] | | [[Quern]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Millstone]] | | [[Millstone]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Splint]] | | [[Splint]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Crutch]] | | [[Crutch]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Traction bench]] | | [[Traction bench]] | ||
− | | | + | | 3000 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| Orthopedic [[cast]] | | Orthopedic [[cast]] | ||
− | | | + | | 200 |
− | |||
− | |||
| | | | ||
|- | |- | ||
| [[Tool]] | | [[Tool]] | ||
− | | | + | | 100 |
− | | | + | | Should be SIZE/10{{bug|4979}} |
− | |||
− | |||
|- | |- | ||
| [[Slab]] | | [[Slab]] | ||
− | |||
| 6000 | | 6000 | ||
− | |||
| | | | ||
|- | |- | ||
| [[Egg]] | | [[Egg]] | ||
− | |||
| Special | | Special | ||
| | | | ||
− | + | ||
|} | |} | ||
− | + | 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]]. |