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 20: | Line 20: | ||
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]. | ||
− | == | + | == Bodysize == |
− | + | Creature-specific size is known internally as '''bodysize''' (from the {{tt|[BODY_SIZE]}} [[creature token|token]]). When it comes to creatures, size is a rough stand-in for [[weight]]: standard flesh weighs one gram per cubic centimeter. However, in the infinite complexity of ''Dwarf Fortress'', there are a number of ''other'' [[material]]s animals internalize ([[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''). Bodysize also determines average [[butcher]]ing yields, (along with morphology) how much [[damage]] they can absorb, and (along with morphology and attack definition [[creature token|token]]s) how much damage they can inflict in melee. On {{tt|[HUMANOID]}} creatures, size also directly determines what kind of equipment a creature can wear: large, small, normal, or none at all. | |
− | + | The actual size of a creature is the result of four different effects, one basic and three that are highly variable. First and most basic is the average maintained across an individual species of creature. The second is the [[age]] of the creature: most creatures are not born anywhere near their maximum size, and instead must grow into it; some, like most species of snake, grow throughout their entire lifetime, and probably will not live long enough to reach it. The third is inheritance: version 0.31.1 introduced [[genetics]], allowing creatures to inherit part of their size from the appearance, specifically the height and girth, of their parents. The last one is the creature's muscle mass, determined by it's [[strength]] attribute (a thin dwarf with ~44210 size will be ~64210 once they become unbelievably strong). | |
− | |||
− | + | Actual creature sizes go 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. The average size set for a dwarf is 3,000, 15,000, and 60,000, the size of a baby, child and adult respectively. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Sample list of creature sizes == | |
− | + | {| width=100% class="sortable" style="text-align:center" | |
− | + | ! width="25%" style="text-align:left" | Name | |
− | + | ! width="25%" | Size at birth | |
− | + | ! width="25%" | Size at maturity | |
− | + | ! width="25%" | Notes | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| | ||
− | |||
− | |||
− | ! | ||
− | ! | ||
− | ! | ||
|- | |- | ||
| style="text-align:left" | [[Adder]] | | style="text-align:left" | [[Adder]] | ||
| 15 | | 15 | ||
| 150 | | 150 | ||
− | + | | Smallest (non-vermin) creature | |
|- | |- | ||
| style="text-align:left" | [[Rabbit]] | | style="text-align:left" | [[Rabbit]] | ||
| 50 | | 50 | ||
| 500 | | 500 | ||
− | + | | Smallest domestic animal | |
|- | |- | ||
| style="text-align:left" | [[Cat]] | | style="text-align:left" | [[Cat]] | ||
| 500 | | 500 | ||
| 5,000 | | 5,000 | ||
+ | | | ||
|- | |- | ||
| style="text-align:left" | [[Kobold]] | | style="text-align:left" | [[Kobold]] | ||
| 1,000 | | 1,000 | ||
| 20,000 | | 20,000 | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| style="text-align:left" | [[Dwarf]] | | style="text-align:left" | [[Dwarf]] | ||
Line 81: | Line 60: | ||
| 8,308 | | 8,308 | ||
| 113,292 | | 113,292 | ||
− | | style="text-align:left" | | + | | Smallest [[giant animal]] |
+ | |- | ||
+ | | style="text-align:left" | [[Deer]] | ||
+ | | 14,000 | ||
+ | | 140,000 | ||
+ | |- | ||
+ | | style="text-align:left" | [[Polar bear]] | ||
+ | | 40,000 | ||
+ | | 400,000 | ||
|- | |- | ||
| style="text-align:left" | [[Water buffalo]] | | style="text-align:left" | [[Water buffalo]] | ||
| 100,000 | | 100,000 | ||
| 1,000,000 | | 1,000,000 | ||
− | | style="text-align:left" | | + | | Largest domestic creature |
+ | |- | ||
+ | | style="text-align:left" | [[Rhinoceros]] | ||
+ | | 300,000 | ||
+ | | 3,000,000 | ||
|- | |- | ||
| style="text-align:left" | [[Elephant]] | | style="text-align:left" | [[Elephant]] | ||
| 500,000 | | 500,000 | ||
| 5,000,000 | | 5,000,000 | ||
− | + | | Largest natural land-based creature | |
|- | |- | ||
| style="text-align:left" | [[Cave dragon]] | | style="text-align:left" | [[Cave dragon]] | ||
| 6,000 | | 6,000 | ||
| 15,000,000 | | 15,000,000 | ||
− | + | | Largest cavernous creature | |
|- | |- | ||
| style="text-align:left" | [[Sperm whale]] | | style="text-align:left" | [[Sperm whale]] | ||
| 500,000 | | 500,000 | ||
| 25,000,000 | | 25,000,000 | ||
− | + | | Largest natural creature | |
|- | |- | ||
| style="text-align:left" | [[Dragon]] | | style="text-align:left" | [[Dragon]] | ||
| 6,000 | | 6,000 | ||
| 25,000,000 | | 25,000,000 | ||
− | + | | Largest [[megabeast]] | |
|- | |- | ||
| style="text-align:left" | [[Giant elephant]] | | style="text-align:left" | [[Giant elephant]] | ||
| 4,000,000 | | 4,000,000 | ||
| 40,000,000 | | 40,000,000 | ||
− | + | | Largest land-based creature | |
|- | |- | ||
| style="text-align:left" | [[Giant sperm whale]] | | style="text-align:left" | [[Giant sperm whale]] | ||
| 4,000,000 | | 4,000,000 | ||
| 150,000,000 | | 150,000,000 | ||
− | + | | Largest creature, period | |
|} | |} | ||
− | == | + | == Mechanics == |
− | + | * '''Constructed items''': [[item definition token|Item definition files]] 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. | |
− | |||
− | |||
− | |||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Bars lack a defined size token in the raws. They have a size of 600 cm<sup>3</sup>, which can be deduced from the equation listed above using their weight and the densities of their corresponding materials. This is consistent with 5 bars fitting inside a [[Container#Quick_Reference|3000-capacity bin]]. The dimensionless unit of '150' products per bar, primarily of use for soap, suggests that each use of soap should diminish the size of the item by 4cm<sup>3</sup> (i.e. 600cm<sup>3</sup>/150). Whether this is true is currently untested.{{verify}} | |
− | |||
− | |||
− | |||
− | |||
− | + | * '''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]]. | |
− | + | * '''Buildings''': The {{tt|[DIM:#:#]}} [[building token]] defines the by-[[tile]] size of a [[workshop]] or [[building]]. | |
− | + | * '''Creatures''': The [[creature token]] version of {{tt|[SIZE]}} is the <tt>[BODY_SIZE:#:#:#]</tt> token, which accepts three variables. The first number is age in years; the second additional age is in days. The third number is its size in cm<sup>3</sup>. Multiple ages and multiple {{tt|[BODY_SIZE]}} tokens are used to constrain a creature's [[age]]-based growth pattern and final size. Genetics is accounted for by a {{tt|[BODY_APPEARANCE_MODIFIER]}} token tagged for {{tt|LENGTH}} and/or {{tt|HEIGHT}}. For instance, genetic variance in the [[anaconda]] is defined so: {{tt|[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]}}. Each interval value is genetically inherited, and each interval value has an equal chance of occurring; the numbers are the percentage of the base size a creature in the interval will be. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== | ||
− | |||
* [[Weight]] | * [[Weight]] | ||
{{Category|Modding}} | {{Category|Modding}} | ||
[[ru:Size]] | [[ru:Size]] |