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 Size

Jump to navigation Jump to search

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

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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 19: Line 19:
  
 
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].
 
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].
 
== 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 ==
Line 36: Line 33:
 
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 and grow to a maximum.
+
* 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.
+
:* 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 that allow them to vary in height, width, or length, which they can pass on to children.
+
* Inheritance; many creatures have {{token|BODY_APPEARANCE_MODIFIER|c}}) tokens, that allow them to vary in height, width, or length, which they can pass on to children.
* 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}}.
+
* Muscle mass, determined by it's [[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). See [[List of creatures by adult size]] for details.
+
Creature sizes range from 1 (small insect [[vermin]]) to 200,000,000 ([[giant sperm whale]]s, the largest creature in the game). See [[List of creatures by adult size]] for details.
  
 
=== 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
+
! width="25%" | Name
! style="text-align:center" | Size at birth
+
! width="15%" | Size at birth
! style="text-align:center" | Size at maturity
+
! width="15%" | Size at maturity
! style="text-align:left" | Notes
+
! Notes
 
|-
 
|-
 
| style="text-align:left" | [[Adder]]
 
| style="text-align:left" | [[Adder]]
Line 119: Line 116:
 
|}
 
|}
  
== Items ==
+
== Mechanics ==
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.
+
* '''Crafted items''': [[Item definition token]]s for [[industry|industry-crafted]] items are specific to various classes of items: for instance, [[ammo]] has its own [[ammo token|ammo definition tokens]], as does [[armor token|armor]], as do [[tool token|tool]]s, and so on. A {{tt|[SIZE]}} token is a field required in all of these definitions.
 
+
:* [[Bar]] lacks a defined size token in the raws, but a bar has a size of 6000 cm<sup>3</sup>, which is consistent with their weight and density, and 10 bars fitting inside a [[Storage|bin]]. The dimensionless unit of '150' products per bar, primarily of use for soap, suggests that each use of a bar of soap should diminish by 40cm<sup>3</sup> (i.e. 6000cm<sup>3</sup>/150). Whether this is true is currently untested.{{verify}}
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:
+
* '''Inorganic items''': [[Stone]]s, [[gem]]s, and [[ore]]s appear to have a default, hard-coded size that is applied to all items of that class; thus there is no direct [[inorganic material definition token]] for it.
 
+
* '''Plants''': There is no size [[plant token]].
{| {{prettytable}} class="sortable" style=text-align:right
+
* '''Buildings''': The {{tt|[DIM:#:#]}} [[building token]] defines the by-[[tile]] size of a [[workshop]] or [[building]].
|- bgcolor="#999999"
 
! style=text-align:center | Item Type
 
! style=text-align:center | Volume
 
! style=text-align:center | Capacity
 
! style=text-align:left | Notes
 
 
 
|-
 
| style=text-align:left | [[Bar]]s
 
| 6000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Cut [[gem]]s
 
| 200
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Block]]s
 
| 6000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Rough [[gem]]s
 
| 2500
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Mined [[stone]]
 
| 100000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Wood [[log]]s
 
| 50000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Door]]
 
| 30000
 
|
 
|
 
|-
 
| style=text-align:left | [[Floodgate]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Bed]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Chair]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Chain]]
 
| 5000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Flask]]
 
| 1000
 
| 1800
 
|
 
 
 
|-
 
| style=text-align:left | [[Finished_goods#Goblets|Goblet]]
 
| 1000
 
| 1800
 
|
 
 
 
|-
 
| style=text-align:left | [[Instrument]]
 
| 4000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Finished_goods#Toys|Toy]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Window]]
 
| 20000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Cage]]
 
| 30000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Barrel]]
 
| 20000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Bucket]]
 
| 3000
 
| 6000
 
|
 
 
 
|-
 
| style=text-align:left | [[Animal trap]]
 
| 3000
 
| 30000
 
|
 
 
 
|-
 
| style=text-align:left | [[Table]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Coffin]]
 
| 30000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Statue]]
 
| 60000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Corpse]]
 
| Special
 
|
 
| style=text-align:left | Based on the size of the corpse and what it's made of.
 
 
 
|-
 
| style=text-align:left | [[Weapon]]
 
| SIZE<sup>1</sup>
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Armor]]
 
| Special
 
|
 
| style=text-align:left | Depends on armor type and the race it was crafted for.  See [[Material science#Contact Area|here]] for some examples.
 
 
 
|-
 
| style=text-align:left | [[Shield]]s
 
| Special
 
|
 
| style=text-align:left | Based on UPSTEP and the race that crafted it.
 
 
 
|-
 
| style=text-align:left | [[Box]]
 
| 20000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Bag]]
 
| 1000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Bin]]
 
| 15000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Armor stand]]
 
| 10000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Weapon rack]]
 
| 10000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Cabinet]]
 
| 30000
 
| 60000
 
|
 
 
 
|-
 
| style=text-align:left | [[Figurine]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Jewelry|Amulet]]
 
| 500
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Finished_goods#Crafts|Scepter]]
 
| 3000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Ammo]]
 
| SIZE<sup>1</sup>
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Jewelry|Crown]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Jewelry|Ring]]
 
| 50
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Jewelry|Earring]]
 
| 30
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Jewelry|Bracelet]]
 
| 200
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Finished_goods#Large_gems|Large gem]]
 
| 50
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Anvil]]
 
| 10000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Body part]]
 
| Special
 
|
 
| style=text-align:left | Based on the size of the body part and what it's made of.
 
 
 
|-
 
| style=text-align:left | [[Remains]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Meat]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Fish]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Unprepared [[fish]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Live [[vermin]]
 
| Special
 
|
 
| style=text-align:left | Based on creature's adult size.
 
 
 
|-
 
| style=text-align:left | Tame [[vermin]]
 
| Special
 
|
 
| style=text-align:left | Based on creature's adult size.
 
 
 
|-
 
| style=text-align:left | [[Seed]]s
 
| 100
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Plant]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Leather]]
 
| 5000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Plant]] growths
 
| 50
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Thread]]
 
| ceil(Dimension/50)<sup>1</sup>
 
|
 
| style=text-align:left | Freshly gathered/produced thread has a dimension of 15000 and thus has a volume of 300
 
 
 
|-
 
| style=text-align:left | [[Cloth]]
 
| ceil(Dimension/50)<sup>1</sup>
 
|
 
| style=text-align:left | Freshly woven cloth has a dimension of 10000 and thus has a volume of 200
 
 
 
|-
 
| style=text-align:left | [[Finished_goods#Totems|Totem]]
 
| 5000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Backpack]]
 
| 5000
 
| 30000
 
|
 
 
 
|-
 
| style=text-align:left | [[Quiver]]
 
| 3000
 
| 12000
 
|
 
 
 
|-
 
| style=text-align:left | [[Catapult part]]s
 
| 20000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Ballista part]]s
 
| 20000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Ballista_arrow|Siege ammo]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Ballista arrow]] head
 
| 10000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Mechanism]]s
 
| 20000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Trap component]]
 
| SIZE<sup>1</sup>
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Alcohol|Drink]]
 
| 600
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Mill|Powder]]
 
| 600
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Cheese]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Prepared meal]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Extract|Misc. liquid]]
 
| 600
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Coin]]
 
| 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 | [[Fat|Glob]]
 
| 600
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Small [[rock]]
 
| 2000
 
|
 
| style=text-align:left | As [[Thrower|thrown]] by adventurers.
 
 
 
|-
 
| style=text-align:left | [[Pipe section]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Hatch cover]]
 
| 10000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Grate]]
 
| 10000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Quern]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Millstone]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Splint]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Crutch]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Traction bench]]
 
| 30000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | Orthopedic [[cast]]
 
| 2000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Tool]]
 
| SIZE<sup>1</sup>
 
| CAPACITY<sup>1</sup>
 
| 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
 
 
 
|-
 
| style=text-align:left | [[Slab]]
 
| 60000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Egg]]
 
| Special
 
|
 
| style=text-align:left | Presumably the caste's EGG_SIZE.
 
 
 
|-
 
| style=text-align:left | [[Book]]
 
| 1000
 
|
 
|
 
 
 
|-
 
| style=text-align:left | [[Sheet]]
 
| ceil(Dimension/50)<sup>1</sup>
 
|
 
| style=text-align:left | A fresh sheet has a dimension of 10000 and thus has a volume of 200
 
 
 
|-
 
| style=text-align:left | [[Branch]]
 
| 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, with a minimum value of 10.
 
  
 
==See also==
 
==See also==
* [[Density]]
 
 
* [[Weight]]
 
* [[Weight]]
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
[[ru:Size]]
 
[[ru:Size]]

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)

This page is a member of 2 hidden categories: