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 DF2014: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 "DF2014"). 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 2: Line 2:
 
{{av}}
 
{{av}}
  
:''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 more likely, 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[http://www.bay12forums.com/smf/index.php?topic=30026.msg831163#msg831163], and called {{token|BODY_SIZE|c}} or <code>[[Item_definition_token|[SIZE]]]</code> in [[raw file]]s.
+
'''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.[http://www.bay12forums.com/smf/index.php?topic=30026.msg831163#msg831163]
  
Size has many important effects on the game, many through its direct effect on item [[weight]], but as [[material science|material properties]] go, its implementation is sometimes underwhelming - witness the incredible compression of matter, space, and time that is the [[QSP]]. When even multiple full grown [[dragon]]s occupy a single square, size becomes a little difficult to contextualize. It doesn't help that a [[bronze colossus]] fits in a basic [[wood]]en [[cage]] (although, a [[fire man]] fits in it too).
+
Size, along with the underlying [[material]]'s [[density]], is used to calculate an item's [[weight]]:
 +
:Weight (in Γ) = Density (in kg/m<sup>3</sup>) * Size (in cm<sup>3</sup>) * 10 / 1,000,000 (cm<sup>3</sup>/m<sup>3</sup>)
  
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.
+
Size has a large number of important ramifications on the game, many of them through its effect on overall weight, but as [[material science|material properties]] go, its implementation in the game is somewhat underwhelming - witness the incredible compression of matter, space, and time that is the [[garbage dump]]. This is mostly because when even [[dragon]]s occupy a single square, size becomes a little difficult to contextualize. It doesn't help that a thirty-five to forty foot [[bronze colossus]] fits in a basic [[wood]]en [[cage]] (although, a [[fire man]] fits in it too).
  
Size is used to calculate an item's weight, along with the [[density]] of the underlying material(s):
+
Size directly affects such things as [[Weapon#Size|which weapons]] your dwarves can equip, [[butcher]]ing returns, and [[combat]] effectiveness, both for creatures ([[elephant]]s are very hard to kill because there's so much tissue to them, but they have a surprisingly hard time landing a hit on, say, [[cavy]]s) and for weapons. Through weight, the size of an item has a large number of further ramifications in the game, such as [[hauling|carry time]], [[pressure plate]] activation, impact momentum, weight restrictions, and so forth. Changing this value too much can lead to [[fun]].
: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.  
 
 
 
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.
 
 
 
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 ==
 
== Bodysize ==
Line 111: Line 105:
  
 
== Mechanics ==
 
== Mechanics ==
* '''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.
+
* '''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.
:* [[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}}
+
 
 +
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.
 
* '''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]].
 
* '''Plants''': There is no size [[plant token]].

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 1 hidden category: