- 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.31:Weight"
(→Weight Calculation: straight from the code, EVERY item type's size, plus adding an upfront division by 100,000 to get kilograms. Incidentally, all of the armor sizes are WRONG, being based on creature size and numerous other factors too) |
|||
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 (as found in the raws) multiplied by the item's volume. |
− | : | + | :Weight (in Γ) = Density * Volume / 100,000 |
− | |||
− | |||
− | |||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
− | ! | + | ! Item Type |
− | ! | + | ! Volume |
! Notes | ! Notes | ||
Line 140: | Line 137: | ||
| [[Corpse]] | | [[Corpse]] | ||
| Special | | Special | ||
− | | | + | | Based on the size of the corps and what it's made of |
|- | |- | ||
Line 250: | Line 247: | ||
| [[Body part]] | | [[Body part]] | ||
| Special | | Special | ||
− | | | + | | Based on the size of the body part and what it's made of |
|- | |- | ||
Line 275: | Line 272: | ||
| Live [[vermin]] | | Live [[vermin]] | ||
| Special | | Special | ||
− | | | + | | Based on creature's adult size |
|- | |- | ||
| Tame [[vermin]] | | Tame [[vermin]] | ||
| Special | | Special | ||
− | | | + | | Based on creature's adult size |
|- | |- | ||
Line 390: | Line 387: | ||
| [[Coin]] | | [[Coin]] | ||
| 1 | | 1 | ||
− | | | + | | Likely divided further |
|- | |- | ||
Line 450: | Line 447: | ||
| [[Tool]] | | [[Tool]] | ||
| 100 | | 100 | ||
− | | | + | | Broken - supposed to be SIZE/10{{bug|4979}} |
|- | |- | ||
Line 460: | Line 457: | ||
| [[Egg]] | | [[Egg]] | ||
| Special | | Special | ||
− | | | + | | Presumably the caste's EGG_SIZE |
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 19:19, 12 December 2011
This article is about an older version of DF. |
Weight is an item property, and is measured in units Γ, also known as urists - one unit urist is equivalent to one real kilogram.
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
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
Item Type | Volume | Notes |
---|---|---|
Bars | 200 | |
Cut gems | 20 | |
Blocks | 250 | |
Rough gems | 250 | |
Mined stone | 7000 | |
Wood logs | 5000 | |
Door | 3000 | |
Floodgate | 3000 | |
Bed | 3000 | |
Chair | 3000 | |
Chain | 500 | |
Flask | 100 | |
Goblet | 100 | |
Instrument | 400 | |
Toy | 100 | |
Window | 2000 | |
Cage | 3000 | |
Barrel | 2000 | |
Bucket | 300 | |
Animal trap | 300 | |
Table | 3000 | |
Coffin | 3000 | |
Statue | 6000 | |
Corpse | Special | Based on the size of the corps and what it's made of |
Weapon | SIZE / 10 | |
item_armor | 1 010 |
Based on UBSTEP, LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it |
item_shoes | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | |
item_shield | Based on UPSTEP and the race that crafted it | |
item_helm | Based on COVERAGE, LAYER_SIZE, and the race that crafted it | |
item_gloves | Based on UPSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | |
Box | 2000 or 100 | Bags weigh 100, boxes/chests/coffers weigh 2000 |
Bin | 1500 | |
Armor stand | 1000 | |
Weapon rack | 1000 | |
Cabinet | 3000 | |
Figurine | 100 | |
Amulet | 50 | |
Scepter | 300 | |
Ammo | SIZE / 10 | |
Crown | 100 | |
Ring | 5 | |
Earring | 3 | |
Bracelet | 20 | |
Large gem | 5 | |
Anvil | 1000 | |
Body part | Special | Based on the size of the body part and what it's made of |
Remains | 200 | |
Meat | 200 | |
Fish | 200 | |
Unprepared fish | 200 | |
Live vermin | Special | Based on creature's adult size |
Tame vermin | Special | Based on creature's adult size |
Seeds | 10 | |
Plant | 100 | |
Leather | 500 | |
Leaves | 5 | |
Thread | ceil(Dimension/500) | 20 for freshly extracted/gathered thread |
Cloth | ceil(Dimension/500) | 30 for freshly woven cloth |
Totem | 500 | |
item_pants | Based on LBSTEP, COVERAGE, LAYER_SIZE, and the race that crafted it | |
Backpack | 500 | |
Quiver | 300 | |
Catapult parts | 2000 | |
Ballista parts | 2000 | |
Siege ammo | 3000 | |
Ballista arrow head | 1000 | |
Mechanisms | 2000 | |
Trap component | SIZE/10 | |
Drink | 200 | |
Powder | 200 | |
Cheese | 100 | |
Prepared meal | 100 | |
Misc. liquid | 200 | |
Coin | 1 | Likely divided further |
Glob | 200 | |
Small rock | 200 | As thrown by adventurers |
Pipe section | 3000 | |
Hatch cover | 1000 | |
Grate | 1000 | |
Quern | 3000 | |
Millstone | 3000 | |
Splint | 200 | |
Crutch | 200 | |
Traction bench | 3000 | |
Orthopedic cast | 200 | |
Tool | 100 | Broken - supposed to be SIZE/10Bug:4979 |
Slab | 6000 | |
Egg | Special | Presumably the caste's EGG_SIZE |