- 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 "Size"
(→Mechanics: renamed section to Items, added Buildings section, moved table from Weight) |
Alpacalypse (talk | contribs) m (→Creatures) |
||
| (21 intermediate revisions by 8 users not shown) | |||
| Line 5: | Line 5: | ||
:''You may be looking for size of [[clothing]], [[armor]], the dimensions of a [[tile]], or the [[List_of_creatures_by_adult_size|list of creatures by size.]]'' | :''You may be looking for size of [[clothing]], [[armor]], the dimensions of a [[tile]], or the [[List_of_creatures_by_adult_size|list of creatures by size.]]'' | ||
| − | '''Size''' is a measure of how big a [[creature]] or [[item]] is, as volume in cubic centimeters | + | '''Size''' is a measure of how big a [[creature]] or [[item]] is, as volume in cubic centimeters{{cite forum|30026.msg831163#msg831163}}, and called {{token|BODY_SIZE|c}} or <code>[[Item_definition_token|[SIZE]]]</code> in the [[raw file]]s. |
| − | Size has many important effects on the game, many through its direct effect on item [[weight]], | + | Size has many important effects on the game, many through its direct effect on item [[weight]], one of the many [[material science|material properties]] in Dwarf Fortress. Size directly affects such things as [[Weapon#Size|which weapons]] your dwarves can equip, [[butcher]]ing returns, [[storage]] limits, and [[combat]] effectiveness for both creatures and weapons. |
| − | + | As far as in-game location and movement, size does ''not'' matter; one item or creature always is located in just one tile, regardless of size. If a [[path]] is open to a dwarf, it's open to every other creature in the game, no matter how large. A thousand full grown [[dragon]]s can occupy a single square (so long as [http://www.bay12games.com/media/b12_call_1_transcript.html 999 of them are lying down]), and a common [[rabbit]] blocks a [[door]] or fills a [[cage]] as completely as a gigantic [[bronze colossus]]. | |
| + | __TOC__ | ||
| + | == Game mechanics == | ||
Size is used to calculate an item's weight, along with the [[density]] of the underlying material(s): | Size is used to calculate an item's weight, along with the [[density]] of the underlying material(s): | ||
| − | :Weight (in Γ) = Density (in kg/m<sup>3</sup>) * Size (in cm<sup>3</sup>) / 1,000,000 (cm<sup>3</sup> in a m<sup>3</sup>) | + | :Weight (in Γ) = Density (in kg/m<sup>3</sup>) * Size (in cm<sup>3</sup>) / 1,000,000 (cm<sup>3</sup> in a m<sup>3</sup>). Through weight, the size of an item has further ramifications in the game, such as [[hauling]] speed, [[pressure plate]] activation, impact momentum, weight restrictions, and so forth. |
| − | + | Internally, all custom size numbers are rounded down to the nearest multiple of 10 - thus, if you define an item with <code>[SIZE:15]</code>, it will actually behave as if you had specified <code>[SIZE:10]</code>.{{cite forum|169696.msg8300987#msg8300987}} | |
| − | The weight of | + | The weight of [[creature]]s is calculated from the densities and sizes of the layers of their body parts, which currently results in corpse weights that are about 1/3 heavier than expected. |
| − | + | == Buildings == | |
| + | The {{token|DIM|building}} [[building token]] defines the size of a [[workshop]] or [[building]] in [[tile]]s. This differs from creatures and items in that a building doesn't have a weight, and it's not in cm³, of course. | ||
== Creatures == | == Creatures == | ||
| − | When it comes to creatures, size is a rough stand-in for [[weight]] since standard flesh weighs about one gram per cubic centimeter. However, in the typical complexity of ''Dwarf Fortress'', there are a number of ''other'' [[material]]s animals can include ([[ivory]], [[hair]], [[horn]], [[shell]], etc.) which have their own densities, shifting a creature's actual weight relative to its size, sometimes significantly (elephant tusks weigh a ''lot''). Creature size is determined by {{token|BODY_SIZE|c}} tokens, often with multiple tokens to set their base size at certain ages. | + | ''See also: [[List of creatures by adult size]].'' |
| + | |||
| + | When it comes to creatures, size is a rough stand-in for [[weight]] since standard flesh weighs about one gram per cubic centimeter. However, in the typical complexity of ''Dwarf Fortress'', there are a number of ''other'' [[material]]s animals can include ([[ivory]], [[hair]], [[horn]], [[shell]], etc.) which have their own densities, shifting a creature's actual weight relative to its size, sometimes significantly (elephant tusks weigh a ''lot''). Creature size is determined by {{token|BODY_SIZE|c}} tokens, often with multiple tokens to set their base size at certain ages. | ||
Bodysize determines several things: | Bodysize determines several things: | ||
| Line 28: | Line 33: | ||
* How much damage they can inflict in melee (along with morphology and attack definition [[creature token|token]]s). | * How much damage they can inflict in melee (along with morphology and attack definition [[creature token|token]]s). | ||
* For creatures that can wear equipment ({{token|EQUIPS|c}}). | * For creatures that can wear equipment ({{token|EQUIPS|c}}). | ||
| − | :* What size of equipment a creature can wear; clothing and armor are sized for a specific species and only creatures near that size can wear them. | + | :* What size of equipment a creature can wear; clothing and armor are sized for a specific species and only creatures with a species base size near that size can wear them, an individual creature's actual size does not matter for this. |
| − | :* Weapons have a minimum size that a creature must be to wield them ({{token|MINIMUM_SIZE|wp}} and {{token|TWO_HANDED|wp}}). | + | :* Weapons have a minimum size that a creature must be to wield them ({{token|MINIMUM_SIZE|wp}} and {{token|TWO_HANDED|wp}}), tissue layer thickness not included, see below. |
The actual size of an individual creature is the result of different effects: | The actual size of an individual creature is the result of different effects: | ||
* The base BODY_SIZE for the species of creature. | * The base BODY_SIZE for the species of creature. | ||
| − | * The [[age]] of the creature; most creatures are born at minimum size | + | * The [[age]] of the creature; most creatures are born at minimum size and grow to a maximum. |
| − | :* Some, like dragons and most species of snake, grow throughout their entire lifetime | + | :* Some, like dragons and most species of snake, grow throughout their entire lifetime and may not live long enough to reach the maximum. |
| − | * Inheritance; many creatures have {{token|BODY_APPEARANCE_MODIFIER|c}}) tokens | + | * Inheritance; many creatures have {{token|BODY_APPEARANCE_MODIFIER|c}}) tokens that allow them to vary in height, width, or length, which they can maybe [[Genetics|pass on]] to children. |
| − | * Muscle mass, determined by | + | The following add to size, but are not included when determining how weapons are wielded. |
| + | * Muscle mass, determined by its [[strength]] attribute (a thin dwarf with ~44210 size will be ~64210 once they become unbelievably strong), due to muscle having {{token|THICKENS_ON_STRENGTH|tissue}}. | ||
* Fat mass, due to {{token|THICKENS_ON_ENERGY_STORAGE|tissue}}.{{verify|untested, seems like it should, and a bug if it doesn't}} | * Fat mass, due to {{token|THICKENS_ON_ENERGY_STORAGE|tissue}}.{{verify|untested, seems like it should, and a bug if it doesn't}} | ||
| − | Creature sizes range from 1 (small insect [[vermin]]) to 200,000,000 ([[giant sperm whale]]s, the largest creature in the game). | + | Creature sizes range from 1 (small insect [[vermin]]) to 200,000,000 ([[giant sperm whale]]s, the largest creature in the game). |
| − | |||
=== Sample list of creature sizes in cm<sup>3</sup> === | === Sample list of creature sizes in cm<sup>3</sup> === | ||
{| {{prettytable}} width=100% class="sortable" style="text-align:right" | {| {{prettytable}} width=100% class="sortable" style="text-align:right" | ||
|- bgcolor="#aaaaaa" | |- bgcolor="#aaaaaa" | ||
| − | ! | + | ! style="text-align:center" | Name |
| − | ! | + | ! style="text-align:center" | Size at birth |
| − | ! | + | ! style="text-align:center" | Size at maturity |
| − | ! Notes | + | ! style="text-align:left" | Notes |
|- | |- | ||
| style="text-align:left" | [[Adder]] | | style="text-align:left" | [[Adder]] | ||
| Line 68: | Line 73: | ||
|- | |- | ||
| style="text-align:left" | [[Dog]] | | style="text-align:left" | [[Dog]] | ||
| − | | | + | | 1,000 |
| 30,000 | | 30,000 | ||
|- | |- | ||
| Line 112: | Line 117: | ||
| style="text-align:left" | [[Giant sperm whale]] | | style="text-align:left" | [[Giant sperm whale]] | ||
| 4,000,000 | | 4,000,000 | ||
| − | | | + | | 200,000,000 |
| style="text-align:left" | Largest creature, period | | style="text-align:left" | Largest creature, period | ||
|} | |} | ||
| Line 119: | Line 124: | ||
Most items defined in the [[raws]] require a <code>[SIZE]</code> token, each class of item has its own: for instance, {{token|SIZE|ammo}} for [[ammo]], {{token|SIZE|wp}} for [[weapon]]s, {{token|SIZE|tool}} for [[tool token|tool]]s, and so on. | Most items defined in the [[raws]] require a <code>[SIZE]</code> token, each class of item has its own: for instance, {{token|SIZE|ammo}} for [[ammo]], {{token|SIZE|wp}} for [[weapon]]s, {{token|SIZE|tool}} for [[tool token|tool]]s, and so on. | ||
| − | Item types not defined in the raws also have a size which can be determined from their weight and material density, using DFHack, or code debugging. Some assorted item | + | Item types not defined in the raws also have a size which can be determined from their weight and material density, using DFHack, or code debugging. Some assorted item type sizes, and their [[storage]] capacity when applicable: |
| − | {| {{prettytable}} class="sortable" | + | {| {{prettytable}} class="sortable" style=text-align:right |
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
| − | ! Item Type | + | ! style=text-align:center | Item Type |
| − | ! Volume | + | ! style=text-align:center | Volume |
| − | ! Capacity | + | ! style=text-align:center | Capacity |
| − | ! Notes | + | ! style=text-align:left | Notes |
|- | |- | ||
| − | | [[Bar]]s | + | | style=text-align:left | [[Bar]]s |
| 6000 | | 6000 | ||
| | | | ||
| Line 135: | Line 140: | ||
|- | |- | ||
| − | | Cut [[gem]]s | + | | style=text-align:left | Cut [[gem]]s |
| 200 | | 200 | ||
| | | | ||
| Line 141: | Line 146: | ||
|- | |- | ||
| − | | [[Block]]s | + | | style=text-align:left | [[Block]]s |
| 6000 | | 6000 | ||
| | | | ||
| Line 147: | Line 152: | ||
|- | |- | ||
| − | | Rough [[gem]]s | + | | style=text-align:left | Rough [[gem]]s |
| 2500 | | 2500 | ||
| | | | ||
| Line 153: | Line 158: | ||
|- | |- | ||
| − | | Mined [[stone]] | + | | style=text-align:left | Mined [[stone]] |
| 100000 | | 100000 | ||
| | | | ||
| Line 159: | Line 164: | ||
|- | |- | ||
| − | | Wood [[log]]s | + | | style=text-align:left | Wood [[log]]s |
| 50000 | | 50000 | ||
| | | | ||
| Line 165: | Line 170: | ||
|- | |- | ||
| − | | [[Door]] | + | | style=text-align:left | [[Door]] |
| 30000 | | 30000 | ||
| | | | ||
| | | | ||
|- | |- | ||
| − | | [[Floodgate]] | + | | style=text-align:left | [[Floodgate]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 176: | Line 181: | ||
|- | |- | ||
| − | | [[Bed]] | + | | style=text-align:left | [[Bed]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 182: | Line 187: | ||
|- | |- | ||
| − | | [[Chair]] | + | | style=text-align:left | [[Chair]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 188: | Line 193: | ||
|- | |- | ||
| − | | [[Chain]] | + | | style=text-align:left | [[Chain]] |
| 5000 | | 5000 | ||
| | | | ||
| Line 194: | Line 199: | ||
|- | |- | ||
| − | | [[Flask]] | + | | style=text-align:left | [[Flask]] |
| 1000 | | 1000 | ||
| 1800 | | 1800 | ||
| Line 200: | Line 205: | ||
|- | |- | ||
| − | | [[Finished_goods#Goblets|Goblet]] | + | | style=text-align:left | [[Finished_goods#Goblets|Goblet]] |
| 1000 | | 1000 | ||
| 1800 | | 1800 | ||
| Line 206: | Line 211: | ||
|- | |- | ||
| − | | [[Instrument]] | + | | style=text-align:left | [[Instrument]] |
| 4000 | | 4000 | ||
| | | | ||
| Line 212: | Line 217: | ||
|- | |- | ||
| − | | [[Finished_goods#Toys|Toy]] | + | | style=text-align:left | [[Finished_goods#Toys|Toy]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 218: | Line 223: | ||
|- | |- | ||
| − | | [[Window]] | + | | style=text-align:left | [[Window]] |
| 20000 | | 20000 | ||
| | | | ||
| Line 224: | Line 229: | ||
|- | |- | ||
| − | | [[Cage]] | + | | style=text-align:left | [[Cage]] |
| 30000 | | 30000 | ||
| 60000 | | 60000 | ||
| Line 230: | Line 235: | ||
|- | |- | ||
| − | | [[Barrel]] | + | | style=text-align:left | [[Barrel]] |
| 20000 | | 20000 | ||
| 60000 | | 60000 | ||
| Line 236: | Line 241: | ||
|- | |- | ||
| − | | [[Bucket]] | + | | style=text-align:left | [[Bucket]] |
| 3000 | | 3000 | ||
| 6000 | | 6000 | ||
| Line 242: | Line 247: | ||
|- | |- | ||
| − | | [[Animal trap]] | + | | style=text-align:left | [[Animal trap]] |
| 3000 | | 3000 | ||
| 30000 | | 30000 | ||
| Line 248: | Line 253: | ||
|- | |- | ||
| − | | [[Table]] | + | | style=text-align:left | [[Table]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 254: | Line 259: | ||
|- | |- | ||
| − | | [[Coffin]] | + | | style=text-align:left | [[Coffin]] |
| 30000 | | 30000 | ||
| 60000 | | 60000 | ||
| Line 260: | Line 265: | ||
|- | |- | ||
| − | | [[Statue]] | + | | style=text-align:left | [[Statue]] |
| 60000 | | 60000 | ||
| | | | ||
| Line 266: | Line 271: | ||
|- | |- | ||
| − | | [[Corpse]] | + | | style=text-align:left | [[Corpse]] |
| Special | | Special | ||
| | | | ||
| − | | Based on the size of the corpse and what it's made of. | + | | style=text-align:left | Based on the size of the corpse and what it's made of. |
|- | |- | ||
| − | | [[Weapon]] | + | | style=text-align:left | [[Weapon]] |
| SIZE<sup>1</sup> | | SIZE<sup>1</sup> | ||
| | | | ||
| Line 278: | Line 283: | ||
|- | |- | ||
| − | | [[Armor]] | + | | style=text-align:left | [[Armor]] |
| Special | | Special | ||
| | | | ||
| − | | Depends on armor type and the race it was crafted for. See [[Material science#Contact Area|here]] for some examples. | + | | style=text-align:left | Depends on armor type and the race it was crafted for. See [[Material science#Contact Area|here]] for some examples. |
|- | |- | ||
| − | | [[Shield]]s | + | | style=text-align:left | [[Shield]]s |
| Special | | Special | ||
| | | | ||
| − | | Based on UPSTEP and the race that crafted it. | + | | style=text-align:left | Based on UPSTEP and the race that crafted it. |
|- | |- | ||
| − | | [[Box]] | + | | style=text-align:left | [[Box]] |
| 20000 | | 20000 | ||
| 60000 | | 60000 | ||
| Line 296: | Line 301: | ||
|- | |- | ||
| − | | [[Bag]] | + | | style=text-align:left | [[Bag]] |
| 1000 | | 1000 | ||
| 60000 | | 60000 | ||
| Line 302: | Line 307: | ||
|- | |- | ||
| − | | [[Bin]] | + | | style=text-align:left | [[Bin]] |
| 15000 | | 15000 | ||
| 60000 | | 60000 | ||
| Line 308: | Line 313: | ||
|- | |- | ||
| − | | [[Armor stand]] | + | | style=text-align:left | [[Armor stand]] |
| 10000 | | 10000 | ||
| 60000 | | 60000 | ||
| Line 314: | Line 319: | ||
|- | |- | ||
| − | | [[Weapon rack]] | + | | style=text-align:left | [[Weapon rack]] |
| 10000 | | 10000 | ||
| 60000 | | 60000 | ||
| Line 320: | Line 325: | ||
|- | |- | ||
| − | | [[Cabinet]] | + | | style=text-align:left | [[Cabinet]] |
| 30000 | | 30000 | ||
| 60000 | | 60000 | ||
| Line 326: | Line 331: | ||
|- | |- | ||
| − | | [[Figurine]] | + | | style=text-align:left | [[Figurine]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 332: | Line 337: | ||
|- | |- | ||
| − | | [[Jewelry|Amulet]] | + | | style=text-align:left | [[Jewelry|Amulet]] |
| 500 | | 500 | ||
| | | | ||
| Line 338: | Line 343: | ||
|- | |- | ||
| − | | [[Finished_goods#Crafts|Scepter]] | + | | style=text-align:left | [[Finished_goods#Crafts|Scepter]] |
| 3000 | | 3000 | ||
| | | | ||
| Line 344: | Line 349: | ||
|- | |- | ||
| − | | [[Ammo]] | + | | style=text-align:left | [[Ammo]] |
| SIZE<sup>1</sup> | | SIZE<sup>1</sup> | ||
| | | | ||
| Line 350: | Line 355: | ||
|- | |- | ||
| − | | [[Jewelry|Crown]] | + | | style=text-align:left | [[Jewelry|Crown]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 356: | Line 361: | ||
|- | |- | ||
| − | | [[Jewelry|Ring]] | + | | style=text-align:left | [[Jewelry|Ring]] |
| 50 | | 50 | ||
| | | | ||
| Line 362: | Line 367: | ||
|- | |- | ||
| − | | [[Jewelry|Earring]] | + | | style=text-align:left | [[Jewelry|Earring]] |
| 30 | | 30 | ||
| | | | ||
| Line 368: | Line 373: | ||
|- | |- | ||
| − | | [[Jewelry|Bracelet]] | + | | style=text-align:left | [[Jewelry|Bracelet]] |
| 200 | | 200 | ||
| | | | ||
| Line 374: | Line 379: | ||
|- | |- | ||
| − | | [[ | + | | style=text-align:left | [[Gem#Large_gems_and_crafts|Large gem]] |
| 50 | | 50 | ||
| | | | ||
| Line 380: | Line 385: | ||
|- | |- | ||
| − | | [[Anvil]] | + | | style=text-align:left | [[Anvil]] |
| 10000 | | 10000 | ||
| | | | ||
| Line 386: | Line 391: | ||
|- | |- | ||
| − | | [[Body part]] | + | | style=text-align:left | [[Body part]] |
| Special | | Special | ||
| | | | ||
| − | | Based on the size of the body part and what it's made of. | + | | style=text-align:left | Based on the size of the body part and what it's made of. |
|- | |- | ||
| − | | [[Remains]] | + | | style=text-align:left | [[Remains]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 398: | Line 403: | ||
|- | |- | ||
| − | | [[Meat]] | + | | style=text-align:left | [[Meat]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 404: | Line 409: | ||
|- | |- | ||
| − | | [[Fish]] | + | | style=text-align:left | [[Fish]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 410: | Line 415: | ||
|- | |- | ||
| − | | Unprepared [[fish]] | + | | style=text-align:left | Unprepared [[fish]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 416: | Line 421: | ||
|- | |- | ||
| − | | Live [[vermin]] | + | | style=text-align:left | Live [[vermin]] |
| Special | | Special | ||
| | | | ||
| − | | Based on creature's adult size. | + | | style=text-align:left | Based on creature's adult size. |
|- | |- | ||
| − | | Tame [[vermin]] | + | | style=text-align:left | Tame [[vermin]] |
| Special | | Special | ||
| | | | ||
| − | | Based on creature's adult size. | + | | style=text-align:left | Based on creature's adult size. |
|- | |- | ||
| − | | [[Seed]]s | + | | style=text-align:left | [[Seed]]s |
| 100 | | 100 | ||
| | | | ||
| Line 434: | Line 439: | ||
|- | |- | ||
| − | | [[Plant]] | + | | style=text-align:left | [[Plant]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 440: | Line 445: | ||
|- | |- | ||
| − | | [[Leather]] | + | | style=text-align:left | [[Leather]] |
| 5000 | | 5000 | ||
| | | | ||
| Line 446: | Line 451: | ||
|- | |- | ||
| − | | [[Plant]] growths | + | | style=text-align:left | [[Plant]] growths |
| 50 | | 50 | ||
| | | | ||
| Line 452: | Line 457: | ||
|- | |- | ||
| − | | [[Thread]] | + | | style=text-align:left | [[Thread]] |
| ceil(Dimension/50)<sup>1</sup> | | ceil(Dimension/50)<sup>1</sup> | ||
| | | | ||
| − | | Freshly gathered/produced thread has a dimension of 15000 and thus has a volume of 300 | + | | style=text-align:left | Freshly gathered/produced thread has a dimension of 15000 and thus has a volume of 300 |
|- | |- | ||
| − | | [[Cloth]] | + | | style=text-align:left | [[Cloth]] |
| ceil(Dimension/50)<sup>1</sup> | | ceil(Dimension/50)<sup>1</sup> | ||
| | | | ||
| − | | Freshly woven cloth has a dimension of 10000 and thus has a volume of 200 | + | | style=text-align:left | Freshly woven cloth has a dimension of 10000 and thus has a volume of 200 |
|- | |- | ||
| − | | [[Finished_goods#Totems|Totem]] | + | | style=text-align:left | [[Finished_goods#Totems|Totem]] |
| 5000 | | 5000 | ||
| | | | ||
| Line 470: | Line 475: | ||
|- | |- | ||
| − | | [[Backpack]] | + | | style=text-align:left | [[Backpack]] |
| 5000 | | 5000 | ||
| 30000 | | 30000 | ||
| Line 476: | Line 481: | ||
|- | |- | ||
| − | | [[Quiver]] | + | | style=text-align:left | [[Quiver]] |
| 3000 | | 3000 | ||
| 12000 | | 12000 | ||
| Line 482: | Line 487: | ||
|- | |- | ||
| − | | [[Catapult part]]s | + | | style=text-align:left | [[Catapult part]]s |
| 20000 | | 20000 | ||
| | | | ||
| Line 488: | Line 493: | ||
|- | |- | ||
| − | | [[Ballista part]]s | + | | style=text-align:left | [[Ballista part]]s |
| 20000 | | 20000 | ||
| | | | ||
| Line 494: | Line 499: | ||
|- | |- | ||
| − | | [[Ballista_arrow|Siege ammo]] | + | | style=text-align:left | [[Ballista_arrow|Siege ammo]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 500: | Line 505: | ||
|- | |- | ||
| − | | [[Ballista arrow]] head | + | | style=text-align:left | [[Ballista arrow]] head |
| 10000 | | 10000 | ||
| | | | ||
| Line 506: | Line 511: | ||
|- | |- | ||
| − | | [[Mechanism]]s | + | | style=text-align:left | [[Mechanism]]s |
| 20000 | | 20000 | ||
| | | | ||
| Line 512: | Line 517: | ||
|- | |- | ||
| − | | [[Trap component]] | + | | style=text-align:left | [[Trap component]] |
| SIZE<sup>1</sup> | | SIZE<sup>1</sup> | ||
| | | | ||
| Line 518: | Line 523: | ||
|- | |- | ||
| − | | [[Alcohol|Drink]] | + | | style=text-align:left | [[Alcohol|Drink]] |
| 600 | | 600 | ||
| | | | ||
| Line 524: | Line 529: | ||
|- | |- | ||
| − | | [[Mill|Powder]] | + | | style=text-align:left | [[Mill|Powder]] |
| 600 | | 600 | ||
| | | | ||
| Line 530: | Line 535: | ||
|- | |- | ||
| − | | [[Cheese]] | + | | style=text-align:left | [[Cheese]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 536: | Line 541: | ||
|- | |- | ||
| − | | [[Prepared meal]] | + | | style=text-align:left | [[Prepared meal]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 542: | Line 547: | ||
|- | |- | ||
| − | | [[Extract|Misc. liquid]] | + | | style=text-align:left | [[Extract|Misc. liquid]] |
| 600 | | 600 | ||
| | | | ||
| Line 548: | Line 553: | ||
|- | |- | ||
| − | | [[Coin]] | + | | style=text-align:left | [[Coin]] |
| − | | 10 | + | | 10/16<sup>1</sup> |
| | | | ||
| − | | | + | | style=text-align:left | The size of a stack is 0.625 per coin, then subject to the rounding; so a single coin is 10 cm³ but a stack of 500 is 310 cm³. |
|- | |- | ||
| − | | [[ | + | | style=text-align:left | [[Glob]] |
| 600 | | 600 | ||
| | | | ||
| Line 560: | Line 565: | ||
|- | |- | ||
| − | | Small [[rock]] | + | | style=text-align:left | Small [[rock]] |
| 2000 | | 2000 | ||
| | | | ||
| − | | As [[Thrower|thrown]] by adventurers. | + | | style=text-align:left | As [[Thrower|thrown]] by adventurers. |
|- | |- | ||
| − | | [[Pipe section]] | + | | style=text-align:left | [[Pipe section]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 572: | Line 577: | ||
|- | |- | ||
| − | | [[Hatch cover]] | + | | style=text-align:left | [[Hatch cover]] |
| 10000 | | 10000 | ||
| | | | ||
| Line 578: | Line 583: | ||
|- | |- | ||
| − | | [[Grate]] | + | | style=text-align:left | [[Grate]] |
| 10000 | | 10000 | ||
| | | | ||
| Line 584: | Line 589: | ||
|- | |- | ||
| − | | [[Quern]] | + | | style=text-align:left | [[Quern]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 590: | Line 595: | ||
|- | |- | ||
| − | | [[Millstone]] | + | | style=text-align:left | [[Millstone]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 596: | Line 601: | ||
|- | |- | ||
| − | | [[Splint]] | + | | style=text-align:left | [[Splint]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 602: | Line 607: | ||
|- | |- | ||
| − | | [[Crutch]] | + | | style=text-align:left | [[Crutch]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 608: | Line 613: | ||
|- | |- | ||
| − | | [[Traction bench]] | + | | style=text-align:left | [[Traction bench]] |
| 30000 | | 30000 | ||
| | | | ||
| Line 614: | Line 619: | ||
|- | |- | ||
| − | | Orthopedic [[cast]] | + | | style=text-align:left | Orthopedic [[cast]] |
| 2000 | | 2000 | ||
| | | | ||
| Line 620: | Line 625: | ||
|- | |- | ||
| − | | [[Tool]] | + | | style=text-align:left | [[Tool]] |
| SIZE<sup>1</sup> | | SIZE<sup>1</sup> | ||
| CAPACITY<sup>1</sup> | | CAPACITY<sup>1</sup> | ||
| − | | Includes items such as [[nest box]]es, [[jug]]s, [[large pot]]s, [[hive]]s, [[minecart]]s, [[wheelbarrow]]s, [[stepladder]]s, [[pedestal]]s, and [[display case]]s | + | | style=text-align:left | Includes items such as [[nest box]]es, [[jug]]s, [[large pot]]s, [[hive]]s, [[minecart]]s, [[wheelbarrow]]s, [[stepladder]]s, [[pedestal]]s, and [[display case]]s |
|- | |- | ||
| − | | [[Slab]] | + | | style=text-align:left | [[Slab]] |
| 60000 | | 60000 | ||
| | | | ||
| Line 632: | Line 637: | ||
|- | |- | ||
| − | | [[Egg]] | + | | style=text-align:left | [[Egg]] |
| Special | | Special | ||
| | | | ||
| − | | Presumably the caste's EGG_SIZE. | + | | style=text-align:left | Presumably the caste's EGG_SIZE. |
|- | |- | ||
| − | | [[Book]] | + | | style=text-align:left | [[Book]] |
| 1000 | | 1000 | ||
| | | | ||
| Line 644: | Line 649: | ||
|- | |- | ||
| − | | [[Sheet]] | + | | style=text-align:left | [[Sheet]] |
| ceil(Dimension/50)<sup>1</sup> | | ceil(Dimension/50)<sup>1</sup> | ||
| | | | ||
| − | | A fresh sheet has a dimension of 10000 and thus has a volume of 200 | + | | style=text-align:left | A fresh sheet has a dimension of 10000 and thus has a volume of 200 |
|- | |- | ||
| − | | [[Branch]] | + | | style=text-align:left | [[Branch]] |
| 5000 | | 5000 | ||
| | | | ||
| − | | | + | | style=text-align:left | An adventurer mode item |
|} | |} | ||
| − | :<sup>1</sup> - As noted above, all values are rounded ''down'' to the nearest multiple of 10, | + | :<sup>1</sup> - As noted above, all values are rounded ''down'' to the nearest multiple of 10, with a minimum value of 10. |
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| + | * [[Density]] | ||
* [[Weight]] | * [[Weight]] | ||
{{Category|Modding}} | {{Category|Modding}} | ||
[[ru:Size]] | [[ru:Size]] | ||
Latest revision as of 16:15, 18 October 2026
| This article was migrated from DF2014:Size and may be inaccurate for the current version of DF (v53.17). See this page for more information. |
v53.17 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
- You may be looking for size of clothing, armor, the dimensions of a tile, or the list of creatures by size.
Size is a measure of how big a creature or item is, as volume in cubic centimeters[1], and called [BODY_SIZE] or [SIZE] in the raw files.
Size has many important effects on the game, many through its direct effect on item weight, one of the many material properties in Dwarf Fortress. Size directly affects such things as which weapons your dwarves can equip, butchering returns, storage limits, and combat effectiveness for both creatures and weapons.
As far as in-game location and movement, size does not matter; one item or creature always is located in just one tile, regardless of size. If a path is open to a dwarf, it's open to every other creature in the game, no matter how large. A thousand full grown dragons can occupy a single square (so long as 999 of them are lying down), and a common rabbit blocks a door or fills a cage as completely as a gigantic bronze colossus.
Game mechanics[edit]
Size is used to calculate an item's weight, along with the density of the underlying material(s):
- Weight (in Γ) = Density (in kg/m3) * Size (in cm3) / 1,000,000 (cm3 in a m3). Through weight, the size of an item has further ramifications in the game, such as hauling speed, pressure plate activation, impact momentum, weight restrictions, and so forth.
Internally, all custom size numbers are rounded down to the nearest multiple of 10 - thus, if you define an item with [SIZE:15], it will actually behave as if you had specified [SIZE:10].[2]
The weight of creatures is calculated from the densities and sizes of the layers of their body parts, which currently results in corpse weights that are about 1/3 heavier than expected.
Buildings[edit]
The [DIM] building token defines the size of a workshop or building in tiles. This differs from creatures and items in that a building doesn't have a weight, and it's not in cm³, of course.
Creatures[edit]
See also: List of creatures by adult size.
When it comes to creatures, size is a rough stand-in for weight since standard flesh weighs about one gram per cubic centimeter. However, in the typical complexity of Dwarf Fortress, there are a number of other materials animals can include (ivory, hair, horn, shell, etc.) which have their own densities, shifting a creature's actual weight relative to its size, sometimes significantly (elephant tusks weigh a lot). Creature size is determined by [BODY_SIZE] tokens, often with multiple tokens to set their base size at certain ages.
Bodysize determines several things:
- Average butchering yields.
- How much damage they can absorb (along with morphology).
- How much damage they can inflict in melee (along with morphology and attack definition tokens).
- For creatures that can wear equipment (
[EQUIPS]).
- What size of equipment a creature can wear; clothing and armor are sized for a specific species and only creatures with a species base size near that size can wear them, an individual creature's actual size does not matter for this.
- Weapons have a minimum size that a creature must be to wield them (
[MINIMUM_SIZE]and[TWO_HANDED]), tissue layer thickness not included, see below.
The actual size of an individual creature is the result of different effects:
- The base BODY_SIZE for the species of creature.
- The age of the creature; most creatures are born at minimum size and grow to a maximum.
- Some, like dragons and most species of snake, grow throughout their entire lifetime and may not live long enough to reach the maximum.
- Inheritance; many creatures have
[BODY_APPEARANCE_MODIFIER]) tokens that allow them to vary in height, width, or length, which they can maybe pass on to children.
The following add to size, but are not included when determining how weapons are wielded.
- Muscle mass, determined by its strength attribute (a thin dwarf with ~44210 size will be ~64210 once they become unbelievably strong), due to muscle having
[THICKENS_ON_STRENGTH]. - Fat mass, due to
[THICKENS_ON_ENERGY_STORAGE].[Verify]
Creature sizes range from 1 (small insect vermin) to 200,000,000 (giant sperm whales, the largest creature in the game).
Sample list of creature sizes in cm3[edit]
| Name | Size at birth | Size at maturity | Notes |
|---|---|---|---|
| Adder | 15 | 150 | Smallest (non-vermin) creature |
| Rabbit | 50 | 500 | Smallest domestic animal |
| Cat | 500 | 5,000 | |
| Kobold | 1,000 | 20,000 | |
| Dog | 1,000 | 30,000 | |
| Dwarf | 3,000 | 60,000 | |
| Giant tiercel peregrine | 8,308 | 113,292 | Smallest giant animal |
| Water buffalo | 100,000 | 1,000,000 | Largest domestic creature |
| Elephant | 500,000 | 5,000,000 | Largest natural land-based creature |
| Cave dragon | 6,000 | 15,000,000 | Largest cavernous creature |
| Sperm whale | 500,000 | 25,000,000 | Largest natural creature |
| Dragon | 6,000 | 25,000,000 | Largest megabeast |
| Giant elephant | 4,000,000 | 40,000,000 | Largest land-based creature |
| Giant sperm whale | 4,000,000 | 200,000,000 | Largest creature, period |
Items[edit]
Most items defined in the raws require a [SIZE] token, each class of item has its own: for instance, [SIZE] for ammo, [SIZE] for weapons, [SIZE] for tools, and so on.
Item types not defined in the raws also have a size which can be determined from their weight and material density, using DFHack, or code debugging. Some assorted item type sizes, and their storage capacity when applicable:
| 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 | 60000 | |
| 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 | SIZE1 | ||
| Armor | Special | Depends on armor type and the race it was crafted for. See here for some examples. | |
| Shields | Special | Based on UPSTEP and the race that crafted it. | |
| Box | 20000 | 60000 | |
| Bag | 1000 | 60000 | |
| Bin | 15000 | 60000 | |
| Armor stand | 10000 | 60000 | |
| Weapon rack | 10000 | 60000 | |
| Cabinet | 30000 | 60000 | |
| Figurine | 1000 | ||
| Amulet | 500 | ||
| Scepter | 3000 | ||
| Ammo | SIZE1 | ||
| 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 | ||
| Plant growths | 50 | ||
| Thread | ceil(Dimension/50)1 | Freshly gathered/produced thread has a dimension of 15000 and thus has a volume of 300 | |
| Cloth | ceil(Dimension/50)1 | Freshly woven cloth has a dimension of 10000 and thus has a volume of 200 | |
| Totem | 5000 | ||
| Backpack | 5000 | 30000 | |
| Quiver | 3000 | 12000 | |
| Catapult parts | 20000 | ||
| Ballista parts | 20000 | ||
| Siege ammo | 30000 | ||
| Ballista arrow head | 10000 | ||
| Mechanisms | 20000 | ||
| Trap component | SIZE1 | ||
| Drink | 600 | ||
| Powder | 600 | ||
| Cheese | 1000 | ||
| Prepared meal | 1000 | ||
| Misc. liquid | 600 | ||
| Coin | 10/161 | The size of a stack is 0.625 per coin, then subject to the rounding; so a single coin is 10 cm³ but a stack of 500 is 310 cm³. | |
| 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 | SIZE1 | CAPACITY1 | Includes items such as nest boxes, jugs, large pots, hives, minecarts, wheelbarrows, stepladders, pedestals, and display cases |
| Slab | 60000 | ||
| Egg | Special | Presumably the caste's EGG_SIZE. | |
| Book | 1000 | ||
| Sheet | ceil(Dimension/50)1 | A fresh sheet has a dimension of 10000 and thus has a volume of 200 | |
| Branch | 5000 | An adventurer mode item |
- 1 - As noted above, all values are rounded down to the nearest multiple of 10, with a minimum value of 10.