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.31:Body token

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.31"). 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|Fine|00:14, 23 November 2010 (UTC)}}{{av}}
+
{{AV}}
 
+
{{Quality|Tattered|08:43, 18 June 2010 (UTC)}}
'''Body tokens''' are one of the fundamental parts of creatures, and determine their bodily structure.  There are two major types of body tokens: ''body templates'' (BODY) and ''body parts'' (BP).
 
 
 
A creature uses the [[creature token#B|BODY creature token]] to list all of the body templates it includes.  Each part listed in each template is then included in the creature.  In other words: a creature lists the ''body templates'' it is made of.  Each ''body template'' contains a set of ''body parts''.  Each ''body part'' specifies which other body part it is attached to.
 
 
 
Body parts can connect specifically to another body part, or generally to any body part of a certain category.  These connections are handled by the CON and CONTYPE body part tokens respectively.
 
 
 
Body parts can be renamed with a bodygloss, allowing someone to reuse an existing template instead of defining a similar template with only the names of the body parts changed.
 
 
 
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#999999"
 
|- bgcolor="#999999"
Line 18: Line 10:
 
| BP
 
| BP
 
|
 
|
*ID
+
*value
*name
+
*value
*pluralized name
+
*value
| "STP stands for "Standard Plural" and it just adds an 's' to the singular word to save some typing.  If you don't add something in that slot, the body part won't even load." --Toady.  Note that this can cause confusing issues when porting from 40d to 2010.  Make sure you add your pluralizations!
+
|  
  
 
|-
 
|-
 
| UPPERBODY
 
| UPPERBODY
| None
+
|  
| Flags the body part as being able to wear upper body clothing like coats, breastplates etc.  If an upper body is chopped off, the creature dies.  Multiple upperbody parts aren't redundant.  All default creatures with bodies have the upperbody as the root of the body tree, making it impossible to chop off.
+
|  
  
 
|-
 
|-
 
| LOWERBODY
 
| LOWERBODY
| None
+
|  
| Flags the body part as being able to wear lower body clothing like skirts, pants, etc.  If a lower body is chopped off, the creature dies.  Multiple lowerbody parts aren't redundant.
+
|  
  
 
|-
 
|-
| HEAD
+
| THOUGHT
| None
+
|  
| Flags the body part as being able to wear head clothing like hats, helms, etc. If all heads are chopped off, the creature dies. Multiple heads '''are''' redundant - for example, [[hydra]]s can survive with several missing heads.
+
|  
  
 
|-
 
|-
| CON
+
| HEAD
 +
|
 
|  
 
|  
*value
 
| Connects the body part to a specific other body part
 
  
 
|-
 
|-
| CON_CAT
+
| FLIER
 
|  
 
|  
*value
 
| Connects the body part to all other body parts having the specified CATEGORY
 
 
|-
 
| CONTYPE
 
 
|  
 
|  
*value
 
| Connects the body part to all other body parts having the specified type token. Valid values are UPPERBODY, LOWERBODY, HEAD, GRASP, or STANCE.
 
  
 
|-
 
|-
 
| LIMB
 
| LIMB
| None
 
| Body part is a limb.  It can be used to initiate certain types of wrestling moves.  If it is located between an UPPERBODY part and a GRASP body part, it is eligible to be covered by certain types of armor (body armors and gauntlets).  If it is located between a LOWERBODY part and a STANCE body part, it is eligible to be covered by other types of armor (Leg armors like pants, etc; trailing body armors like mail shirts and robes; and high boots).
 
 
|-
 
| THROAT
 
 
|  
 
|  
| Body part can be strangled.
+
|  
  
 
|-
 
|-
| JOINT
+
| RIGHT
 
|  
 
|  
| Body part is a joint that may be broken by wrestling.
 
 
|-
 
| SKELETON
 
 
|  
 
|  
| Body part is part of the creature's skeleton.
 
  
 
|-
 
|-
| THOUGHT
+
| LEFT
| None
 
| Most creatures die if all bodyparts with this tag have sustained damage to a FUNCTIONAL tissue or been outright destroyed (chopped off).  Creatures will not die if they have NO_THOUGHT_CENTER_FOR_MOVEMENT (and/or NOTHOUGHT?)
 
 
 
|-
 
| NERVOUS
 
 
|  
 
|  
| Body part is necessary for motor function. Damage will impair movement and also disallow creature from sparring in Fortress mode.
+
|
  
 
|-
 
|-
 
| GRASP
 
| GRASP
| None
+
|  
| Creature can wield a picked-up weapon with body part, and can use the part to initiate a wider variety of wrestling moves. When creatures are spawned with a weapon and shield, one GRASP part will hold a weapon while '''all others''' will hold shields.
+
|
  
 
|-
 
|-
| FLIER
+
| SIGHT
| None
+
|  
| Flags the body part as being need for flight.  Damage to a certain number of FLIER body parts will prevent the creature from flying.  Note that a creature can only fly if the creature has the FLIER tag in its creature definition, and that a flying creature does not actually need any FLIER body parts.  This tags only purpose is to identify body parts which will cause a creature to '''lose''' the ability to fly, if they are damaged.
+
|
  
 
|-
 
|-
| UNDER_PRESSURE
+
| EMBEDDED
| None
+
|  
| Makes the body part pop out of edge attack wounds. Used on guts. Body part shows up as "~" when spilled/popped out.
+
| is on the surface of parent bodypart, like eye and mouth are on head.
  
 
|-
 
|-
| TOTEMABLE
+
| SMALL
| None
+
|  
| Makes the body part makeable into totems at a craftsdwarf's workshop.
+
|
  
 
|-
 
|-
| VERMIN_BUTCHER_ITEM
+
| SMELL
| None
+
|  
| Allows the item to be obtained from butchered or rotted vermin.
+
|
  
 
|-
 
|-
| STANCE
+
| HEAR
 
|  
 
|  
| Allows the creature to stand. Damage or loss of these body parts will cause creature to fall over.
+
|
  
 
|-
 
|-
| SIGHT
+
| BREATHE
| None
+
|  
| Body part is used to see with.  If the creature has no SIGHT body parts, or if all its sight body parts are damaged or destroyed, it can't see unless it has the EXTRAVISION tag in its creature def.
+
|
  
 
|-
 
|-
| HEAR
+
| INTERNAL
 
|  
 
|  
| Body part is used to hear. No known effects.
+
|
  
 
|-
 
|-
| SMELL
+
| MOUTH
| None
+
|  
| Body part is used to smell. No known function. (could possibly control reactions to miasma in fortress mode?)
+
|
 
 
|-
 
| EMBEDDED
 
| None
 
| Body part with this tag is on the surface of parent body part. ie: eye and mouth on head. It can be gouged.
 
  
 
|-
 
|-
 
| APERTURE
 
| APERTURE
 
|  
 
|  
| Marks body part as an opening in the body. This body part cannot be destroyed except by destroying the part it is attached to.
+
|
  
 
|-
 
|-
| SMALL
+
| CIRCULATION
| None
+
|  
| "SMALL means that the part isn't displayed as part of the overall displayed body part lists.  They can't be splinted.  They are more often targeted for torture (although those situations might not occur anymore).  They are removed in skeletons if they aren't specifically skeletons/joints/digits/apertures.  They are more easily lost in world gen duels.  They are the only gougable/pinchable parts.  SMALL is an old tag, so it has accumulated some weird functions which'll get split off over time. " --Toady
+
|
  
 
|-
 
|-
| INTERNAL
+
| GUTS
 +
|
 
|
 
|
| Marks the body part as inside the body. Needs [SMALL] tag as well to not be targetable by attacks.
 
  
 
|-
 
|-
| BREATHE
+
| UNDER_PRESSURE
 
|  
 
|  
| Body part is used to breathe. If all body parts with [BREATHE] are damaged or destroyed, the creature will suffocate unless it has the NOBREATHE tag in its creature def.
+
| Used to get the guts to pop out.
  
 
|-
 
|-
| CIRCULATION
+
| JOINT
 
|  
 
|  
| Body part is responsible for blood circulation. Exact effects not known.
+
|
  
 
|-
 
|-
| GUTS
+
| THROAT
| None
+
|  
| Body parts marked with this tag make the creature nauseous and vomit when hit.
+
|
  
 
|-
 
|-
| RIGHT
+
| NERVOUS
| None
+
|  
| Marks body part as on the right side of the body and vulnerable to attacks from the right. Used in conjunction with tags in the b_detail_plan_default raw.
+
|
  
 
|-
 
|-
| LEFT
+
| SKELETON
| None
+
|  
| Marks body part as on the left side of the body and vulnerable to attacks from the left. Used in conjunction with tags in the b_detail_plan_default raw.
+
|
  
 
|-
 
|-
Line 182: Line 146:
  
 
|-
 
|-
| CONNECTOR
+
| INDIVIDUAL_NAME
 
|  
 
|  
| Body part is used to connect other body parts together. Used for the neck and lower spine.
+
*name
 +
*plural
 +
| Adding individual names tells the game what to call each individual part in a NUMBERed bodypart. This command replaces "first upper front tooth" for example.
  
 
|-
 
|-
 
| SOCKET
 
| SOCKET
 
|  
 
|  
| Allows the body part to be easily knocked out. Used on teeth.
+
|
  
 
|-
 
|-
| MOUTH
+
| NUMBER
 
|  
 
|  
 +
*value
 +
| The number lets you stack identical body parts.  These can be individually damaged by wounds, but you don't have to define them explicitly one by one.  If you don't give them individual names (see teeth) they'll be preceded by ordinal numbers (first, second, etc).
 +
 +
|-
 +
| STANCE
 
|  
 
|  
 +
|
  
 
|-
 
|-
| CATEGORY
+
| CON
 +
|
 +
*value
 
|  
 
|  
*ID
+
 
| Assigns the body part to a user-defined category. Used by CON_CAT to attach to other body parts.
 
  
 
|-
 
|-
| DEFAULT_RELSIZE
+
| CONTYPE
 +
|
 +
*value
 
|  
 
|  
*Size
 
| This command establishes the relative size of body parts within a creature.  The numbers have no absolute meaning or units.
 
  
 
|-
 
|-
| NUMBER
+
| CATEGORY
 
|  
 
|  
 
*value
 
*value
| In theory, the number lets you stack identical body parts.  These can be individually damaged by wounds, but you don't have to define them explicitly one by one.  If you don't give them individual names (see teeth) they'll be preceded by ordinal numbers (first, second, etc). 
+
|  
HOWEVER, this tag appears to be non-functional.
 
  
 
|-
 
|-
| INDIVIDUAL_NAME
+
| DEFAULT_RELSIZE
 
|  
 
|  
*name
+
*Size
*plural
+
| This command establishes the relative size of body parts within a creatureThe numbers have no absolute meaning or units.
| Adding individual names tells the game what to call each individual part in a NUMBERed bodypartThis command replaces "first upper front tooth" for example.
 
  
 
|}
 
|}

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)