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 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.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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 236: Line 236:
  
 
|}
 
|}
 
==Example==
 
The following example creates an arrangement of spike parts that emerge from spike bases arranged along the upper and lower back. The parts are attached together in a flexible way that allows the creature definition to choose how many spikes bases are arranged on the body, how thick the spike bases are, and how many spikes emerge from each individual base.
 
 
{{code|defines spikes that are intended to looking something like this:
 
      /\          <-SPIKE
 
      <nowiki>||</nowiki>         
 
    _<nowiki>||</nowiki>_        <-SPIKE_BASE
 
____/    \____    <-SPIKE_LAYOUT (flush with existing skin)
 
 
 
[BODY:SPIKE_LAYOUT_8] arranges 8 spikes along the back
 
[BP:UBACK_SPIKE_AREA_UL:left upper back:STP][CONTYPE:UPPERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT] the SPIKE_LAYOUT category marks where our spike bases will grow out of the body later
 
[DEFAULT_RELSIZE:80]
 
[BP:UBACK_SPIKE_AREA_UR:right upper back:STP][CONTYPE:UPPERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:UBACK_SPIKE_AREA_LL:left upper middle back:STP][CONTYPE:UPPERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:UBACK_SPIKE_AREA_LR:right upper middle back:STP][CONTYPE:UPPERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_UL:left lower middle back:STP][CONTYPE:LOWERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_UR:right lower middle back:STP][CONTYPE:LOWERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_LL:left lower back:STP][CONTYPE:LOWERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_LR:right lower back:STP][CONTYPE:LOWERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
 
[BODY:SPIKE_LAYOUT_4] arranges 4 spikes in the middle of the back
 
[BP:UBACK_SPIKE_AREA_LL:left upper middle back:STP][CONTYPE:UPPERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:UBACK_SPIKE_AREA_LR:right upper middle back:STP][CONTYPE:UPPERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_UL:left lower middle back:STP][CONTYPE:LOWERBODY][EMBEDDED][LEFT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
[BP:LBACK_SPIKE_AREA_UR:right lower middle back:STP][CONTYPE:LOWERBODY][EMBEDDED][RIGHT][CATEGORY:SPIKE_LAYOUT]
 
[DEFAULT_RELSIZE:80]
 
 
 
[BODY:SPIKE_BASE_THIN] a small base for spike(s)
 
[BP:SB_THIN:thin spike base:STP][CON_CAT:SPIKE_LAYOUT][CATEGORY:SPIKE_BASE] a SB_THIN will grow out of every SPIKE_LAYOUT part we have added to the body
 
[DEFAULT_RELSIZE:20]
 
 
[BODY:SPIKE_BASE_MED] a medium base for spike(s)
 
[BP:SB_MED:spike base:STP][CON_CAT:SPIKE_LAYOUT][CATEGORY:SPIKE_BASE] a SB_MED will grow out of every SPIKE_LAYOUT part
 
[DEFAULT_RELSIZE:30]
 
 
[BODY:SPIKE_BASE_THICK] a large base for spike(s)
 
[BP:SB_THICK:thick spike base:STP][CON_CAT:SPIKE_LAYOUT][CATEGORY:SPIKE_BASE] a SB_THICK will grow out of every SPIKE_LAYOUT part
 
[DEFAULT_RELSIZE:40]
 
 
 
[BODY:SPIKE_1] a single spike
 
[BP:S1:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE] a S1 will grow out of every SPIKE_BASE part we have added to the body
 
[DEFAULT_RELSIZE:30]
 
 
[BODY:SPIKE_2] a pair of spikes
 
[BP:S1:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE] a S1 and S2 will grow out of every SPIKE_BASE part
 
[DEFAULT_RELSIZE:30]
 
[BP:S2:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE]
 
[DEFAULT_RELSIZE:30]
 
 
[BODY:SPIKE_3] a trio of spikes
 
[BP:S1:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE] a S1, S2, and S3 will grow out of every SPIKE_BASE part
 
[DEFAULT_RELSIZE:30]
 
[BP:S2:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE]
 
[DEFAULT_RELSIZE:30]
 
[BP:S2:spike:STP][CON_CAT:SPIKE_BASE][CATEGORY:SPIKE]
 
[DEFAULT_RELSIZE:30]
 
}}
 
Usage:
 
 
``[BODY:QUADRUPED_NECK:SPIKE_LAYOUT_8:SPIKE_BASE_THICK:SPIKE_2]`` would create a creature with 8 thick spike bases that each hold 2 spikes.
 
 
``[BODY:QUADRUPED_NECK:SPIKE_LAYOUT_4:SPIKE_BASE_THIN:SPIKE_1]`` would create a creature with 4 thin spike bases that each hold a single spike.
 
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
[[ru:Body token]]
 
[[ru:Body 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)

Templates used on this page:

This page is a member of 2 hidden categories: