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.34: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.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). 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 1: Line 1:
 
{{quality|Masterwork|01:36, 12 July 2013 (UTC)}}
 
{{quality|Masterwork|01:36, 12 July 2013 (UTC)}}
 
{{av}}
 
{{av}}
{{buggy}}
 
  
 
'''Size''' is a measure of how big a [[creature]] or [[item]] is, measured in cubic centimeters. It is essentially volume, but is called size in creature [[raw file]]s, and is so translated to item definitions as well. Size, along with the underlying [[material]]'s [[density]], is used to calculate an item's [[weight]]:
 
'''Size''' is a measure of how big a [[creature]] or [[item]] is, measured in cubic centimeters. It is essentially volume, but is called size in creature [[raw file]]s, and is so translated to item definitions as well. Size, along with the underlying [[material]]'s [[density]], is used to calculate an item's [[weight]]:
Line 109: Line 108:
 
* '''Buildings''': The {{tt|[DIM:#:#]}} [[building token]] defines the by-[[tile]] size of a [[workshop]] or [[building]].
 
* '''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.
 
* '''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.
 
==Bugs==
 
 
Due to a bug, 90% of creatures do not "grow" correctly, resulting in severely undersized dwarves, reduced [[military]] effectiveness, poor [[meat industry]] returns, under-performing  [[war animals]], [[pressure plate]] triggering problems, etc. Creatures that are spawned "full-grown" (migrants, invaders, wildlife, merchant trade animals, etc.) are the correct size. [[Utility:DFHack|DFHack]] contains a fix for this bug (<code>fix/growthbug</code>), which is enabled in the current version of the [[Utility:Lazy Newb Pack|Lazy Newb Pack]].{{bug|6334}}
 
  
 
{{Category|Modding}}
 
{{Category|Modding}}

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)

Templates used on this page: