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 40d: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 "40d"). 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: | ||
− | + | [[Category:Modding]] | |
− | |||
'''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). | '''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 | + | A creature uses the [[creature tokens#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 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. | ||
Line 32: | Line 31: | ||
==Body== | ==Body== | ||
− | {| | + | {| border="1" cellpadding="2" width="100%" |
− | + | ! width="20%" | Token | |
− | ! Token | + | ! width="20%" | Arguments |
− | ! Arguments | + | ! width="60%" | Description |
− | ! Description | ||
|- | |- | ||
Line 58: | Line 56: | ||
==Body Parts== | ==Body Parts== | ||
− | {| | + | {| border="1" cellpadding="2" width="100%" |
− | + | ! width="20%" | Token | |
− | ! Token | + | ! width="20%" | Arguments |
− | ! Arguments | + | ! width="60%" | Description |
− | ! Description | + | |
+ | |- | ||
+ | | APERTURE | ||
+ | | | ||
+ | | An opening in the body. Cannot be destroyed except by destroying the part is attached to. | ||
|- | |- | ||
Line 68: | Line 70: | ||
| | | | ||
* id | * id | ||
− | + | | The internal object ID of the body part. Unlike many other tokens in the game, the id of the BP does not need to be unique throughout all of the raw object files, though it does need to be unique within the BODY it is in. | |
− | | The internal object ID of the body part. Unlike many other tokens in the game, the id of the BP does not need to be unique throughout all of the raw object files, though it does need to be unique within the BODY it is in | ||
|- | |- | ||
− | | | + | | BREATHE |
| | | | ||
− | | The body part is the | + | | The body part is necessary to breathe. If the body part is destroyed, the creature can suffocate unless it has the NOBREATHE token. |
− | |||
− | can | ||
− | |||
|- | |- | ||
− | | | + | | CIRCULATION |
− | | | + | | |
− | | | + | | If this body part is destroyed, the creature will bleed to death? |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 95: | Line 86: | ||
| | | | ||
* id | * id | ||
− | | The specific body part ''object ID'' to which this body part attaches | + | | The specific body part ''object ID'' to which this body part attaches. |
|- | |- | ||
Line 101: | Line 92: | ||
| | | | ||
* type | * type | ||
− | | The body part ''token type'' to which this body part attaches | + | | The body part ''token type'' to which this body part attaches. Note that if the creature has more than one body part with that token type each of them will get its own additional body part attached. |
|- | |- | ||
− | | | + | | DIGIT |
− | | | + | | |
− | | The body part is | + | | Is a finger/toe. Unknown effect. |
+ | |||
+ | |- | ||
+ | | EMBEDDED | ||
+ | | | ||
+ | | The body part is embedded into the body -- it is external and can be gouged out. This does not make a part invisible. | ||
+ | |||
+ | |- | ||
+ | | FLIER | ||
+ | | | ||
+ | | The body part is necessary for the creature to fly, and damage to the body part will ground the creature. | ||
|- | |- | ||
− | | | + | | GRASP |
| | | | ||
− | | | + | | The body part can be used to hold items (if the creature has the EQUIPS token) or [[wrestling|wrestle]]. |
|- | |- | ||
− | | | + | | GUTS |
| | | | ||
− | | Can be | + | | To be thought of like intestines. Can be disembowelled, causing a slow painful death from heavy bleeding. |
|- | |- | ||
− | | | + | | HEAD |
| | | | ||
− | | | + | | Vital bodypart. If severed, creature dies. |
|- | |- | ||
− | | | + | | HEAR |
| | | | ||
− | | | + | | Unknown effect. Presumably allows the creature to listen. |
|- | |- | ||
− | | | + | | INTERNAL |
| | | | ||
− | | | + | | The body part is an internal organ and is not visible until injured. |
|- | |- | ||
− | | | + | | JOINT |
| | | | ||
− | | | + | | Can be broken by [[wrestling]] (possibly falling damage in a future version). |
|- | |- | ||
− | | | + | | LEFT |
| | | | ||
− | | The body part is | + | | The body part is on the left side of the creature and is thus vulnerable to attacks from the left side. |
|- | |- | ||
− | | | + | | LIMB |
| | | | ||
− | | The body part is | + | | The body part is usable for [[wrestling]] (i.e. can grab, lock, choke, etc). |
|- | |- | ||
− | | | + | | LOWERBODY |
| | | | ||
− | | | + | | The body part is another part of the "core" of the creature. When the lowerbody body part is destroyed, the creature is bisected. |
|- | |- | ||
− | | | + | | MOUTH |
− | | | + | | |
− | | | + | | Allows the creature to eat? |
|- | |- | ||
− | | | + | | NERVOUS |
| | | | ||
− | | | + | | Causes pain when destroyed and appears to stop a part from healing over time. Other effects? |
|- | |- | ||
− | | | + | | RIGHT |
| | | | ||
− | | The body part is | + | | The body part is on the right side of the creature and is thus vulnerable to attacks from the right side. |
|- | |- | ||
− | | | + | | SIGHT |
− | | | + | | |
− | | | + | | Allows creatures to see; creatures without this tag on any part of their bodies cannot see for the purposes of aiming missile weapons (though apparently can find and kill mad adventurers fairly well with melee attacks). May need more testing. |
|- | |- | ||
− | | | + | | SKELETON |
− | | | + | | |
− | | | + | | Prevents game code from removing this bodypart when the creature is converted to skeletal undead. |
|- | |- | ||
− | | | + | | SMALL |
| | | | ||
− | | | + | | Unknown effect. Reduces chance to hit? Also will cloak body parts much like the [INTERNAL] or the [EMBEDDED] tags will. Allows body parts to be pinched. |
|- | |- | ||
− | | | + | | SMELL |
| | | | ||
− | | | + | | Unknown effect. Presumably allows creature to smell. |
|- | |- | ||
− | | | + | | STANCE |
− | | | + | | |
− | | | + | | The body part is used to keep the creature standing; injury to the body part will cause the creature to collapse. It also makes the body part act like a foot, and can be problematic as the body part can be armored by a boot. |
|- | |- | ||
− | | | + | | THOUGHT |
| | | | ||
− | | | + | | Necessary for the creature to think. Without a working brain, the creature dies unless it has the NOTHOUGHT Creature Token. (Applies NERVOUS?) |
|- | |- | ||
− | | | + | | THROAT |
| | | | ||
− | | | + | | Can be strangled with [[wrestling]] to cause winding, unconsciousness, and eventual death. Strangely, even creatures with the NOBREATHE token can be rendered unconscious (but not dead) by strangulation. |
|- | |- | ||
− | | | + | | UPPERBODY |
| | | | ||
− | | The body part is | + | | The body part is the "core" of the creature; when the upperbody body part is destroyed, the creature is blown apart. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | |||
− | |||
− | |||
|} | |} | ||
==Body Part Types== | ==Body Part Types== | ||
− | Legal token types for use with the Attack Token "BYTYPE" argument: | + | Legal token types for use with the Attack Token "BYTYPE" argument or for the Body Token "CONTYPE" argument: |
* APERTURE | * APERTURE | ||
Line 338: | Line 331: | ||
- left rear foot | - left rear foot | ||
− | |||
− | + | [[Category:Modding]] | |
− | + | [[Category:Tokens]] |