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 "v0.34:Body detail plan token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (IN_FRONT position token produces an error. It's FRONT.)
m ({{text anchor}})
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
! width="60%" | Description
 
! width="60%" | Description
  
|-  
+
|-
| ADD_MATERIAL  
+
| {{text anchor|ADD_MATERIAL}}
 
|
 
|
 
* identifier
 
* identifier
Line 14: Line 14:
 
| Adds a new material to the creature based on the specified template and assigned to the specified identifier.
 
| Adds a new material to the creature based on the specified template and assigned to the specified identifier.
  
|-  
+
|-
| ADD_TISSUE  
+
| {{text anchor|ADD_TISSUE}}
 
|
 
|
 
* identifier
 
* identifier
Line 21: Line 21:
 
| Adds a new tissue to the creature based on the specified template and assigned to the specified identifier.
 
| Adds a new tissue to the creature based on the specified template and assigned to the specified identifier.
  
|-  
+
|-
| BODY_DETAIL_PLAN  
+
| {{text anchor|BODY_DETAIL_PLAN}}
 
|
 
|
 
| Begins defining a body detail plan for use in creature raws
 
| Begins defining a body detail plan for use in creature raws
  
|-  
+
|-
| BP_LAYERS  
+
| {{text anchor|BP_LAYERS}}
 
|
 
|
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
Line 40: Line 40:
 
| Defines a series of tissue layers. Alternatively to specifying a tissue, variable arguments can be entered (numbered arbitrarily to a max of 5) to be filled with tissues when the plan is called in the creature entry. The SELECT_TISSUE creature token with TL_RELATIVE_THICKNESS can change tissue thickness, but tissue ''layering'' is hard to do without a new detail plan.
 
| Defines a series of tissue layers. Alternatively to specifying a tissue, variable arguments can be entered (numbered arbitrarily to a max of 5) to be filled with tissues when the plan is called in the creature entry. The SELECT_TISSUE creature token with TL_RELATIVE_THICKNESS can change tissue thickness, but tissue ''layering'' is hard to do without a new detail plan.
  
|-  
+
|-
| BP_LAYERS_OVER  
+
| {{text anchor|BP_LAYERS_OVER}}
 
|
 
|
| Works like BP_LAYERS, but defines layers over existing layers?
+
| Works like BP_LAYERS, but defines layers over existing layers.
  
|-  
+
|-
| BP_LAYERS_UNDER
+
| {{text anchor|BP_LAYERS_UNDER}}
 
|
 
|
| Works like BP_LAYERS, but defines layers under existing layers?
+
| Works like BP_LAYERS, but defines layers under existing layers.
  
 
+
|-
|-  
+
| {{text anchor|BP_POSITION}}
| BP_POSITION  
 
 
|
 
|
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
Line 59: Line 58:
 
| Defines a position for the specified body part (the nose is assigned the position FRONT, as it's on the front of the face). This has some effects on combat, attacks and the like. Valid position tokens are FRONT, BACK, SIDES, TOP and BOTTOM.
 
| Defines a position for the specified body part (the nose is assigned the position FRONT, as it's on the front of the face). This has some effects on combat, attacks and the like. Valid position tokens are FRONT, BACK, SIDES, TOP and BOTTOM.
  
|-  
+
|-
| BP_RELATION  
+
| {{text anchor|BP_RELATION}}
 
|
 
|
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
 
*BY_CATEGORY or BY_TYPE or BY_TOKEN
Line 68: Line 67:
 
*parent body part
 
*parent body part
 
*coverage
 
*coverage
| Defines a positional relationship between one body part and another (the right eyelid is AROUND the right eye with coverage 50, as it only partially covers the eye). This has some effects on combat, attacks and the like. Valid relation tokens are AROUND, SURROUNDED_BY, ABOVE, BELOW, FRONT, BEHIND, CLEANS, and CLEANED_BY. The lattermost two tokens are used when specifying parts that clean each other (such as eyelids to eyes).
+
| Defines a positional relationship between one body part and another (the right eyelid is AROUND the right eye with coverage 50, as it only partially covers the eye). This has some effects on combat, attacks and the like. Valid relation tokens are AROUND, SURROUNDED_BY, ABOVE, BELOW, IN_FRONT, BEHIND, CLEANS, and CLEANED_BY. The lattermost two tokens are used when specifying parts that clean each other (such as eyelids to eyes).
  
|-  
+
|-
| BP_RELSIZE  
+
| {{text anchor|BP_RELSIZE}}
 
|
 
|
 
*BY_CATEGORY (or, presumably, BY_TYPE or BY_TOKEN)
 
*BY_CATEGORY (or, presumably, BY_TYPE or BY_TOKEN)

Latest revision as of 20:57, 7 December 2013

This article is about an older version of DF.
Token Arguments Description
ADD_MATERIAL
  • identifier
  • material template
Adds a new material to the creature based on the specified template and assigned to the specified identifier.
ADD_TISSUE
  • identifier
  • tissue template
Adds a new tissue to the creature based on the specified template and assigned to the specified identifier.
BODY_DETAIL_PLAN Begins defining a body detail plan for use in creature raws
BP_LAYERS
  • BY_CATEGORY or BY_TYPE or BY_TOKEN
  • body part
  • tissue name or tissue ARG# for innermost tissue
  • tissue thickness
  • tissue name or tissue ARG# for second innermost tissue
  • tissue thickness
  • tissue name or tissue ARG# for third innermost tissue
  • tissue thickness

etc...

Defines a series of tissue layers. Alternatively to specifying a tissue, variable arguments can be entered (numbered arbitrarily to a max of 5) to be filled with tissues when the plan is called in the creature entry. The SELECT_TISSUE creature token with TL_RELATIVE_THICKNESS can change tissue thickness, but tissue layering is hard to do without a new detail plan.
BP_LAYERS_OVER Works like BP_LAYERS, but defines layers over existing layers.
BP_LAYERS_UNDER Works like BP_LAYERS, but defines layers under existing layers.
BP_POSITION
  • BY_CATEGORY or BY_TYPE or BY_TOKEN
  • body part
  • position token
Defines a position for the specified body part (the nose is assigned the position FRONT, as it's on the front of the face). This has some effects on combat, attacks and the like. Valid position tokens are FRONT, BACK, SIDES, TOP and BOTTOM.
BP_RELATION
  • BY_CATEGORY or BY_TYPE or BY_TOKEN
  • body part to be affected
  • relation token
  • BY_CATEGORY or BY_TYPE or BY_TOKEN
  • parent body part
  • coverage
Defines a positional relationship between one body part and another (the right eyelid is AROUND the right eye with coverage 50, as it only partially covers the eye). This has some effects on combat, attacks and the like. Valid relation tokens are AROUND, SURROUNDED_BY, ABOVE, BELOW, IN_FRONT, BEHIND, CLEANS, and CLEANED_BY. The lattermost two tokens are used when specifying parts that clean each other (such as eyelids to eyes).
BP_RELSIZE
  • BY_CATEGORY (or, presumably, BY_TYPE or BY_TOKEN)
  • body part
  • relsize
Defines a relsize for the selected body part for the current body detail plan