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.

Difference between revisions of "40d:Body token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Modding]]
+
[[Category:Modding]]{{Old|0.23.130.23a}}
{{Old|0.23.130.23a}}
 
  
  
Line 194: Line 193:
 
|-
 
|-
 
|}
 
|}
 +
  
 
==Body Part Types==
 
==Body Part Types==

Revision as of 23:57, 21 January 2008


Basic Syntax

filename

[OBJECT:BODY]

[BODY:TEMPLATE1]
[BP:CORE][UPPERBODY][...]
[BP:PART1][CONTYPE:UPPERBODY][...]
[BP:PART2][CON:CORE][...]

[BODYGLOSS:FOOBAR:foo:bar]


Body

Token Arguments Description
BODY
  • id
The name of the body template. Each BP token underneath a given Body Token BODY template is added to a creature when the Creature Token BODY specifies this ID.
BODYGLOSS
  • id
  • match
  • replacement
Replaces all occurrences of "match" in the creature's body parts with "replacement". E.g., the Body Token [BODYGLOSS:TENTACLE:leg:tentacle], used by the Creature Token [BODYGLOSS:TENTACLE], will cause any "right leg" to appear as "right tentacle". Testing required: would "brain legend" appear as "brain tentacleend"?


Body Parts

Token Arguments Description
APERTURE Unknown effect. An opening in the body, apparently, but no known purpose.
BP
  • 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, though it does need to be unique within the BODY template.
BREATHE The body part is necessary to breathe. If the body part is destroyed, the creature can suffocate.
CIRCULATION If this body part is destroyed, the creature will bleed to death?
CON
  • id
The specific body part object ID to which this body part attaches.
CONTYPE
  • type
The body part token type to which this body part attaches.
DIGIT Is a finger/toe. Unknown effect.
EMBEDDED The body part is embedded into the body -- it is external, but is not shown until injured. Compare INTERNAL. Can be gouged out?
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 wrestle.
GUTS Can be disembowelled?
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 on the left side of the creature and is thus vulnerable to attacks from the left side.
LIMB 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. Other effects?
RIGHT 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.
SMALL Unknown effect. Reduces chance to hit?
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.
THOUGHT Necessary for the creature to think. Without a working brain, the creature dies unless it has the NOTHOUGHT Creature Token.
THROAT Can be strangled with wrestling to cause winding, unconsciousness, and eventual death.
UPPERBODY The body part is the "core" of the creature; when the upperbody body part is destroyed, the creature is blown apart.


Body Part Types

Legal token types for use with the Attack Token "BYTYPE" argument or for the Body Token "CONTYPE" argument:

  • APERTURE
  • BREATHE?
  • CIRCULATION?
  • DIGIT?
  • FLIER?
  • GRASP
  • GUTS?
  • HEAD?
  • HEAR
  • JOINT?
  • LIMB?
  • LOWERBODY?
  • MOUTH
  • NERVOUS?
  • SMELL
  • STANCE
  • THOUGHT
  • UPPERBODY?

Entries suffixed with a question mark are untested and should not be considered final. Entries with no question mark are tested and valid.