<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bihlbo</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bihlbo"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Bihlbo"/>
	<updated>2026-05-28T07:44:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Creature_token&amp;diff=284279</id>
		<title>Creature token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Creature_token&amp;diff=284279"/>
		<updated>2023-01-07T00:10:00Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:CREATURE]&amp;lt;/code&amp;gt; [[token]] begins the definition of a ''Dwarf Fortress'' [[creature]] [[raw file]]. Each creature definition that follows begins with the {{token|creature|c|creature ID}} token, and the creature's exact properties and behavior are then specified by the use of further creature tokens.  All known creature tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
Vanilla creature definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_creatures\&amp;lt;/code&amp;gt;. &lt;br /&gt;
Creature ID also used with [[graphics token]] to make customizable [[graphics set]].&lt;br /&gt;
&lt;br /&gt;
The [[caste]] tokens allow defining sub-species within the broader creature definition, including true biological castes and lesser variations, such as sexes. Creature tokens can either be 'Creature' or 'CASTE-only' type which can only be applied to creature or cast respectively, or 'CASTE' which can be applied to both. In the table bellow, creature type distinguish tokens that can be applied to creature only, cast only and both ('creature', 'CASTE-only', and 'CASTE' respectively)&lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{clear}}&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==A==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADOPTS_OWNER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Prevents tamed creature from being made available for adoption, instead allowing it to automatically adopt whoever it wants. The basic requirements for adoption are intact, and the creature will only adopt individuals who have a [[preference]] for their species. Used by [[cat]]s in the vanilla game. When {{k|v}}iewing a tame creature with this token, the message &amp;quot;This animal isn't interested in your wishes&amp;quot; will appear instead of &amp;quot;This [adorable] animal can't work&amp;quot; or &amp;quot;This animal is waiting to be trained&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALCOHOL_DEPENDENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature need [[alcohol]] to get through the working day; it will choose to drink booze instead of [[water]] if possible. Going sober for too long reduces speed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_ACTIVE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the day, night, and twilight in Adventurer Mode. Seems to be a separate value from {{token|DIURNAL|c}}/{{token|NOCTURNAL|c}}/{{token|CREPUSCULAR|c}}, rather than implying them.{{verify|code}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALTTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| If set, the creature will blink between its {{token|TILE|c}} and its ALTTILE. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHPREDATOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on {{token|LARGE_PREDATOR|c}}s who ambush their prey. Instead of charging relentlessly at prey, the predator will wait till the prey is within a few squares before charging. May or may not work on other creatures. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMPHIBIOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to breathe both in and out of [[water]] (unlike {{token|AQUATIC|c}}) - does not prevent drowning in [[magma]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_DESC_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*Range (6 values, low to high)&lt;br /&gt;
| [http://www.bay12forums.com/smf/index.php?topic=113762.msg3473069#msg3473069 Forum post describing how description ranges work]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_GENETIC_MODEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*Model (Accepts DOMINANT_MORE, DOMINANT_LESS, and MIX)&lt;br /&gt;
| Defines a genetic model for the relevant appearance modifier(s). May or may not do anything significant at present.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_IMPORTANCE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| Determines how important the appearance modifier is, for determining whether it shows up in the creature description.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*noun&lt;br /&gt;
*SINGULAR or PLURAL &lt;br /&gt;
| Creates a noun for the appearance, and whether it is singular or plural.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Rate (integer)&lt;br /&gt;
*Scale (DAILY, YEARLY)&lt;br /&gt;
*min (growth)&lt;br /&gt;
*max (growth)&lt;br /&gt;
*start year&lt;br /&gt;
*start day&lt;br /&gt;
*end year&lt;br /&gt;
*end day &lt;br /&gt;
| Setting the growth rate of the modifier. The last two tokens can be replaced by NO_END to have growth continue indefinitely.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPLY_CREATURE_VARIATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*creature variation ID&lt;br /&gt;
*(optional) any amount of arbitrary arguments&lt;br /&gt;
| Applies the specified [[creature variation token|creature variation]]. See [[Creature_variation_token#Arguments_and_conditional_tokens]] for how the subsequent arguments may be used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPLY_CURRENT_CREATURE_VARIATION}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| Applies the effects of all pending {{token|CV_ADD_TAG|c}} and {{token|CV_REMOVE_TAG|c}} tokens that have been defined in the current creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AQUATIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Enables the creature to breathe in water, but causes it to air-drown on dry land. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARENA_RESTRICTED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Causes the creature to be excluded from the [[object testing arena]]'s creature spawning list.  Typically applied to spoileriffic creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARTIFICIAL_HIVEABLE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Enables the creature to be kept in artificial [[hive]]s by [[beekeeper]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Prevents the creature from attacking or frightening creatures with the {{Token|NATURAL|c}} tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*token&lt;br /&gt;
*bodypart&lt;br /&gt;
*selection criteria&lt;br /&gt;
*location &lt;br /&gt;
| Defines the attack name, and the body part used. See [[#Attack Tokens|below]] for valid subtokens&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;[ATTACK:GORE:BODYPART:BY_CATEGORY:HORN]&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
''GORE'' = name of the attack&amp;lt;br /&amp;gt;&lt;br /&gt;
''BODYPART:BY_CATEGORY:HORN'' = the horn is used to attack (presuming the creature has one)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_TRIGGER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*population&lt;br /&gt;
*exported wealth&lt;br /&gt;
*created wealth&lt;br /&gt;
| Specifies when a [[megabeast]] or [[semi-megabeast]] will attack the fortress. The attacks will start occuring when at least one of the requirements is met. Setting a value to 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==B==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Age at which creature is considered a child, the default is zero. One can think of this as the duration of the baby stage.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYNAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Defines a new name for a creature in baby state at the caste level. For non-caste-specific baby names, see {{token|GENERAL_BABY_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BEACH_FREQUENCY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Creature may be subject to [[beaching]], becoming stranded on [[Beach|shores]], where they will eventually air-drown. The number indicates the frequency of the occurrence. Presumably requires the creature to be {{token|AQUATIC|c}}. Used by [[orca]]s, [[sperm whale]]s and [[sea nettle jellyfish]] in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BENIGN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is non-aggressive by default, and will never automatically be engaged by companions or soldiers, running away from any creatures that are not friendly to it, and will only defend itself if it becomes enraged. Can be thought of as the counterpoint of the {{token|LARGE_PREDATOR|c}} tag. When tamed, animals with this tag will be useless for fortress defense.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
* [[biome token]]&lt;br /&gt;
| Select a [[biome]] the creature may appear in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| Specifies what the creature's blood is made of.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOODSUCKER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Causes [[vampire]]-like behaviour; the creature will suck the [[Creature_token#BLOOD|blood]] of unconscious victims when its [[Syndrome#TIME_SINCE_SUCKED_BLOOD|thirst for blood]] grows sufficiently large. When controlling the creature in adventure mode, this can be done at will. Seems to be required to make the creature denouncable (in-world) as a creature of the night.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*body parts &lt;br /&gt;
| Draws body parts from OBJECT:BODY files (such as body_default.txt)&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY:BODY_WITH_HEAD_FLAG:HEART:GUTS:BRAIN:MOUTH] &amp;lt;br /&amp;gt;&lt;br /&gt;
This is the body from a [[purring maggot]]. It creates a body with head, a heart, some guts, a brain, and a mouth. That's all a maggot needs.&lt;br /&gt;
&lt;br /&gt;
'''If the body is left undefined, the creature will cause a crash whenever it spawns.''' {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ATTRIBUTE&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| These body modifiers give individual creatures different characteristics. In the case of HEIGHT, BROADNESS and LENGTH, the modifier is also a percentage change to the BODY_SIZE of the individual creature. The seven numbers afterward give a distribution of ranges. Each interval has an equal chance of occurring.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] &amp;lt;br /&amp;gt;&lt;br /&gt;
''HEIGHT'' : marks the height to be changed &amp;lt;br /&amp;gt;&lt;br /&gt;
''90:95:98:100:102:105:110'' : sets the range from the shortest (90% of the average height) to the tallest (110% of the average height) creature variation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_DETAIL_PLAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*PlanName&lt;br /&gt;
*Arguments &lt;br /&gt;
| Loads a plan from listed OBJECT:BODY_DETAIL_PLAN files, such as b_detail_plan_default.txt. Mass applies USE_MATERIAL_TEMPLATE, mass alters RELSIZE, alters body part positions, and will allow tissue layers to be defined. Tissue layers are defined in order of skin to bone here.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] &amp;lt;br /&amp;gt;&lt;br /&gt;
This creates the detailed body of a [[fox]], the skin, fat, muscle, bones and cartilage out of the vertebrate tissues.&amp;lt;br /&amp;gt;&lt;br /&gt;
A [[Purring maggot|maggot]] would only need:&amp;lt;br /&amp;gt;&lt;br /&gt;
''[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SKIN:FAT:MUSCLE]'' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*years&lt;br /&gt;
*days&lt;br /&gt;
*size &lt;br /&gt;
| Sets size at a given age. Size is in cubic centimeters, and for normal body materials, is roughly equal to the creature's average weight in grams.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:0:0:10000]&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:1:168:50000]&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:12:0:220000]&amp;lt;br /&amp;gt;&lt;br /&gt;
This describes the size of a [[minotaur]]. Its birth size would be 10,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (~10 kg). At 1 year and 168 days old it would be 50,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (~50 kg). And as an adult (at 12 years old) it would be 220,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; and weigh roughly 220 kg.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODYGLOSS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*gloss &lt;br /&gt;
| Substitutes body part text with replacement text. Draws gloss information from OBJECT:BODY files (such as body_default.txt)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BONECARN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature eats bones. Implies {{token|CARNIVORE|c}}. [[Adventurer mode|Adventurers]] with this token are currently unable to eat bones.{{Bug|11069}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_ADD_TYPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Adds a type to a body part - used with {{token|SET_BP_GROUP|c}}. In vanilla DF, this is used for adding the type '[[Body token#GELDABLE|GELDABLE]]' to the lower body of certain [[cat|creatures]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*QUALITY&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up the breadth of possibilities for appearance qualities for a selected BP group. EG. Eyes (CLOSE_SET, DEEP_SET, ROUND_VS_NARROW, LARGE_IRIS),Lips (THICKNESS), Nose (BROADNESS, LENGTH, UPTURNED, CONVEX), Ear (SPLAYED_OUT, HANGING_LOBES, BROADNESS, HEIGHT), Tooth (GAPS), Skull (HIGH_CHEEKBONES, BROAD_CHIN, JUTTING CHIN, SQUARE_CHIN), Neck (DEEP_VOICE, RASPY_VOICE), Head (BROADNESS, HEIGHT)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_REMOVE_TYPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Removes a type from a body part. Used with {{token|SET_BP_GROUP|c}}. &lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDINGDESTROYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*1 or 2 &lt;br /&gt;
| Allows a creature to destroy furniture and buildings. Value [1] targets mostly doors, hatches, furniture and the like. Value [2] targets anything not made with the {{k|b}} + {{k|C}} commands. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_DO_INTERACTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*interaction token&lt;br /&gt;
| The creature can perform an interaction. See [[interaction token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_LEARN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature gains [[skill]]s and can have [[labor|professions]]. If a member of a civilization (even a pet) has this token, it'll need to eat, drink and sleep. Note that this token makes the creature unable to be eaten by an adventurer, so it is not recommended for uncivilized monsters. Adventurers lacking this token can allocate but not increase attributes and skills. Skills allocated will disappear on start.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_SPEAK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can [[talking|talk]]. Note that this is not necessary for a creature to gain social skills.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_CLIMB}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot [[climber|climb]], even if it has free grasp parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_JUMP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot [[jump]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_UNDEAD}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Acts like {{token|NOT_LIVING|c}}, except that {{token|OPPOSED_TO_LIFE|c}} creatures will attack them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANOPENDOORS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to open [[door]]s that are set to be unpassable for pets. In adventure mode, creatures lacking this token will be unable to pass through door tiles except whilst these are occupied by other creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CARNIVORE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature ''only'' eats [[meat]]. If the creature goes on rampages in worldgen, it will often devour the people/animals it kills. Does not seem to affect the diet of the adventurer in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*name &lt;br /&gt;
| Defines a [[caste]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_ALTTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*tile number or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|ALTTILE|c}}. Requires {{token|CASTE_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*fg&lt;br /&gt;
*bg&lt;br /&gt;
*brightness&lt;br /&gt;
| Caste-specific {{token|COLOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_GLOWCOLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*fg&lt;br /&gt;
*bg&lt;br /&gt;
*brightness&lt;br /&gt;
| Caste-specific {{token|GLOWCOLOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_GLOWTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*tile value or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|GLOWTILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_NAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
*adjective &lt;br /&gt;
| Caste-specific {{token|NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_PROFESSION_NAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Unit type token]] (Profession)&lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Caste-specific {{token|PROFESSION_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SOLDIER_ALTTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Caste-specific {{token|SOLDIER_ALTTILE|c}}. Requires {{token|CASTE_SOLDIER_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SOLDIER_TILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Caste-specific {{token|CREATURE_SOLDIER_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SPEECH}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*speech file&lt;br /&gt;
| Caste-specific {{token|SPEECH|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_TILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* tile number or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|CREATURE_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAVE_ADAPT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Gives the creature a bonus in caves. Also causes [[cave adaptation]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CDI}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Varies&lt;br /&gt;
| Specifies details for the preceding {{token|CAN_DO_INTERACTION|c}} token. See [[interaction token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHANGE_BODY_SIZE_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Multiplies body size by a factor of (integer)%. 50 halves size, 200 doubles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHANGE_FREQUENCY_PERC}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Multiplies frequency by a factor of (integer)%.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHILD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Age at which creature is considered an adult - one can think of this as the duration of the [[children|child]] stage. Allows the creature's offspring to be rendered fully tame if [[animal trainer|trained]] during their childhood. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHILDNAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Defines a new name for a creature in the child state at the caste level. For non-caste-specific child names, see {{token|GENERAL_CHILD_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_NUMBER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| The minimum/maximum numbers of how many creatures per spawned cluster. Certain vermin fish use this token in combination with temperate ocean and river biome tokens to perform seasonal migrations. Defaults to 1:1 if not specified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUTCH_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
|Number of [[egg]]s laid in one sitting.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLONY_EXTERNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Caste hovers around colony.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*brightness &lt;br /&gt;
| Color of the creature's tile. See [[Color]] for usage.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| When combined with any of {{token|PET|c}}, {{token|PACK_ANIMAL|c}}, {{token|WAGON_PULLER|c}} and/or {{token|MOUNT|c}}, the creature is guaranteed to be domesticated by any [[civilization]] with {{token|COMMON_DOMESTIC_PET|e}}, {{token|COMMON_DOMESTIC_PACK|e}},  {{token|COMMON_DOMESTIC_PULL|e}} and/or {{token|COMMON_DOMESTIC_MOUNT|e}} respectively. Such civilizations will always have access to the creature, even in the absence of wild populations. This token is invalid on {{token|FANCIFUL|c}} creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONVERTED_SPOUSE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creatures of this caste's species with the {{token|SPOUSE_CONVERTER|c}} and {{token|NIGHT_CREATURE_HUNTER|c}} tokens will kidnap {{token|SPOUSE_CONVERSION_TARGET|c}}s of an appropriate sex and convert them into castes with CONVERTED_SPOUSE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COOKABLE_LIVE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Set this to allow the creature to be cooked in meals without first being butchered/cleaned. Used by some water-dwelling vermin such as [[mussel]]s, [[nautilus]]es and [[oyster]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CRAZED}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature is '[[insanity|berserk]]' and will attack all other creatures, except members of its own species that '''also''' have the CRAZED tag. It will show {{DFtext|Berserk|4:1}} in the [[unit list]]. Berserk creatures go on rampages during [[world generation|worldgen]] much more frequently than non-berserk ones.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COPY_TAGS_FROM}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*creature ID&lt;br /&gt;
| Copies creature tags, but not caste tags, from another specified creature. Used when making creature variations (i.e. giant animals and [[animal people]]). Often used in combination with {{token|APPLY_CREATURE_VARIATION|c}} to import standard variations from a file. Variations are documented in c_variation_default.txt, which also contains the code for giant animals and animal people.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*creature ID&lt;br /&gt;
| A unique, arbitrary identifier that begins the definition of each new creature, and is used to reference the creature in other tokens and raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*classname&lt;br /&gt;
| An arbitrary creature classification. Can be set to anything, but the only vanilla uses are GENERAL_POISON (used in syndromes), EDIBLE_GROUND_BUG (used as targets for {{token|GOBBLE_VERMIN_CLASS|c}}), MAMMAL, and POISONOUS (both used for kobold pet eligibility). A single creature can have multiple classes.&lt;br /&gt;
&lt;br /&gt;
The full list of tokens that use creature classes is: &lt;br /&gt;
&lt;br /&gt;
* Creature tokens: {{token|GOBBLE_VERMIN_CLASS|c}}, {{token|GOBBLE_VERMIN_CLASS|c}}&lt;br /&gt;
* Interaction tokens: {{token|IT_AFFECTED_CLASS|in}}, {{token|IT_IMMUNE_CLASS|in}}&lt;br /&gt;
* Animal definition (Entity) tokens: {{token|ANIMAL_CLASS|e}}, {{token|ANIMAL_FORBIDDEN_CLASS|e}}&lt;br /&gt;
* Position (Entity) token: {{token|ALLOWED_CLASS|po}}&lt;br /&gt;
* Syndrome tokens: {{token|SYN_AFFECTED_CLASS|sy}}, {{token|SYN_IMMUNE_CLASS|sy}}, {{token|CE_SENSE_CREATURE_CLASS|sy}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_SOLDIER_TILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Creatures active in their civilization's [[military]] will use this tile instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_TILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number &lt;br /&gt;
| The symbol of the creature in ASCII mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREPUSCULAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active at twilight in adventurer mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_EATER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to [[Steals food|steal and eat edible items]] from a site. It will attempt to grab a food item and immediately make its way to the map's edge, where it will disappear with it. If the creature goes on rampages during worldgen, it will often steal food instead of attacking. Trained and tame instances of the creature will no longer display this behavior.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_GUZZLER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to (very quickly) [[Steals drink|drink your alcohol]]. Or spill the barrel to the ground. Also affects undead versions of the creature. Unlike food or item thieves, drink thieves will consume your alcohol on the spot rather than run away with one piece of it. Trained and tame instances of the creature will no longer display this behavior.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_ITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to [[Steals items|steal things]] (apparently, of the highest value it can find). It will attempt to grab an item of value and immediately make its way to the map's edge, where it will disappear with it. If a creature with any of the CURIOUSBEAST tokens carries anything off the map, even if it is a caravan's pack animal, it will be reported as stealing everything it carries. If the creature goes on rampages in worldgen, it will often steal items instead of attacking - [[kea]] birds are infamous for this. Trained and tame instances of the creature will no longer display this behavior. Also, makes the creature unable to drop hauled items until it enters combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_ADD_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*TAG NAME &lt;br /&gt;
| Adds a tag. Used in conjunction with creature variation templates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_REMOVE_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*TAG NAME &lt;br /&gt;
| Removes a tag. Used in conjunction with creature variation templates. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMON}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on generated [[demon]]s. Marks the caste to be used in the initial wave after breaking into the [[underworld]], and by the demon civilizations created during world-gen breachings{{verify}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*text &lt;br /&gt;
| A brief description of the creature type, as displayed when viewing the creature's description/[[Thoughts and preferences|thoughts &amp;amp; preferences]] screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIE_WHEN_VERMIN_BITE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Causes the creature to die upon attacking. Used by [[honey bee]]s to simulate them dying after using their stingers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIFFICULTY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Increases experience gain during adventure mode. Creatures with a difficulty of 11 or higher are not assigned for quests in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIURNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the day in Adventurer Mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVE_HUNTS_VERMIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature hunts vermin by diving from the air. On tame creatures, it has the same effect as {{token|HUNTS_VERMIN|c}}. Found on [[peregrine falcon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DOES_NOT_EXIST}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Adding this token to a creature prevents it from appearing in generated worlds (unless it's marked as [[Entity_token#ANIMAL_ALWAYS_PRESENT|always present]] for a particular civilisation). For example, adding it to [[dog]]s will lead to worlds being generated without dogs in them. Also removes the creature from the [[object testing arena]]'s spawn list. If combined with {{token|FANCIFUL|c}}, artistic depictions of the creature will occur regardless. Used by [[centaur]]s, [[chimera]]s and [[griffon]]s in the vanilla game. &lt;br /&gt;
&lt;br /&gt;
Note: a creature tagged as DOES_NOT_EXIST can still be [[Interaction_token#I_EFFECT|summoned]] successfully, as long as it has a body defined in its raws. [http://www.bay12forums.com/smf/index.php?topic=165213.msg8086938#msg8086938]. It's also possible for another creature to [[Syndrome#CE_BODY_TRANSFORMATION|transform]] into it.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==E==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EBO_ITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[item token]]&lt;br /&gt;
*[[material token]] (ANY_HARD_STONE can be used for the material)&lt;br /&gt;
| Defines the item that the creature drops upon being [[butcher|butchered]]. Used with {{token|EXTRA_BUTCHER_OBJECT|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EBO_SHAPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*gem shape&lt;br /&gt;
| The shape of the creature's extra [[butcher|butchering]] drop. Used with {{token|EXTRA_BUTCHER_OBJECT|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EGG_MATERIAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| Defines the material composition of [[egg]]s laid by the creature. [[creature_token#LAYS_EGGS|Egg-laying]] creatures in the default game define this 3 times, using LOCAL_CREATURE_MAT:EGGSHELL, LOCAL_CREATURE_MAT:EGG_WHITE, and then LOCAL_CREATURE_MAT:EGG_YOLK. Eggs will be made out of eggshell. Edibility is determined by tags on whites or yolk, but they otherwise do not exist.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EGG_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*size&lt;br /&gt;
| Determines the size of laid [[egg]]s. Doesn't affect hatching or cooking, but bigger eggs will be heavier, and may take longer to be hauled depending on the hauler's strength.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_WAGON}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature appear as a large 3x3 [[wagon]] responsible for carrying trade goods, pulled by two {{token|WAGON_PULLER|c}} creatures and driven by a merchant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to wear or wield items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVIL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature is considered evil and will only show up in evil biomes. Civilizations with {{token|USE_EVIL_ANIMALS|e}} can domesticate them regardless of exotic status. Has no effect on cavern creatures except to restrict taming. A civilization with evil creatures can colonise evil areas.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRA_BUTCHER_OBJECT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
* TYPE, CATEGORY, or TOKEN&lt;br /&gt;
| The creature drops an additional object when [[butcher|butchered]], as defined by {{token|EBO_ITEM|c}} and {{token|EBO_SHAPE|c}}. Used for [[gizzard stone]]s in default creatures. For some materials, needs to be defined after caste definitions with SELECT_CASTE:ALL{{Bug|6355}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Defines a creature extract which can be obtained via [[small animal dissection]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRAVISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature can see regardless of whether it has working eyes and has full 360 degree vision, making it impossible to strike the creature from a blind spot in combat. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==F==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FANCIFUL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature is a thing of legend and known to all civilizations. Its materials cannot be requested or preferred. The tag also adds some art value modifiers. Used by a [[Fanciful|number of creatures]]. Conflicts with {{token|COMMON_DOMESTIC|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEATURE_ATTACK_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[Animal people#Subterranean animal people|subterranean animal-man]] tribals. Currently defunct. In previous versions{{verify}}, it caused these creatures to crawl out of chasms and underground rivers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEATURE_BEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[forgotten beast]]s. Presumably makes it act as such, initiating underground attacks on fortresses, or leads to the pop-up message upon encountering one{{verify}}. Hides the creature from displaying in a world_sites_and_pops file. Does not create historical figures like generated forgotten beasts do.&lt;br /&gt;
&lt;br /&gt;
Requires specifying a {{token|BIOME|c}} in which the creature will live, and both surface and subterranean biomes are allowed. Does not stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will not spawn. Appears to be incompatible with {{token|DEMON|c}} even if used in separate castes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEMALE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature biologically female, enabling her to [[Breeding|bear young]]. Usually specified inside a caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIREIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature immune to [[Interaction_token#FIREBALL|FIREBALL]] and [[Interaction_token#FIREJET|FIREJET]] attacks, and allows it to path through high temperature zones, like lava or fires. Does not, by itself, make the creature immune to the damaging effects of burning in [[fire]], and does not prevent general heat damage or melting on its own (this would require adjustments to be made to the creature's body [[Material_definition_token|materials]] - see the [[Dragon/raw|dragon raws]] for an example).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIREIMMUNE_SUPER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Like {{token|FIREIMMUNE|c}}, but also renders the creature immune to [[Interaction_token#DRAGONFIRE|DRAGONFIRE]] attacks. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FISHITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature's corpse is a single [[Item_token#FISH_RAW|FISH_RAW]] food item that needs to be cleaned (into a [[Item_token#FISH|FISH]] item) at a [[fishery]] to become edible. Before being cleaned the item is referred to as &amp;quot;raw&amp;quot;. The food item is categorized under &amp;quot;fish&amp;quot; on the food and stocks screens, and when uncleaned it is sorted under &amp;quot;raw fish&amp;quot; in the stocks (but does not show up on the food screen). &lt;br /&gt;
Without this or {{token|COOKABLE_LIVE|c}}, [[fishing|fished]] vermin will turn into food the same way as non-vermin creatures, resulting in multiple units of food (meat, brain, lungs, eyes, spleen etc.) from a single fished vermin. These units of food are categorized as meat by the game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIXED_TEMP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*temperature &lt;br /&gt;
| The creature's body is constantly at this temperature, heating up or cooling the surrounding area. Alters the temperature of the creature's inventory and all adjacent tiles, [[Temperature|with all the effects that this implies]] - may trigger wildfires at high enough values. Also makes the creature immune to extreme heat or cold, as long as the temperature set is not harmful to the materials that the creature is made from.&lt;br /&gt;
&lt;br /&gt;
Note that temperatures of 12000 and higher may cause [[path|pathfinding]] issues in fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLEEQUICK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| If engaged in combat, the creature will flee at the first sign of resistance. Used by [[kobold]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to fly, independent of it having wings or not. Fortress Mode pathfinding only partially incorporates flying - flying creatures need a land path to exist between them and an area in order to access it, but as long as one such path exists, they do not need to use it, instead being able to fly over intervening obstacles. Winged creatures with this token can lose their ability to fly if their wings are crippled or severed. Winged creatures without this token will be unable to fly. (A 'wing' in this context refers to any body part with its own [[Body_token#FLIER|FLIER]] token).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*number, max 100&lt;br /&gt;
| Determines the chances of a creature appearing within its environment, with higher values resulting in more frequent appearance. Also affects the chance of a creature being brought in a caravan for trading. The game effectively considers all creatures that can possibly appear and uses the FREQUENCY value as a ''weight'' - for example, if there are three creatures with frequencies 10/25/50, the creature with [FREQUENCY:50] will appear approximately 58.8% of the time. Defaults to 50 if not specified. Not to be confused with {{token|POP_RATIO|c}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GAIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;gait type&amp;gt;&lt;br /&gt;
* &amp;lt;gait name&amp;gt;&lt;br /&gt;
* &amp;lt;max [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;build up time&amp;gt;&lt;br /&gt;
* &amp;lt;max turning [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;start [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;energy expenditure&amp;gt;&lt;br /&gt;
* &amp;lt;gait flag(s)&amp;gt;&lt;br /&gt;
| Defines a gait by which the creature can move. See [[Gait]] for more information.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;max speed&amp;gt; indicates the maximum [[Gait#Speed|speed]] achievable by a creature using this gait&lt;br /&gt;
* &amp;lt;start speed&amp;gt; indicates the creature's speed when it starts moving using this gait&lt;br /&gt;
* &amp;lt;build up time&amp;gt; indicates how long it will take for a creature using this gait to go from &amp;lt;start speed&amp;gt; to &amp;lt;max speed&amp;gt;. For example, a value of 10 means that it should be able to reach the maximum speed by moving 10 [[tile]]s in a straight line over even terrain.&lt;br /&gt;
* &amp;lt;max turning speed&amp;gt; indicates the maximum speed permissible when the creature suddenly changes its direction of motion. The creature's speed will be reduced to &amp;lt;max turning speed&amp;gt; if travelling at a higher speed than this before turning.&lt;br /&gt;
* &amp;lt;energy expenditure&amp;gt; indicates how energy-consuming the gait is. Higher values cause the creature to tire out faster. Persistent usage of a high-intensity gait will eventually lead to exhaustion and [[Status_icon#Non-flashing|collapse]].&lt;br /&gt;
&lt;br /&gt;
'''NO_BUILD_UP''' can be specified instead of a &amp;lt;start speed&amp;gt; value to make the &amp;lt;max speed&amp;gt; instantly achievable upon initiating movement (this is equivalent to a &amp;lt;build up time&amp;gt; of 0). Note that &amp;lt;build up time&amp;gt; and &amp;lt;max turning speed&amp;gt; are both ignored if specified alongside this (as NO_BUILD_UP trumps &amp;lt;build up time&amp;gt; and preserves &amp;lt;max speed&amp;gt; whilst turning, and &amp;lt;max turning speed&amp;gt; cannot exceed &amp;lt;max speed&amp;gt;) so it is permissible to omit them so long as they are '''both''' omitted together.&lt;br /&gt;
&lt;br /&gt;
It's possible to specify a &amp;lt;start speed&amp;gt; greater than the &amp;lt;max speed&amp;gt;; the moving creature will decelerate towards its &amp;lt;max speed&amp;gt; in this case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''valid gait types:'''&lt;br /&gt;
*'''WALK'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving normally over ground tiles.&lt;br /&gt;
&lt;br /&gt;
*'''CRAWL'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving over ground tiles whilst [[Status_icon#Non-flashing|prone]].&lt;br /&gt;
&lt;br /&gt;
*'''SWIM'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving through tiles containing [[water]] or [[magma]] at a [[Water#Depth|depth]] of at least 4/7. &lt;br /&gt;
&lt;br /&gt;
*'''FLY'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving through [[open space]].&lt;br /&gt;
&lt;br /&gt;
*'''CLIMB'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving whilst [[Climber|climbing]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''valid gait flags:'''&lt;br /&gt;
* '''AGILITY'''&amp;lt;br&amp;gt;&lt;br /&gt;
Speeds/slows movement depending on the creature's [[Attribute#Agility|Agility]] stat.&lt;br /&gt;
&lt;br /&gt;
* '''STRENGTH'''&amp;lt;br&amp;gt;&lt;br /&gt;
Speeds/slows movement depending on the creature's [[Attribute#Strength|Strength]] stat.&lt;br /&gt;
&lt;br /&gt;
* '''LAYERS_SLOW'''&amp;lt;br&amp;gt;&lt;br /&gt;
Makes [[Tissue_definition_token#THICKENS_ON_ENERGY_STORAGE|THICKENS_ON_ENERGY_STORAGE]] and [[Tissue_definition_token#THICKENS_ON_STRENGTH|THICKENS_ON_STRENGTH]] tissue layers slow movement depending on how thick they are. Adding the STRENGTH gait flag counteracts the impact of the latter layer.&lt;br /&gt;
&lt;br /&gt;
* '''STEALTH_SLOWS:'''&amp;lt;percentage&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Slows movement by the specified percentage when the creature is [[Ambusher|sneaking]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_BABY_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Like {{token|BABYNAME|c}}, but applied regardless of caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_CHILD_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Like {{token|CHILDNAME|c}}, but applied regardless of caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_MATERIAL_FORCE_MULTIPLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value A&lt;br /&gt;
*value B&lt;br /&gt;
| Has the same function as {{token|MATERIAL_FORCE_MULTIPLIER|c}}, but applies to all attacks instead of just those involving a specific material. Appears to be overridden by MATERIAL_FORCE_MULTIPLIER ([[werebeast]]s, for example, use both tokens to provide resistance to all materials, with one exception to which they are especially vulnerable).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Found on procedurally generated creatures like [[forgotten beast]]s, [[titan]]s, [[demon]]s, [[angel]]s, and [[night creature]]s. Cannot be specified in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GETS_INFECTIONS_FROM_ROT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature get [[Health_care#Infection|infections]] from necrotic tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GETS_WOUND_INFECTIONS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature's wounds become [[Health_care#Infection|infected]] if left untreated for too long.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOWCOLOR}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*brightness &lt;br /&gt;
| The colour of the creature's {{token|GLOWTILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOWTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*ascii character &lt;br /&gt;
| If present, the being glows in the dark (generally used for Adventurer Mode). The tile is what replaces the being's current tile when it is obscured from your sight by darkness. The default setting for kobolds (a yellow quotation mark) provides a nice &amp;quot;glowing eyes&amp;quot; effect. The game is also hardcoded to automatically convert quotation mark GLOWTILES into apostrophes if the creature has lost one eye. This works at the generic creature level - for caste-specific glow tiles, use {{token|CASTE_GLOWTILE|c}} instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GNAWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*verb&lt;br /&gt;
| The creature can and will gnaw its way out of [[animal trap]]s and [[cage]]s using the specified verb, depending on the material from which it is made (normally wood).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOBBLE_VERMIN_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*class&lt;br /&gt;
| The creature eats vermin of the specified class.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOBBLE_VERMIN_CREATURE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*creature&lt;br /&gt;
*caste&lt;br /&gt;
| The creature eats a specified [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_END}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags at the end of the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_START}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags at the beginning of the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags after the specified tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOOD}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Creature is considered good and will only show up in good biomes - [[unicorn]]s, for example. Civilizations with {{token|USE_GOOD_ANIMALS|e}} can domesticate them regardless of exotic status. Has no effect on cavern creatures except to restrict taming. A civilization that has good creatures can colonise good areas in world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASSTRAMPLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| The value determines how rapidly [[grass]] is trampled when a creature steps on it - a value of 0 causes the creature to never damage grass, while a value of 100 causes grass to be trampled as rapidly as possible. Defaults to 5.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRAVITATE_BODY_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*target value&lt;br /&gt;
| Used in Creature Variants. This token changes the adult body size to the average of the old adult body size and the target value and scales all intermediate growth stages by the same factor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRAZER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| The creature is a grazer - if tamed in fortress mode, it needs a pasture to survive. The higher the number, the less frequently it needs to eat in order to live. Not used since 0.40.12, replaced by {{token|STANDARD_GRAZER|c}} to fix {{bugl|4113}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==H==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HABIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*type&lt;br /&gt;
*probability&lt;br /&gt;
| Defines certain behaviors for the creature. The habit types are:&lt;br /&gt;
*COLLECT_TROPHIES&lt;br /&gt;
*COOK_PEOPLE&lt;br /&gt;
*COOK_VERMIN&lt;br /&gt;
*GRIND_VERMIN&lt;br /&gt;
*COOK_BLOOD&lt;br /&gt;
*GRIND_BONE_MEAL&lt;br /&gt;
*EAT_BONE_PORRIDGE&lt;br /&gt;
*USE_ANY_MELEE_WEAPON&lt;br /&gt;
*GIANT_NEST&lt;br /&gt;
*COLLECT_WEALTH.&lt;br /&gt;
These require the creature to have a {{token|LAIR|c}} to work properly, and also don't seem to work on creatures who are not a {{token|SEMIMEGABEAST|c}}, {{token|MEGABEAST|c}} or {{token|NIGHT_CREATURE_HUNTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HABIT_NUM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number or TEST_ALL&lt;br /&gt;
| &amp;quot;If you set HABIT_NUM to a number, it should give you that exact number of habits according to the weights.&amp;quot;.{{cite forum|60554/1719248}} All lists of HABITs are preceded by [HABIT_NUM:TEST_ALL]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HAS_NERVES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature has nerves in its muscles. Cutting the muscle tissue can sever motor and sensory nerves.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HASSHELL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature has a shell. Seemingly no longer used - holdover from previous versions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HIVE_PRODUCT}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
*[[time]]&lt;br /&gt;
*[[item token]]s&lt;br /&gt;
| What product is harvested from [[Beekeeping industry|beekeeping]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HOMEOTHERM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number or NONE&lt;br /&gt;
| Default 'NONE'. The creature's normal body [[temperature]]. Creature ceases maintaining temperature on death unlike fixed material temperatures. Provides minor protection from environmental temperature to the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HUNTS_VERMIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creature hunts and kills nearby [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOBILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature cannot move. Found on [[sponge]]s. Will also stop a creature from breeding in fortress mode (MALE and FEMALE are affected, if one is IMMOBILE no breeding will happen).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOBILE_LAND}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is immobile while on land. Only works on {{token|AQUATIC|c}} creatures which can't breathe on land.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOLATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature radiates [[fire]]. It will ignite, and potentially completely destroy, items the creature is standing on. Also gives the vermin a high chance of escaping from [[animal trap]]s and [[cage]]s made of any flammable materials (specifically ones that could be ignited by magma).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INTELLIGENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Alias for {{token|CAN_SPEAK|c}} + {{token|CAN_LEARN|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEMCORPSE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Determines if the creature leaves behind a non-standard corpse (i.e. wood, statue, bars, stone, pool of liquid, etc.). [[Ethics]] may prevent actually using the item in jobs or reactions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEMCORPSE_QUALITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* number&lt;br /&gt;
| The [[quality]] of an item-type corpse left behind. Valid values are: 0 for ordinary, 1 for well-crafted, 2 for finely-crafted, 3 for superior, 4 for exceptional, 5 for masterpiece.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==L==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*type&lt;br /&gt;
*probability&lt;br /&gt;
| Found on megabeasts, semimegabeasts, and night creatures. The creature will seek out sites of this type and take them as lairs. The lair types are:&lt;br /&gt;
*SIMPLE_BURROW&lt;br /&gt;
*SIMPLE_MOUND&lt;br /&gt;
*WILDERNESS_LOCATION&lt;br /&gt;
*SHRINE&lt;br /&gt;
*LABYRINTH&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_CHARACTERISTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*characteristic&lt;br /&gt;
*probability&lt;br /&gt;
| Defines certain features of the creature's lair. The only valid characteristic is HAS_DOORS.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_HUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| This creature will actively hunt adventurers in its lair.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_HUNTER_SPEECH}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*speech file&lt;br /&gt;
| What this creature says while hunting adventurers in its lair.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LARGE_PREDATOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Will attack things that are smaller than it (like dwarves). Only one group of &amp;quot;large predators&amp;quot; (possibly two groups on &amp;quot;savage&amp;quot; maps) will appear on any given map. In adventure mode, large predators will try to ambush and attack you (and your party will attack them back). When tamed, large predators tend to be much more aggressive to enemies than non-large predators, making them a good choice for an animal army. They may go on rampages in worldgen, and adventurers may receive quests to kill them. Also, they can be mentioned in the intro paragraph when starting a fortress e.g. &amp;quot;ere the wolves get hungry.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LARGE_ROAMING}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| This is the core requisite tag allowing the creature to spawn as a wild animal in the appropriate biomes. Requires specifying a {{token|BIOME|c}} in which the creature will spawn. Does not require specifying a frequency, population number, or cluster number.&lt;br /&gt;
&lt;br /&gt;
This tag stacks with {{token|MEGABEAST|c}}, {{token|SEMIMEGABEAST|c}}, or {{token|NIGHT_CREATURE_HUNTER|c}}; if used with one of these tags, the creature will spawn as both a boss and as a wild animal. This tag does not stack with {{token|FEATURE_BEAST|c}} and if both are used the creature will not spawn. This tag is uneffected by {{token|DEMON|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYS_EGGS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creature lays [[egg]]s instead of giving birth to live young.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYS_UNUSUAL_EGGS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Creature lays the specified item instead of regular eggs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIGAMENTS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
*healing rate &lt;br /&gt;
| The creature has ligaments in its {{token|CONNECTIVE_TISSUE_ANCHOR|td}} tissues (bone or chitin by default). Cutting the bone/chitin tissue severs the ligaments, disabling motor function if the target is a limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIGHT_GEN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will generate light, such as in adventurer mode at night. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_FIGHTING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will attack enemies rather than flee from them. This tag has the same effect on player-controlled creatures - including modded dwarves. Retired as of v0.40.14 in favor of {{token|LARGE_PREDATOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LISP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature uses &amp;quot;sssssnake talk&amp;quot; (multiplies 'S' when talking - &amp;quot;My name isss Recisssiz.&amp;quot;). Used by [[Serpent man|serpent men]] and [[Reptile man|reptile men]] in the vanilla game. C's with the same pronunciation (depending on the word) are not affected by this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LITTERSIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* minimum&lt;br /&gt;
* maximum&lt;br /&gt;
| Determines the number of offspring per one birth.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_POPS_CONTROLLABLE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Allows you to play as a wild animal of this species in adventurer mode. Prevents trading of (tame) instances of this creature in caravans.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_POPS_PRODUCE_HEROES}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Wild animals of this species may occasionally join a civilization. Prevents trading of (tame) instances of this creature in caravans.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCKPICKER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Lets a creature open [[door]]s that are set to forbidden in fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOOSE_CLUSTERS}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creatures will scatter if they have this tag, or form tight packs if they don't. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOW_LIGHT_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| Determines how well a creature can see in the dark - higher is better. Dwarves have 10000, which amounts to perfect nightvision.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAGICAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| According to Toady One, this is completely interchangeable with {{token|AT_PEACE_WITH_WILDLIFE|c}} and might have been used in very early versions of the game by wandering wizards or the ent-type tree creatures that used to be animated by elves. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8316954#msg8316954]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAGMA_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is able to see while submerged in [[magma]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MALE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature biologically male. Usually declared inside a caste.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text anchor|MANNERISM|MANNERISM_*}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*occasionally body part &lt;br /&gt;
| Adds a possible mannerism to the creature's profile.  See [[creature mannerism token]] for further info.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*material id&lt;br /&gt;
| Begins defining a new material.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_FORCE_MULTIPLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Material token]]&lt;br /&gt;
*value A&lt;br /&gt;
*value B&lt;br /&gt;
| When struck with a weapon made of the specified material, the force exerted will be multiplied by A/B, thus making the creature more or less susceptible to this material. For example, if A is 2 and B is 1, the force exerted by the defined material will be doubled. If A is 1 and B is 2, it will be halved instead. See also  {{token|GENERAL_MATERIAL_FORCE_MULTIPLIER|c}}, which can be used to make this sort of effect applicable to all materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATUTINAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Sets the creature to be active at dawn in adventurer mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAXAGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| Determines the creature's natural lifespan, using the specified minimum and maximum age values (in years). Each individual creature with this token is generated with a predetermined date (calculated down to the exact [[time|tick]]!) between these values, at which it is destined to die of old age, should it live long enough. Note that the probability of death at any given age does not increase as the creature gets older [http://i.imgur.com/A1A4aA9.png]. &lt;br /&gt;
Creatures which lack this token are naturally immortal. The [[Syndrome#CE_ADD_TAG|NO_AGING]] syndrome tag will prevent death by old age from occurring. Also note that, among civilized creatures, castes which lack this token will refuse to marry others with it, and vice versa.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEANDERER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature slowly stroll around, unless it's in combat or performing a job. If combined with {{token|CAN_LEARN|c}}, will severely impact their [[pathfinding]] and lead the creature to move extremely slowly when not performing any task. Problematically applies to animal people based on the animal and war trained animals{{bug|9588}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEGABEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| A 'boss' creature. A small number of the creatures are created during worldgen, their histories and descendants (if any) will be tracked in worldgen (as opposed to simply 'spawning'), and they will occasionally go on rampages, potentially leading to worship if they attack the same place multiple times. Their presence and number will also influence age names. When appearing in fortress mode, they will have a pop-up message announcing their arrival. They will remain hostile to military even after being tamed.{{bug|10731}} See [[megabeast]] page for more details. &lt;br /&gt;
&lt;br /&gt;
Requires specifying a {{token|BIOME|c}} in which the creature will live. Subterranean biomes appear to not be allowed. Does stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will spawn as both historical bosses and as wild animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_CAP_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*Cap %&lt;br /&gt;
|Default is 200.  This means you can increase your attribute to 200% of its starting value (or the average value + your starting value if that is higher).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]]&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up a [[Attribute#Soul_attributes|mental attribute]]'s range of values (0-5000). All mental attribute ranges default to 200:800:900:1000:1100:1300:2000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*cost to improve&lt;br /&gt;
*unused counter rate&lt;br /&gt;
*rust counter rate&lt;br /&gt;
*demotion counter rate&lt;br /&gt;
| [[Attribute#Soul_attributes|Mental attribute]] gain/decay rates. Lower numbers in the last three slots make decay occur faster. Defaults are 500:4:5:4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILKABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Allows the creature to be [[milk]]ed in the [[farmer's workshop]]. The frequency is the amount of [[time|ticks]] the creature needs to &amp;quot;recharge&amp;quot; (i.e. how much time needs to pass before it can be milked again). Does not work on [[#CAN_LEARN|sentient]] creatures, regardless of [[ethics]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MISCHIEVIOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Alias for {{token|MISCHIEVOUS|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MISCHIEVOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature spawns [[stealth]]ed and will attempt to path into the fortress, pulling any [[lever]]s it comes across. It will be invisible on the map and [[unit list]] until spotted by a citizen, at which point the game will pause and recenter on the creature. Used by [[gremlin]]s in the vanilla game. &amp;quot;They go on little missions to mess with various fortress buildings, not just levers.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MODVALUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Seemingly no longer used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUNT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature may be used as a [[mount]]. No use for the player in fortress mode, but enemy sieging forces may arrive with cavalry. Mounts are usable in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUNT_EXOTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature may be used as a [[mount]], but civilizations cannot domesticate it in worldgen without certain exceptions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MULTIPART_FULL_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to have all-around vision as long as it has multiple heads that can see.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MULTIPLE_LITTER_RARE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the species usually produce a single offspring per birth, occasionally producing twins or triplets with a 1/500 chance.  Requires {{token|FEMALE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MUNDANE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Marks if the creature is an actual real-life creature. Only used for age-names at present.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==N==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
*adjective &lt;br /&gt;
| The generic name for any creature of this type - will be used when distinctions between caste are unimportant. For names for specific castes, use {{token|CASTE_NAME|c}} instead. If left undefined, the creature will be labeled as &amp;quot;nothing&amp;quot; by the game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Animal is considered to be natural. NATURAL animals will not engage creatures tagged with {{token|AT_PEACE_WITH_WILDLIFE|c}} in combat unless they are members of a hostile entity and vice-versa.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL_ANIMAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Alias of {{token|NATURAL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL_SKILL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Skill_token|Skill token]]&lt;br /&gt;
*value&lt;br /&gt;
| The creature possesses the specified [[skill]] at this level inherently - that is, it begins with the skill at this level, and the skill may never rust below that. A value of 15 is legendary.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_BOGEYMAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creatures with this token can appear in [[bogeyman|bogeyman ambushes]] in [[adventure mode]], where they adopt classical bogeyman traits such as stalking the adventurer and vaporising when dawn breaks. Such traits do not manifest if the creature is encountered outside of a bogeyman ambush (for instance, as a megabeast or a civilised being). In addition, their corpses and severed body parts turn into [[smoke]] after a short while. Note that setting the &amp;quot;Number of Bogeyman Types&amp;quot; in [[advanced world generation]] to 0 will only remove randomly-generated bogeymen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_EXPERIMENTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on some [[necromancer]]s. Creatures with this tag may periodically &amp;quot;perform horrible experiments&amp;quot; offscreen, during which they can use creature-targeting interactions with an &amp;lt;code&amp;gt;[[Interaction_token#I_SOURCE|[I_SOURCE:EXPERIMENT]]]&amp;lt;/code&amp;gt; tag on living creatures in their area. Worlds are generated with a list of procedurally-generated experiments, allowing necromancers to turn living people and animals into [[Infected_ghoul|ghouls]] and [[Experiment|other experimental creatures]], and these will automatically be available to all experimenters; it does not appear possible to prevent this. You can mod in your own custom experiment interactions, but these are used very infrequently due to the large number of generated experiments.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_HUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[night troll]]s and [[werebeast]]s. Implies that the creature is a [[night creature]], and shows its description in [[legends mode]] entry. The creature is always hostile and will start [[no quarter]] combat with any nearby creatures, except for members of its own race. Note that this tag does not override the creature's normal behavior in [[fortress mode]] except for the aforementioned aggression, and doesn't prevent the creature from fleeing the battles it started. It also removes the creature's materials from stockpile settings list, making them be stored there regardless of settings.&lt;br /&gt;
&lt;br /&gt;
Does stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will spawn as both historical hunters and as wild animals; this requires specifying a {{token|BIOME|c}} in which the creature will live, and subterranean biomes are allowed.&lt;br /&gt;
&lt;br /&gt;
This tag causes the usual behaviour of werebeasts in worldgen, that is, fleeing towns upon being cursed and conducting raids from a lair. If this tag is absent from a deity curse, the accursed will simply be driven out of towns in a similar manner to [[vampire]]s. When paired with SPOUSE_CONVERTER, a very small population of the creature will be created during worldgen (sometimes only a single individual will be created), and their histories will be tracked (that is, they will not spawn spontaneously later, they must either have children or convert other creatures to increase their numbers). The creature will settle in a lair and go on rampages during worldgen. It will actively attempt to seek out potential conversion targets to abduct, convert, and have children with (if possible).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_NIGHTMARE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[nightmare]]s. Corpses and severed body parts derived from creatures with this token turn into [[smoke]] after a short while.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_AUTUMN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|autumn]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_CONNECTIONS_FOR_MOVEMENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature doesn't require connected body parts to move{{verify}}; generally used on undead creatures with connections that have rotted away.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_DIZZINESS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot become [[Symptom#Dizziness|dizzy]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_DRINK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to drink. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_EAT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to [[food|eat]]. Seems to cause worldgen crashes if it is part of an entity with [[entity_token#PERMITTED_JOB|[PERMITTED_JOB:FISHERMAN]]]{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_FEVERS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot suffer [[Symptom#Fever|fevers]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_GENDER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature is biologically sexless. Makes the creature unable to [[breeding|breed]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_PHYS_ATT_GAIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature cannot raise any [[Attribute#Body_attributes|physical attributes]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_PHYS_ATT_RUST}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature cannot lose any [[Attribute#Body_attributes|physical attributes]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SLEEP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to sleep. Can still be rendered unconscious by other means.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SPRING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|spring]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SUMMER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|summer]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_THOUGHT_CENTER_FOR_MOVEMENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't require an organ with the {{token|THOUGHT|body}} tag to survive or attack; generally used on creatures that don't have brains.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_UNIT_TYPE_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Prevents creature from selecting its color based on its profession (e.g. Miner, Hunter, Wrestler).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_VEGETATION_PERTURB}}&lt;br /&gt;
| Caste{{Verify}}&lt;br /&gt;
|  &lt;br /&gt;
| Likely prevents the creature from leaving broken vegetation tracks.{{Verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_WINTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|winter]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOBONES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature has no bones.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOBREATHE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't need to breathe or have {{token|BREATHE|body}} parts in body, nor can it drown or be strangled. Creatures living in magma must have this tag, otherwise they will drown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOCTURNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active at night in adventure mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOEMOTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature has no emotions. It is immune to the effects of [[stress]] and unable to rage, and its [[need]]s cannot be fulfilled in any way. Used on [[undead]] in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOEXERT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature can't become tired or over-exerted from taking too many combat actions or moving at full speed for extended periods of time. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOFEAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't feel fear and will never flee from battle, and will be immune to [[ghost]]s' attempts to 'scare it to death'. Additionally, it causes [[bogeyman|bogeymen]] and [[nightmare]]s to become friendly towards the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOMEAT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop meat when [[butcher|butchered]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NONAUSEA}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature isn't nauseated by gut hits and cannot vomit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOPAIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't feel pain. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSKIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop a hide when [[butcher|butchered]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSKULL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop a skull on butchering, rot, or decay of severed head.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSMELLYROT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Does not produce [[miasma]] when rotting.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSTUCKINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Weapons can't get stuck in the creature. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSTUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature can't be stunned and knocked unconscious by pain or head injuries. Creatures with this tag never wake up from sleep in Fortress Mode. If this creature needs to sleep while playing, it &amp;lt;b&amp;gt;will&amp;lt;/b&amp;gt; die.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOT_BUTCHERABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Cannot be [[butcher|butchered]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOT_LIVING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Cannot be raised from the dead by necromancers or evil clouds. Implies the creature is not a normal living being. Used by [[vampire]]s, [[Mummy|mummies]] and inorganic creatures like the [[amethyst man]] and [[bronze colossus]]. Creatures who are {{token|OPPOSED_TO_LIFE|c}} (undead) will be docile towards creatures with this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOTHOUGHT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't require a {{token|THOUGHT|body}} body part to survive. Has the added effect of preventing speech, though directly controlling creatures that would otherwise be capable of speaking allows them to engage in conversation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==O==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ODOR_LEVEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| How easy the creature is to [[smell]]. The higher the number, the easier the creature is to sniff out. Defaults to 50. Vanilla creatures have values from 0 (undetectable) to 90 (noticeable by humans and dwarves).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ODOR_STRING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*string&lt;br /&gt;
| What the creature [[smell]]s like. If no odor string is defined, the creature name (not the caste name) is used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OPPOSED_TO_LIFE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Is hostile to all creatures except undead and other non-living ones and will show {{DFtext|Opposed to life|0:1}} in the [[unit list]]. Used by [[undead]] in the vanilla game. Functions without the {{token|NOT_LIVING|c}} token, and seems to imply said token as well. Undead will not be hostile to otherwise-living creatures given this token. Living creatures given this token will attack living creatures that lack it, while ignoring other living creatures that also have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ORIENTATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*MALE/FEMALE&lt;br /&gt;
*disinterested chance&lt;br /&gt;
*casual chance&lt;br /&gt;
*strong chance&lt;br /&gt;
| Determines caste's likelihood of having sexual attraction to certain sexes. Values default to 75:20:5 for the same sex and 5:20:75 for the opposite sex. The first value indicates how likely to be entirely uninterested in the sex, the second decides if the creature will be able to become lovers with that sex, the third decides whether they will be able to marry in worldgen and post-worldgen world activities (which implies being able to become lovers). Marriage seems to be able to happen in fort mode play regardless, as long as they are lovers first.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTSIDER_CONTROLLABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Lets you play as an [[Adventurer_mode_character_creation#Outsider|outsider]] of this species in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PACK_ANIMAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be used as a pack animal. Used by [[trading|merchants]] without wagons and adventurers. Also prevents creature from dropping hauled items on its own -- do ''not'' use for player-controllable creatures!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PARALYZEIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is immune to all [[Syndrome#CE_PARALYSIS|paralyzing]] special attacks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATTERNFLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Used to control the bat riders with paralyze-dart blowguns that flew through the 2D chasm. Doesn't do anything now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PEARL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| In earlier versions, creature would generate [[pearl]]s. Does nothing in the current version.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PENETRATEPOWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| Controls the ability of [[vermin]] to find a way into containers when they are eating food from your stockpiles.&lt;br /&gt;
&lt;br /&gt;
Objects made of most materials (e.g. metal) roll a number from 0-100, and if the resulting number is greater than the penetrate power, their contents escape for the time being. Objects made of [[wood]], [[leather]], [[amber]], or [[coral]] roll 0-95, and items made of [[cloth]] roll 0-90.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERSONALITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ATTRIBUTE&lt;br /&gt;
*lowest&lt;br /&gt;
*median&lt;br /&gt;
*highest &lt;br /&gt;
| Determines the range and chance of personality traits. Standard is 0:50:100. See [[Personality trait]] for more info.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PET}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be [[Animal_trainer|tamed]] in Fortress mode. Prerequisite for all other working animal roles. Civilizations that encounter it in worldgen will tame and domesticate it for their own use. Adding this to civilization members will classify them as pets instead of citizens, with all the [[Fun|problems]] that entails. However, you can solve these problems using the popular plugin [https://dffd.bay12games.com/file.php?id=13095| Dwarf Therapist], which is completely unaffected by the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PET_EXOTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be [[Animal_trainer|tamed]] in Fortress mode. Prequisite for all other working animal roles. Civilizations cannot domesticate it in worldgen, with certain exceptions. More difficult to tame?{{verify}} Adding this to civilization members will classify them as pets instead of citizens, with all the [[Fun|problems]] that entails. ([[Gremlin|Example]]).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PETVALUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| How valuable a tamed animal is. Actual cost in points in the embarking screen is 1+(PETVALUE/2) for an untrained animal, 1+PETVALUE for a war/hunting one. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PETVALUE_DIVISOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Divides the creature's {{token|PETVALUE|c}} by the specified number. Used by [[honey bee]]s to prevent a single hive from being worth a fortune.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_CAP_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*Cap %&lt;br /&gt;
|Default is 200. This means you can increase your attribute to 200% of its starting value (or the average value + your starting value if that is higher).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]]&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up a [[Attribute#Body_attributes|physical attribute]]'s range of values (0-5000). All physical attribute ranges default to 200:700:900:1000:1100:1300:2000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*cost to improve&lt;br /&gt;
*unused counter rate&lt;br /&gt;
*rust counter rate&lt;br /&gt;
*demotion counter rate&lt;br /&gt;
| [[Attribute#Body_attributes|Physical attribute]] gain/decay rates. Lower numbers in the last three slots make decay occur faster. Defaults for STRENGTH, AGILITY, TOUGHNESS, and ENDURANCE are 500:3:4:3, while RECUPERATION and DISEASE_RESISTANCE default to 500:NONE:NONE:NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_BP_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY, or BY_TOKEN&lt;br /&gt;
*body type, category, or token&lt;br /&gt;
| Adds a body part group to selected body part group. Presumably used immediately after {{token|SET_BP_GROUP|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*material&lt;br /&gt;
| Adds a material to selected materials. Used immediately after {{token|SELECT_MATERIAL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POP_RATIO}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*number&lt;br /&gt;
| Weighted population of caste; Lower is rarer. Not to be confused with {{token|FREQUENCY|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POPULATION_NUMBER}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| The minimum/maximum numbers of how many of these creatures are present in each world map tile of the appropriate region. Defaults to 1:1 if not specified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Allows the being to represent itself as a deity, allowing it to become the leader of a civilized group. Used by unique demons in the vanilla game. Requires {{token|CAN_SPEAK|c}} to actually do anything more than settle at a location (e.g. write books, lead armies, profane temples). Doesn't appear to do anything for creatures that are already civilized. Once the creature ascends to a position of leadership, it will proceed to act as a standard ruler for their entity and fulfill the same functions (hold tournaments, tame creatures, etc).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREFSTRING}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*string&lt;br /&gt;
| Sets what other creatures [[Preferences|prefer]] about this creature. &amp;quot;Urist likes dwarves for their beards.&amp;quot; Multiple entries will be chosen from at random. Creatures lacking a PREFSTRING token will never appear under another's preferences.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROFESSION_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*[[Unit type token]] (Profession)&lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| The generic name for members of this profession, at the creature level. In order to give members of specific castes different names for professions, use {{token|CASTE_PROFESSION_NAME|c}} instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRONE_TO_RAGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Chance&lt;br /&gt;
| Creature has a percentage chance to flip out at visible non-friendly creatures. Enraged creatures attack anything regardless of timidity and get a strength bonus to their hits. This is what makes [[badger]]s so hardcore.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| The creature has pus. Specifies the stuff secreted by [[Health_care#Infection|infected wounds]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELSIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*body category, type, or token&lt;br /&gt;
*Relsize &lt;br /&gt;
| Specifies a new relative size for a part than what is stated in the body plan. For example, dwarves have larger livers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| What the creature's [[remains]] are called.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| What color the creature's [[remains]] are.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_ON_VERMIN_BITE_DEATH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Goes with {{token|VERMIN_BITE|c}} and {{token|DIE_WHEN_VERMIN_BITE|c}}, the vermin creature will leave remains on death when biting. Leaving this tag out will cause the creature to disappear entirely after it bites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_UNDETERMINED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMOVE_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*material token &lt;br /&gt;
| Removes a material from the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMOVE_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*tissue token&lt;br /&gt;
| Removes a tissue from the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RETRACT_INTO_BP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY or BY_TOKEN&lt;br /&gt;
*body type, [[Body_token#CATEGORY|category]], or [[Body_token#BP|token]]&lt;br /&gt;
*Second person (&amp;quot;You&amp;quot;) retract verb text&lt;br /&gt;
*Third person (&amp;quot;The giant snail&amp;quot;) retract verb text&lt;br /&gt;
*Second person cancel retract text&lt;br /&gt;
*Third person cancel retract text&lt;br /&gt;
| The creature will retract into a body part when threatened. It will be unable to move or attack, but enemies will only be able to attack the specified body part. (eg. Turtle, Hedgehog)&lt;br /&gt;
&lt;br /&gt;
Second-person descriptions are used for adventurer mode natural ability. &amp;quot;&amp;lt;pro_pos&amp;gt;&amp;quot; can be used in the descriptions, being replaced with the proper pronoun (or lack thereof) in-game. &lt;br /&gt;
&lt;br /&gt;
Undead curled up creatures are buggy{{bug|11463}}{{bug|10519}}.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RETURNS_VERMIN_KILLS_TO_OWNER}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Cat behavior. If it kills a vermin creature and has an owner, it carries the remains in its mouth and drops them at their feet. Requires {{token|HUNTS_VERMIN|c}}, obviously.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ROOT_AROUND}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY or BY_TOKEN&lt;br /&gt;
*body type, [[Body_token#CATEGORY|category]], or [[Body_token#BP|token]]&lt;br /&gt;
*Second person (&amp;quot;You&amp;quot;) verb text&lt;br /&gt;
*Third person (&amp;quot;The hen&amp;quot;) verb text&lt;br /&gt;
| Creature will occasionally root around in the grass, looking for insects.  Used for flavor in Adventurer Mode, spawns vermin edible for this creature in Fortress Mode. Creatures missing the specified body part will be unable to perform this action. The action produces a message (visible in adventure mode) in the form:&lt;br /&gt;
&lt;br /&gt;
[creature] [verb text] the [description of creature's location]&lt;br /&gt;
&lt;br /&gt;
In adventure mode, the &amp;quot;rooting around&amp;quot; ability will be included in the &amp;quot;natural abilities&amp;quot; menu, represented by its second person verb text.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature will only show up in &amp;quot;savage&amp;quot; biomes. Has no effect on cavern creatures. Cannot be combined with {{token|GOOD|c}} or {{token|EVIL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SECRETION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
*BY_TOKEN / BY_CATEGORY / BY_TYPE&lt;br /&gt;
*&amp;lt;[[Body_token#BP|body part ID]]&amp;gt; / &amp;lt;[[Body_token#CATEGORY|category]]&amp;gt; or ALL / &amp;lt;type (e.g. [[Body_token#GRASP|GRASP]])&amp;gt;&lt;br /&gt;
*&amp;lt;[[Body_detail_plan_token#BP_LAYERS|tissue layer]]&amp;gt; or ALL&lt;br /&gt;
*&amp;lt;trigger&amp;gt;&lt;br /&gt;
| Causes the specified tissue layer(s) of the indicated body part(s) to secrete the designated material. A size 100 ('covering') [[contaminant]] is created over the affected body part(s) in its specified material state (and at the temperature appropriate to this state) when the trigger condition is met, as long as one of the secretory tissue layers is still intact. Valid triggers are:&lt;br /&gt;
*'''CONTINUOUS'''&lt;br /&gt;
Secretion occurs once every 40 [[time|ticks]] in [[fortress mode]], and every tick in [[adventurer mode]].&lt;br /&gt;
*'''EXERTION'''&lt;br /&gt;
Secretion occurs continuously (at the rate described above) whilst the creature is at minimum &amp;lt;span style=&amp;quot;font-size:75%&amp;quot;&amp;gt;{{Tile|Tired|6:1}}&amp;lt;/span&amp;gt; following physical exertion. Note that this cannot occur if the creature has {{token|NOEXERT|c}}.&lt;br /&gt;
*'''EXTREME_EMOTION'''&lt;br /&gt;
Secretion occurs continuously (as above) whilst the creature is distressed. Cannot occur in creatures with {{token|NOEMOTION|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_ADDITIONAL_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;caste&amp;gt;&lt;br /&gt;
| Adds an additional previously defined caste to the selection. Used after {{token|SELECT_CASTE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;caste&amp;gt; or ALL &lt;br /&gt;
| Selects a previously defined caste&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Selects a locally defined material. Can be ALL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*tissue token&lt;br /&gt;
| Selects a tissue for editing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEMIMEGABEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Essentially the same as {{token|MEGABEAST|c}}, but more of them are created during worldgen. See the [[semi-megabeast]] page for details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SENSE_CREATURE_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[Creature_token#CREATURE_CLASS|creature class]]&amp;gt;&lt;br /&gt;
* [[Tilesets|&amp;lt;tile value or character&amp;gt;]]&lt;br /&gt;
* [[Color#Color_values|&amp;lt;foreground color&amp;gt;:&amp;lt;background color&amp;gt;:&amp;lt;foreground brightness&amp;gt;]]&lt;br /&gt;
| Gives the creature the ability to sense creatures belonging to the specified [[Creature_token#CREATURE_CLASS|creature class]] even when they lie far beyond line of sight, including through walls and floors. It also appears to reduce or negate the combat penalty of [[Wound#Blindness|blind]] units when fighting creatures they can sense. In [[adventure mode]], the specified tile will be used to represent sensed creatures when they cannot be seen directly.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_BP_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*category, type, or token &lt;br /&gt;
| Begins a selection of body parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_LEARN_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[skill_token]]&amp;gt;&lt;br /&gt;
*&amp;lt;percentage&amp;gt;&lt;br /&gt;
| The rate at which this creature learns this skill. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_LEARN_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;percentage&amp;gt;&lt;br /&gt;
| The rate at which this creature learns all skills. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[skill_token]]&lt;br /&gt;
*&amp;lt;% of improvement points gained&amp;gt;&lt;br /&gt;
*&amp;lt;unused counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;rust counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;demotion counter rate&amp;gt;&lt;br /&gt;
| Like {{token|SKILL_RATES|c}}, but applies to individual skills instead. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*&amp;lt;% of improvement points gained&amp;gt;&lt;br /&gt;
*&amp;lt;unused counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;rust counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;demotion counter rate&amp;gt;&lt;br /&gt;
| Affects skill gain and decay. Lower numbers in the last three slots make decay occur faster ([SKILL_RATES:100:1:1:1] would cause rapid decay). The counter rates may also be replaced with NONE.&lt;br /&gt;
Default is [SKILL_RATES:100:8:16:16]. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RUST_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[skill_token]]&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
| The rate at which this skill decays. Lower values cause the skill to decay faster. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RUST_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
| The rate at which all skills decay. Lower values cause the skills to decay faster. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLOW_LEARNER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Shorthand for {{token|CAN_LEARN|c}} + &amp;lt;code&amp;gt;[[Creature_token#SKILL_LEARN_RATES|[SKILL_LEARN_RATES:50]]]&amp;lt;/code&amp;gt;.{{verify}} Used by a number of 'primitive' creatures (like [[ogre]]s, [[giant]]s and [[troglodyte]]s) in the vanilla game. Applicable to player races. Prevents a player from recruiting nobility, even basic ones. Subterranean creatures with this token combined with {{token|EVIL|c}} will become servants of goblins in their civilizations, in the style of [[troll]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMALL_REMAINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature leaves &amp;quot;[[item token#REMAINS|remains]]&amp;quot; instead of a corpse. Used by [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL_TRIGGER}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Determines how keen a creature's sense of smell is - lower is better. At 10000, a creature cannot smell at all.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOLDIER_ALTTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| If this creature is active in its civilization's military, it will blink between its default tile and this one.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOUND}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* Sound application (currently accepts ALERT or PEACEFUL_INTERMITTENT)&lt;br /&gt;
* Sound range (in tiles)&lt;br /&gt;
* Sound delay (lower values = sound is produced more often)&lt;br /&gt;
* VOCALIZATION or NONE (determines whether the sound requires breathing or not)&lt;br /&gt;
* First-person description&lt;br /&gt;
* Third-person description&lt;br /&gt;
* Description when out of sight&lt;br /&gt;
| Creature makes sounds periodically, which can be heard in Adventure mode.&lt;br /&gt;
* First-person reads &amp;quot;You '''bark'''&amp;quot;&lt;br /&gt;
* Third-person reads &amp;quot;The [[capybara]] '''barks'''&amp;quot;&lt;br /&gt;
* Out of sight reads &amp;quot;You hear '''a loud bark'''&amp;quot;&lt;br /&gt;
with the text in bold being the description arguments of the token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*Integer&lt;br /&gt;
| Found on generated [[angel]]s. This is the historical figure ID of the deity with which the angel is associated. Since HFIDs are not predictable before worldgen, this isn't terribly usable in mods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIFIC_FOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* PLANT or CREATURE&lt;br /&gt;
* Plant/creature ID&lt;br /&gt;
| Creature will only appear in biomes with this plant or creature available. Grazers given a specific type of grass (such as [[panda]]s and [[bamboo]]) will only eat that grass and nothing else, risking starvation if there's none available. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing this creature. Examples include dwarf.txt and elf.txt in data\speech.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH_FEMALE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing females of this creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH_MALE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing males of this creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Sets what religious spheres the creature is aligned to, for purposes of being worshipped via the {{token|POWER|c}} token. Also affects the layout of hidden fun stuff, and the creature's name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_CONVERSION_TARGET}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| This creature can be converted by a night creature with {{token|SPOUSE_CONVERTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_CONVERTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| If the creature has the {{token|NIGHT_CREATURE_HUNTER|c}} tag, it will kidnap {{token|SPOUSE_CONVERSION_TARGET|c}}s and transform them into the caste of its species with the {{token|CONVERTED_SPOUSE|c}} tag during worldgen. It may also start families this way.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPREAD_EVIL_SPHERES_IF_RULER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| If the creature rules over a [[site]], it will cause the local landscape to be corrupted into [[Surroundings#Evil|evil surroundings]] associated with the creature's [[Creature_token#SPHERE|sphere]]s. The creature must have at least one of the following [[sphere]]s for this to take effect: BLIGHT, DEATH, DISEASE, DEFORMITY, NIGHTMARES. The first three kill vegetation, while the others sometimes do.  The last two get [[Plant_token#EVIL|evil plants]] and [[Creature_token#EVIL|evil animals]] sometimes. NIGHTMARES gets [[bogeyman|bogeymen]]. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8162224#msg8162224] Used by [[demon]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANCE_CLIMBER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Caste does not require &amp;lt;code&amp;gt;[[Body_token#GRASP|[GRASP]]]&amp;lt;/code&amp;gt; body parts to climb -- it can climb with &amp;lt;code&amp;gt;[[Body_token#STANCE|[STANCE]]]&amp;lt;/code&amp;gt; parts instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANDARD_GRAZER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Acts as {{token|GRAZER|c}} but set to 20000*G*(max size)^(-3/4), where G defaults to 100 but can be set in d_init, and the whole thing is trapped between 150 and 3 million. Used for all grazers in the default creature raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRANGE_MOODS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature will get [[strange mood]]s in fortress mode and can produce artifacts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUPERNATURAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Gives the creature knowledge of any secrets with &amp;lt;code&amp;gt;[[Interaction_token#IS_SECRET|[SUPERNATURAL_LEARNING_POSSIBLE]]]&amp;lt;/code&amp;gt; that match its [[Creature_token#SPHERE|spheres]] and also prevents it from becoming a [[vampire]] or [[werebeast]]. Other effects are unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SWIMS_INNATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature naturally knows how to swim perfectly and does not use the [[swimmer]] skill, as opposed to {{token|SWIMS_LEARNED|c}} below. However, Fortress mode AI never paths into water anyway, so it's less useful there. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SWIMS_LEARNED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature swims only as well as their present [[Swimmer|swimming skill]] allows them to.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SYNDROME_DILUTION_FACTOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &amp;lt;[[Syndrome#SYN_IDENTIFIER|syndrome identifier]]&amp;gt;:&amp;lt;percentage&amp;gt;&lt;br /&gt;
| Dilutes the effects of syndromes which have the specified identifier. A percentage of 100 is equal to the regular syndrome effect severity, higher percentages reduce severity.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TENDONS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
*healing rate &lt;br /&gt;
| The creature has tendons in its {{token|CONNECTIVE_TISSUE_ANCHOR|td}} tissues (bone or chitin by default). Cutting the bone/chitin tissue severs the tendons, disabling motor function if the target is a limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKWEB}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature's [[web]]s can catch larger creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*name &lt;br /&gt;
| Begins defining a tissue in the creature file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
*LOCATION &lt;br /&gt;
| Adds the tissue layer to wherever it is required.&lt;br /&gt;
Non-argument Locations can be FRONT, RIGHT, LEFT, TOP, BOTTOM. Argument locations are AROUND and CLEANS, requiring a further body part and a % of coverage/cleansing&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_OVER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
*LOCATION &lt;br /&gt;
| Presumably a counterpart to TISSUE_LAYER_UNDER (see below).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_UNDER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
| Adds the tissue layer under a given part.&lt;br /&gt;
For example, an [[iron man]] has a gaseous poison within, and this tissue (GAS is its name) has the token [TISSUE_LEAKS] and its state is GAS, so when you puncture the iron outside and damage this tissue it leaks gas (can have a syndrome by using a previous one in the creature sample.) [TISSUE_LAYER_UNDER:BY_CATEGORY:ALL:{tissue}] {tissue} is what will be under the TISSUE_LAYER; here is an example Tissue from the Iron Man:&amp;lt;br&amp;gt; &lt;br /&gt;
[TISSUE:GAS] [TISSUE_NAME:gas:NP] [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:GAS] [TISSUE_MAT_STATE:GAS] [RELATIVE_THICKNESS:50] [TISSUE_LEAKS] [TISSUE_SHAPE:LAYER] &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TITAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[titan]]s. Cannot be specified in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE_CAPACITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*number&lt;br /&gt;
| How much the creature can carry when used by merchants. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Shortcut for {{token|TRAINABLE_HUNTING|c}} + {{token|TRAINABLE_WAR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE_HUNTING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can be [[Animal trainer|trained]] as a hunting beast, increasing speed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE_WAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can be [[Animal trainer|trained]] as a war beast, increasing strength and endurance.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANCES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to go into [[martial trance]]s. Used by dwarves in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPAVOID}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will never trigger [[trap]]s it steps on. Used by a [[Trapavoid|number of creatures]]. Doesn't make the creature immune to remotely activated traps (like retractable spikes being triggered while the creature is standing over them). TRAPAVOID creatures lose this power if they're immobilized while standing in a trap, be it by stepping on thick web, being paralyzed or being knocked unconscious.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRIGGERABLE_GROUP}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| A large swarm of vermin can be disturbed, usually in adventurer mode.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TSU_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*noun&lt;br /&gt;
*SINGULAR or PLURAL &lt;br /&gt;
| Noun for the {{token|TISSUE_STYLE_UNIT|c}}, used in the description of the tissue layer's style.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UBIQUITOUS}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Creature will occur in every region with the correct biome. Does not apply to {{token|EVIL|c}}/{{token|GOOD|c}} tags.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERGROUND_DEPTH}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*mindepth&lt;br /&gt;
*maxdepth &lt;br /&gt;
| Depth that the creature appears underground. Numbers can be from 0 to 5. 0 is actually 'above ground' and can be used if the creature is to appear both above and below ground. Values from 1-3 are the respective [[cavern]] levels, 4 is the [[magma sea]] and 5 is the [[HFS]]. A single argument may be used instead of min and max. [[Demon]]s use only 5:5; user-defined creatures with both this depth and {{token|FLIER}} will take part in the initial wave from the HFS alongside generated demons, but without {{token|FLIER}} they will only spawn from the map edges. Civilizations that can use underground plants or animals will only export (via the embark screen or caravans) things that are available at depth 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERSWIM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is displayed as blue when in [[Water#Depth|7/7 water]]. Used on fish and amphibious creatures which swim under the water.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNIQUE_DEMON}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on generated [[demon]]s; causes the game to create a single named instance of the demon which will emerge from the underworld and take over civilizations during worldgen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new caste token&lt;br /&gt;
*old caste token&lt;br /&gt;
| Defines a new caste derived directly from a previous caste. The new caste inherits all properties of the old one. The effect of this tag is automatic if one has not yet defined any castes: &amp;quot;Any caste-level tag that occurs before castes are explicitly declared is saved up and placed on any caste that is declared later, unless the caste is explicitly derived from another caste.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new material ID&lt;br /&gt;
*old material ID&lt;br /&gt;
| Defines a new local creature material and populates it with all properties defined in the specified local creature material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new material token&lt;br /&gt;
*material template &lt;br /&gt;
| Defines a new local creature material and populates it with all properties defined in the specified template.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new tissue token&lt;br /&gt;
*old tissue id&lt;br /&gt;
| Defines a new local creature tissue and populates it with all properties defined in the local tissue specified in the second argument.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_TISSUE_TEMPLATE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new tissue token&lt;br /&gt;
*tissue template&lt;br /&gt;
| Loads a tissue template listed in OBJECT:TISSUE_TEMPLATE files, such as tissue_template_default.txt. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UTTERANCES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Changes the language of the creature into unintelligible 'kobold-speak', which creatures of other species will be unable to understand. If a civilized creature has this and is not part of a {{token|SKULKING|e}} civ, it will tend to start wars with all nearby civilizations and will be unable to make peace treaties due to 'inability to communicate'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==V==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VEGETATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Like {{token|AT_PEACE_WITH_WILDLIFE}}, but also makes the creature more valued in artwork by civilisations with the PLANT [[sphere]]. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8316954#msg8316954] Used by [[grimeling]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_BITE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*chance of occurrence{{verify}}&lt;br /&gt;
*verb (bitten, stung, etc.)&lt;br /&gt;
* [[material token]]&lt;br /&gt;
* [[Material_definition_token#Material_States|material state]]&lt;br /&gt;
| Enables vermin to bite other creatures, injecting the specified material. See {{token|SPECIALATTACK_INJECT_EXTRACT|c}} for details about injection - this token presumably works in a similar manner.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_EATER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| The vermin creature will attempt to eat exposed food. See {{token|PENETRATEPOWER|c}}. Distinct from {{token|VERMIN_ROTTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_FISH}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin appears in [[water]] and will attempt to swim around.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_GROUNDER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature appears in &amp;quot;general&amp;quot; surface ground locations. Note that this doesn't stop the creature from flying if it can (most vermin birds have this tag).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_HATEABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Some dwarves will [[Preferences|hate]] the creature and get unhappy thoughts when around it. See the [[Hateable|list of hateable vermin]] for details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_MICRO}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| This makes the creature move in a swarm of creatures of the same race as it (e.g. swarm of flies, swarm of ants).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOFISH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature cannot be caught by [[fishing]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOROAM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will not be observed randomly roaming about the map. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOTRAP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature cannot be caught in baited [[animal trap]]s; however, a &amp;quot;[[Trapper|catch live land animal]]&amp;quot; task may still be able to capture one if a dwarf finds one roaming around.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_ROTTER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin are attracted to rotting stuff and loose food left in the open and cause unhappy thoughts to dwarves who encounter them. Present on flies, knuckle worms, acorn flies, and blood gnats. Speeds up decay?{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_SOIL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature randomly appears near dirt or mud, and may be uncovered by creatures that have the {{token|ROOT_AROUND|c}} interaction such as [[goose|geese]] and [[chicken]]s. Dwarves will ignore the creature when given the &amp;quot;Capture live land animal&amp;quot; task.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_SOIL_COLONY}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin will appear in a single tile cluster of many vermin, such as a colony of ants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMINHUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Old shorthand for &amp;quot;does cat stuff&amp;quot;. Contains {{token|AT_PEACE_WITH_WILDLIFE|c}} + {{token|RETURNS_VERMIN_KILLS_TO_OWNER|c}} + {{token|HUNTS_VERMIN|c}} + {{token|ADOPTS_OWNER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VESPERTINE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the evening in adventurer mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VIEWRANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Value should determine how close you have to get to a critter before it attacks (or prevents adv mode travel etc.) Default is 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VISION_ARC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*binocular vision arc&lt;br /&gt;
*non-binocular vision arc&lt;br /&gt;
| The width of the creature's vision arcs, in degrees (i.e. 0 to 360). The first number is binocular vision, the second is non-binocular vision.  Binocular vision has a minimum of about 10 degrees, monocular, a maximum of about 350 degrees. Values past these limits will be accepted, but will default to ~10 degrees and ~350 degrees respectively.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==W==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WAGON_PULLER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to pull caravan wagons. If a civilization doesn't have access to any, it is restricted to trading with pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEBBER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Allows the creature to create [[web]]s, and defines what the webs are made of.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEBIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will not get caught in thick [[web]]s. Used by creatures who can shoot thick webs (such as [[giant cave spider]]s) in order to make them immune to their own attacks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Attack Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_SKILL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
| Defines the skill used by the attack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_VERB}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*2nd person&lt;br /&gt;
*3rd person &lt;br /&gt;
| Descriptive text for the attack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_CONTACT_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*% value &lt;br /&gt;
| The contact area of the attack, measured in % of the body part's volume. Note that all attack percentages can be more than 100%.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PENETRATION_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*% value &lt;br /&gt;
| The penetration value of the attack, measured in % of the body part's volume. Requires ATTACK_FLAG_EDGE. Maximum value: 15000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PRIORITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*MAIN or SECOND &lt;br /&gt;
| Usage frequency. MAIN attacks are 100 times more frequently chosen than SECOND. Opportunity attacks ignore this preference.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_VELOCITY_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| The velocity multiplier of the attack, multiplied by 1000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_CANLATCH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Attacks that damage tissue have the chance to latch on in a wrestling hold. The grabbing bodypart can then use the &amp;quot;shake around&amp;quot; wrestling move, causing severe, armor-bypassing tensile damage according to the attacker's body volume.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_WITH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Displays the name of the body part used to perform an attack while announcing it, e.g. &amp;quot;The weaver punches the bugbat with his right hand&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_EDGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The attack is edged, with all the effects on physical resistance and contact area that it entails.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PREPARE_AND_RECOVER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* Preparation time&lt;br /&gt;
* Recovery time&lt;br /&gt;
| Determines the length of time to prepare this attack and until one can perform this attack again. Values appear to be calculated in adventure mode ticks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_BAD_MULTIATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Multiple strikes with this attack cannot be performed effectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_INDEPENDENT_MULTIATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Multiple strikes with this attack can be performed with no penalty. The creature will use all attacks with this token at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_INJECT_EXTRACT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;min quantity&amp;gt;&lt;br /&gt;
*&amp;lt;max quantity&amp;gt;&lt;br /&gt;
| When added to an attack, causes the attack to inject the specified material into the victim's bloodstream. Once injected, the material will participate in [[temperature|thermal]] exchange within the creature - injecting something like molten [[iron]] (INORGANIC:IRON:LIQUID) would cause most unmodded creatures to melt (note that some of the injected material also [[contaminant|splatters]] over the bodypart used to carry out the attack, so it should be protected appropriately). If the injected material has an associated [[syndrome]] with the [[Syndrome#SYN_INJECTED|[SYN_INJECTED]]] token, it will be transmitted to the victim. If the attack is blunt, the injected material lacks the [[Material definition token#ENTERS_BLOOD|[ENTERS_BLOOD]]] token, the attacked bodypart has no [[Tissue_definition_token#VASCULAR|[VASCULAR]]] tissues, or the victim is bloodless, the material will splatter over the attacked body part instead. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_INTERACTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*interaction&lt;br /&gt;
| When this attack lands successfully, a specified interaction will take effect on the target creature. The attack must break the target creature's skin in order to work. This will take effect in worldgen as well. If the attack would break skin, the interaction will occur '''before the attack actually lands'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_SUCK_BLOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Successful attack draws out an amount of blood randomized between the min and max value. Beware that this '''will''' trigger any ingestion syndromes attached to the target creature's blood - for example, using this attack on a vampire will turn you into one too.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tissue Layer Tokens==&lt;br /&gt;
Tissue layers are added to a creature's body parts by the creature tokens [[#TISSUE_LAYER|TISSUE_LAYER]], [[#TISSUE_LAYER_OVER|TISSUE_LAYER_OVER]], [[#TISSUE_LAYER_UNDER|TISSUE_LAYER_UNDER]], and the body detail plan token [[#TL_LAYERS|TL_LAYERS]].&lt;br /&gt;
&lt;br /&gt;
These tissue layers are not the same thing as tissues, which are defined at creature level, but rather applications of the tissues. If the SKIN tissue of a creature is the more general and abstract notion of what skin is for that creature, then a tissue layer may be the &amp;quot;actual&amp;quot; skin on the creature's nose, head, or second toe. As most creatures have more than one body part, tissue layers are normally selected en masse.&lt;br /&gt;
&lt;br /&gt;
Some tissue layer tokens are analogous to tissue definition tokens, e.g. [[#TL_CONNECTS|TL_CONNECTS]] to [[tissue_definition_token#CONNECTS|CONNECTS]].&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token | Selects a tissue at a location&lt;br /&gt;
* (optional) FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM, AROUND.&lt;br /&gt;
| Begins a selection of tissue layers. &lt;br /&gt;
[SELECT_TISSUE_LAYER:HEART:BY_TYPE:HEART]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token &lt;br /&gt;
| Adds tissue layers to those selected.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_TL_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token&lt;br /&gt;
*tissue &lt;br /&gt;
| Begins a selection of tissue layers. Only usable for descriptor and cosmetic purposes. &lt;br /&gt;
&lt;br /&gt;
Research has implied it may be redundant with SELECT_TISSUE_LAYER, as the latter allows for cosmetics as well as &amp;quot;functional&amp;quot; tokens such as TL_MAJOR_ARTERIES. Vanilla raws still use SET_TL_GROUP though, for all cosmetic purposes. More research is needed on this subject.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_TL_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token&lt;br /&gt;
*tissue &lt;br /&gt;
| Adds tissue layers to those selected. Like SET_TL_GROUP, it may be redundant even if used in the vanilla raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_LAYER_TISSUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*TISSUE&lt;br /&gt;
| Sets a selected tissue layer to be made of a different tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHEARABLE_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* tissue modifier&lt;br /&gt;
* required value&lt;br /&gt;
| Tissue layer can be sheared for its component material. The specified modifier must be at least of the desired value for shearing to be possible (for example, a [[llama]]'s wool must have a LENGTH of 300 before it is shearable).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*QUALITY&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets the range of qualities, including LENGTH, DENSE, HIGH_POSITION, CURLY, GREASY, WRINKLY&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE_UNIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*tissue style unit ID&lt;br /&gt;
*shaping&lt;br /&gt;
| Sets tissue layer to be the target of TISSUE_STYLE token specified for an entity, works only on entity members. Mostly used with tissues HAIR, BEARD, MOUSTACHE, SIDEBURNS.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_COLOR_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*COLOR&lt;br /&gt;
*freq&lt;br /&gt;
*COLOR&lt;br /&gt;
*freq etc. &lt;br /&gt;
| Creates a list of colors/color patterns, giving each a relative frequency. If the given color or pattern does not exist, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_GENETIC_MODEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The way the color modifier is passed on to offspring. May or may not work right now.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_IMPORTANCE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| Presumably modifies the importance of the tissue layer color modifier, for description purposes.&lt;br /&gt;
HOWEVER using this appears to remove all mention of colour from creature descriptions. It does not appear in any default creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*SINGULAR or PLURAL&lt;br /&gt;
| Names the tissue layer color modifier, and determines the noun. Also used by [[Utility:Stonesense|Stonesense]] for colouring body parts. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_TIMING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ROOT&lt;br /&gt;
*start change window years&lt;br /&gt;
*days&lt;br /&gt;
*end change window years&lt;br /&gt;
*days&lt;br /&gt;
| Determines the point in the creature's life when the color change begins and ends.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_CONNECTS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Gives the CONNECTS attribute to selected layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_HEALING_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the HEALING_RATE of the selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_MAJOR_ARTERIES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Gives the &amp;quot;major arteries&amp;quot; attribute to selected layers. Used to add massive bleeding properties to the throat, made from skin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_PAIN_RECEPTORS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the number of pain receptors for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_RELATIVE_THICKNESS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the relative thickness for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_VASCULAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Sets a new VASCULAR value (which modulates bleeding) for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Body detail plan token]]&lt;br /&gt;
*[[Body token]]&lt;br /&gt;
*[[Material definition token]]&lt;br /&gt;
*[[Syndrome]]&lt;br /&gt;
*[[Tissue definition token]]&lt;br /&gt;
*[[Creature examples]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Creature token]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Creature_token&amp;diff=284278</id>
		<title>Creature token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Creature_token&amp;diff=284278"/>
		<updated>2023-01-07T00:09:01Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[OBJECT:CREATURE]&amp;lt;/code&amp;gt; [[token]] begins the definition of a ''Dwarf Fortress'' [[creature]] [[raw file]]. Each creature definition that follows begins with the {{token|creature|c|creature ID}} token, and the creature's exact properties and behavior are then specified by the use of further creature tokens.  All known creature tokens are listed below. &lt;br /&gt;
&lt;br /&gt;
Vanilla creature definitions can be found in &amp;lt;code&amp;gt;[[Game folder|&amp;lt;Dwarf Fortress&amp;gt;]]\data\vanilla\vanilla_creatures\&amp;lt;/code&amp;gt;. &lt;br /&gt;
Creature ID also used with [[graphics token]] to make customizable [[graphics set]].&lt;br /&gt;
&lt;br /&gt;
The [[caste]] tokens allow defining sub-species within the broader creature definition, including true biological castes and lesser variations, such as sexes. Creature tokens can either be 'Creature' or 'CASTE-only' type which can only be applied to creature or cast respectively, or 'CASTE' which can be applied to both. In the table bellow, creature type distinguish tokens that can be applied to creature only, cast only and both ('creature', 'CASTE-only', and 'CASTE' respectively)&lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
{{clear}}&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==A==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADOPTS_OWNER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Prevents tamed creature from being made available for adoption, instead allowing it to automatically adopt whoever it wants. The basic requirements for adoption are intact, and the creature will only adopt individuals who have a [[preference]] for their species. Used by [[cat]]s in the vanilla game. When {{k|v}}iewing a tame creature with this token, the message &amp;quot;This animal isn't interested in your wishes&amp;quot; will appear instead of &amp;quot;This [adorable] animal can't work&amp;quot; or &amp;quot;This animal is waiting to be trained&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALCOHOL_DEPENDENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature need [[alcohol]] to get through the working day; it will choose to drink booze instead of [[water]] if possible. Going sober for too long reduces speed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_ACTIVE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the day, night, and twilight in Adventurer Mode. Seems to be a separate value from {{token|DIURNAL|c}}/{{token|NOCTURNAL|c}}/{{token|CREPUSCULAR|c}}, rather than implying them.{{verify|code}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALTTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| If set, the creature will blink between its {{token|TILE|c}} and its ALTTILE. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHPREDATOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on {{token|LARGE_PREDATOR|c}}s who ambush their prey. Instead of charging relentlessly at prey, the predator will wait till the prey is within a few squares before charging. May or may not work on other creatures. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMPHIBIOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to breathe both in and out of [[water]] (unlike {{token|AQUATIC|c}}) - does not prevent drowning in [[magma]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_DESC_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*Range (6 values, low to high)&lt;br /&gt;
| [http://www.bay12forums.com/smf/index.php?topic=113762.msg3473069#msg3473069 Forum post describing how description ranges work]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_GENETIC_MODEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*Model (Accepts DOMINANT_MORE, DOMINANT_LESS, and MIX)&lt;br /&gt;
| Defines a genetic model for the relevant appearance modifier(s). May or may not do anything significant at present.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_IMPORTANCE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| Determines how important the appearance modifier is, for determining whether it shows up in the creature description.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*noun&lt;br /&gt;
*SINGULAR or PLURAL &lt;br /&gt;
| Creates a noun for the appearance, and whether it is singular or plural.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APP_MOD_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Rate (integer)&lt;br /&gt;
*Scale (DAILY, YEARLY)&lt;br /&gt;
*min (growth)&lt;br /&gt;
*max (growth)&lt;br /&gt;
*start year&lt;br /&gt;
*start day&lt;br /&gt;
*end year&lt;br /&gt;
*end day &lt;br /&gt;
| Setting the growth rate of the modifier. The last two tokens can be replaced by NO_END to have growth continue indefinitely.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPLY_CREATURE_VARIATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*creature variation ID&lt;br /&gt;
*(optional) any amount of arbitrary arguments&lt;br /&gt;
| Applies the specified [[creature variation token|creature variation]]. See [[Creature_variation_token#Arguments_and_conditional_tokens]] for how the subsequent arguments may be used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPLY_CURRENT_CREATURE_VARIATION}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| Applies the effects of all pending {{token|CV_ADD_TAG|c}} and {{token|CV_REMOVE_TAG|c}} tokens that have been defined in the current creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AQUATIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Enables the creature to breathe in water, but causes it to air-drown on dry land. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARENA_RESTRICTED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Causes the creature to be excluded from the [[object testing arena]]'s creature spawning list.  Typically applied to spoileriffic creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARTIFICIAL_HIVEABLE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Enables the creature to be kept in artificial [[hive]]s by [[beekeeper]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Prevents the creature from attacking or frightening creatures with the {{Token|NATURAL|c}} tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*token&lt;br /&gt;
*bodypart&lt;br /&gt;
*selection criteria&lt;br /&gt;
*location &lt;br /&gt;
| Defines the attack name, and the body part used. See [[#Attack Tokens|below]] for valid subtokens&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;[ATTACK:GORE:BODYPART:BY_CATEGORY:HORN]&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
''GORE'' = name of the attack&amp;lt;br /&amp;gt;&lt;br /&gt;
''BODYPART:BY_CATEGORY:HORN'' = the horn is used to attack (presuming the creature has one)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_TRIGGER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*population&lt;br /&gt;
*exported wealth&lt;br /&gt;
*created wealth&lt;br /&gt;
| Specifies when a [[megabeast]] or [[semi-megabeast]] will attack the fortress. The attacks will start occuring when at least one of the requirements is met. Setting a value to 0 disables the trigger.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==B==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Age at which creature is considered a child, the default is zero. One can think of this as the duration of the baby stage.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYNAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Defines a new name for a creature in baby state at the caste level. For non-caste-specific baby names, see {{token|GENERAL_BABY_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BEACH_FREQUENCY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Creature may be subject to [[beaching]], becoming stranded on [[Beach|shores]], where they will eventually air-drown. The number indicates the frequency of the occurrence. Presumably requires the creature to be {{token|AQUATIC|c}}. Used by [[orca]]s, [[sperm whale]]s and [[sea nettle jellyfish]] in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BENIGN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is non-aggressive by default, and will never automatically be engaged by companions or soldiers, running away from any creatures that are not friendly to it, and will only defend itself if it becomes enraged. Can be thought of as the counterpoint of the {{token|LARGE_PREDATOR|c}} tag. When tamed, animals with this tag will be useless for fortress defense.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
* [[biome token]]&lt;br /&gt;
| Select a [[biome]] the creature may appear in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| Specifies what the creature's blood is made of.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOODSUCKER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Causes [[vampire]]-like behaviour; the creature will suck the [[Creature_token#BLOOD|blood]] of unconscious victims when its [[Syndrome#TIME_SINCE_SUCKED_BLOOD|thirst for blood]] grows sufficiently large. When controlling the creature in adventure mode, this can be done at will. Seems to be required to make the creature denouncable (in-world) as a creature of the night.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*body parts &lt;br /&gt;
| Draws body parts from OBJECT:BODY files (such as body_default.txt)&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY:BODY_WITH_HEAD_FLAG:HEART:GUTS:BRAIN:MOUTH] &amp;lt;br /&amp;gt;&lt;br /&gt;
This is the body from a [[purring maggot]]. It creates a body with head, a heart, some guts, a brain, and a mouth. That's all a maggot needs.&lt;br /&gt;
&lt;br /&gt;
'''If the body is left undefined, the creature will cause a crash whenever it spawns.''' {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ATTRIBUTE&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| These body modifiers give individual creatures different characteristics. In the case of HEIGHT, BROADNESS and LENGTH, the modifier is also a percentage change to the BODY_SIZE of the individual creature. The seven numbers afterward give a distribution of ranges. Each interval has an equal chance of occurring.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] &amp;lt;br /&amp;gt;&lt;br /&gt;
''HEIGHT'' : marks the height to be changed &amp;lt;br /&amp;gt;&lt;br /&gt;
''90:95:98:100:102:105:110'' : sets the range from the shortest (90% of the average height) to the tallest (110% of the average height) creature variation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_DETAIL_PLAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*PlanName&lt;br /&gt;
*Arguments &lt;br /&gt;
| Loads a plan from listed OBJECT:BODY_DETAIL_PLAN files, such as b_detail_plan_default.txt. Mass applies USE_MATERIAL_TEMPLATE, mass alters RELSIZE, alters body part positions, and will allow tissue layers to be defined. Tissue layers are defined in order of skin to bone here.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] &amp;lt;br /&amp;gt;&lt;br /&gt;
This creates the detailed body of a [[fox]], the skin, fat, muscle, bones and cartilage out of the vertebrate tissues.&amp;lt;br /&amp;gt;&lt;br /&gt;
A [[Purring maggot|maggot]] would only need:&amp;lt;br /&amp;gt;&lt;br /&gt;
''[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SKIN:FAT:MUSCLE]'' &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*years&lt;br /&gt;
*days&lt;br /&gt;
*size &lt;br /&gt;
| Sets size at a given age. Size is in cubic centimeters, and for normal body materials, is roughly equal to the creature's average weight in grams.&lt;br /&gt;
'''Example:'''&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:0:0:10000]&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:1:168:50000]&amp;lt;br /&amp;gt;&lt;br /&gt;
[BODY_SIZE:12:0:220000]&amp;lt;br /&amp;gt;&lt;br /&gt;
This describes the size of a [[minotaur]]. Its birth size would be 10,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (~10 kg). At 1 year and 168 days old it would be 50,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; (~50 kg). And as an adult (at 12 years old) it would be 220,000 cm&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; and weigh roughly 220 kg.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODYGLOSS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*gloss &lt;br /&gt;
| Substitutes body part text with replacement text. Draws gloss information from OBJECT:BODY files (such as body_default.txt)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BONECARN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature eats bones. Implies {{token|CARNIVORE|c}}. [[Adventurer mode|Adventurers]] with this token are currently unable to eat bones.{{Bug|11069}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_ADD_TYPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Adds a type to a body part - used with {{token|SET_BP_GROUP|c}}. In vanilla DF, this is used for adding the type '[[Body token#GELDABLE|GELDABLE]]' to the lower body of certain [[cat|creatures]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*QUALITY&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up the breadth of possibilities for appearance qualities for a selected BP group. EG. Eyes (CLOSE_SET, DEEP_SET, ROUND_VS_NARROW, LARGE_IRIS),Lips (THICKNESS), Nose (BROADNESS, LENGTH, UPTURNED, CONVEX), Ear (SPLAYED_OUT, HANGING_LOBES, BROADNESS, HEIGHT), Tooth (GAPS), Skull (HIGH_CHEEKBONES, BROAD_CHIN, JUTTING CHIN, SQUARE_CHIN), Neck (DEEP_VOICE, RASPY_VOICE), Head (BROADNESS, HEIGHT)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_REMOVE_TYPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Removes a type from a body part. Used with {{token|SET_BP_GROUP|c}}. &lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDINGDESTROYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*1 or 2 &lt;br /&gt;
| Allows a creature to destroy furniture and buildings. Value [1] targets mostly doors, hatches, furniture and the like. Value [2] targets anything not made with the {{k|b}} + {{k|C}} commands. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==C==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_DO_INTERACTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*interaction token&lt;br /&gt;
| The creature can perform an interaction. See [[interaction token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_LEARN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature gains [[skill]]s and can have [[labor|professions]]. If a member of a civilization (even a pet) has this token, it'll need to eat, drink and sleep. Note that this token makes the creature unable to be eaten by an adventurer, so it is not recommended for uncivilized monsters. Adventurers lacking this token can allocate but not increase attributes and skills. Skills allocated will disappear on start.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_SPEAK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can [[talking|talk]]. Note that this is not necessary for a creature to gain social skills.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_CLIMB}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot [[climber|climb]], even if it has free grasp parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_JUMP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot [[jump]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANNOT_UNDEAD}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Acts like {{token|NOT_LIVING|c}}, except that {{token|OPPOSED_TO_LIFE|c}} creatures will attack them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CANOPENDOORS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to open [[door]]s that are set to be unpassable for pets. In adventure mode, creatures lacking this token will be unable to pass through door tiles except whilst these are occupied by other creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CARNIVORE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature ''only'' eats [[meat]]. If the creature goes on rampages in worldgen, it will often devour the people/animals it kills. Does not seem to affect the diet of the adventurer in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*name &lt;br /&gt;
| Defines a [[caste]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_ALTTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*tile number or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|ALTTILE|c}}. Requires {{token|CASTE_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*fg&lt;br /&gt;
*bg&lt;br /&gt;
*brightness&lt;br /&gt;
| Caste-specific {{token|COLOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_GLOWCOLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*fg&lt;br /&gt;
*bg&lt;br /&gt;
*brightness&lt;br /&gt;
| Caste-specific {{token|GLOWCOLOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_GLOWTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*tile value or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|GLOWTILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_NAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
*adjective &lt;br /&gt;
| Caste-specific {{token|NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_PROFESSION_NAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Unit type token]] (Profession)&lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Caste-specific {{token|PROFESSION_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SOLDIER_ALTTILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Caste-specific {{token|SOLDIER_ALTTILE|c}}. Requires {{token|CASTE_SOLDIER_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SOLDIER_TILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Caste-specific {{token|CREATURE_SOLDIER_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_SPEECH}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*speech file&lt;br /&gt;
| Caste-specific {{token|SPEECH|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CASTE_TILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* tile number or &amp;quot;letter&amp;quot;&lt;br /&gt;
| Caste-specific {{token|CREATURE_TILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAVE_ADAPT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Gives the creature a bonus in caves. Also causes [[cave adaptation]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CDI}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Varies&lt;br /&gt;
| Specifies details for the preceding {{token|CAN_DO_INTERACTION|c}} token. See [[interaction token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHANGE_BODY_SIZE_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Multiplies body size by a factor of (integer)%. 50 halves size, 200 doubles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHANGE_FREQUENCY_PERC}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*integer&lt;br /&gt;
| Multiplies frequency by a factor of (integer)%.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHILD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Age at which creature is considered an adult - one can think of this as the duration of the [[children|child]] stage. Allows the creature's offspring to be rendered fully tame if [[animal trainer|trained]] during their childhood. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHILDNAME}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Defines a new name for a creature in the child state at the caste level. For non-caste-specific child names, see {{token|GENERAL_CHILD_NAME|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_NUMBER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| The minimum/maximum numbers of how many creatures per spawned cluster. Certain vermin fish use this token in combination with temperate ocean and river biome tokens to perform seasonal migrations. Defaults to 1:1 if not specified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUTCH_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
|Number of [[egg]]s laid in one sitting.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLONY_EXTERNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Caste hovers around colony.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*brightness &lt;br /&gt;
| Color of the creature's tile. See [[Color]] for usage.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| When combined with any of {{token|PET|c}}, {{token|PACK_ANIMAL|c}}, {{token|WAGON_PULLER|c}} and/or {{token|MOUNT|c}}, the creature is guaranteed to be domesticated by any [[civilization]] with {{token|COMMON_DOMESTIC_PET|e}}, {{token|COMMON_DOMESTIC_PACK|e}},  {{token|COMMON_DOMESTIC_PULL|e}} and/or {{token|COMMON_DOMESTIC_MOUNT|e}} respectively. Such civilizations will always have access to the creature, even in the absence of wild populations. This token is invalid on {{token|FANCIFUL|c}} creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONVERTED_SPOUSE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creatures of this caste's species with the {{token|SPOUSE_CONVERTER|c}} and {{token|NIGHT_CREATURE_HUNTER|c}} tokens will kidnap {{token|SPOUSE_CONVERSION_TARGET|c}}s of an appropriate sex and convert them into castes with CONVERTED_SPOUSE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COOKABLE_LIVE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Set this to allow the creature to be cooked in meals without first being butchered/cleaned. Used by some water-dwelling vermin such as [[mussel]]s, [[nautilus]]es and [[oyster]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CRAZED}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature is '[[insanity|berserk]]' and will attack all other creatures, except members of its own species that '''also''' have the CRAZED tag. It will show {{DFtext|Berserk|4:1}} in the [[unit list]]. Berserk creatures go on rampages during [[world generation|worldgen]] much more frequently than non-berserk ones.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COPY_TAGS_FROM}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*creature ID&lt;br /&gt;
| Copies creature tags, but not caste tags, from another specified creature. Used when making creature variations (i.e. giant animals and [[animal people]]). Often used in combination with {{token|APPLY_CREATURE_VARIATION|c}} to import standard variations from a file. Variations are documented in c_variation_default.txt, which also contains the code for giant animals and animal people.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*creature ID&lt;br /&gt;
| A unique, arbitrary identifier that begins the definition of each new creature, and is used to reference the creature in other tokens and raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*classname&lt;br /&gt;
| An arbitrary creature classification. Can be set to anything, but the only vanilla uses are GENERAL_POISON (used in syndromes), EDIBLE_GROUND_BUG (used as targets for {{token|GOBBLE_VERMIN_CLASS|c}}), MAMMAL, and POISONOUS (both used for kobold pet eligibility). A single creature can have multiple classes.&lt;br /&gt;
&lt;br /&gt;
The full list of tokens that use creature classes is: &lt;br /&gt;
&lt;br /&gt;
* Creature tokens: {{token|GOBBLE_VERMIN_CLASS|c}}, {{token|GOBBLE_VERMIN_CLASS|c}}&lt;br /&gt;
* Interaction tokens: {{token|IT_AFFECTED_CLASS|in}}, {{token|IT_IMMUNE_CLASS|in}}&lt;br /&gt;
* Animal definition (Entity) tokens: {{token|ANIMAL_CLASS|e}}, {{token|ANIMAL_FORBIDDEN_CLASS|e}}&lt;br /&gt;
* Position (Entity) token: {{token|ALLOWED_CLASS|po}}&lt;br /&gt;
* Syndrome tokens: {{token|SYN_AFFECTED_CLASS|sy}}, {{token|SYN_IMMUNE_CLASS|sy}}, {{token|CE_SENSE_CREATURE_CLASS|sy}}&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_SOLDIER_TILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| Creatures active in their civilization's [[military]] will use this tile instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE_TILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number &lt;br /&gt;
| The symbol of the creature in ASCII mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREPUSCULAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active at twilight in adventurer mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_EATER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to [[Steals food|steal and eat edible items]] from a site. It will attempt to grab a food item and immediately make its way to the map's edge, where it will disappear with it. If the creature goes on rampages during worldgen, it will often steal food instead of attacking. Trained and tame instances of the creature will no longer display this behavior.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_GUZZLER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to (very quickly) [[Steals drink|drink your alcohol]]. Or spill the barrel to the ground. Also affects undead versions of the creature. Unlike food or item thieves, drink thieves will consume your alcohol on the spot rather than run away with one piece of it. Trained and tame instances of the creature will no longer display this behavior.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURIOUSBEAST_ITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to [[Steals items|steal things]] (apparently, of the highest value it can find). It will attempt to grab an item of value and immediately make its way to the map's edge, where it will disappear with it. If a creature with this token carries anything off the map, even if it is a caravan's pack animal, it will be reported as stealing everything it carries. If the creature goes on rampages in worldgen, it will often steal items instead of attacking - [[kea]] birds are infamous for this. Trained and tame instances of the creature will no longer display this behavior. Also, makes the creature unable to drop hauled items until it enters combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_ADD_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*TAG NAME &lt;br /&gt;
| Adds a tag. Used in conjunction with creature variation templates.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_REMOVE_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
| &lt;br /&gt;
*TAG NAME &lt;br /&gt;
| Removes a tag. Used in conjunction with creature variation templates. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==D==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMON}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on generated [[demon]]s. Marks the caste to be used in the initial wave after breaking into the [[underworld]], and by the demon civilizations created during world-gen breachings{{verify}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*text &lt;br /&gt;
| A brief description of the creature type, as displayed when viewing the creature's description/[[Thoughts and preferences|thoughts &amp;amp; preferences]] screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIE_WHEN_VERMIN_BITE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Causes the creature to die upon attacking. Used by [[honey bee]]s to simulate them dying after using their stingers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIFFICULTY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*integer &lt;br /&gt;
| Increases experience gain during adventure mode. Creatures with a difficulty of 11 or higher are not assigned for quests in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIURNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the day in Adventurer Mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIVE_HUNTS_VERMIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature hunts vermin by diving from the air. On tame creatures, it has the same effect as {{token|HUNTS_VERMIN|c}}. Found on [[peregrine falcon]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DOES_NOT_EXIST}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Adding this token to a creature prevents it from appearing in generated worlds (unless it's marked as [[Entity_token#ANIMAL_ALWAYS_PRESENT|always present]] for a particular civilisation). For example, adding it to [[dog]]s will lead to worlds being generated without dogs in them. Also removes the creature from the [[object testing arena]]'s spawn list. If combined with {{token|FANCIFUL|c}}, artistic depictions of the creature will occur regardless. Used by [[centaur]]s, [[chimera]]s and [[griffon]]s in the vanilla game. &lt;br /&gt;
&lt;br /&gt;
Note: a creature tagged as DOES_NOT_EXIST can still be [[Interaction_token#I_EFFECT|summoned]] successfully, as long as it has a body defined in its raws. [http://www.bay12forums.com/smf/index.php?topic=165213.msg8086938#msg8086938]. It's also possible for another creature to [[Syndrome#CE_BODY_TRANSFORMATION|transform]] into it.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==E==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EBO_ITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[item token]]&lt;br /&gt;
*[[material token]] (ANY_HARD_STONE can be used for the material)&lt;br /&gt;
| Defines the item that the creature drops upon being [[butcher|butchered]]. Used with {{token|EXTRA_BUTCHER_OBJECT|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EBO_SHAPE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*gem shape&lt;br /&gt;
| The shape of the creature's extra [[butcher|butchering]] drop. Used with {{token|EXTRA_BUTCHER_OBJECT|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EGG_MATERIAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| Defines the material composition of [[egg]]s laid by the creature. [[creature_token#LAYS_EGGS|Egg-laying]] creatures in the default game define this 3 times, using LOCAL_CREATURE_MAT:EGGSHELL, LOCAL_CREATURE_MAT:EGG_WHITE, and then LOCAL_CREATURE_MAT:EGG_YOLK. Eggs will be made out of eggshell. Edibility is determined by tags on whites or yolk, but they otherwise do not exist.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EGG_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*size&lt;br /&gt;
| Determines the size of laid [[egg]]s. Doesn't affect hatching or cooking, but bigger eggs will be heavier, and may take longer to be hauled depending on the hauler's strength.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_WAGON}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature appear as a large 3x3 [[wagon]] responsible for carrying trade goods, pulled by two {{token|WAGON_PULLER|c}} creatures and driven by a merchant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to wear or wield items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVIL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature is considered evil and will only show up in evil biomes. Civilizations with {{token|USE_EVIL_ANIMALS|e}} can domesticate them regardless of exotic status. Has no effect on cavern creatures except to restrict taming. A civilization with evil creatures can colonise evil areas.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRA_BUTCHER_OBJECT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
* TYPE, CATEGORY, or TOKEN&lt;br /&gt;
| The creature drops an additional object when [[butcher|butchered]], as defined by {{token|EBO_ITEM|c}} and {{token|EBO_SHAPE|c}}. Used for [[gizzard stone]]s in default creatures. For some materials, needs to be defined after caste definitions with SELECT_CASTE:ALL{{Bug|6355}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Defines a creature extract which can be obtained via [[small animal dissection]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRAVISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature can see regardless of whether it has working eyes and has full 360 degree vision, making it impossible to strike the creature from a blind spot in combat. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==F==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FANCIFUL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature is a thing of legend and known to all civilizations. Its materials cannot be requested or preferred. The tag also adds some art value modifiers. Used by a [[Fanciful|number of creatures]]. Conflicts with {{token|COMMON_DOMESTIC|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEATURE_ATTACK_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[Animal people#Subterranean animal people|subterranean animal-man]] tribals. Currently defunct. In previous versions{{verify}}, it caused these creatures to crawl out of chasms and underground rivers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEATURE_BEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[forgotten beast]]s. Presumably makes it act as such, initiating underground attacks on fortresses, or leads to the pop-up message upon encountering one{{verify}}. Hides the creature from displaying in a world_sites_and_pops file. Does not create historical figures like generated forgotten beasts do.&lt;br /&gt;
&lt;br /&gt;
Requires specifying a {{token|BIOME|c}} in which the creature will live, and both surface and subterranean biomes are allowed. Does not stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will not spawn. Appears to be incompatible with {{token|DEMON|c}} even if used in separate castes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FEMALE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature biologically female, enabling her to [[Breeding|bear young]]. Usually specified inside a caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIREIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature immune to [[Interaction_token#FIREBALL|FIREBALL]] and [[Interaction_token#FIREJET|FIREJET]] attacks, and allows it to path through high temperature zones, like lava or fires. Does not, by itself, make the creature immune to the damaging effects of burning in [[fire]], and does not prevent general heat damage or melting on its own (this would require adjustments to be made to the creature's body [[Material_definition_token|materials]] - see the [[Dragon/raw|dragon raws]] for an example).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIREIMMUNE_SUPER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Like {{token|FIREIMMUNE|c}}, but also renders the creature immune to [[Interaction_token#DRAGONFIRE|DRAGONFIRE]] attacks. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FISHITEM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature's corpse is a single [[Item_token#FISH_RAW|FISH_RAW]] food item that needs to be cleaned (into a [[Item_token#FISH|FISH]] item) at a [[fishery]] to become edible. Before being cleaned the item is referred to as &amp;quot;raw&amp;quot;. The food item is categorized under &amp;quot;fish&amp;quot; on the food and stocks screens, and when uncleaned it is sorted under &amp;quot;raw fish&amp;quot; in the stocks (but does not show up on the food screen). &lt;br /&gt;
Without this or {{token|COOKABLE_LIVE|c}}, [[fishing|fished]] vermin will turn into food the same way as non-vermin creatures, resulting in multiple units of food (meat, brain, lungs, eyes, spleen etc.) from a single fished vermin. These units of food are categorized as meat by the game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FIXED_TEMP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*temperature &lt;br /&gt;
| The creature's body is constantly at this temperature, heating up or cooling the surrounding area. Alters the temperature of the creature's inventory and all adjacent tiles, [[Temperature|with all the effects that this implies]] - may trigger wildfires at high enough values. Also makes the creature immune to extreme heat or cold, as long as the temperature set is not harmful to the materials that the creature is made from.&lt;br /&gt;
&lt;br /&gt;
Note that temperatures of 12000 and higher may cause [[path|pathfinding]] issues in fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLEEQUICK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| If engaged in combat, the creature will flee at the first sign of resistance. Used by [[kobold]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows a creature to fly, independent of it having wings or not. Fortress Mode pathfinding only partially incorporates flying - flying creatures need a land path to exist between them and an area in order to access it, but as long as one such path exists, they do not need to use it, instead being able to fly over intervening obstacles. Winged creatures with this token can lose their ability to fly if their wings are crippled or severed. Winged creatures without this token will be unable to fly. (A 'wing' in this context refers to any body part with its own [[Body_token#FLIER|FLIER]] token).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*number, max 100&lt;br /&gt;
| Determines the chances of a creature appearing within its environment, with higher values resulting in more frequent appearance. Also affects the chance of a creature being brought in a caravan for trading. The game effectively considers all creatures that can possibly appear and uses the FREQUENCY value as a ''weight'' - for example, if there are three creatures with frequencies 10/25/50, the creature with [FREQUENCY:50] will appear approximately 58.8% of the time. Defaults to 50 if not specified. Not to be confused with {{token|POP_RATIO|c}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==G==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GAIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;gait type&amp;gt;&lt;br /&gt;
* &amp;lt;gait name&amp;gt;&lt;br /&gt;
* &amp;lt;max [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;build up time&amp;gt;&lt;br /&gt;
* &amp;lt;max turning [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;start [[Gait#Speed|speed]]&amp;gt;&lt;br /&gt;
* &amp;lt;energy expenditure&amp;gt;&lt;br /&gt;
* &amp;lt;gait flag(s)&amp;gt;&lt;br /&gt;
| Defines a gait by which the creature can move. See [[Gait]] for more information.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;max speed&amp;gt; indicates the maximum [[Gait#Speed|speed]] achievable by a creature using this gait&lt;br /&gt;
* &amp;lt;start speed&amp;gt; indicates the creature's speed when it starts moving using this gait&lt;br /&gt;
* &amp;lt;build up time&amp;gt; indicates how long it will take for a creature using this gait to go from &amp;lt;start speed&amp;gt; to &amp;lt;max speed&amp;gt;. For example, a value of 10 means that it should be able to reach the maximum speed by moving 10 [[tile]]s in a straight line over even terrain.&lt;br /&gt;
* &amp;lt;max turning speed&amp;gt; indicates the maximum speed permissible when the creature suddenly changes its direction of motion. The creature's speed will be reduced to &amp;lt;max turning speed&amp;gt; if travelling at a higher speed than this before turning.&lt;br /&gt;
* &amp;lt;energy expenditure&amp;gt; indicates how energy-consuming the gait is. Higher values cause the creature to tire out faster. Persistent usage of a high-intensity gait will eventually lead to exhaustion and [[Status_icon#Non-flashing|collapse]].&lt;br /&gt;
&lt;br /&gt;
'''NO_BUILD_UP''' can be specified instead of a &amp;lt;start speed&amp;gt; value to make the &amp;lt;max speed&amp;gt; instantly achievable upon initiating movement (this is equivalent to a &amp;lt;build up time&amp;gt; of 0). Note that &amp;lt;build up time&amp;gt; and &amp;lt;max turning speed&amp;gt; are both ignored if specified alongside this (as NO_BUILD_UP trumps &amp;lt;build up time&amp;gt; and preserves &amp;lt;max speed&amp;gt; whilst turning, and &amp;lt;max turning speed&amp;gt; cannot exceed &amp;lt;max speed&amp;gt;) so it is permissible to omit them so long as they are '''both''' omitted together.&lt;br /&gt;
&lt;br /&gt;
It's possible to specify a &amp;lt;start speed&amp;gt; greater than the &amp;lt;max speed&amp;gt;; the moving creature will decelerate towards its &amp;lt;max speed&amp;gt; in this case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''valid gait types:'''&lt;br /&gt;
*'''WALK'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving normally over ground tiles.&lt;br /&gt;
&lt;br /&gt;
*'''CRAWL'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving over ground tiles whilst [[Status_icon#Non-flashing|prone]].&lt;br /&gt;
&lt;br /&gt;
*'''SWIM'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving through tiles containing [[water]] or [[magma]] at a [[Water#Depth|depth]] of at least 4/7. &lt;br /&gt;
&lt;br /&gt;
*'''FLY'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving through [[open space]].&lt;br /&gt;
&lt;br /&gt;
*'''CLIMB'''&amp;lt;br&amp;gt;&lt;br /&gt;
Used for moving whilst [[Climber|climbing]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''valid gait flags:'''&lt;br /&gt;
* '''AGILITY'''&amp;lt;br&amp;gt;&lt;br /&gt;
Speeds/slows movement depending on the creature's [[Attribute#Agility|Agility]] stat.&lt;br /&gt;
&lt;br /&gt;
* '''STRENGTH'''&amp;lt;br&amp;gt;&lt;br /&gt;
Speeds/slows movement depending on the creature's [[Attribute#Strength|Strength]] stat.&lt;br /&gt;
&lt;br /&gt;
* '''LAYERS_SLOW'''&amp;lt;br&amp;gt;&lt;br /&gt;
Makes [[Tissue_definition_token#THICKENS_ON_ENERGY_STORAGE|THICKENS_ON_ENERGY_STORAGE]] and [[Tissue_definition_token#THICKENS_ON_STRENGTH|THICKENS_ON_STRENGTH]] tissue layers slow movement depending on how thick they are. Adding the STRENGTH gait flag counteracts the impact of the latter layer.&lt;br /&gt;
&lt;br /&gt;
* '''STEALTH_SLOWS:'''&amp;lt;percentage&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Slows movement by the specified percentage when the creature is [[Ambusher|sneaking]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_BABY_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Like {{token|BABYNAME|c}}, but applied regardless of caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_CHILD_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| Like {{token|CHILDNAME|c}}, but applied regardless of caste.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERAL_MATERIAL_FORCE_MULTIPLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value A&lt;br /&gt;
*value B&lt;br /&gt;
| Has the same function as {{token|MATERIAL_FORCE_MULTIPLIER|c}}, but applies to all attacks instead of just those involving a specific material. Appears to be overridden by MATERIAL_FORCE_MULTIPLIER ([[werebeast]]s, for example, use both tokens to provide resistance to all materials, with one exception to which they are especially vulnerable).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Found on procedurally generated creatures like [[forgotten beast]]s, [[titan]]s, [[demon]]s, [[angel]]s, and [[night creature]]s. Cannot be specified in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GETS_INFECTIONS_FROM_ROT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature get [[Health_care#Infection|infections]] from necrotic tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GETS_WOUND_INFECTIONS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature's wounds become [[Health_care#Infection|infected]] if left untreated for too long.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOWCOLOR}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*brightness &lt;br /&gt;
| The colour of the creature's {{token|GLOWTILE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOWTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*ascii character &lt;br /&gt;
| If present, the being glows in the dark (generally used for Adventurer Mode). The tile is what replaces the being's current tile when it is obscured from your sight by darkness. The default setting for kobolds (a yellow quotation mark) provides a nice &amp;quot;glowing eyes&amp;quot; effect. The game is also hardcoded to automatically convert quotation mark GLOWTILES into apostrophes if the creature has lost one eye. This works at the generic creature level - for caste-specific glow tiles, use {{token|CASTE_GLOWTILE|c}} instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GNAWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*verb&lt;br /&gt;
| The creature can and will gnaw its way out of [[animal trap]]s and [[cage]]s using the specified verb, depending on the material from which it is made (normally wood).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOBBLE_VERMIN_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*class&lt;br /&gt;
| The creature eats vermin of the specified class.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOBBLE_VERMIN_CREATURE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*creature&lt;br /&gt;
*caste&lt;br /&gt;
| The creature eats a specified [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_END}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags at the end of the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_START}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags at the beginning of the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GO_TO_TAG}}&lt;br /&gt;
| Special&lt;br /&gt;
|  &lt;br /&gt;
| When using tags from an existing creature, inserts new tags after the specified tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOOD}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Creature is considered good and will only show up in good biomes - [[unicorn]]s, for example. Civilizations with {{token|USE_GOOD_ANIMALS|e}} can domesticate them regardless of exotic status. Has no effect on cavern creatures except to restrict taming. A civilization that has good creatures can colonise good areas in world-gen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASSTRAMPLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| The value determines how rapidly [[grass]] is trampled when a creature steps on it - a value of 0 causes the creature to never damage grass, while a value of 100 causes grass to be trampled as rapidly as possible. Defaults to 5.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRAVITATE_BODY_SIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*target value&lt;br /&gt;
| Used in Creature Variants. This token changes the adult body size to the average of the old adult body size and the target value and scales all intermediate growth stages by the same factor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRAZER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| The creature is a grazer - if tamed in fortress mode, it needs a pasture to survive. The higher the number, the less frequently it needs to eat in order to live. Not used since 0.40.12, replaced by {{token|STANDARD_GRAZER|c}} to fix {{bugl|4113}}.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==H==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HABIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*type&lt;br /&gt;
*probability&lt;br /&gt;
| Defines certain behaviors for the creature. The habit types are:&lt;br /&gt;
*COLLECT_TROPHIES&lt;br /&gt;
*COOK_PEOPLE&lt;br /&gt;
*COOK_VERMIN&lt;br /&gt;
*GRIND_VERMIN&lt;br /&gt;
*COOK_BLOOD&lt;br /&gt;
*GRIND_BONE_MEAL&lt;br /&gt;
*EAT_BONE_PORRIDGE&lt;br /&gt;
*USE_ANY_MELEE_WEAPON&lt;br /&gt;
*GIANT_NEST&lt;br /&gt;
*COLLECT_WEALTH.&lt;br /&gt;
These require the creature to have a {{token|LAIR|c}} to work properly, and also don't seem to work on creatures who are not a {{token|SEMIMEGABEAST|c}}, {{token|MEGABEAST|c}} or {{token|NIGHT_CREATURE_HUNTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HABIT_NUM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number or TEST_ALL&lt;br /&gt;
| &amp;quot;If you set HABIT_NUM to a number, it should give you that exact number of habits according to the weights.&amp;quot;.{{cite forum|60554/1719248}} All lists of HABITs are preceded by [HABIT_NUM:TEST_ALL]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HAS_NERVES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature has nerves in its muscles. Cutting the muscle tissue can sever motor and sensory nerves.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HASSHELL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature has a shell. Seemingly no longer used - holdover from previous versions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HIVE_PRODUCT}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
*[[time]]&lt;br /&gt;
*[[item token]]s&lt;br /&gt;
| What product is harvested from [[Beekeeping industry|beekeeping]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HOMEOTHERM}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number or NONE&lt;br /&gt;
| Default 'NONE'. The creature's normal body [[temperature]]. Creature ceases maintaining temperature on death unlike fixed material temperatures. Provides minor protection from environmental temperature to the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HUNTS_VERMIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creature hunts and kills nearby [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==I==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOBILE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature cannot move. Found on [[sponge]]s. Will also stop a creature from breeding in fortress mode (MALE and FEMALE are affected, if one is IMMOBILE no breeding will happen).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOBILE_LAND}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is immobile while on land. Only works on {{token|AQUATIC|c}} creatures which can't breathe on land.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMMOLATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature radiates [[fire]]. It will ignite, and potentially completely destroy, items the creature is standing on. Also gives the vermin a high chance of escaping from [[animal trap]]s and [[cage]]s made of any flammable materials (specifically ones that could be ignited by magma).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INTELLIGENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Alias for {{token|CAN_SPEAK|c}} + {{token|CAN_LEARN|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEMCORPSE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Determines if the creature leaves behind a non-standard corpse (i.e. wood, statue, bars, stone, pool of liquid, etc.). [[Ethics]] may prevent actually using the item in jobs or reactions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEMCORPSE_QUALITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* number&lt;br /&gt;
| The [[quality]] of an item-type corpse left behind. Valid values are: 0 for ordinary, 1 for well-crafted, 2 for finely-crafted, 3 for superior, 4 for exceptional, 5 for masterpiece.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==L==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*type&lt;br /&gt;
*probability&lt;br /&gt;
| Found on megabeasts, semimegabeasts, and night creatures. The creature will seek out sites of this type and take them as lairs. The lair types are:&lt;br /&gt;
*SIMPLE_BURROW&lt;br /&gt;
*SIMPLE_MOUND&lt;br /&gt;
*WILDERNESS_LOCATION&lt;br /&gt;
*SHRINE&lt;br /&gt;
*LABYRINTH&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_CHARACTERISTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*characteristic&lt;br /&gt;
*probability&lt;br /&gt;
| Defines certain features of the creature's lair. The only valid characteristic is HAS_DOORS.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_HUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| This creature will actively hunt adventurers in its lair.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAIR_HUNTER_SPEECH}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*speech file&lt;br /&gt;
| What this creature says while hunting adventurers in its lair.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LARGE_PREDATOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Will attack things that are smaller than it (like dwarves). Only one group of &amp;quot;large predators&amp;quot; (possibly two groups on &amp;quot;savage&amp;quot; maps) will appear on any given map. In adventure mode, large predators will try to ambush and attack you (and your party will attack them back). When tamed, large predators tend to be much more aggressive to enemies than non-large predators, making them a good choice for an animal army. They may go on rampages in worldgen, and adventurers may receive quests to kill them. Also, they can be mentioned in the intro paragraph when starting a fortress e.g. &amp;quot;ere the wolves get hungry.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LARGE_ROAMING}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| This is the core requisite tag allowing the creature to spawn as a wild animal in the appropriate biomes. Requires specifying a {{token|BIOME|c}} in which the creature will spawn. Does not require specifying a frequency, population number, or cluster number.&lt;br /&gt;
&lt;br /&gt;
This tag stacks with {{token|MEGABEAST|c}}, {{token|SEMIMEGABEAST|c}}, or {{token|NIGHT_CREATURE_HUNTER|c}}; if used with one of these tags, the creature will spawn as both a boss and as a wild animal. This tag does not stack with {{token|FEATURE_BEAST|c}} and if both are used the creature will not spawn. This tag is uneffected by {{token|DEMON|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYS_EGGS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creature lays [[egg]]s instead of giving birth to live young.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYS_UNUSUAL_EGGS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Creature lays the specified item instead of regular eggs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIGAMENTS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
*healing rate &lt;br /&gt;
| The creature has ligaments in its {{token|CONNECTIVE_TISSUE_ANCHOR|td}} tissues (bone or chitin by default). Cutting the bone/chitin tissue severs the ligaments, disabling motor function if the target is a limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIGHT_GEN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will generate light, such as in adventurer mode at night. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_FIGHTING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will attack enemies rather than flee from them. This tag has the same effect on player-controlled creatures - including modded dwarves. Retired as of v0.40.14 in favor of {{token|LARGE_PREDATOR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LISP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature uses &amp;quot;sssssnake talk&amp;quot; (multiplies 'S' when talking - &amp;quot;My name isss Recisssiz.&amp;quot;). Used by [[Serpent man|serpent men]] and [[Reptile man|reptile men]] in the vanilla game. C's with the same pronunciation (depending on the word) are not affected by this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LITTERSIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* minimum&lt;br /&gt;
* maximum&lt;br /&gt;
| Determines the number of offspring per one birth.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_POPS_CONTROLLABLE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Allows you to play as a wild animal of this species in adventurer mode. Prevents trading of (tame) instances of this creature in caravans.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_POPS_PRODUCE_HEROES}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Wild animals of this species may occasionally join a civilization. Prevents trading of (tame) instances of this creature in caravans.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCKPICKER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Lets a creature open [[door]]s that are set to forbidden in fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOOSE_CLUSTERS}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creatures will scatter if they have this tag, or form tight packs if they don't. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOW_LIGHT_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| Determines how well a creature can see in the dark - higher is better. Dwarves have 10000, which amounts to perfect nightvision.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==M==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAGICAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| According to Toady One, this is completely interchangeable with {{token|AT_PEACE_WITH_WILDLIFE|c}} and might have been used in very early versions of the game by wandering wizards or the ent-type tree creatures that used to be animated by elves. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8316954#msg8316954]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAGMA_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is able to see while submerged in [[magma]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MALE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature biologically male. Usually declared inside a caste.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text anchor|MANNERISM|MANNERISM_*}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*occasionally body part &lt;br /&gt;
| Adds a possible mannerism to the creature's profile.  See [[creature mannerism token]] for further info.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*material id&lt;br /&gt;
| Begins defining a new material.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_FORCE_MULTIPLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Material token]]&lt;br /&gt;
*value A&lt;br /&gt;
*value B&lt;br /&gt;
| When struck with a weapon made of the specified material, the force exerted will be multiplied by A/B, thus making the creature more or less susceptible to this material. For example, if A is 2 and B is 1, the force exerted by the defined material will be doubled. If A is 1 and B is 2, it will be halved instead. See also  {{token|GENERAL_MATERIAL_FORCE_MULTIPLIER|c}}, which can be used to make this sort of effect applicable to all materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATUTINAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Sets the creature to be active at dawn in adventurer mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAXAGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| Determines the creature's natural lifespan, using the specified minimum and maximum age values (in years). Each individual creature with this token is generated with a predetermined date (calculated down to the exact [[time|tick]]!) between these values, at which it is destined to die of old age, should it live long enough. Note that the probability of death at any given age does not increase as the creature gets older [http://i.imgur.com/A1A4aA9.png]. &lt;br /&gt;
Creatures which lack this token are naturally immortal. The [[Syndrome#CE_ADD_TAG|NO_AGING]] syndrome tag will prevent death by old age from occurring. Also note that, among civilized creatures, castes which lack this token will refuse to marry others with it, and vice versa.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEANDERER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the creature slowly stroll around, unless it's in combat or performing a job. If combined with {{token|CAN_LEARN|c}}, will severely impact their [[pathfinding]] and lead the creature to move extremely slowly when not performing any task. Problematically applies to animal people based on the animal and war trained animals{{bug|9588}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEGABEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| A 'boss' creature. A small number of the creatures are created during worldgen, their histories and descendants (if any) will be tracked in worldgen (as opposed to simply 'spawning'), and they will occasionally go on rampages, potentially leading to worship if they attack the same place multiple times. Their presence and number will also influence age names. When appearing in fortress mode, they will have a pop-up message announcing their arrival. They will remain hostile to military even after being tamed.{{bug|10731}} See [[megabeast]] page for more details. &lt;br /&gt;
&lt;br /&gt;
Requires specifying a {{token|BIOME|c}} in which the creature will live. Subterranean biomes appear to not be allowed. Does stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will spawn as both historical bosses and as wild animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_CAP_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*Cap %&lt;br /&gt;
|Default is 200.  This means you can increase your attribute to 200% of its starting value (or the average value + your starting value if that is higher).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]]&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up a [[Attribute#Soul_attributes|mental attribute]]'s range of values (0-5000). All mental attribute ranges default to 200:800:900:1000:1100:1300:2000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENT_ATT_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*cost to improve&lt;br /&gt;
*unused counter rate&lt;br /&gt;
*rust counter rate&lt;br /&gt;
*demotion counter rate&lt;br /&gt;
| [[Attribute#Soul_attributes|Mental attribute]] gain/decay rates. Lower numbers in the last three slots make decay occur faster. Defaults are 500:4:5:4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILKABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Allows the creature to be [[milk]]ed in the [[farmer's workshop]]. The frequency is the amount of [[time|ticks]] the creature needs to &amp;quot;recharge&amp;quot; (i.e. how much time needs to pass before it can be milked again). Does not work on [[#CAN_LEARN|sentient]] creatures, regardless of [[ethics]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MISCHIEVIOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Alias for {{token|MISCHIEVOUS|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MISCHIEVOUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature spawns [[stealth]]ed and will attempt to path into the fortress, pulling any [[lever]]s it comes across. It will be invisible on the map and [[unit list]] until spotted by a citizen, at which point the game will pause and recenter on the creature. Used by [[gremlin]]s in the vanilla game. &amp;quot;They go on little missions to mess with various fortress buildings, not just levers.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MODVALUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Seemingly no longer used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUNT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature may be used as a [[mount]]. No use for the player in fortress mode, but enemy sieging forces may arrive with cavalry. Mounts are usable in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUNT_EXOTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature may be used as a [[mount]], but civilizations cannot domesticate it in worldgen without certain exceptions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MULTIPART_FULL_VISION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to have all-around vision as long as it has multiple heads that can see.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MULTIPLE_LITTER_RARE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Makes the species usually produce a single offspring per birth, occasionally producing twins or triplets with a 1/500 chance.  Requires {{token|FEMALE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MUNDANE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| Marks if the creature is an actual real-life creature. Only used for age-names at present.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==N==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
*adjective &lt;br /&gt;
| The generic name for any creature of this type - will be used when distinctions between caste are unimportant. For names for specific castes, use {{token|CASTE_NAME|c}} instead. If left undefined, the creature will be labeled as &amp;quot;nothing&amp;quot; by the game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Animal is considered to be natural. NATURAL animals will not engage creatures tagged with {{token|AT_PEACE_WITH_WILDLIFE|c}} in combat unless they are members of a hostile entity and vice-versa.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL_ANIMAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Alias of {{token|NATURAL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NATURAL_SKILL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Skill_token|Skill token]]&lt;br /&gt;
*value&lt;br /&gt;
| The creature possesses the specified [[skill]] at this level inherently - that is, it begins with the skill at this level, and the skill may never rust below that. A value of 15 is legendary.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_BOGEYMAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Creatures with this token can appear in [[bogeyman|bogeyman ambushes]] in [[adventure mode]], where they adopt classical bogeyman traits such as stalking the adventurer and vaporising when dawn breaks. Such traits do not manifest if the creature is encountered outside of a bogeyman ambush (for instance, as a megabeast or a civilised being). In addition, their corpses and severed body parts turn into [[smoke]] after a short while. Note that setting the &amp;quot;Number of Bogeyman Types&amp;quot; in [[advanced world generation]] to 0 will only remove randomly-generated bogeymen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_EXPERIMENTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on some [[necromancer]]s. Creatures with this tag may periodically &amp;quot;perform horrible experiments&amp;quot; offscreen, during which they can use creature-targeting interactions with an &amp;lt;code&amp;gt;[[Interaction_token#I_SOURCE|[I_SOURCE:EXPERIMENT]]]&amp;lt;/code&amp;gt; tag on living creatures in their area. Worlds are generated with a list of procedurally-generated experiments, allowing necromancers to turn living people and animals into [[Infected_ghoul|ghouls]] and [[Experiment|other experimental creatures]], and these will automatically be available to all experimenters; it does not appear possible to prevent this. You can mod in your own custom experiment interactions, but these are used very infrequently due to the large number of generated experiments.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_HUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[night troll]]s and [[werebeast]]s. Implies that the creature is a [[night creature]], and shows its description in [[legends mode]] entry. The creature is always hostile and will start [[no quarter]] combat with any nearby creatures, except for members of its own race. Note that this tag does not override the creature's normal behavior in [[fortress mode]] except for the aforementioned aggression, and doesn't prevent the creature from fleeing the battles it started. It also removes the creature's materials from stockpile settings list, making them be stored there regardless of settings.&lt;br /&gt;
&lt;br /&gt;
Does stack with {{token|LARGE_ROAMING|c}} and if both are used the creature will spawn as both historical hunters and as wild animals; this requires specifying a {{token|BIOME|c}} in which the creature will live, and subterranean biomes are allowed.&lt;br /&gt;
&lt;br /&gt;
This tag causes the usual behaviour of werebeasts in worldgen, that is, fleeing towns upon being cursed and conducting raids from a lair. If this tag is absent from a deity curse, the accursed will simply be driven out of towns in a similar manner to [[vampire]]s. When paired with SPOUSE_CONVERTER, a very small population of the creature will be created during worldgen (sometimes only a single individual will be created), and their histories will be tracked (that is, they will not spawn spontaneously later, they must either have children or convert other creatures to increase their numbers). The creature will settle in a lair and go on rampages during worldgen. It will actively attempt to seek out potential conversion targets to abduct, convert, and have children with (if possible).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NIGHT_CREATURE_NIGHTMARE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[nightmare]]s. Corpses and severed body parts derived from creatures with this token turn into [[smoke]] after a short while.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_AUTUMN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|autumn]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_CONNECTIONS_FOR_MOVEMENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Creature doesn't require connected body parts to move{{verify}}; generally used on undead creatures with connections that have rotted away.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_DIZZINESS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot become [[Symptom#Dizziness|dizzy]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_DRINK}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to drink. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_EAT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to [[food|eat]]. Seems to cause worldgen crashes if it is part of an entity with [[entity_token#PERMITTED_JOB|[PERMITTED_JOB:FISHERMAN]]]{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_FEVERS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature cannot suffer [[Symptom#Fever|fevers]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_GENDER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature is biologically sexless. Makes the creature unable to [[breeding|breed]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_PHYS_ATT_GAIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature cannot raise any [[Attribute#Body_attributes|physical attributes]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_PHYS_ATT_RUST}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| The creature cannot lose any [[Attribute#Body_attributes|physical attributes]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SLEEP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature does not need to sleep. Can still be rendered unconscious by other means.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SPRING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|spring]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_SUMMER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|summer]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_THOUGHT_CENTER_FOR_MOVEMENT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't require an organ with the {{token|THOUGHT|body}} tag to survive or attack; generally used on creatures that don't have brains.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_UNIT_TYPE_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Prevents creature from selecting its color based on its profession (e.g. Miner, Hunter, Wrestler).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_VEGETATION_PERTURB}}&lt;br /&gt;
| Caste{{Verify}}&lt;br /&gt;
|  &lt;br /&gt;
| Likely prevents the creature from leaving broken vegetation tracks.{{Verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NO_WINTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature caste does not appear in [[Calendar|winter]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOBONES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature has no bones.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOBREATHE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't need to breathe or have {{token|BREATHE|body}} parts in body, nor can it drown or be strangled. Creatures living in magma must have this tag, otherwise they will drown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOCTURNAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active at night in adventure mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOEMOTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature has no emotions. It is immune to the effects of [[stress]] and unable to rage, and its [[need]]s cannot be fulfilled in any way. Used on [[undead]] in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOEXERT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature can't become tired or over-exerted from taking too many combat actions or moving at full speed for extended periods of time. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOFEAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't feel fear and will never flee from battle, and will be immune to [[ghost]]s' attempts to 'scare it to death'. Additionally, it causes [[bogeyman|bogeymen]] and [[nightmare]]s to become friendly towards the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOMEAT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop meat when [[butcher|butchered]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NONAUSEA}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature isn't nauseated by gut hits and cannot vomit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOPAIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't feel pain. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSKIN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop a hide when [[butcher|butchered]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSKULL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature will not drop a skull on butchering, rot, or decay of severed head.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSMELLYROT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Does not produce [[miasma]] when rotting.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSTUCKINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Weapons can't get stuck in the creature. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOSTUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature can't be stunned and knocked unconscious by pain or head injuries. Creatures with this tag never wake up from sleep in Fortress Mode. If this creature needs to sleep while playing, it &amp;lt;b&amp;gt;will&amp;lt;/b&amp;gt; die.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOT_BUTCHERABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Cannot be [[butcher|butchered]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOT_LIVING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Cannot be raised from the dead by necromancers or evil clouds. Implies the creature is not a normal living being. Used by [[vampire]]s, [[Mummy|mummies]] and inorganic creatures like the [[amethyst man]] and [[bronze colossus]]. Creatures who are {{token|OPPOSED_TO_LIFE|c}} (undead) will be docile towards creatures with this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NOTHOUGHT}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature doesn't require a {{token|THOUGHT|body}} body part to survive. Has the added effect of preventing speech, though directly controlling creatures that would otherwise be capable of speaking allows them to engage in conversation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==O==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ODOR_LEVEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| How easy the creature is to [[smell]]. The higher the number, the easier the creature is to sniff out. Defaults to 50. Vanilla creatures have values from 0 (undetectable) to 90 (noticeable by humans and dwarves).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ODOR_STRING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*string&lt;br /&gt;
| What the creature [[smell]]s like. If no odor string is defined, the creature name (not the caste name) is used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OPPOSED_TO_LIFE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Is hostile to all creatures except undead and other non-living ones and will show {{DFtext|Opposed to life|0:1}} in the [[unit list]]. Used by [[undead]] in the vanilla game. Functions without the {{token|NOT_LIVING|c}} token, and seems to imply said token as well. Undead will not be hostile to otherwise-living creatures given this token. Living creatures given this token will attack living creatures that lack it, while ignoring other living creatures that also have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ORIENTATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*MALE/FEMALE&lt;br /&gt;
*disinterested chance&lt;br /&gt;
*casual chance&lt;br /&gt;
*strong chance&lt;br /&gt;
| Determines caste's likelihood of having sexual attraction to certain sexes. Values default to 75:20:5 for the same sex and 5:20:75 for the opposite sex. The first value indicates how likely to be entirely uninterested in the sex, the second decides if the creature will be able to become lovers with that sex, the third decides whether they will be able to marry in worldgen and post-worldgen world activities (which implies being able to become lovers). Marriage seems to be able to happen in fort mode play regardless, as long as they are lovers first.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTSIDER_CONTROLLABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Lets you play as an [[Adventurer_mode_character_creation#Outsider|outsider]] of this species in adventure mode.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==P==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PACK_ANIMAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be used as a pack animal. Used by [[trading|merchants]] without wagons and adventurers. Also prevents creature from dropping hauled items on its own -- do ''not'' use for player-controllable creatures!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PARALYZEIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is immune to all [[Syndrome#CE_PARALYSIS|paralyzing]] special attacks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATTERNFLIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Used to control the bat riders with paralyze-dart blowguns that flew through the 2D chasm. Doesn't do anything now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PEARL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| In earlier versions, creature would generate [[pearl]]s. Does nothing in the current version.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PENETRATEPOWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| Controls the ability of [[vermin]] to find a way into containers when they are eating food from your stockpiles.&lt;br /&gt;
&lt;br /&gt;
Objects made of most materials (e.g. metal) roll a number from 0-100, and if the resulting number is greater than the penetrate power, their contents escape for the time being. Objects made of [[wood]], [[leather]], [[amber]], or [[coral]] roll 0-95, and items made of [[cloth]] roll 0-90.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERSONALITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ATTRIBUTE&lt;br /&gt;
*lowest&lt;br /&gt;
*median&lt;br /&gt;
*highest &lt;br /&gt;
| Determines the range and chance of personality traits. Standard is 0:50:100. See [[Personality trait]] for more info.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PET}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be [[Animal_trainer|tamed]] in Fortress mode. Prerequisite for all other working animal roles. Civilizations that encounter it in worldgen will tame and domesticate it for their own use. Adding this to civilization members will classify them as pets instead of citizens, with all the [[Fun|problems]] that entails. However, you can solve these problems using the popular plugin [https://dffd.bay12games.com/file.php?id=13095| Dwarf Therapist], which is completely unaffected by the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PET_EXOTIC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to be [[Animal_trainer|tamed]] in Fortress mode. Prequisite for all other working animal roles. Civilizations cannot domesticate it in worldgen, with certain exceptions. More difficult to tame?{{verify}} Adding this to civilization members will classify them as pets instead of citizens, with all the [[Fun|problems]] that entails. ([[Gremlin|Example]]).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PETVALUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value &lt;br /&gt;
| How valuable a tamed animal is. Actual cost in points in the embarking screen is 1+(PETVALUE/2) for an untrained animal, 1+PETVALUE for a war/hunting one. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PETVALUE_DIVISOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Divides the creature's {{token|PETVALUE|c}} by the specified number. Used by [[honey bee]]s to prevent a single hive from being worth a fortune.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_CAP_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*Cap %&lt;br /&gt;
|Default is 200. This means you can increase your attribute to 200% of its starting value (or the average value + your starting value if that is higher).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_RANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]]&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets up a [[Attribute#Body_attributes|physical attribute]]'s range of values (0-5000). All physical attribute ranges default to 200:700:900:1000:1100:1300:2000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PHYS_ATT_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Attribute|ATTRIBUTE]] Token&lt;br /&gt;
*cost to improve&lt;br /&gt;
*unused counter rate&lt;br /&gt;
*rust counter rate&lt;br /&gt;
*demotion counter rate&lt;br /&gt;
| [[Attribute#Body_attributes|Physical attribute]] gain/decay rates. Lower numbers in the last three slots make decay occur faster. Defaults for STRENGTH, AGILITY, TOUGHNESS, and ENDURANCE are 500:3:4:3, while RECUPERATION and DISEASE_RESISTANCE default to 500:NONE:NONE:NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_BP_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY, or BY_TOKEN&lt;br /&gt;
*body type, category, or token&lt;br /&gt;
| Adds a body part group to selected body part group. Presumably used immediately after {{token|SET_BP_GROUP|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*material&lt;br /&gt;
| Adds a material to selected materials. Used immediately after {{token|SELECT_MATERIAL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POP_RATIO}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*number&lt;br /&gt;
| Weighted population of caste; Lower is rarer. Not to be confused with {{token|FREQUENCY|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POPULATION_NUMBER}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| The minimum/maximum numbers of how many of these creatures are present in each world map tile of the appropriate region. Defaults to 1:1 if not specified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POWER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Allows the being to represent itself as a deity, allowing it to become the leader of a civilized group. Used by unique demons in the vanilla game. Requires {{token|CAN_SPEAK|c}} to actually do anything more than settle at a location (e.g. write books, lead armies, profane temples). Doesn't appear to do anything for creatures that are already civilized. Once the creature ascends to a position of leadership, it will proceed to act as a standard ruler for their entity and fulfill the same functions (hold tournaments, tame creatures, etc).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREFSTRING}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*string&lt;br /&gt;
| Sets what other creatures [[Preferences|prefer]] about this creature. &amp;quot;Urist likes dwarves for their beards.&amp;quot; Multiple entries will be chosen from at random. Creatures lacking a PREFSTRING token will never appear under another's preferences.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROFESSION_NAME}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*[[Unit type token]] (Profession)&lt;br /&gt;
*singular&lt;br /&gt;
*plural &lt;br /&gt;
| The generic name for members of this profession, at the creature level. In order to give members of specific castes different names for professions, use {{token|CASTE_PROFESSION_NAME|c}} instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRONE_TO_RAGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*Chance&lt;br /&gt;
| Creature has a percentage chance to flip out at visible non-friendly creatures. Enraged creatures attack anything regardless of timidity and get a strength bonus to their hits. This is what makes [[badger]]s so hardcore.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
* &amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
| The creature has pus. Specifies the stuff secreted by [[Health_care#Infection|infected wounds]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==R==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELSIZE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*body category, type, or token&lt;br /&gt;
*Relsize &lt;br /&gt;
| Specifies a new relative size for a part than what is stated in the body plan. For example, dwarves have larger livers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| What the creature's [[remains]] are called.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_COLOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| What color the creature's [[remains]] are.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_ON_VERMIN_BITE_DEATH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Goes with {{token|VERMIN_BITE|c}} and {{token|DIE_WHEN_VERMIN_BITE|c}}, the vermin creature will leave remains on death when biting. Leaving this tag out will cause the creature to disappear entirely after it bites.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMAINS_UNDETERMINED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMOVE_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*material token &lt;br /&gt;
| Removes a material from the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REMOVE_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*tissue token&lt;br /&gt;
| Removes a tissue from the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RETRACT_INTO_BP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY or BY_TOKEN&lt;br /&gt;
*body type, [[Body_token#CATEGORY|category]], or [[Body_token#BP|token]]&lt;br /&gt;
*Second person (&amp;quot;You&amp;quot;) retract verb text&lt;br /&gt;
*Third person (&amp;quot;The giant snail&amp;quot;) retract verb text&lt;br /&gt;
*Second person cancel retract text&lt;br /&gt;
*Third person cancel retract text&lt;br /&gt;
| The creature will retract into a body part when threatened. It will be unable to move or attack, but enemies will only be able to attack the specified body part. (eg. Turtle, Hedgehog)&lt;br /&gt;
&lt;br /&gt;
Second-person descriptions are used for adventurer mode natural ability. &amp;quot;&amp;lt;pro_pos&amp;gt;&amp;quot; can be used in the descriptions, being replaced with the proper pronoun (or lack thereof) in-game. &lt;br /&gt;
&lt;br /&gt;
Undead curled up creatures are buggy{{bug|11463}}{{bug|10519}}.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RETURNS_VERMIN_KILLS_TO_OWNER}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Cat behavior. If it kills a vermin creature and has an owner, it carries the remains in its mouth and drops them at their feet. Requires {{token|HUNTS_VERMIN|c}}, obviously.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ROOT_AROUND}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY or BY_TOKEN&lt;br /&gt;
*body type, [[Body_token#CATEGORY|category]], or [[Body_token#BP|token]]&lt;br /&gt;
*Second person (&amp;quot;You&amp;quot;) verb text&lt;br /&gt;
*Third person (&amp;quot;The hen&amp;quot;) verb text&lt;br /&gt;
| Creature will occasionally root around in the grass, looking for insects.  Used for flavor in Adventurer Mode, spawns vermin edible for this creature in Fortress Mode. Creatures missing the specified body part will be unable to perform this action. The action produces a message (visible in adventure mode) in the form:&lt;br /&gt;
&lt;br /&gt;
[creature] [verb text] the [description of creature's location]&lt;br /&gt;
&lt;br /&gt;
In adventure mode, the &amp;quot;rooting around&amp;quot; ability will be included in the &amp;quot;natural abilities&amp;quot; menu, represented by its second person verb text.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==S==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature will only show up in &amp;quot;savage&amp;quot; biomes. Has no effect on cavern creatures. Cannot be combined with {{token|GOOD|c}} or {{token|EVIL|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SECRETION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
*BY_TOKEN / BY_CATEGORY / BY_TYPE&lt;br /&gt;
*&amp;lt;[[Body_token#BP|body part ID]]&amp;gt; / &amp;lt;[[Body_token#CATEGORY|category]]&amp;gt; or ALL / &amp;lt;type (e.g. [[Body_token#GRASP|GRASP]])&amp;gt;&lt;br /&gt;
*&amp;lt;[[Body_detail_plan_token#BP_LAYERS|tissue layer]]&amp;gt; or ALL&lt;br /&gt;
*&amp;lt;trigger&amp;gt;&lt;br /&gt;
| Causes the specified tissue layer(s) of the indicated body part(s) to secrete the designated material. A size 100 ('covering') [[contaminant]] is created over the affected body part(s) in its specified material state (and at the temperature appropriate to this state) when the trigger condition is met, as long as one of the secretory tissue layers is still intact. Valid triggers are:&lt;br /&gt;
*'''CONTINUOUS'''&lt;br /&gt;
Secretion occurs once every 40 [[time|ticks]] in [[fortress mode]], and every tick in [[adventurer mode]].&lt;br /&gt;
*'''EXERTION'''&lt;br /&gt;
Secretion occurs continuously (at the rate described above) whilst the creature is at minimum &amp;lt;span style=&amp;quot;font-size:75%&amp;quot;&amp;gt;{{Tile|Tired|6:1}}&amp;lt;/span&amp;gt; following physical exertion. Note that this cannot occur if the creature has {{token|NOEXERT|c}}.&lt;br /&gt;
*'''EXTREME_EMOTION'''&lt;br /&gt;
Secretion occurs continuously (as above) whilst the creature is distressed. Cannot occur in creatures with {{token|NOEMOTION|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_ADDITIONAL_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;caste&amp;gt;&lt;br /&gt;
| Adds an additional previously defined caste to the selection. Used after {{token|SELECT_CASTE|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;caste&amp;gt; or ALL &lt;br /&gt;
| Selects a previously defined caste&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Selects a locally defined material. Can be ALL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*tissue token&lt;br /&gt;
| Selects a tissue for editing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEMIMEGABEAST}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Essentially the same as {{token|MEGABEAST|c}}, but more of them are created during worldgen. See the [[semi-megabeast]] page for details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SENSE_CREATURE_CLASS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;[[Creature_token#CREATURE_CLASS|creature class]]&amp;gt;&lt;br /&gt;
* [[Tilesets|&amp;lt;tile value or character&amp;gt;]]&lt;br /&gt;
* [[Color#Color_values|&amp;lt;foreground color&amp;gt;:&amp;lt;background color&amp;gt;:&amp;lt;foreground brightness&amp;gt;]]&lt;br /&gt;
| Gives the creature the ability to sense creatures belonging to the specified [[Creature_token#CREATURE_CLASS|creature class]] even when they lie far beyond line of sight, including through walls and floors. It also appears to reduce or negate the combat penalty of [[Wound#Blindness|blind]] units when fighting creatures they can sense. In [[adventure mode]], the specified tile will be used to represent sensed creatures when they cannot be seen directly.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_BP_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*category, type, or token &lt;br /&gt;
| Begins a selection of body parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_LEARN_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[skill_token]]&amp;gt;&lt;br /&gt;
*&amp;lt;percentage&amp;gt;&lt;br /&gt;
| The rate at which this creature learns this skill. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_LEARN_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;percentage&amp;gt;&lt;br /&gt;
| The rate at which this creature learns all skills. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[skill_token]]&lt;br /&gt;
*&amp;lt;% of improvement points gained&amp;gt;&lt;br /&gt;
*&amp;lt;unused counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;rust counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;demotion counter rate&amp;gt;&lt;br /&gt;
| Like {{token|SKILL_RATES|c}}, but applies to individual skills instead. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*&amp;lt;% of improvement points gained&amp;gt;&lt;br /&gt;
*&amp;lt;unused counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;rust counter rate&amp;gt;&lt;br /&gt;
*&amp;lt;demotion counter rate&amp;gt;&lt;br /&gt;
| Affects skill gain and decay. Lower numbers in the last three slots make decay occur faster ([SKILL_RATES:100:1:1:1] would cause rapid decay). The counter rates may also be replaced with NONE.&lt;br /&gt;
Default is [SKILL_RATES:100:8:16:16]. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RUST_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[skill_token]]&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
| The rate at which this skill decays. Lower values cause the skill to decay faster. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL_RUST_RATES}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
*value&lt;br /&gt;
| The rate at which all skills decay. Lower values cause the skills to decay faster. Requires {{token|CAN_LEARN|c}} or {{token|INTELLIGENT|c}} to function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLOW_LEARNER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Shorthand for {{token|CAN_LEARN|c}} + &amp;lt;code&amp;gt;[[Creature_token#SKILL_LEARN_RATES|[SKILL_LEARN_RATES:50]]]&amp;lt;/code&amp;gt;.{{verify}} Used by a number of 'primitive' creatures (like [[ogre]]s, [[giant]]s and [[troglodyte]]s) in the vanilla game. Applicable to player races. Prevents a player from recruiting nobility, even basic ones. Subterranean creatures with this token combined with {{token|EVIL|c}} will become servants of goblins in their civilizations, in the style of [[troll]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMALL_REMAINS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Creature leaves &amp;quot;[[item token#REMAINS|remains]]&amp;quot; instead of a corpse. Used by [[vermin]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL_TRIGGER}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Determines how keen a creature's sense of smell is - lower is better. At 10000, a creature cannot smell at all.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOLDIER_ALTTILE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*'character' or tile number&lt;br /&gt;
| If this creature is active in its civilization's military, it will blink between its default tile and this one.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOUND}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* Sound application (currently accepts ALERT or PEACEFUL_INTERMITTENT)&lt;br /&gt;
* Sound range (in tiles)&lt;br /&gt;
* Sound delay (lower values = sound is produced more often)&lt;br /&gt;
* VOCALIZATION or NONE (determines whether the sound requires breathing or not)&lt;br /&gt;
* First-person description&lt;br /&gt;
* Third-person description&lt;br /&gt;
* Description when out of sight&lt;br /&gt;
| Creature makes sounds periodically, which can be heard in Adventure mode.&lt;br /&gt;
* First-person reads &amp;quot;You '''bark'''&amp;quot;&lt;br /&gt;
* Third-person reads &amp;quot;The [[capybara]] '''barks'''&amp;quot;&lt;br /&gt;
* Out of sight reads &amp;quot;You hear '''a loud bark'''&amp;quot;&lt;br /&gt;
with the text in bold being the description arguments of the token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOURCE_HFID}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*Integer&lt;br /&gt;
| Found on generated [[angel]]s. This is the historical figure ID of the deity with which the angel is associated. Since HFIDs are not predictable before worldgen, this isn't terribly usable in mods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIFIC_FOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* PLANT or CREATURE&lt;br /&gt;
* Plant/creature ID&lt;br /&gt;
| Creature will only appear in biomes with this plant or creature available. Grazers given a specific type of grass (such as [[panda]]s and [[bamboo]]) will only eat that grass and nothing else, risking starvation if there's none available. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing this creature. Examples include dwarf.txt and elf.txt in data\speech.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH_FEMALE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing females of this creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPEECH_MALE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*speech file &lt;br /&gt;
| Boasting speeches relating to killing males of this creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
* [[Sphere#Available_spheres|sphere]]&lt;br /&gt;
| Sets what religious spheres the creature is aligned to, for purposes of being worshipped via the {{token|POWER|c}} token. Also affects the layout of hidden fun stuff, and the creature's name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_CONVERSION_TARGET}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| This creature can be converted by a night creature with {{token|SPOUSE_CONVERTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_CONVERTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| If the creature has the {{token|NIGHT_CREATURE_HUNTER|c}} tag, it will kidnap {{token|SPOUSE_CONVERSION_TARGET|c}}s and transform them into the caste of its species with the {{token|CONVERTED_SPOUSE|c}} tag during worldgen. It may also start families this way.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPREAD_EVIL_SPHERES_IF_RULER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| If the creature rules over a [[site]], it will cause the local landscape to be corrupted into [[Surroundings#Evil|evil surroundings]] associated with the creature's [[Creature_token#SPHERE|sphere]]s. The creature must have at least one of the following [[sphere]]s for this to take effect: BLIGHT, DEATH, DISEASE, DEFORMITY, NIGHTMARES. The first three kill vegetation, while the others sometimes do.  The last two get [[Plant_token#EVIL|evil plants]] and [[Creature_token#EVIL|evil animals]] sometimes. NIGHTMARES gets [[bogeyman|bogeymen]]. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8162224#msg8162224] Used by [[demon]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANCE_CLIMBER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Caste does not require &amp;lt;code&amp;gt;[[Body_token#GRASP|[GRASP]]]&amp;lt;/code&amp;gt; body parts to climb -- it can climb with &amp;lt;code&amp;gt;[[Body_token#STANCE|[STANCE]]]&amp;lt;/code&amp;gt; parts instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANDARD_GRAZER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Acts as {{token|GRAZER|c}} but set to 20000*G*(max size)^(-3/4), where G defaults to 100 but can be set in d_init, and the whole thing is trapped between 150 and 3 million. Used for all grazers in the default creature raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRANGE_MOODS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The creature will get [[strange mood]]s in fortress mode and can produce artifacts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUPERNATURAL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Gives the creature knowledge of any secrets with &amp;lt;code&amp;gt;[[Interaction_token#IS_SECRET|[SUPERNATURAL_LEARNING_POSSIBLE]]]&amp;lt;/code&amp;gt; that match its [[Creature_token#SPHERE|spheres]] and also prevents it from becoming a [[vampire]] or [[werebeast]]. Other effects are unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SWIMS_INNATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature naturally knows how to swim perfectly and does not use the [[swimmer]] skill, as opposed to {{token|SWIMS_LEARNED|c}} below. However, Fortress mode AI never paths into water anyway, so it's less useful there. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SWIMS_LEARNED}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature swims only as well as their present [[Swimmer|swimming skill]] allows them to.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SYNDROME_DILUTION_FACTOR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &amp;lt;[[Syndrome#SYN_IDENTIFIER|syndrome identifier]]&amp;gt;:&amp;lt;percentage&amp;gt;&lt;br /&gt;
| Dilutes the effects of syndromes which have the specified identifier. A percentage of 100 is equal to the regular syndrome effect severity, higher percentages reduce severity.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==T==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TENDONS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
*healing rate &lt;br /&gt;
| The creature has tendons in its {{token|CONNECTIVE_TISSUE_ANCHOR|td}} tissues (bone or chitin by default). Cutting the bone/chitin tissue severs the tendons, disabling motor function if the target is a limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKWEB}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature's [[web]]s can catch larger creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*name &lt;br /&gt;
| Begins defining a tissue in the creature file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
*LOCATION &lt;br /&gt;
| Adds the tissue layer to wherever it is required.&lt;br /&gt;
Non-argument Locations can be FRONT, RIGHT, LEFT, TOP, BOTTOM. Argument locations are AROUND and CLEANS, requiring a further body part and a % of coverage/cleansing&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_OVER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
*LOCATION &lt;br /&gt;
| Presumably a counterpart to TISSUE_LAYER_UNDER (see below).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_UNDER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_TYPE, BY_CATEGORY, BY_TOKEN&lt;br /&gt;
*TYPE,CATEGORY, or TOKEN&lt;br /&gt;
*TISSUE&lt;br /&gt;
| Adds the tissue layer under a given part.&lt;br /&gt;
For example, an [[iron man]] has a gaseous poison within, and this tissue (GAS is its name) has the token [TISSUE_LEAKS] and its state is GAS, so when you puncture the iron outside and damage this tissue it leaks gas (can have a syndrome by using a previous one in the creature sample.) [TISSUE_LAYER_UNDER:BY_CATEGORY:ALL:{tissue}] {tissue} is what will be under the TISSUE_LAYER; here is an example Tissue from the Iron Man:&amp;lt;br&amp;gt; &lt;br /&gt;
[TISSUE:GAS] [TISSUE_NAME:gas:NP] [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:GAS] [TISSUE_MAT_STATE:GAS] [RELATIVE_THICKNESS:50] [TISSUE_LEAKS] [TISSUE_SHAPE:LAYER] &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TITAN}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Found on [[titan]]s. Cannot be specified in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE_CAPACITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
*number&lt;br /&gt;
| How much the creature can carry when used by merchants. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Shortcut for {{token|TRAINABLE_HUNTING|c}} + {{token|TRAINABLE_WAR|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE_HUNTING}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can be [[Animal trainer|trained]] as a hunting beast, increasing speed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINABLE_WAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Can be [[Animal trainer|trained]] as a war beast, increasing strength and endurance.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANCES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to go into [[martial trance]]s. Used by dwarves in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPAVOID}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will never trigger [[trap]]s it steps on. Used by a [[Trapavoid|number of creatures]]. Doesn't make the creature immune to remotely activated traps (like retractable spikes being triggered while the creature is standing over them). TRAPAVOID creatures lose this power if they're immobilized while standing in a trap, be it by stepping on thick web, being paralyzed or being knocked unconscious.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRIGGERABLE_GROUP}}&lt;br /&gt;
| Creature&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max &lt;br /&gt;
| A large swarm of vermin can be disturbed, usually in adventurer mode.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TSU_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*noun&lt;br /&gt;
*SINGULAR or PLURAL &lt;br /&gt;
| Noun for the {{token|TISSUE_STYLE_UNIT|c}}, used in the description of the tissue layer's style.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==U==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UBIQUITOUS}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| Creature will occur in every region with the correct biome. Does not apply to {{token|EVIL|c}}/{{token|GOOD|c}} tags.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERGROUND_DEPTH}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*mindepth&lt;br /&gt;
*maxdepth &lt;br /&gt;
| Depth that the creature appears underground. Numbers can be from 0 to 5. 0 is actually 'above ground' and can be used if the creature is to appear both above and below ground. Values from 1-3 are the respective [[cavern]] levels, 4 is the [[magma sea]] and 5 is the [[HFS]]. A single argument may be used instead of min and max. [[Demon]]s use only 5:5; user-defined creatures with both this depth and {{token|FLIER}} will take part in the initial wave from the HFS alongside generated demons, but without {{token|FLIER}} they will only spawn from the map edges. Civilizations that can use underground plants or animals will only export (via the embark screen or caravans) things that are available at depth 1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERSWIM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature is displayed as blue when in [[Water#Depth|7/7 water]]. Used on fish and amphibious creatures which swim under the water.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNIQUE_DEMON}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Found on generated [[demon]]s; causes the game to create a single named instance of the demon which will emerge from the underworld and take over civilizations during worldgen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CASTE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new caste token&lt;br /&gt;
*old caste token&lt;br /&gt;
| Defines a new caste derived directly from a previous caste. The new caste inherits all properties of the old one. The effect of this tag is automatic if one has not yet defined any castes: &amp;quot;Any caste-level tag that occurs before castes are explicitly declared is saved up and placed on any caste that is declared later, unless the caste is explicitly derived from another caste.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new material ID&lt;br /&gt;
*old material ID&lt;br /&gt;
| Defines a new local creature material and populates it with all properties defined in the specified local creature material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new material token&lt;br /&gt;
*material template &lt;br /&gt;
| Defines a new local creature material and populates it with all properties defined in the specified template.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_TISSUE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new tissue token&lt;br /&gt;
*old tissue id&lt;br /&gt;
| Defines a new local creature tissue and populates it with all properties defined in the local tissue specified in the second argument.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_TISSUE_TEMPLATE}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
*new tissue token&lt;br /&gt;
*tissue template&lt;br /&gt;
| Loads a tissue template listed in OBJECT:TISSUE_TEMPLATE files, such as tissue_template_default.txt. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UTTERANCES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Changes the language of the creature into unintelligible 'kobold-speak', which creatures of other species will be unable to understand. If a civilized creature has this and is not part of a {{token|SKULKING|e}} civ, it will tend to start wars with all nearby civilizations and will be unable to make peace treaties due to 'inability to communicate'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==V==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VEGETATION}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Like {{token|AT_PEACE_WITH_WILDLIFE}}, but also makes the creature more valued in artwork by civilisations with the PLANT [[sphere]]. [http://www.bay12forums.com/smf/index.php?topic=169696.msg8316954#msg8316954] Used by [[grimeling]]s in the vanilla game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_BITE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*chance of occurrence{{verify}}&lt;br /&gt;
*verb (bitten, stung, etc.)&lt;br /&gt;
* [[material token]]&lt;br /&gt;
* [[Material_definition_token#Material_States|material state]]&lt;br /&gt;
| Enables vermin to bite other creatures, injecting the specified material. See {{token|SPECIALATTACK_INJECT_EXTRACT|c}} for details about injection - this token presumably works in a similar manner.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_EATER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|&lt;br /&gt;
| The vermin creature will attempt to eat exposed food. See {{token|PENETRATEPOWER|c}}. Distinct from {{token|VERMIN_ROTTER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_FISH}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin appears in [[water]] and will attempt to swim around.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_GROUNDER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature appears in &amp;quot;general&amp;quot; surface ground locations. Note that this doesn't stop the creature from flying if it can (most vermin birds have this tag).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_HATEABLE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Some dwarves will [[Preferences|hate]] the creature and get unhappy thoughts when around it. See the [[Hateable|list of hateable vermin]] for details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_MICRO}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| This makes the creature move in a swarm of creatures of the same race as it (e.g. swarm of flies, swarm of ants).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOFISH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature cannot be caught by [[fishing]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOROAM}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will not be observed randomly roaming about the map. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_NOTRAP}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature cannot be caught in baited [[animal trap]]s; however, a &amp;quot;[[Trapper|catch live land animal]]&amp;quot; task may still be able to capture one if a dwarf finds one roaming around.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_ROTTER}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin are attracted to rotting stuff and loose food left in the open and cause unhappy thoughts to dwarves who encounter them. Present on flies, knuckle worms, acorn flies, and blood gnats. Speeds up decay?{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_SOIL}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The creature randomly appears near dirt or mud, and may be uncovered by creatures that have the {{token|ROOT_AROUND|c}} interaction such as [[goose|geese]] and [[chicken]]s. Dwarves will ignore the creature when given the &amp;quot;Capture live land animal&amp;quot; task.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_SOIL_COLONY}}&lt;br /&gt;
| Creature&lt;br /&gt;
|  &lt;br /&gt;
| The vermin will appear in a single tile cluster of many vermin, such as a colony of ants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMINHUNTER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Old shorthand for &amp;quot;does cat stuff&amp;quot;. Contains {{token|AT_PEACE_WITH_WILDLIFE|c}} + {{token|RETURNS_VERMIN_KILLS_TO_OWNER|c}} + {{token|HUNTS_VERMIN|c}} + {{token|ADOPTS_OWNER|c}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VESPERTINE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Sets the creature to be active during the evening in adventurer mode. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VIEWRANGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Value should determine how close you have to get to a critter before it attacks (or prevents adv mode travel etc.) Default is 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VISION_ARC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*binocular vision arc&lt;br /&gt;
*non-binocular vision arc&lt;br /&gt;
| The width of the creature's vision arcs, in degrees (i.e. 0 to 360). The first number is binocular vision, the second is non-binocular vision.  Binocular vision has a minimum of about 10 degrees, monocular, a maximum of about 350 degrees. Values past these limits will be accepted, but will default to ~10 degrees and ~350 degrees respectively.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{alphabetical TOC|style=margin: 1em auto;}}&lt;br /&gt;
&lt;br /&gt;
==W==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WAGON_PULLER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Allows the creature to pull caravan wagons. If a civilization doesn't have access to any, it is restricted to trading with pack animals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEBBER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Allows the creature to create [[web]]s, and defines what the webs are made of.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEBIMMUNE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The creature will not get caught in thick [[web]]s. Used by creatures who can shoot thick webs (such as [[giant cave spider]]s) in order to make them immune to their own attacks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Attack Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_SKILL}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
| Defines the skill used by the attack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_VERB}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*2nd person&lt;br /&gt;
*3rd person &lt;br /&gt;
| Descriptive text for the attack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_CONTACT_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*% value &lt;br /&gt;
| The contact area of the attack, measured in % of the body part's volume. Note that all attack percentages can be more than 100%.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PENETRATION_PERC}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*% value &lt;br /&gt;
| The penetration value of the attack, measured in % of the body part's volume. Requires ATTACK_FLAG_EDGE. Maximum value: 15000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PRIORITY}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*MAIN or SECOND &lt;br /&gt;
| Usage frequency. MAIN attacks are 100 times more frequently chosen than SECOND. Opportunity attacks ignore this preference.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_VELOCITY_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*number&lt;br /&gt;
| The velocity multiplier of the attack, multiplied by 1000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_CANLATCH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Attacks that damage tissue have the chance to latch on in a wrestling hold. The grabbing bodypart can then use the &amp;quot;shake around&amp;quot; wrestling move, causing severe, armor-bypassing tensile damage according to the attacker's body volume.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_WITH}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| Displays the name of the body part used to perform an attack while announcing it, e.g. &amp;quot;The weaver punches the bugbat with his right hand&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_EDGE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|  &lt;br /&gt;
| The attack is edged, with all the effects on physical resistance and contact area that it entails.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_PREPARE_AND_RECOVER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
* Preparation time&lt;br /&gt;
* Recovery time&lt;br /&gt;
| Determines the length of time to prepare this attack and until one can perform this attack again. Values appear to be calculated in adventure mode ticks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_BAD_MULTIATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Multiple strikes with this attack cannot be performed effectively.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_FLAG_INDEPENDENT_MULTIATTACK}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
| Multiple strikes with this attack can be performed with no penalty. The creature will use all attacks with this token at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_INJECT_EXTRACT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material_States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;min quantity&amp;gt;&lt;br /&gt;
*&amp;lt;max quantity&amp;gt;&lt;br /&gt;
| When added to an attack, causes the attack to inject the specified material into the victim's bloodstream. Once injected, the material will participate in [[temperature|thermal]] exchange within the creature - injecting something like molten [[iron]] (INORGANIC:IRON:LIQUID) would cause most unmodded creatures to melt (note that some of the injected material also [[contaminant|splatters]] over the bodypart used to carry out the attack, so it should be protected appropriately). If the injected material has an associated [[syndrome]] with the [[Syndrome#SYN_INJECTED|[SYN_INJECTED]]] token, it will be transmitted to the victim. If the attack is blunt, the injected material lacks the [[Material definition token#ENTERS_BLOOD|[ENTERS_BLOOD]]] token, the attacked bodypart has no [[Tissue_definition_token#VASCULAR|[VASCULAR]]] tissues, or the victim is bloodless, the material will splatter over the attacked body part instead. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_INTERACTION}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*interaction&lt;br /&gt;
| When this attack lands successfully, a specified interaction will take effect on the target creature. The attack must break the target creature's skin in order to work. This will take effect in worldgen as well. If the attack would break skin, the interaction will occur '''before the attack actually lands'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIALATTACK_SUCK_BLOOD}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*min&lt;br /&gt;
*max&lt;br /&gt;
| Successful attack draws out an amount of blood randomized between the min and max value. Beware that this '''will''' trigger any ingestion syndromes attached to the target creature's blood - for example, using this attack on a vampire will turn you into one too.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tissue Layer Tokens==&lt;br /&gt;
Tissue layers are added to a creature's body parts by the creature tokens [[#TISSUE_LAYER|TISSUE_LAYER]], [[#TISSUE_LAYER_OVER|TISSUE_LAYER_OVER]], [[#TISSUE_LAYER_UNDER|TISSUE_LAYER_UNDER]], and the body detail plan token [[#TL_LAYERS|TL_LAYERS]].&lt;br /&gt;
&lt;br /&gt;
These tissue layers are not the same thing as tissues, which are defined at creature level, but rather applications of the tissues. If the SKIN tissue of a creature is the more general and abstract notion of what skin is for that creature, then a tissue layer may be the &amp;quot;actual&amp;quot; skin on the creature's nose, head, or second toe. As most creatures have more than one body part, tissue layers are normally selected en masse.&lt;br /&gt;
&lt;br /&gt;
Some tissue layer tokens are analogous to tissue definition tokens, e.g. [[#TL_CONNECTS|TL_CONNECTS]] to [[tissue_definition_token#CONNECTS|CONNECTS]].&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;10%&amp;quot; | Type&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;50%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token | Selects a tissue at a location&lt;br /&gt;
* (optional) FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM, AROUND.&lt;br /&gt;
| Begins a selection of tissue layers. &lt;br /&gt;
[SELECT_TISSUE_LAYER:HEART:BY_TYPE:HEART]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token &lt;br /&gt;
| Adds tissue layers to those selected.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_TL_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*TISSUE&lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token&lt;br /&gt;
*tissue &lt;br /&gt;
| Begins a selection of tissue layers. Only usable for descriptor and cosmetic purposes. &lt;br /&gt;
&lt;br /&gt;
Research has implied it may be redundant with SELECT_TISSUE_LAYER, as the latter allows for cosmetics as well as &amp;quot;functional&amp;quot; tokens such as TL_MAJOR_ARTERIES. Vanilla raws still use SET_TL_GROUP though, for all cosmetic purposes. More research is needed on this subject.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PLUS_TL_GROUP}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*BY_CATEGORY, BY_TYPE, BY_TOKEN&lt;br /&gt;
*Location - category, type, or token&lt;br /&gt;
*tissue &lt;br /&gt;
| Adds tissue layers to those selected. Like SET_TL_GROUP, it may be redundant even if used in the vanilla raws.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_LAYER_TISSUE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*TISSUE&lt;br /&gt;
| Sets a selected tissue layer to be made of a different tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHEARABLE_TISSUE_LAYER}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
* tissue modifier&lt;br /&gt;
* required value&lt;br /&gt;
| Tissue layer can be sheared for its component material. The specified modifier must be at least of the desired value for shearing to be possible (for example, a [[llama]]'s wool must have a LENGTH of 300 before it is shearable).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LAYER_APPEARANCE_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*QUALITY&lt;br /&gt;
*lowest&lt;br /&gt;
*lower&lt;br /&gt;
*low&lt;br /&gt;
*median&lt;br /&gt;
*high&lt;br /&gt;
*higher&lt;br /&gt;
*highest &lt;br /&gt;
| Sets the range of qualities, including LENGTH, DENSE, HIGH_POSITION, CURLY, GREASY, WRINKLY&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE_UNIT}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*tissue style unit ID&lt;br /&gt;
*shaping&lt;br /&gt;
| Sets tissue layer to be the target of TISSUE_STYLE token specified for an entity, works only on entity members. Mostly used with tissues HAIR, BEARD, MOUSTACHE, SIDEBURNS.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_COLOR_MODIFIER}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*COLOR&lt;br /&gt;
*freq&lt;br /&gt;
*COLOR&lt;br /&gt;
*freq etc. &lt;br /&gt;
| Creates a list of colors/color patterns, giving each a relative frequency. If the given color or pattern does not exist, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_GENETIC_MODEL}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| The way the color modifier is passed on to offspring. May or may not work right now.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_IMPORTANCE}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
*number&lt;br /&gt;
| Presumably modifies the importance of the tissue layer color modifier, for description purposes.&lt;br /&gt;
HOWEVER using this appears to remove all mention of colour from creature descriptions. It does not appear in any default creatures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_NOUN}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*SINGULAR or PLURAL&lt;br /&gt;
| Names the tissue layer color modifier, and determines the noun. Also used by [[Utility:Stonesense|Stonesense]] for colouring body parts. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TLCM_TIMING}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*ROOT&lt;br /&gt;
*start change window years&lt;br /&gt;
*days&lt;br /&gt;
*end change window years&lt;br /&gt;
*days&lt;br /&gt;
| Determines the point in the creature's life when the color change begins and ends.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_CONNECTS}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Gives the CONNECTS attribute to selected layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_HEALING_RATE}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the HEALING_RATE of the selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_MAJOR_ARTERIES}}&lt;br /&gt;
| Caste&lt;br /&gt;
|&lt;br /&gt;
| Gives the &amp;quot;major arteries&amp;quot; attribute to selected layers. Used to add massive bleeding properties to the throat, made from skin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_PAIN_RECEPTORS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the number of pain receptors for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_RELATIVE_THICKNESS}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Changes the relative thickness for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_VASCULAR}}&lt;br /&gt;
| Caste&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Sets a new VASCULAR value (which modulates bleeding) for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Body detail plan token]]&lt;br /&gt;
*[[Body token]]&lt;br /&gt;
*[[Material definition token]]&lt;br /&gt;
*[[Syndrome]]&lt;br /&gt;
*[[Tissue definition token]]&lt;br /&gt;
*[[Creature examples]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Creature token]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=282857</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=282857"/>
		<updated>2023-01-03T22:02:31Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Selecting and Cutting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{For/see|a list of Dwarf Fortress mods|[[List of mods]]}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Modding''', or creating [[mod]]s, refers to modifying the behavior of the base game (vanilla). ''Dwarf Fortress'' is remarkably moddable.&lt;br /&gt;
&lt;br /&gt;
== Resource Overview==&lt;br /&gt;
[[File:modding_icon.png|120px|right]]This section serves as a portal to all modding-related pages on the wiki. &lt;br /&gt;
&lt;br /&gt;
; Using Mods:&lt;br /&gt;
* [[Mod#Installing Mods|Installing mods]]&lt;br /&gt;
* [[Mod#Enabling Mods|Enabling mods in-game]]&lt;br /&gt;
&lt;br /&gt;
; Guides and references:&lt;br /&gt;
* [[Modding guide|Modding Guide]]&lt;br /&gt;
* [[Modding pitfalls]] for troubleshooting&lt;br /&gt;
&lt;br /&gt;
* [[Mod#Mod Format|Mod Format]] and [[Game folders and files]]&lt;br /&gt;
* [[Mod#Publish on Steam Workshop|Publish on Steam Workshop]]&lt;br /&gt;
* [[Memory hacking]], [[Main:Offset Finding Methods|Offset Finding Methods]]&lt;br /&gt;
* [[Character table]]&lt;br /&gt;
&lt;br /&gt;
; Where to get help?&lt;br /&gt;
* This [http://www.bay12games.com/forum/index.php?board=13.0 forum] is the official DF subforum dedicated to discussions about modding.&lt;br /&gt;
* [https://discord.com/channels/329272032778780672/629902895138996264 Kitfox modding discord] &lt;br /&gt;
* [https://docs.dfhack.org/en/stable/docs/Introduction.html#getting-help DFhack questions] &lt;br /&gt;
&lt;br /&gt;
; Modding tools&lt;br /&gt;
There are several [[Utilities#Modding_tools|utilities]] that assist in modding efforts. There is [http://www.bay12forums.com/smf/index.php?topic=28829.0 a list of them] on the [[Bay 12 Forums]].&lt;br /&gt;
* Text Editors are used in all areas of modding. Use a good text editor to edit files and search into multiple files (like th/e free [https://notepad-plus-plus.org/ Notepad++] for example) or more advanced editors capable of highlighting and formatting the displayed text (like [[Utilities#DF_RAW_Language_server|DF RAW Language server]])&lt;br /&gt;
* Image Editor will be needed for doing custom graphics. [https://www.getpaint.net/ Paint.NET], Photoshop and GIMP are the most used, but whatever supports the .png format will work.&lt;br /&gt;
&lt;br /&gt;
=== Documentation===&lt;br /&gt;
; [[Raw file]]s&lt;br /&gt;
&lt;br /&gt;
These object files, stored in &amp;lt;code&amp;gt;/data/vanilla/*/objects/&amp;lt;/code&amp;gt;, define various specifics of game items, materials, and creatures, and can be changed using mods to alter how the game behaves. These are text based and can be edited with any text editor, however, editing the vanilla raw files is now discouraged.&lt;br /&gt;
&lt;br /&gt;
See [[Token|Token reference]] - It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found here.&lt;br /&gt;
&lt;br /&gt;
; [[Graphics|Graphics Files]]:&lt;br /&gt;
&lt;br /&gt;
The `/data/art/` subfolder of Dwarf Fortress is used to store user-customizable graphics sets.&lt;br /&gt;
&lt;br /&gt;
; [[Reaction]]s:&lt;br /&gt;
&lt;br /&gt;
; [[Language token|Language]] and [[Speech file]]:&lt;br /&gt;
&lt;br /&gt;
; [[Audio|Sound and Music files]]:&lt;br /&gt;
&lt;br /&gt;
All sound and music files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available [[music token]]s and [[sound token]]s in the raw files. However, you can't add new music or sounds other than replacing what's already there.&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&lt;br /&gt;
The current best practice is to not modify the original raw files, since most modifications can be made via mods. Mods can add new objects, add tokens to existing objects, and cut objects entirely.&lt;br /&gt;
&lt;br /&gt;
== Guide ==&lt;br /&gt;
This is intended to be a guide to inform those new to ''Dwarf Fortress'' modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
=== Token reference ===&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[Token|here]].&lt;br /&gt;
&lt;br /&gt;
=== Basics of DF modding ===&lt;br /&gt;
To make a mod, one must put a folder into the &amp;lt;code&amp;gt;/mods/&amp;lt;/code&amp;gt; folder. The vast majority of modifications to the game can be done via this method. This folder should contain a file named &amp;quot;info.txt&amp;quot; and two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for, generally, everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
The info.txt is formatted like so:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[ID:my_first_mod]&lt;br /&gt;
[NUMERIC_VERSION:1]&lt;br /&gt;
[DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]&lt;br /&gt;
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[AUTHOR:Your Name Here]&lt;br /&gt;
[NAME:My First Mod]&lt;br /&gt;
[DESCRIPTION:A cool mod I made!]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A mod should have all of these. There are a [[mod info token|few more tokens]], but the above are the important ones.&lt;br /&gt;
&lt;br /&gt;
Most of the game's vanilla content is in the same format as mods. Many text files can be found in the subfolders of the &amp;lt;code&amp;gt;/data/vanilla&amp;lt;/code&amp;gt; folder - these are the [[raw file|raw files]], and using them as a basis for modification is quite easy. For now, we will take a look at one of the existing files. For example, if you open &amp;lt;code&amp;gt;/data/vanilla/vanilla_creatures/creature_standard.txt&amp;lt;/code&amp;gt;, it should look something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file will be ignored by the game. &lt;br /&gt;
&lt;br /&gt;
'''In other words, to be recognized by the game, a raw file must have all of the following:'''&lt;br /&gt;
&lt;br /&gt;
# A filename that refers to the type of objects contained therein. '''Creature files must start with creature_, entity files must start with entity_, and so on.'''&lt;br /&gt;
# The filename on the first line of the file.&lt;br /&gt;
# [OBJECT:type], where &amp;quot;type&amp;quot; is replaced with the relevant object type.&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. ([[Duplicated raws|For example...]])  Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when possible. You should make a mod instead!&lt;br /&gt;
* When adding files, token identifiers are all you need to include to ensure proper references are maintained.  The game searches through all loaded raw files by tokens.  For example, you can add a new pair of leather boots and not even have to add it to a file named item_shoes.txt, but rather your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* When a new world is generated, the mods included are &amp;quot;baked in&amp;quot; and cannot be modified except to be updated--for this, the game checks that the mod used by the save is of a compatible NUMERIC_VERSION.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities.&lt;br /&gt;
&lt;br /&gt;
=== Modifying the vanilla objects ===&lt;br /&gt;
&lt;br /&gt;
You should not modify the vanilla raws where they originally are if you can help it. Instead, patch them using the patching functions now provided with Dwarf Fortress since v50.01.&lt;br /&gt;
&lt;br /&gt;
There are two patching functions: SELECT and CUT. When SELECT is used, it lets you make changes to an object without needing the entire entry to be present in your mod file. When CUT is used, it forces the game to not use that object, even though it is still found in the vanilla raws. Both of these functions take the form of tokens. These functions are not universally applicable to any token found in any entry, just the following list of objects:&lt;br /&gt;
&lt;br /&gt;
CREATURE, ENTITY, INTERACTION, ITEM, WORD, TRANSLATION, SYMBOL, INORGANIC, PLANT, MUSIC, REACTION, SOUND&lt;br /&gt;
&lt;br /&gt;
The syntax required for these functions is: '''['''&amp;lt;function&amp;gt;'''_'''&amp;lt;object&amp;gt;''':'''&amp;lt;specific object being affected&amp;gt;''']'''. For instance, [CUT_PLANT:MUSHROOM_HELMET_PLUMP] cuts the plump helmet object in the vanilla file plant_standard.txt so the game will not use that object at all. However, [SELECT_ITEM_HELM:ITEM_HELM_HELM] does not select the helm object from the vanilla file item_helm.txt, even though that's how the object appears in that file, because there is no [SELECT_ITEM_HELM] token. Instead, the helm would be selected with [SELECT_ITEM:ITEM_HELM_HELM].&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to mod beards onto dwarven women while also removing elephants from the game:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
creature_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:CREATURE]&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:DWARF] starts editing DWARF from the end of the entry&lt;br /&gt;
    [SELECT_CASTE:FEMALE]&lt;br /&gt;
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]&lt;br /&gt;
&lt;br /&gt;
[CUT_CREATURE:ELEPHANT] removes the ELEPHANT creature&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Or, say, add your own reaction and building to dwarves:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
entity_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:ENTITY]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:MOUNTAIN]&lt;br /&gt;
    [PERMITTED_REACTION:MY_REACTION]&lt;br /&gt;
    [PERMITTED_BUILDING:MY_BUILDING]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And in any of these, one can add the token [LOG_CURRENT_ENTRY] somewhere under one of the objects of the file, which logs the full contents of the object in question to logs\current_entry.txt. This can be useful to make sure that the patch is doing what you think it is. For instance if [LOG_CURRENT_ENTRY] were added on the next line after [CREATURE:DWARF] in your mod file, then the dwarf object would be the object detailed in the log entry.&lt;br /&gt;
&lt;br /&gt;
...Speaking of, let's move on to modifying and adding entities.&lt;br /&gt;
&lt;br /&gt;
=== Modding civilizations (entities) ===&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in &amp;lt;code&amp;gt;vanilla_entities/entity_default.txt&amp;lt;/code&amp;gt; (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQUENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and, therefore, the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology, language and names and so forth. Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; it will pick only one of the defined creatures at random to use for the civ. Later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. &lt;br /&gt;
&lt;br /&gt;
Besides those mentioned, some fundamental ones are the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which lets you control the civ in fortress mode, the &amp;lt;code&amp;gt;[OUTSIDER_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play in adventure mode as an outsider, and the &amp;lt;code&amp;gt;[ALL_MAIN_POPS_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little confusing at first, so, let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here, we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then, after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after... roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that, the dwarf entity is told to cull all inappropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything, so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
The following [[entity token]]s affect the appearance of [[trading]] [[caravan]]s:&lt;br /&gt;
&lt;br /&gt;
* [[Entity token#ACTIVE_SEASON|[ACTIVE_SEASON]]] - Defines the seasons when an entity may visit your fortress.&lt;br /&gt;
* [[Entity token#PROGRESS_TRIGGER_POPULATION|[PROGRESS_TRIGGER_*]]] - Defines the triggers which control when an entity will become interested in your fortress.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PACK|[COMMON_DOMESTIC_PACK]]] - Allows the civilization to use domestic pack animals. If an entity lacks pack animals (or ability to pull wagons), it will be unable to send caravans (showing as {{DFtext|No Trade|6:1}} at the [[embark]] screen), unless it has domesticated any suitable animal species or is forced to use a non-suitable creature by the [ANIMAL] definition [ALWAYS_WAGON-PULLER] on creature, caste or class.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PULL|[COMMON_DOMESTIC_PULL]]] - Allows the civilization to use domestic animals to pull [[wagon]]s, assuming their [[Ethic#KILL_PLANT|KILL_PLANT ethic]] permits them to use wagons in the first place.&lt;br /&gt;
* [[Entity token#MERCHANT_BODYGUARDS|[MERCHANT_BODYGUARDS]]] - Caravan will be guarded by [[soldier]]s.&lt;br /&gt;
&lt;br /&gt;
=== Modding creatures ===&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun – you can change nearly any aspect of a creature, or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
==== Creature materials and tissues ====&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of body parts. These parts are defined in their own file, and we'll talk about them later, as a specific aspect of how creatures work, which throws off a lot of prospective modders, is the relationship between body parts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of body parts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues, and those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by body part category (BY_CATEGORY), body part type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every body part). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all body parts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot; and you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans, which have their own file, and are designed to help automate some of the more common processes in creature creation, come in. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by MUSCLE, ARG4 by BONE, and ARG5 by CARTILAGE. Hence, our creature's body part designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We leave the body stuff declared normally:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We then, in our own mod, select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
==== Creature castes ====&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexually reproducing creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body structures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
=== Modding items ===&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, [[Item definition token|item definition tokens]] don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
=== Modding language files ===&lt;br /&gt;
{{main|Language token}}&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen. &lt;br /&gt;
&lt;br /&gt;
All raw files use Code Page 437 encoding, and you should make sure you are editing these files in that format. As many text editors default to UTF-8, some characters with diacritical marks may fail to show properly. Saving one of the default language raw files in this state will overwrite these characters with the unicode question mark, which will corrupt the file. To fix this  replace the file with a clean one downloaded from the distributed version of DF.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
=== Modding body parts ===&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each body part will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a body part definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the body part in question is connected to a certain ''type'' of body part, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the body part's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of body part tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
=== Modding plants ===&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of the harvested plant (default 1). &lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that are available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
==== Trees ====&lt;br /&gt;
&lt;br /&gt;
Trees are another kind of plant that can be modded. Being plants, they use many of the same tokens as edible crops, but differ in having a few tree-specific tokens.&lt;br /&gt;
&lt;br /&gt;
Below is the [[apple|apple tree]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [PLANT:APPLE] malus sieversii&lt;br /&gt;
  	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
  	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
  	[TRUNK_PERIOD:10]&lt;br /&gt;
  	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
  	[BRANCH_DENSITY:50]&lt;br /&gt;
  	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
  	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
  	[BRANCH_RADIUS:2]&lt;br /&gt;
  	[TRUNK_BRANCHING:2]&lt;br /&gt;
  	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
  	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
  	[ROOT_DENSITY:5]&lt;br /&gt;
  	[ROOT_RADIUS:3]&lt;br /&gt;
  	[STANDARD_TILE_NAMES]&lt;br /&gt;
  	[PREFSTRING:fruit]&lt;br /&gt;
  	[DRY]&lt;br /&gt;
  	[BIOME:ANY_TEMPERATE]&lt;br /&gt;
  	[SAPLING]&lt;br /&gt;
  	[GROWTH:LEAVES]&lt;br /&gt;
  		[GROWTH_NAME:apple leaf:apple leaves]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_HOST_TILE:SAPLING]&lt;br /&gt;
  		[GROWTH_TIMING:0:300000]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:2:0:0:0:209999:1]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:6:0:1:210000:239999:1] autumn color&lt;br /&gt;
  		[GROWTH_PRINT:0:6:4:0:1:240000:269999:1]&lt;br /&gt;
 		[GROWTH_PRINT:0:6:4:0:0:270000:300000:1]&lt;br /&gt;
   		[GROWTH_DROPS_OFF]&lt;br /&gt;
  	[GROWTH:FLOWERS]&lt;br /&gt;
  		[GROWTH_NAME:apple flower:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:60000:119999]&lt;br /&gt;
  		[GROWTH_PRINT:5:5:5:0:1:60000:119999:2]&lt;br /&gt;
 	[GROWTH:FRUIT]&lt;br /&gt;
  		[GROWTH_NAME:apple:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
   		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
  		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
  		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
  		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first lines are the same as the ones we saw being used in the plump helmets, defining the plant object, giving it a name, and deciding that it should use the standard STRUCTURAL_PLANT material for its structure.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:APPLE] malus sieversii&lt;br /&gt;
 	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Adding the token [[DF2014:Material_definition_token#DISPLAY_COLOR|DISPLAY_COLOR]] directly after [USE_MATERIAL_TEMPLATE] would allow us to change the color of the tree.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
        	[DISPLAY_COLOR:1:0:0]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
would give us a dark blue apple tree. This method is used by the game in [[birch|birches]] and [[spore tree|various]] [[nether-cap|underground]] [[blood thorn|trees]].&lt;br /&gt;
&lt;br /&gt;
Next come the definitions of various other materials used by the tree:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From them, we get to know what the parts of the tree can be used for, as well as how they will appear when separated from the tree. Any alterations that can be done to materials normally can be done here, such as changing the value or adding a [[syndrome]].&lt;br /&gt;
&lt;br /&gt;
 	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
&lt;br /&gt;
[TREE] is what turns your plant object into an actual tree. The following argument describes what material the harvested logs should be made of. If NONE, the felled tree will give no logs. [TREE_TILE] is the tile the tree shows up as on the world map.&lt;br /&gt;
&lt;br /&gt;
Note that all vanilla trees (that give logs) use the WOOD material defined above as the argument for [TREE], as opposed to the STRUCTURAL material. Thus, any changes to the properties of the wood harvested should be done to the WOOD material.&lt;br /&gt;
&lt;br /&gt;
The following tokens decide the dimensions of the tree, and how it grows.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
    [TRUNK_PERIOD:10]&lt;br /&gt;
 	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
 	[BRANCH_DENSITY:50]&lt;br /&gt;
 	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
 	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
 	[BRANCH_RADIUS:2]&lt;br /&gt;
 	[TRUNK_BRANCHING:2]&lt;br /&gt;
 	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
 	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
 	[ROOT_DENSITY:5]&lt;br /&gt;
 	[ROOT_RADIUS:3]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[TRUNK_PERIOD] and [TRUNK_WIDTH_PERIOD] determine how long it takes for the trunk to grow one tile taller respectively wider, in years. [MAX_TRUNK_HEIGHT:3] and [MAX_TRUNK_DIAMETER:1] determine the maximum value the above can reach. [TRUNK_BRANCHING] decides how &amp;quot;curvy&amp;quot; the tree is, with [TRUNK_BRANCHING:0] meaning the tree is entirely straight. &lt;br /&gt;
&lt;br /&gt;
[HEAVY_BRANCH_DENSITY:25], [HEAVY_BRANCH_RADIUS:1], [BRANCH_DENSITY:50], [BRANCH_RADIUS:2], [ROOT_DENSITY:5], and [ROOT_RADIUS:3] determine the density (how many are there, integer ranging 0-100) and radius (in tiles) away from the trunk, of heavy branches, normal branches and roots respectively.&lt;br /&gt;
&lt;br /&gt;
[STANDARD_TILE_NAMES] makes the tree use standard names for the trunk, branches etc. Otherwise custom ones can be used. (see [[Plant_token|full plant token list]])&lt;br /&gt;
&lt;br /&gt;
[SAPLING] ensures saplings of this tree are called &amp;quot;[tree name] sapling&amp;quot;, instead of the standard &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Lastly, we are introduced to the [GROWTH] token. [GROWTH] defines growths growing on a plant, in this case our apple tree. Apple trees have three growths: leaves, flowers and fruits.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [GROWTH:FRUIT]&lt;br /&gt;
 		[GROWTH_NAME:apple:STP]&lt;br /&gt;
 		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
 		[GROWTH_DENSITY:1000]&lt;br /&gt;
 		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
 		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
 		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
 		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First comes the name of the growth. Then, with [GROWTH_ITEM], what kind of growth it is, in this case a PLANT_GROWTH made out of the local FRUIT material. [GROWTH_DENSITY] says how densely the growth grows, and [GROWTH_HOST_TILE] where on the tree it grows. [GROWTH_TIMING] decides when the growth appears, in annual ticks. The growth then drops off, leaving no clouds (items to be picked up by your dwarves). [GROWTH_PRINT] sets it to look like a red '%', and [GROWTH_HAS_SEED] implies that eating this growth will leave you with a seed.&lt;br /&gt;
&lt;br /&gt;
=== Workshops ===&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
[BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
	[NAME:Soap Maker's Workshop]&lt;br /&gt;
	[NAME_COLOR:7:0:1]&lt;br /&gt;
	[DIM:3:3]&lt;br /&gt;
	[WORK_LOCATION:2:2]&lt;br /&gt;
	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
	[BUILD_KEY:CUSTOM_SHIFT_P]&lt;br /&gt;
	[BLOCK:1:0:0:0] workbenches no longer block&lt;br /&gt;
	[BLOCK:2:0:0:0]&lt;br /&gt;
	[BLOCK:3:0:0:0]&lt;br /&gt;
	[TILE:0:1:' ':' ':150]&lt;br /&gt;
	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
	[TILE:1:2:'-':' ':8]&lt;br /&gt;
	[TILE:1:3:' ':' ':150]&lt;br /&gt;
	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[TILE:2:1:'-':' ':8]&lt;br /&gt;
	[TILE:2:2:' ':' ':8]&lt;br /&gt;
	[TILE:2:3:' ':150:' ']&lt;br /&gt;
	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
	[TILE:3:1:150:' ':8]&lt;br /&gt;
	[TILE:3:2:' ':' ':8]&lt;br /&gt;
	[TILE:3:3:' ':240:' ']&lt;br /&gt;
	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  	[BLOCK:1:0:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:0 means that, on the first row, all tiles will be unblocked. This is the case for all vanilla workshops, as of now.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
}}&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the text in the tooltip shown when the building is highlighted by the mouse in the workshops list.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
=== Reactions ===&lt;br /&gt;
&lt;br /&gt;
Reactions are the crafting recipes used in [[workshop]]s, and by the [[adventurer mode|adventurer]]. By adding new reactions you can make new items available, or enable you to get items or materials in new ways. The reactions can also be given to entities, in which case they will make use of them during both world gen and play; making a reaction that creates [[steel]] directly from [[plant fiber]]s, would allow the elves to craft steel and arrive clad in it in a [[siege]].&lt;br /&gt;
&lt;br /&gt;
Not all crafting reactions are defined in the raws, but some are, such as those for [[ceramic industry|pottery]] and [[Metal#Alloys_2|alloy]] making.&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Selecting and Cutting ==&lt;br /&gt;
&lt;br /&gt;
[[Modding#Modifying_the_vanilla_objects|As explained above]], existing raws can be altered with the use of SELECT. Existing raws can also be culled with CUT for more granular control compared to simply unloading vanilla content in the mod loader. Token behavior when multiple tokens are added is dependent on the individual token. Removing tags from an object without cutting and recreating the object in question is typically impossible. Creatures can have tags removed without being removed and replaced by way of creature variations.&lt;br /&gt;
&lt;br /&gt;
The syntax for selecting and cutting objects is as follows:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
Substitute X for the desired object.&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:X]&lt;br /&gt;
[CUT_CREATURE:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:X]&lt;br /&gt;
[CUT_ENTITY:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INTERACTION:X]&lt;br /&gt;
[CUT_INTERACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ITEM:X]&lt;br /&gt;
[CUT_ITEM:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_WORD:X]&lt;br /&gt;
[CUT_WORD:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_TRANSLATION:X]&lt;br /&gt;
[CUT_TRANSLATION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:X]&lt;br /&gt;
[CUT_SYMBOL:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INORGANIC:X] &lt;br /&gt;
[CUT_INORGANIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_PLANT:X]&lt;br /&gt;
[CUT_PLANT:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_MUSIC:X]&lt;br /&gt;
[CUT_MUSIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_REACTION:X]&lt;br /&gt;
[CUT_REACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SOUND:X]&lt;br /&gt;
[CUT_SOUND:X]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[:Category:DF2014:Modding_Examples]]''&lt;br /&gt;
&lt;br /&gt;
The Hydling below was made by Mysteryguye (and annotated, updated and separated into blocks by Putnam), to act as an example creature.&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 	This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:40][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_PREDATOR] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 	Has a lower body, upper body, 4 legs, a tail, fourteen eyes, fourteen ears, seven noses, two lungs, a heart, guts, a pancreas etc., and 7 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what-have-you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons...&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] ...And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch on.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Modding}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Token]]&lt;br /&gt;
* [[Cheating]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;br /&gt;
[[ru:Modding]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Trap_component&amp;diff=282284</id>
		<title>Trap component</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Trap_component&amp;diff=282284"/>
		<updated>2023-01-03T03:38:30Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Values and menus have changed. Also cleaned up some wording.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:Trap, man (AM 1965.78.344-2).jpg|thumb|270px|right|A cruel trap made by a [[human]], for a human.]]Any [[weapon]] in [[fortress mode]] can be placed into a [[Trap#Weapon trap|weapon trap]].  However, there are five '''trap components''', or '''trap weapons''', that are ''specifically'' for weapon traps (and two also have additional uses).  As with any weapon, a total of up to 10 of these can be put in a single weapon trap, creating a true &amp;quot;Indiana Jones&amp;quot; type of threat to beasts of any size, and potentially simply making a fine mince (or paste, depending on the weapons) of lesser creatures. However, trap components lack weapons' enhanced durability and can break after hitting only about 4 invaders (whereas a copper pick could hit thousands), with the exception of upright spike (which takes less than other components to zero wear, depending on material).&lt;br /&gt;
&lt;br /&gt;
In the order they appear on the various menus, they are the '''enormous corkscrew''', the '''giant axe blade''', the '''large, serrated disc''', the '''menacing spike''', and the '''spiked ball'''.&lt;br /&gt;
&lt;br /&gt;
All trap component weapons can be made out of [[metal]]s (by a [[weaponsmith]]) or [[glass]] (by a [[glassmaker]]), with appropriate damage. Three can also be made out of [[wood]] by a [[carpenter]] (as noted [[Trap_component#Data_ &amp;amp; comparison|below]]), which can be useful in getting some heavy weapons traps set up before you have a steady [[smelting]] operation going, or if you are short on metal.  Each trap component takes one unit of the material that you are using (e.g. Each menacing iron spike will take one [[bar]] of [[iron]]). Note that although it is not possible to make giant axe blades or serrated disks out of wood, wooden ones can sometimes be bought from the embark screen. This is presumably a bug.&lt;br /&gt;
&lt;br /&gt;
Trap weapons also provide the highest return of any weapon for [[melt]]ing, 120%–150%, compared to 90%–120% for conventional weapons, which can be [[exploit]]ed for generating metal and training [[weaponsmith]]s. Trap components are a separate sub-section of a [[forge]] menu (where metal [[mechanisms]] can also be found), but found within the menus for the various glass types in the [[glass furnace]], or in the main menu of the [[carpenter's workshop]].&lt;br /&gt;
&lt;br /&gt;
==Trap Weapons==&lt;br /&gt;
===Menacing spike===&lt;br /&gt;
&lt;br /&gt;
The '''menacing spike''' can be mounted in both traditional [[Trap#Weapon_trap|weapon traps]] and [[Trap#Upright_Spear/Spike|upright spike traps]], which act quite differently.  Its small contact size and high penetration depth makes it a decent choice against enemies with impale-able internal organs.&lt;br /&gt;
&lt;br /&gt;
Menacing spikes can also be made from [[wood]].&lt;br /&gt;
&lt;br /&gt;
===Large, serrated disc===&lt;br /&gt;
'''Large, serrated discs''' deal large amounts of damage, and have a tendency to sever their victims' limbs. While amusing, this can create several [[hauling]] tasks for [[dwarves]] as they have to move each severed body part to a [[butcher's shop]] or [[stockpile|refuse pile]]. Large serrated discs attack three times, giving them a very high damage potential.&lt;br /&gt;
&lt;br /&gt;
===Spiked ball===&lt;br /&gt;
The '''spiked ball''' doesn't deal a blunt attack at all, but it does do three attacks with its spikes. Like the menacing spike, it has only a small contact area, but has a very low penetration depth compared to the menacing spike.&lt;br /&gt;
&lt;br /&gt;
Low penetration depth edged attacks can still break bones with impact damage, just like blunt attacks do.  In addition, if an edged weapon is unable to cut the material of the target's armor, its attack is converted to blunt type.  Because the small contact area concentrates the force, spiked balls should be more effective against targets in superior armor than either serrated discs or giant axes.  &lt;br /&gt;
&lt;br /&gt;
Spiked balls can also be made from [[wood]]. In previous versions, the high value of spiked balls made them a preferred trade item, but now they have a value no greater than small crafts.&lt;br /&gt;
&lt;br /&gt;
===Enormous corkscrew===&lt;br /&gt;
&lt;br /&gt;
'''Enormous corkscrews''' can be used as components in [[trap]]s as well as for [[screw pump]]s. As a result, the corkscrews from unneeded screw pumps can be used to make serviceable weapon traps.&lt;br /&gt;
&lt;br /&gt;
The enormous corkscrew performs a deeply penetrating attack with a small contact area, much like the menacing spike. It is currently unknown which of these two trap components is the strongest overall.&lt;br /&gt;
&lt;br /&gt;
Enormous corkscrews can also be made from [[wood]].&lt;br /&gt;
&lt;br /&gt;
===Giant axe blade===&lt;br /&gt;
&lt;br /&gt;
The '''giant axe blade''' is a very similar weapon to the large, serrated disc, but only strikes once, compared to the disc's three attacks. However, due to its larger size, its single attack is stronger than each of the large, serrated disc's. It is currently unknown which of these two trap components is the strongest overall.&lt;br /&gt;
&lt;br /&gt;
However, if the variables behave like those of the wieldable weapons, size determines mass (along with material density) and mass determines impact (BLUNT) damage.  An edged weapon, like the giant axe, only deals this type of damage when it is unable to penetrate armor, or if the target is large compared to its penetration depth.&lt;br /&gt;
&lt;br /&gt;
This suggests that a steel serrated disc's multiple attacks will outweigh the giant axe blade's somewhat larger size in most cases.  If only inferior materials are available, the giant axe '''might''' be better at hurting armored targets, but the disc's three attacks probably still outweigh this advantage.&lt;br /&gt;
&lt;br /&gt;
==Data &amp;amp; comparison==&lt;br /&gt;
&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width:75%&amp;quot;&lt;br /&gt;
! Name !! Size !! Number of hits !! Contact Area !! Penetration Depth !! Wood? !! Base Value&lt;br /&gt;
|-&lt;br /&gt;
| Giant axe blade || 1600 || 1 || 100000 || 10000 || No  || 10&lt;br /&gt;
|-&lt;br /&gt;
| Enormous corkscrew &amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt; || 1600 || 1 || 100 || 10000 || Yes  || 10&lt;br /&gt;
|-&lt;br /&gt;
| Spiked ball || 1000 || 3 || 10 || 200 || Yes  || 10&lt;br /&gt;
|-&lt;br /&gt;
| Large, serrated disc || 1000 || 3 || 100000 || 10000 || No  || 10&lt;br /&gt;
|-&lt;br /&gt;
| Menacing spike &amp;lt;sup&amp;gt;‡&amp;lt;/sup&amp;gt; || 1600 || 1 || 10 || 6000 || Yes  || 10&lt;br /&gt;
|}&lt;br /&gt;
† ''This trap component can also be used in [[screw pump]]s.'' &amp;lt;br&amp;gt; ‡ ''This trap component can also be used in [[Trap#Upright_Spear/Spike|upright spike traps]].''&lt;br /&gt;
&lt;br /&gt;
:''(Most of this data has been compiled from raw/objects/item_trapcomp.txt)''&lt;br /&gt;
&lt;br /&gt;
== Forging and Melting ==&lt;br /&gt;
=== Giant axe blades ===&lt;br /&gt;
* Metal giant axe blades cost '''one''' [[metal]] bar to [[forge]], or '''five''' [[adamantine]] wafers.&lt;br /&gt;
* When a non-adamantine metal giant axe blade is [[melt|melted down]], it will return '''1.5''' metal bars, for an '''efficiency of 150%'''.&lt;br /&gt;
* When an adamantine giant axe blade is melted down, it will produce '''1.5''' wafers, for an '''efficiency of 30%'''.&lt;br /&gt;
&lt;br /&gt;
=== Enormous corkscrew ===&lt;br /&gt;
* Metal enormous corkscrews cost '''one''' [[metal]] bar to [[forge]], or '''five''' [[adamantine]] wafers.&lt;br /&gt;
* When a non-adamantine metal enormous corkscrews is [[melt|melted down]], it will return '''1.5''' metal bars, for an '''efficiency of 150%'''.&lt;br /&gt;
* When an adamantine enormous corkscrew is melted down, it will produce '''1.5''' wafers, for an '''efficiency of 30%'''.&lt;br /&gt;
&lt;br /&gt;
=== Spiked ball ===&lt;br /&gt;
* Metal spiked balls cost '''one''' [[metal]] bar to [[forge]], or '''four''' [[adamantine]] wafers.&lt;br /&gt;
* When a non-adamantine metal spiked ball is [[melt|melted down]], it will return '''1.2''' metal bars, for an '''efficiency of 120%'''.&lt;br /&gt;
* When an adamantine spiked ball is melted down, it will produce '''1.2''' wafers, for an '''efficiency of 30%'''&lt;br /&gt;
&lt;br /&gt;
=== Large, serrated disc ===&lt;br /&gt;
* Metal serrated discs cost '''one''' [[metal]] bar to [[forge]], or '''four''' [[adamantine]] wafers.&lt;br /&gt;
* When a non-adamantine metal serrated disc is [[melt|melted down]], it will return '''1.2''' metal bars, for an '''efficiency of 120%'''.&lt;br /&gt;
* When an adamantine serrated disc is melted down, it will produce '''1.2''' wafers, for an '''efficiency of 30%'''&lt;br /&gt;
&lt;br /&gt;
=== Menacing spike ===&lt;br /&gt;
* Metal menacing spikes cost '''one''' [[metal]] bar to [[forge]], or '''five''' [[adamantine]] wafers.&lt;br /&gt;
* When a non-adamantine metal menacing spike is [[melt|melted down]], it will return '''1.5''' metal bars, for an '''efficiency of 150%'''.&lt;br /&gt;
* When an adamantine menacing spike is melted down, it will produce '''1.5''' wafers, for an '''efficiency of 30%'''.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Weapon]]&lt;br /&gt;
*[[Trap]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Gamedata|{{raw|DF2012:item_trapcomp.txt|}}}}&lt;br /&gt;
{{Category|Weapons}}&lt;br /&gt;
{{Category|Traps}}&lt;br /&gt;
[[ru:Trap component]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Token&amp;diff=280713</id>
		<title>Token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Token&amp;diff=280713"/>
		<updated>2022-12-31T10:31:51Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: The way it read before seemed like tokens could be modified. They are hard-coded, so it's worth making the distinction. Now it says raws can be modified.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
In ''Dwarf Fortress'', a '''token''' is a piece of text that defines the properties of an object.  An &amp;quot;object&amp;quot; could be a material, a type of tissue, an organ, a piece of armor, a creature, a biome, a civilisation, or anything else in the game.  A &amp;quot;property&amp;quot; could be how large something is, what it is made from, its melting temperature, its name, its biome preference (for civilisations) or anything else that makes it unique.  All information associated with the properties of an object in the game is defined using tokens. Tokens are used in the [[raws]], which can be easily [[modding|modified]], allowing users to create (and distribute) new content.&lt;br /&gt;
&lt;br /&gt;
:* [[Ammo token]]s define ammunition, such as arrows and bolts.&lt;br /&gt;
:* [[Armor token]]s define armor.&lt;br /&gt;
:* [[Biome token]]s define environments for creatures, plants and entities (entities being civilisations).&lt;br /&gt;
:* [[Building token]]s define buildings.&lt;br /&gt;
:* [[Body token]]s determine bodily structure and materials.&lt;br /&gt;
:* [[Body detail plan token]]s define some details of a body, similar to body tokens.&lt;br /&gt;
:* [[Bodygloss]] tokens perform a single-word substitution of a creature's body parts.&lt;br /&gt;
:* [[Creature token]]s determine the properties of creatures.&lt;br /&gt;
:* [[Creature variation token]]s are used to create creatures derived from other already-existing creatures, without duplicating every single token.&lt;br /&gt;
:* [[Descriptor color token]]s define colors used in text-based descriptions. Not to be confused with [[color scheme]]s.&lt;br /&gt;
:* [[Descriptor pattern token]]s define color patterns.&lt;br /&gt;
:* [[Descriptor shape token]]s define [[shape]]s.&lt;br /&gt;
:* [[Entity token]]s define entities, or [[civilization]]s.&lt;br /&gt;
:* [[Graphics token]] define tile-based [[graphics]].&lt;br /&gt;
:* [[Item token]]s define the most basic form of items (made specific by material tokens). Item tokens are mainly used in [[reactions]].&lt;br /&gt;
:* [[Item definition token]]s are used for actual definitions of items.&lt;br /&gt;
:* [[Instrument token]]s define instruments.&lt;br /&gt;
:* [[Interaction token]]s define interactions.&lt;br /&gt;
:* [[Labor token]]s define labors.&lt;br /&gt;
:* [[Language token]]s define a language's vocabulary. Since fictional languages in ''Dwarf Fortress'' are currently only used in names, language tokens do not define grammar.&lt;br /&gt;
:* [[Material token]]s are used to refer to materials, similar to item tokens.&lt;br /&gt;
:* [[Material definition token]]s are used to define materials, similar to item definition tokens.&lt;br /&gt;
:* [[Inorganic material definition token]]s are used to define inorganic materials, similar to material definition tokens.&lt;br /&gt;
:* [[Plant token]]s define plants.&lt;br /&gt;
:* [[Position token]]s define positions in entities.&lt;br /&gt;
:* [[Skill token]]s reference skills.&lt;br /&gt;
:* [[Syndrome token]]s define syndromes.&lt;br /&gt;
:* [[Tissue definition token]]s define tissues.&lt;br /&gt;
:* [[Tool token]]s define tools, similar to weapon tokens.&lt;br /&gt;
:* [[Trap component token]]s define traps.&lt;br /&gt;
:* [[Unit type token]]s are referred to by tilesets and entities, for purposes of nobility and the like.&lt;br /&gt;
:* [[Weapon token]]s define weapons.&lt;br /&gt;
:* [[World token]]s are used in custom world generation.&lt;br /&gt;
:* [[Music token]]s These are the triggers for the default music effects.&lt;br /&gt;
:* [[Sound token]]s These are the triggers for the default sound effects.&lt;br /&gt;
&lt;br /&gt;
Also note [[reactions]], which are a little more complicated than simple tokens.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Tokens}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Modding]]&lt;br /&gt;
* [[Dipscript]]&lt;br /&gt;
* [[Speech file]]&lt;br /&gt;
&lt;br /&gt;
[[category:Modding]]&lt;br /&gt;
[[ru:Token]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280711</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280711"/>
		<updated>2022-12-31T10:12:49Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Modifying the vanilla objects */ Better to introduce the tools being used in the example before the example is given, so the example exemplifies something.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{For/see|a list of Dwarf Fortress mods|[[List of mods]]}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Modding''', or creating [[mod]]s, refers to modifying the behavior of the base game (vanilla). ''Dwarf Fortress'' is remarkably moddable.&lt;br /&gt;
&lt;br /&gt;
== Resource Overview==&lt;br /&gt;
[[File:modding_icon.png|120px|right]]This section serves as a portal to all modding-related pages on the wiki. &lt;br /&gt;
&lt;br /&gt;
; Using Mods:&lt;br /&gt;
* [[Mod#Installing Mods|Installing mods]]&lt;br /&gt;
* [[Mod#Enabling Mods|Enabling mods in-game]]&lt;br /&gt;
&lt;br /&gt;
; Guides and references:&lt;br /&gt;
* [[#Guide|Modding Guide]]&lt;br /&gt;
* [[Mod#Mod Format|Mod Format]] and [[Game folders and files]]&lt;br /&gt;
* [[Mod#Publish on Steam Workshop|Publish on Steam Workshop]]&lt;br /&gt;
* [[Memory hacking]], [[Main:Offset Finding Methods|Offset Finding Methods]]&lt;br /&gt;
* [[Character table]]&lt;br /&gt;
&lt;br /&gt;
; Where to get help?&lt;br /&gt;
* This [http://www.bay12games.com/forum/index.php?board=13.0 forum] is the official DF subforum dedicated to discussions about modding.&lt;br /&gt;
* [https://discord.com/channels/329272032778780672/629902895138996264 Kitfox modding discord] &lt;br /&gt;
* [https://docs.dfhack.org/en/stable/docs/Introduction.html#getting-help DFhack questions] &lt;br /&gt;
&lt;br /&gt;
; Modding tools&lt;br /&gt;
There are several [[Utilities#Modding_tools|utilities]] that assist in modding efforts. There is [http://www.bay12forums.com/smf/index.php?topic=28829.0 a list of them] on the [[Bay 12 Forums]].&lt;br /&gt;
* Text Editors are used in all areas of modding. Use a good text editor to edit files and search into multiple files (like th/e free [https://notepad-plus-plus.org/ Notepad++] for example) or more advanced editors capable of highlighting and formatting the displayed text (like [[Utilities#DF_RAW_Language_server|DF RAW Language server]])&lt;br /&gt;
* Image Editor will be needed for doing custom graphics. [https://www.getpaint.net/ Paint.NET], Photoshop and GIMP are the most used, but whatever supports the .png format will work.&lt;br /&gt;
&lt;br /&gt;
=== Documentation===&lt;br /&gt;
; [[Raw file]]s&lt;br /&gt;
&lt;br /&gt;
These object files, stored in &amp;lt;code&amp;gt;/data/vanilla/*/objects/&amp;lt;/code&amp;gt;, define various specifics of game items, materials, and creatures, and can be changed using mods to alter how the game behaves. These are text based and can be edited with any text editor, however, editing the vanilla raw files is now discouraged.&lt;br /&gt;
&lt;br /&gt;
See [[Token|Token reference]] - It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found here.&lt;br /&gt;
&lt;br /&gt;
; [[Graphics|Graphics Files]]:&lt;br /&gt;
&lt;br /&gt;
The `/data/art/` subfolder of Dwarf Fortress is used to store user-customizable graphics sets.&lt;br /&gt;
&lt;br /&gt;
; [[Speech file]]&lt;br /&gt;
&lt;br /&gt;
; [[Audio|Sound and Music files]]:&lt;br /&gt;
&lt;br /&gt;
All sound and music files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available [[music token]]s and [[sound token]]s in the raw files. However, you can't add new music or sounds other than replacing what's already there.&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&lt;br /&gt;
The current best practice is to not modify the original raw files, since most modifications can be made via mods. Mods can add new objects, add tokens to existing objects, and cut objects entirely.&lt;br /&gt;
&lt;br /&gt;
== Guide ==&lt;br /&gt;
This is intended to be a guide to inform those new to ''Dwarf Fortress'' modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
=== Token reference ===&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[Token|here]].&lt;br /&gt;
&lt;br /&gt;
=== Basics of DF modding ===&lt;br /&gt;
To make a mod, one must put a folder into the &amp;lt;code&amp;gt;/mods/&amp;lt;/code&amp;gt; folder. The vast majority of modifications to the game can be done via this method. This folder should contain a file named &amp;quot;info.txt&amp;quot; and two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for, generally, everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
The info.txt is formatted like so:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[ID:my_first_mod]&lt;br /&gt;
[NUMERIC_VERSION:1]&lt;br /&gt;
[DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]&lt;br /&gt;
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[AUTHOR:Your Name Here]&lt;br /&gt;
[NAME:My First Mod]&lt;br /&gt;
[DESCRIPTION:A cool mod I made!]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A mod should have all of these. There are a [[mod info token|few more tokens]], but the above are the important ones.&lt;br /&gt;
&lt;br /&gt;
Most of the game's vanilla content is in the same format as mods. Many text files can be found in the subfolders of the &amp;lt;code&amp;gt;/data/vanilla&amp;lt;/code&amp;gt; folder - these are the [[raw file|raw files]], and using them as a basis for modification is quite easy. For now, we will take a look at one of the existing files. For example, if you open &amp;lt;code&amp;gt;/data/vanilla/vanilla_creatures/creature_standard.txt&amp;lt;/code&amp;gt;, it should look something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file will be ignored by the game. &lt;br /&gt;
&lt;br /&gt;
'''In other words, to be recognized by the game, a raw file must have all of the following:'''&lt;br /&gt;
&lt;br /&gt;
# A filename that refers to the type of objects contained therein. '''Creature files must start with creature_, entity files must start with entity_, and so on.'''&lt;br /&gt;
# The filename on the first line of the file.&lt;br /&gt;
# [OBJECT:type], where &amp;quot;type&amp;quot; is replaced with the relevant object type.&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. ([[Duplicated raws|For example...]])  Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when possible. You should make a mod instead!&lt;br /&gt;
* When adding files, token identifiers are all you need to include to ensure proper references are maintained.  The game searches through all loaded raw files by tokens.  For example, you can add a new pair of leather boots and not even have to add it to a file named item_shoes.txt, but rather your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* When a new world is generated, the mods included are &amp;quot;baked in&amp;quot; and cannot be modified except to be updated--for this, the game checks that the mod used by the save is of a compatible NUMERIC_VERSION.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities.&lt;br /&gt;
&lt;br /&gt;
=== Modifying the vanilla objects ===&lt;br /&gt;
&lt;br /&gt;
You should not modify the vanilla raws where they originally are if you can help it. Instead, patch them using the patching functions now provided with Dwarf Fortress since v50.01.&lt;br /&gt;
&lt;br /&gt;
There are two patching functions: SELECT and CUT. When SELECT is used, it lets you make changes to an object without needing the entire entry to be present in your mod file. When CUT is used, it forces the game to not use that object, even though it is still found in the vanilla raws. Both of these functions take the form of tokens. These functions are not universally applicable to any token found in any entry, just the following list of objects:&lt;br /&gt;
&lt;br /&gt;
CREATURE, ENTITY, INTERACTION, ITEM, WORD, TRANSLATION, SYMBOL, INORGANIC, PLANT, MUSIC, REACTION, SOUND&lt;br /&gt;
&lt;br /&gt;
The syntax required for these functions is: '''['''&amp;lt;function&amp;gt;'''_'''&amp;lt;object&amp;gt;''':'''&amp;lt;specific object being affected&amp;gt;''']'''. For instance, [CUT_PLANT:MUSHROOM_HELMET_PLUMP] cuts the plump helmet object in the vanilla file plant_standard.txt so the game will not use that object at all. However, [SELECT_ITEM_HELM:ITEM_HELM_HELM] does not select the helm object from the vanilla file item_helm.txt, even though that's how the object appears in that file, because there is no [SELECT_ITEM_HELM] token. Instead, the helm would be selected with [SELECT_ITEM:ITEM_HELM_HELM].&lt;br /&gt;
&lt;br /&gt;
For example, if you wanted to mod beards onto dwarven women while also removing elephants from the game:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
creature_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:CREATURE]&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:DWARF] starts editing DWARF from the end of the entry&lt;br /&gt;
    [SELECT_CASTE:FEMALE]&lt;br /&gt;
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]&lt;br /&gt;
&lt;br /&gt;
[CUT_CREATURE:ELEPHANT] removes the ELEPHANT creature&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Or, say, add your own reaction and building to dwarves:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
entity_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:ENTITY]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:MOUNTAIN]&lt;br /&gt;
    [PERMITTED_REACTION:MY_REACTION]&lt;br /&gt;
    [PERMITTED_BUILDING:MY_BUILDING]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And in any of these, one can add the token [LOG_CURRENT_ENTRY] somewhere under one of the objects of the file, which logs the full contents of the object in question to logs\current_entry.txt. This can be useful to make sure that the patch is doing what you think it is. For instance if [LOG_CURRENT_ENTRY] were added on the next line after [CREATURE:DWARF] in your mod file, then the dwarf object would be the object detailed in the log entry.&lt;br /&gt;
&lt;br /&gt;
...Speaking of, let's move on to modifying and adding entities.&lt;br /&gt;
&lt;br /&gt;
=== Modding civilizations (entities) ===&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in &amp;lt;code&amp;gt;vanilla_entities/entity_default.txt&amp;lt;/code&amp;gt; (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQUENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and, therefore, the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology, language and names and so forth. Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. &lt;br /&gt;
&lt;br /&gt;
Besides those mentioned, some fundamental ones are the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which lets you control the civ in fortress mode, the &amp;lt;code&amp;gt;[OUTSIDER_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play in adventure mode as an outsider, and the &amp;lt;code&amp;gt;[ALL_MAIN_POPS_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little confusing at first, so, let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here, we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then, after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after... roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that, the dwarf entity is told to cull all inappropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything, so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
The following [[entity token]]s affect the appearance of [[trading]] [[caravan]]s:&lt;br /&gt;
&lt;br /&gt;
* [[Entity token#ACTIVE_SEASON|[ACTIVE_SEASON]]] - Defines the seasons when an entity may visit your fortress.&lt;br /&gt;
* [[Entity token#PROGRESS_TRIGGER_POPULATION|[PROGRESS_TRIGGER_*]]] - Defines the triggers which control when an entity will become interested in your fortress.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PACK|[COMMON_DOMESTIC_PACK]]] - Allows the civilization to use domestic pack animals. If an entity lacks pack animals (or ability to pull wagons), it will be unable to send caravans (showing as {{DFtext|No Trade|6:1}} at the [[embark]] screen), unless it has domesticated any suitable animal species or is forced to use a non-suitable creature by the [ANIMAL] definition [ALWAYS_WAGON-PULLER] on creature, caste or class.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PULL|[COMMON_DOMESTIC_PULL]]] - Allows the civilization to use domestic animals to pull [[wagon]]s, assuming their [[Ethic#KILL_PLANT|KILL_PLANT ethic]] permits them to use wagons in the first place.&lt;br /&gt;
* [[Entity token#MERCHANT_BODYGUARDS|[MERCHANT_BODYGUARDS]]] - Caravan will be guarded by [[soldier]]s.&lt;br /&gt;
&lt;br /&gt;
=== Modding creatures ===&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun – you can change nearly any aspect of a creature, or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
==== Creature materials and tissues ====&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of body parts. These parts are defined in their own file, and we'll talk about them later, as a specific aspect of how creatures work, which throws off a lot of prospective modders, is the relationship between body parts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of body parts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues, and those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by body part category (BY_CATEGORY), body part type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every body part). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all body parts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot; and you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans, which have their own file, and are designed to help automate some of the more common processes in creature creation, come in. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by MUSCLE, ARG4 by BONE, and ARG5 by CARTILAGE. Hence, our creature's body part designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We leave the body stuff declared normally:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We then, in our own mod, select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
==== Creature castes ====&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexually reproducing creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body structures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
=== Modding items ===&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, [[Item definition token|item definition tokens]] don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
=== Modding language files ===&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
=== Modding body parts ===&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each body part will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a body part definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the body part in question is connected to a certain ''type'' of body part, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the body part's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of body part tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
=== Modding plants ===&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of the harvested plant (default 1). &lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that are available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
==== Trees ====&lt;br /&gt;
&lt;br /&gt;
Trees are another kind of plant that can be modded. Being plants, they use many of the same tokens as edible crops, but differ in having a few tree-specific tokens.&lt;br /&gt;
&lt;br /&gt;
Below is the [[apple|apple tree]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [PLANT:APPLE] malus sieversii&lt;br /&gt;
  	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
  	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
  	[TRUNK_PERIOD:10]&lt;br /&gt;
  	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
  	[BRANCH_DENSITY:50]&lt;br /&gt;
  	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
  	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
  	[BRANCH_RADIUS:2]&lt;br /&gt;
  	[TRUNK_BRANCHING:2]&lt;br /&gt;
  	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
  	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
  	[ROOT_DENSITY:5]&lt;br /&gt;
  	[ROOT_RADIUS:3]&lt;br /&gt;
  	[STANDARD_TILE_NAMES]&lt;br /&gt;
  	[PREFSTRING:fruit]&lt;br /&gt;
  	[DRY]&lt;br /&gt;
  	[BIOME:ANY_TEMPERATE]&lt;br /&gt;
  	[SAPLING]&lt;br /&gt;
  	[GROWTH:LEAVES]&lt;br /&gt;
  		[GROWTH_NAME:apple leaf:apple leaves]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_HOST_TILE:SAPLING]&lt;br /&gt;
  		[GROWTH_TIMING:0:300000]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:2:0:0:0:209999:1]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:6:0:1:210000:239999:1] autumn color&lt;br /&gt;
  		[GROWTH_PRINT:0:6:4:0:1:240000:269999:1]&lt;br /&gt;
 		[GROWTH_PRINT:0:6:4:0:0:270000:300000:1]&lt;br /&gt;
   		[GROWTH_DROPS_OFF]&lt;br /&gt;
  	[GROWTH:FLOWERS]&lt;br /&gt;
  		[GROWTH_NAME:apple flower:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:60000:119999]&lt;br /&gt;
  		[GROWTH_PRINT:5:5:5:0:1:60000:119999:2]&lt;br /&gt;
 	[GROWTH:FRUIT]&lt;br /&gt;
  		[GROWTH_NAME:apple:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
   		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
  		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
  		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
  		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first lines are the same as the ones we saw being used in the plump helmets, defining the plant object, giving it a name, and deciding that it should use the standard STRUCTURAL_PLANT material for its structure.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:APPLE] malus sieversii&lt;br /&gt;
 	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Adding the token [[DF2014:Material_definition_token#DISPLAY_COLOR|DISPLAY_COLOR]] directly after [USE_MATERIAL_TEMPLATE] would allow us to change the color of the tree.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
        	[DISPLAY_COLOR:1:0:0]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
would give us a dark blue apple tree. This method is used by the game in [[birch|birches]] and [[spore tree|various]] [[nether-cap|underground]] [[blood thorn|trees]].&lt;br /&gt;
&lt;br /&gt;
Next come the definitions of various other materials used by the tree:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From them, we get to know what the parts of the tree can be used for, as well as how they will appear when separated from the tree. Any alterations that can be done to materials normally can be done here, such as changing the value or adding a [[syndrome]].&lt;br /&gt;
&lt;br /&gt;
 	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
&lt;br /&gt;
[TREE] is what turns your plant object into an actual tree. The following argument describes what material the harvested logs should be made of. If NONE, the felled tree will give no logs. [TREE_TILE] is the tile the tree shows up as on the world map.&lt;br /&gt;
&lt;br /&gt;
Note that all vanilla trees (that give logs) use the WOOD material defined above as the argument for [TREE], as opposed to the STRUCTURAL material. Thus, any changes to the properties of the wood harvested should be done to the WOOD material.&lt;br /&gt;
&lt;br /&gt;
The following tokens decide the dimensions of the tree, and how it grows.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
    [TRUNK_PERIOD:10]&lt;br /&gt;
 	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
 	[BRANCH_DENSITY:50]&lt;br /&gt;
 	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
 	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
 	[BRANCH_RADIUS:2]&lt;br /&gt;
 	[TRUNK_BRANCHING:2]&lt;br /&gt;
 	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
 	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
 	[ROOT_DENSITY:5]&lt;br /&gt;
 	[ROOT_RADIUS:3]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[TRUNK_PERIOD] and [TRUNK_WIDTH_PERIOD] determine how long it takes for the trunk to grow one tile taller respectively wider, in years. [MAX_TRUNK_HEIGHT:3] and [MAX_TRUNK_DIAMETER:1] determine the maximum value the above can reach. [TRUNK_BRANCHING] decides how &amp;quot;curvy&amp;quot; the tree is, with [TRUNK_BRANCHING:0] meaning the tree is entirely straight. &lt;br /&gt;
&lt;br /&gt;
[HEAVY_BRANCH_DENSITY:25], [HEAVY_BRANCH_RADIUS:1], [BRANCH_DENSITY:50], [BRANCH_RADIUS:2], [ROOT_DENSITY:5], and [ROOT_RADIUS:3] determine the density (how many are there, integer ranging 0-100) and radius (in tiles) away from the trunk, of heavy branches, normal branches and roots respectively.&lt;br /&gt;
&lt;br /&gt;
[STANDARD_TILE_NAMES] makes the tree use standard names for the trunk, branches etc. Otherwise custom ones can be used. (see [[Plant_token|full plant token list]])&lt;br /&gt;
&lt;br /&gt;
[SAPLING] ensures saplings of this tree are called &amp;quot;[tree name] sapling&amp;quot;, instead of the standard &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Lastly, we are introduced to the [GROWTH] token. [GROWTH] defines growths growing on a plant, in this case our apple tree. Apple trees have three growths: leaves, flowers and fruits.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [GROWTH:FRUIT]&lt;br /&gt;
 		[GROWTH_NAME:apple:STP]&lt;br /&gt;
 		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
 		[GROWTH_DENSITY:1000]&lt;br /&gt;
 		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
 		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
 		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
 		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First comes the name of the growth. Then, with [GROWTH_ITEM], what kind of growth it is, in this case a PLANT_GROWTH made out of the local FRUIT material. [GROWTH_DENSITY] says how densely the growth grows, and [GROWTH_HOST_TILE] where on the tree it grows. [GROWTH_TIMING] decides when the growth appears, in annual ticks. The growth then drops off, leaving no clouds (items to be picked up by your dwarves). [GROWTH_PRINT] sets it to look like a red '%', and [GROWTH_HAS_SEED] implies that eating this growth will leave you with a seed.&lt;br /&gt;
&lt;br /&gt;
=== Workshops ===&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
[BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
	[NAME:Soap Maker's Workshop]&lt;br /&gt;
	[NAME_COLOR:7:0:1]&lt;br /&gt;
	[DIM:3:3]&lt;br /&gt;
	[WORK_LOCATION:2:2]&lt;br /&gt;
	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
	[BUILD_KEY:CUSTOM_SHIFT_P]&lt;br /&gt;
	[BLOCK:1:0:0:0] workbenches no longer block&lt;br /&gt;
	[BLOCK:2:0:0:0]&lt;br /&gt;
	[BLOCK:3:0:0:0]&lt;br /&gt;
	[TILE:0:1:' ':' ':150]&lt;br /&gt;
	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
	[TILE:1:2:'-':' ':8]&lt;br /&gt;
	[TILE:1:3:' ':' ':150]&lt;br /&gt;
	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[TILE:2:1:'-':' ':8]&lt;br /&gt;
	[TILE:2:2:' ':' ':8]&lt;br /&gt;
	[TILE:2:3:' ':150:' ']&lt;br /&gt;
	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
	[TILE:3:1:150:' ':8]&lt;br /&gt;
	[TILE:3:2:' ':' ':8]&lt;br /&gt;
	[TILE:3:3:' ':240:' ']&lt;br /&gt;
	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  	[BLOCK:1:0:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:0 means that, on the first row, all tiles will be unblocked. This is the case for all vanilla workshops, as of now.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
}}&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the text in the tooltip shown when the building is highlighted by the mouse in the workshops list.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
=== Reactions ===&lt;br /&gt;
&lt;br /&gt;
Reactions are the crafting recipes used in [[workshop]]s, and by the [[adventurer mode|adventurer]]. By adding new reactions you can make new items available, or enable you to get items or materials in new ways. The reactions can also be given to entities, in which case they will make use of them during both world gen and play; making a reaction that creates [[steel]] directly from [[plant fiber]]s, would allow the elves to craft steel and arrive clad in it in a [[siege]].&lt;br /&gt;
&lt;br /&gt;
Not all crafting reactions are defined in the raws, but some are, such as those for [[ceramic industry|pottery]] and [[Metal#Alloys_2|alloy]] making.&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Selecting and Cutting ==&lt;br /&gt;
&lt;br /&gt;
Existing raws can be altered with the use of SELECT. Existing raws can also be culled with CUT for more granular control compared to simply unloading vanilla content in the mod loader. Token behavior when multiple tokens are added is dependent on the individual token. Removing tags from an object without cutting and recreating the object in question is typically impossible. Creatures can have tags removed without being removed and replaced by way of creature variations.&lt;br /&gt;
&lt;br /&gt;
The syntax for selecting and cutting objects is as follows:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
Substitute X for the desired object.&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:X]&lt;br /&gt;
[CUT_CREATURE:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:X]&lt;br /&gt;
[CUT_ENTITY:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INTERACTION:X]&lt;br /&gt;
[CUT_INTERACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ITEM:X]&lt;br /&gt;
[CUT_ITEM:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_WORD:X]&lt;br /&gt;
[CUT_WORD:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_TRANSLATION:X]&lt;br /&gt;
[CUT_TRANSLATION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:X]&lt;br /&gt;
[CUT_SYMBOL:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INORGANIC:X] &lt;br /&gt;
[CUT_INORGANIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_PLANT:X]&lt;br /&gt;
[CUT_PLANT:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_MUSIC:X]&lt;br /&gt;
[CUT_MUSIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_REACTION:X]&lt;br /&gt;
[CUT_REACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SOUND:X]&lt;br /&gt;
[CUT_SOUND:X]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[:Category:DF2014:Modding_Examples]]''&lt;br /&gt;
&lt;br /&gt;
The Hydling below was made by Mysteryguye (and annotated, updated and separated into blocks by Putnam), to act as an example creature.&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 	This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:40][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_PREDATOR] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 	Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what-have-you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons...&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] ...And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch on.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Modding}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Token]]&lt;br /&gt;
* [[Cheating]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;br /&gt;
[[ru:Modding]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280710</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280710"/>
		<updated>2022-12-31T10:09:39Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Modifying the vanilla objects */ Gave CUT and SELECT a full description, explaining use. Not sure if these are actually &amp;quot;functions&amp;quot; but that's what was being used already so I went with it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{For/see|a list of Dwarf Fortress mods|[[List of mods]]}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Modding''', or creating [[mod]]s, refers to modifying the behavior of the base game (vanilla). ''Dwarf Fortress'' is remarkably moddable.&lt;br /&gt;
&lt;br /&gt;
== Resource Overview==&lt;br /&gt;
[[File:modding_icon.png|120px|right]]This section serves as a portal to all modding-related pages on the wiki. &lt;br /&gt;
&lt;br /&gt;
; Using Mods:&lt;br /&gt;
* [[Mod#Installing Mods|Installing mods]]&lt;br /&gt;
* [[Mod#Enabling Mods|Enabling mods in-game]]&lt;br /&gt;
&lt;br /&gt;
; Guides and references:&lt;br /&gt;
* [[#Guide|Modding Guide]]&lt;br /&gt;
* [[Mod#Mod Format|Mod Format]] and [[Game folders and files]]&lt;br /&gt;
* [[Mod#Publish on Steam Workshop|Publish on Steam Workshop]]&lt;br /&gt;
* [[Memory hacking]], [[Main:Offset Finding Methods|Offset Finding Methods]]&lt;br /&gt;
* [[Character table]]&lt;br /&gt;
&lt;br /&gt;
; Where to get help?&lt;br /&gt;
* This [http://www.bay12games.com/forum/index.php?board=13.0 forum] is the official DF subforum dedicated to discussions about modding.&lt;br /&gt;
* [https://discord.com/channels/329272032778780672/629902895138996264 Kitfox modding discord] &lt;br /&gt;
* [https://docs.dfhack.org/en/stable/docs/Introduction.html#getting-help DFhack questions] &lt;br /&gt;
&lt;br /&gt;
; Modding tools&lt;br /&gt;
There are several [[Utilities#Modding_tools|utilities]] that assist in modding efforts. There is [http://www.bay12forums.com/smf/index.php?topic=28829.0 a list of them] on the [[Bay 12 Forums]].&lt;br /&gt;
* Text Editors are used in all areas of modding. Use a good text editor to edit files and search into multiple files (like th/e free [https://notepad-plus-plus.org/ Notepad++] for example) or more advanced editors capable of highlighting and formatting the displayed text (like [[Utilities#DF_RAW_Language_server|DF RAW Language server]])&lt;br /&gt;
* Image Editor will be needed for doing custom graphics. [https://www.getpaint.net/ Paint.NET], Photoshop and GIMP are the most used, but whatever supports the .png format will work.&lt;br /&gt;
&lt;br /&gt;
=== Documentation===&lt;br /&gt;
; [[Raw file]]s&lt;br /&gt;
&lt;br /&gt;
These object files, stored in &amp;lt;code&amp;gt;/data/vanilla/*/objects/&amp;lt;/code&amp;gt;, define various specifics of game items, materials, and creatures, and can be changed using mods to alter how the game behaves. These are text based and can be edited with any text editor, however, editing the vanilla raw files is now discouraged.&lt;br /&gt;
&lt;br /&gt;
See [[Token|Token reference]] - It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found here.&lt;br /&gt;
&lt;br /&gt;
; [[Graphics|Graphics Files]]:&lt;br /&gt;
&lt;br /&gt;
The `/data/art/` subfolder of Dwarf Fortress is used to store user-customizable graphics sets.&lt;br /&gt;
&lt;br /&gt;
; [[Speech file]]&lt;br /&gt;
&lt;br /&gt;
; [[Audio|Sound and Music files]]:&lt;br /&gt;
&lt;br /&gt;
All sound and music files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available [[music token]]s and [[sound token]]s in the raw files. However, you can't add new music or sounds other than replacing what's already there.&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&lt;br /&gt;
The current best practice is to not modify the original raw files, since most modifications can be made via mods. Mods can add new objects, add tokens to existing objects, and cut objects entirely.&lt;br /&gt;
&lt;br /&gt;
== Guide ==&lt;br /&gt;
This is intended to be a guide to inform those new to ''Dwarf Fortress'' modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
=== Token reference ===&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[Token|here]].&lt;br /&gt;
&lt;br /&gt;
=== Basics of DF modding ===&lt;br /&gt;
To make a mod, one must put a folder into the &amp;lt;code&amp;gt;/mods/&amp;lt;/code&amp;gt; folder. The vast majority of modifications to the game can be done via this method. This folder should contain a file named &amp;quot;info.txt&amp;quot; and two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for, generally, everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
The info.txt is formatted like so:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[ID:my_first_mod]&lt;br /&gt;
[NUMERIC_VERSION:1]&lt;br /&gt;
[DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]&lt;br /&gt;
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[AUTHOR:Your Name Here]&lt;br /&gt;
[NAME:My First Mod]&lt;br /&gt;
[DESCRIPTION:A cool mod I made!]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A mod should have all of these. There are a [[mod info token|few more tokens]], but the above are the important ones.&lt;br /&gt;
&lt;br /&gt;
Most of the game's vanilla content is in the same format as mods. Many text files can be found in the subfolders of the &amp;lt;code&amp;gt;/data/vanilla&amp;lt;/code&amp;gt; folder - these are the [[raw file|raw files]], and using them as a basis for modification is quite easy. For now, we will take a look at one of the existing files. For example, if you open &amp;lt;code&amp;gt;/data/vanilla/vanilla_creatures/creature_standard.txt&amp;lt;/code&amp;gt;, it should look something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file will be ignored by the game. &lt;br /&gt;
&lt;br /&gt;
'''In other words, to be recognized by the game, a raw file must have all of the following:'''&lt;br /&gt;
&lt;br /&gt;
# A filename that refers to the type of objects contained therein. '''Creature files must start with creature_, entity files must start with entity_, and so on.'''&lt;br /&gt;
# The filename on the first line of the file.&lt;br /&gt;
# [OBJECT:type], where &amp;quot;type&amp;quot; is replaced with the relevant object type.&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. ([[Duplicated raws|For example...]])  Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when possible. You should make a mod instead!&lt;br /&gt;
* When adding files, token identifiers are all you need to include to ensure proper references are maintained.  The game searches through all loaded raw files by tokens.  For example, you can add a new pair of leather boots and not even have to add it to a file named item_shoes.txt, but rather your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* When a new world is generated, the mods included are &amp;quot;baked in&amp;quot; and cannot be modified except to be updated--for this, the game checks that the mod used by the save is of a compatible NUMERIC_VERSION.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities.&lt;br /&gt;
&lt;br /&gt;
=== Modifying the vanilla objects ===&lt;br /&gt;
&lt;br /&gt;
You should not modify the vanilla raws where they originally are if you can help it. Instead, patch them using the patching functions now provided with Dwarf Fortress since v50.01. If you wanted to mod beards into dwarven women while also removing elephants from the game, for example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
creature_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:CREATURE]&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:DWARF] starts editing DWARF from the end of the entry&lt;br /&gt;
    [SELECT_CASTE:FEMALE]&lt;br /&gt;
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]&lt;br /&gt;
&lt;br /&gt;
[CUT_CREATURE:ELEPHANT] removes the ELEPHANT creature&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Or, say, add your own reaction and building to dwarves:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
entity_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:ENTITY]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:MOUNTAIN]&lt;br /&gt;
    [PERMITTED_REACTION:MY_REACTION]&lt;br /&gt;
    [PERMITTED_BUILDING:MY_BUILDING]&lt;br /&gt;
}}&lt;br /&gt;
There are two patching functions: SELECT and CUT. When SELECT is used, it lets you make changes to an object without needing the entire entry to be present in your mod file. When CUT is used, it forces the game to not use that object, even though it is still found in the vanilla raws. Both of these functions take the form of tokens. These functions are not universally applicable to any token found in any entry, just the following list of objects:&lt;br /&gt;
&lt;br /&gt;
CREATURE, ENTITY, INTERACTION, ITEM, WORD, TRANSLATION, SYMBOL, INORGANIC, PLANT, MUSIC, REACTION, SOUND&lt;br /&gt;
&lt;br /&gt;
The syntax required for these functions is: '''['''&amp;lt;function&amp;gt;'''_'''&amp;lt;object&amp;gt;''':'''&amp;lt;specific object being affected&amp;gt;''']'''. For instance, [CUT_PLANT:MUSHROOM_HELMET_PLUMP] cuts the plump helmet object in the vanilla file plant_standard.txt so the game will not use that object at all. However, [SELECT_ITEM_HELM:ITEM_HELM_HELM] does not select the helm object from the vanilla file item_helm.txt, even though that's how the object appears in that file, because there is no [SELECT_ITEM_HELM] token. Instead, the helm would be selected with [SELECT_ITEM:ITEM_HELM_HELM].&lt;br /&gt;
&lt;br /&gt;
And in any of these, one can add the token [LOG_CURRENT_ENTRY] somewhere under one of the objects of the file, which logs the full contents of the object in question to logs\current_entry.txt. This can be useful to make sure that the patch is doing what you think it is. For instance if [LOG_CURRENT_ENTRY] were added on the next line after [CREATURE:DWARF] in your mod file, then the dwarf object would be the object detailed in the log entry.&lt;br /&gt;
&lt;br /&gt;
...Speaking of, let's move on to modifying and adding entities.&lt;br /&gt;
&lt;br /&gt;
=== Modding civilizations (entities) ===&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in &amp;lt;code&amp;gt;vanilla_entities/entity_default.txt&amp;lt;/code&amp;gt; (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQUENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and, therefore, the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology, language and names and so forth. Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. &lt;br /&gt;
&lt;br /&gt;
Besides those mentioned, some fundamental ones are the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which lets you control the civ in fortress mode, the &amp;lt;code&amp;gt;[OUTSIDER_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play in adventure mode as an outsider, and the &amp;lt;code&amp;gt;[ALL_MAIN_POPS_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little confusing at first, so, let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here, we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then, after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after... roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that, the dwarf entity is told to cull all inappropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything, so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
The following [[entity token]]s affect the appearance of [[trading]] [[caravan]]s:&lt;br /&gt;
&lt;br /&gt;
* [[Entity token#ACTIVE_SEASON|[ACTIVE_SEASON]]] - Defines the seasons when an entity may visit your fortress.&lt;br /&gt;
* [[Entity token#PROGRESS_TRIGGER_POPULATION|[PROGRESS_TRIGGER_*]]] - Defines the triggers which control when an entity will become interested in your fortress.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PACK|[COMMON_DOMESTIC_PACK]]] - Allows the civilization to use domestic pack animals. If an entity lacks pack animals (or ability to pull wagons), it will be unable to send caravans (showing as {{DFtext|No Trade|6:1}} at the [[embark]] screen), unless it has domesticated any suitable animal species or is forced to use a non-suitable creature by the [ANIMAL] definition [ALWAYS_WAGON-PULLER] on creature, caste or class.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PULL|[COMMON_DOMESTIC_PULL]]] - Allows the civilization to use domestic animals to pull [[wagon]]s, assuming their [[Ethic#KILL_PLANT|KILL_PLANT ethic]] permits them to use wagons in the first place.&lt;br /&gt;
* [[Entity token#MERCHANT_BODYGUARDS|[MERCHANT_BODYGUARDS]]] - Caravan will be guarded by [[soldier]]s.&lt;br /&gt;
&lt;br /&gt;
=== Modding creatures ===&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun – you can change nearly any aspect of a creature, or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
==== Creature materials and tissues ====&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of body parts. These parts are defined in their own file, and we'll talk about them later, as a specific aspect of how creatures work, which throws off a lot of prospective modders, is the relationship between body parts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of body parts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues, and those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by body part category (BY_CATEGORY), body part type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every body part). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all body parts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot; and you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans, which have their own file, and are designed to help automate some of the more common processes in creature creation, come in. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by MUSCLE, ARG4 by BONE, and ARG5 by CARTILAGE. Hence, our creature's body part designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We leave the body stuff declared normally:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We then, in our own mod, select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
==== Creature castes ====&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexually reproducing creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body structures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
=== Modding items ===&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, [[Item definition token|item definition tokens]] don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
=== Modding language files ===&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
=== Modding body parts ===&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each body part will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a body part definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the body part in question is connected to a certain ''type'' of body part, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the body part's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of body part tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
=== Modding plants ===&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of the harvested plant (default 1). &lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that are available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
==== Trees ====&lt;br /&gt;
&lt;br /&gt;
Trees are another kind of plant that can be modded. Being plants, they use many of the same tokens as edible crops, but differ in having a few tree-specific tokens.&lt;br /&gt;
&lt;br /&gt;
Below is the [[apple|apple tree]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [PLANT:APPLE] malus sieversii&lt;br /&gt;
  	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
  	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
  	[TRUNK_PERIOD:10]&lt;br /&gt;
  	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
  	[BRANCH_DENSITY:50]&lt;br /&gt;
  	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
  	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
  	[BRANCH_RADIUS:2]&lt;br /&gt;
  	[TRUNK_BRANCHING:2]&lt;br /&gt;
  	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
  	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
  	[ROOT_DENSITY:5]&lt;br /&gt;
  	[ROOT_RADIUS:3]&lt;br /&gt;
  	[STANDARD_TILE_NAMES]&lt;br /&gt;
  	[PREFSTRING:fruit]&lt;br /&gt;
  	[DRY]&lt;br /&gt;
  	[BIOME:ANY_TEMPERATE]&lt;br /&gt;
  	[SAPLING]&lt;br /&gt;
  	[GROWTH:LEAVES]&lt;br /&gt;
  		[GROWTH_NAME:apple leaf:apple leaves]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_HOST_TILE:SAPLING]&lt;br /&gt;
  		[GROWTH_TIMING:0:300000]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:2:0:0:0:209999:1]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:6:0:1:210000:239999:1] autumn color&lt;br /&gt;
  		[GROWTH_PRINT:0:6:4:0:1:240000:269999:1]&lt;br /&gt;
 		[GROWTH_PRINT:0:6:4:0:0:270000:300000:1]&lt;br /&gt;
   		[GROWTH_DROPS_OFF]&lt;br /&gt;
  	[GROWTH:FLOWERS]&lt;br /&gt;
  		[GROWTH_NAME:apple flower:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:60000:119999]&lt;br /&gt;
  		[GROWTH_PRINT:5:5:5:0:1:60000:119999:2]&lt;br /&gt;
 	[GROWTH:FRUIT]&lt;br /&gt;
  		[GROWTH_NAME:apple:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
   		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
  		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
  		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
  		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first lines are the same as the ones we saw being used in the plump helmets, defining the plant object, giving it a name, and deciding that it should use the standard STRUCTURAL_PLANT material for its structure.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:APPLE] malus sieversii&lt;br /&gt;
 	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Adding the token [[DF2014:Material_definition_token#DISPLAY_COLOR|DISPLAY_COLOR]] directly after [USE_MATERIAL_TEMPLATE] would allow us to change the color of the tree.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
        	[DISPLAY_COLOR:1:0:0]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
would give us a dark blue apple tree. This method is used by the game in [[birch|birches]] and [[spore tree|various]] [[nether-cap|underground]] [[blood thorn|trees]].&lt;br /&gt;
&lt;br /&gt;
Next come the definitions of various other materials used by the tree:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From them, we get to know what the parts of the tree can be used for, as well as how they will appear when separated from the tree. Any alterations that can be done to materials normally can be done here, such as changing the value or adding a [[syndrome]].&lt;br /&gt;
&lt;br /&gt;
 	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
&lt;br /&gt;
[TREE] is what turns your plant object into an actual tree. The following argument describes what material the harvested logs should be made of. If NONE, the felled tree will give no logs. [TREE_TILE] is the tile the tree shows up as on the world map.&lt;br /&gt;
&lt;br /&gt;
Note that all vanilla trees (that give logs) use the WOOD material defined above as the argument for [TREE], as opposed to the STRUCTURAL material. Thus, any changes to the properties of the wood harvested should be done to the WOOD material.&lt;br /&gt;
&lt;br /&gt;
The following tokens decide the dimensions of the tree, and how it grows.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
    [TRUNK_PERIOD:10]&lt;br /&gt;
 	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
 	[BRANCH_DENSITY:50]&lt;br /&gt;
 	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
 	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
 	[BRANCH_RADIUS:2]&lt;br /&gt;
 	[TRUNK_BRANCHING:2]&lt;br /&gt;
 	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
 	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
 	[ROOT_DENSITY:5]&lt;br /&gt;
 	[ROOT_RADIUS:3]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[TRUNK_PERIOD] and [TRUNK_WIDTH_PERIOD] determine how long it takes for the trunk to grow one tile taller respectively wider, in years. [MAX_TRUNK_HEIGHT:3] and [MAX_TRUNK_DIAMETER:1] determine the maximum value the above can reach. [TRUNK_BRANCHING] decides how &amp;quot;curvy&amp;quot; the tree is, with [TRUNK_BRANCHING:0] meaning the tree is entirely straight. &lt;br /&gt;
&lt;br /&gt;
[HEAVY_BRANCH_DENSITY:25], [HEAVY_BRANCH_RADIUS:1], [BRANCH_DENSITY:50], [BRANCH_RADIUS:2], [ROOT_DENSITY:5], and [ROOT_RADIUS:3] determine the density (how many are there, integer ranging 0-100) and radius (in tiles) away from the trunk, of heavy branches, normal branches and roots respectively.&lt;br /&gt;
&lt;br /&gt;
[STANDARD_TILE_NAMES] makes the tree use standard names for the trunk, branches etc. Otherwise custom ones can be used. (see [[Plant_token|full plant token list]])&lt;br /&gt;
&lt;br /&gt;
[SAPLING] ensures saplings of this tree are called &amp;quot;[tree name] sapling&amp;quot;, instead of the standard &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Lastly, we are introduced to the [GROWTH] token. [GROWTH] defines growths growing on a plant, in this case our apple tree. Apple trees have three growths: leaves, flowers and fruits.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [GROWTH:FRUIT]&lt;br /&gt;
 		[GROWTH_NAME:apple:STP]&lt;br /&gt;
 		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
 		[GROWTH_DENSITY:1000]&lt;br /&gt;
 		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
 		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
 		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
 		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First comes the name of the growth. Then, with [GROWTH_ITEM], what kind of growth it is, in this case a PLANT_GROWTH made out of the local FRUIT material. [GROWTH_DENSITY] says how densely the growth grows, and [GROWTH_HOST_TILE] where on the tree it grows. [GROWTH_TIMING] decides when the growth appears, in annual ticks. The growth then drops off, leaving no clouds (items to be picked up by your dwarves). [GROWTH_PRINT] sets it to look like a red '%', and [GROWTH_HAS_SEED] implies that eating this growth will leave you with a seed.&lt;br /&gt;
&lt;br /&gt;
=== Workshops ===&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
[BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
	[NAME:Soap Maker's Workshop]&lt;br /&gt;
	[NAME_COLOR:7:0:1]&lt;br /&gt;
	[DIM:3:3]&lt;br /&gt;
	[WORK_LOCATION:2:2]&lt;br /&gt;
	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
	[BUILD_KEY:CUSTOM_SHIFT_P]&lt;br /&gt;
	[BLOCK:1:0:0:0] workbenches no longer block&lt;br /&gt;
	[BLOCK:2:0:0:0]&lt;br /&gt;
	[BLOCK:3:0:0:0]&lt;br /&gt;
	[TILE:0:1:' ':' ':150]&lt;br /&gt;
	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
	[TILE:1:2:'-':' ':8]&lt;br /&gt;
	[TILE:1:3:' ':' ':150]&lt;br /&gt;
	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[TILE:2:1:'-':' ':8]&lt;br /&gt;
	[TILE:2:2:' ':' ':8]&lt;br /&gt;
	[TILE:2:3:' ':150:' ']&lt;br /&gt;
	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
	[TILE:3:1:150:' ':8]&lt;br /&gt;
	[TILE:3:2:' ':' ':8]&lt;br /&gt;
	[TILE:3:3:' ':240:' ']&lt;br /&gt;
	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  	[BLOCK:1:0:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:0 means that, on the first row, all tiles will be unblocked. This is the case for all vanilla workshops, as of now.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
}}&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the text in the tooltip shown when the building is highlighted by the mouse in the workshops list.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
=== Reactions ===&lt;br /&gt;
&lt;br /&gt;
Reactions are the crafting recipes used in [[workshop]]s, and by the [[adventurer mode|adventurer]]. By adding new reactions you can make new items available, or enable you to get items or materials in new ways. The reactions can also be given to entities, in which case they will make use of them during both world gen and play; making a reaction that creates [[steel]] directly from [[plant fiber]]s, would allow the elves to craft steel and arrive clad in it in a [[siege]].&lt;br /&gt;
&lt;br /&gt;
Not all crafting reactions are defined in the raws, but some are, such as those for [[ceramic industry|pottery]] and [[Metal#Alloys_2|alloy]] making.&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Selecting and Cutting ==&lt;br /&gt;
&lt;br /&gt;
Existing raws can be altered with the use of SELECT. Existing raws can also be culled with CUT for more granular control compared to simply unloading vanilla content in the mod loader. Token behavior when multiple tokens are added is dependent on the individual token. Removing tags from an object without cutting and recreating the object in question is typically impossible. Creatures can have tags removed without being removed and replaced by way of creature variations.&lt;br /&gt;
&lt;br /&gt;
The syntax for selecting and cutting objects is as follows:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
Substitute X for the desired object.&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:X]&lt;br /&gt;
[CUT_CREATURE:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:X]&lt;br /&gt;
[CUT_ENTITY:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INTERACTION:X]&lt;br /&gt;
[CUT_INTERACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ITEM:X]&lt;br /&gt;
[CUT_ITEM:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_WORD:X]&lt;br /&gt;
[CUT_WORD:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_TRANSLATION:X]&lt;br /&gt;
[CUT_TRANSLATION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:X]&lt;br /&gt;
[CUT_SYMBOL:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INORGANIC:X] &lt;br /&gt;
[CUT_INORGANIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_PLANT:X]&lt;br /&gt;
[CUT_PLANT:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_MUSIC:X]&lt;br /&gt;
[CUT_MUSIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_REACTION:X]&lt;br /&gt;
[CUT_REACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SOUND:X]&lt;br /&gt;
[CUT_SOUND:X]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[:Category:DF2014:Modding_Examples]]''&lt;br /&gt;
&lt;br /&gt;
The Hydling below was made by Mysteryguye (and annotated, updated and separated into blocks by Putnam), to act as an example creature.&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 	This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:40][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_PREDATOR] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 	Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what-have-you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons...&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] ...And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch on.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Modding}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Token]]&lt;br /&gt;
* [[Cheating]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;br /&gt;
[[ru:Modding]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280707</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280707"/>
		<updated>2022-12-31T09:39:58Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Basics of DF modding */ Changed word order to make the sentence easier to understand.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{For/see|a list of Dwarf Fortress mods|[[List of mods]]}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Modding''', or creating [[mod]]s, refers to modifying the behavior of the base game (vanilla). ''Dwarf Fortress'' is remarkably moddable.&lt;br /&gt;
&lt;br /&gt;
== Resource Overview==&lt;br /&gt;
[[File:modding_icon.png|120px|right]]This section serves as a portal to all modding-related pages on the wiki. &lt;br /&gt;
&lt;br /&gt;
; Using Mods:&lt;br /&gt;
* [[Mod#Installing Mods|Installing mods]]&lt;br /&gt;
* [[Mod#Enabling Mods|Enabling mods in-game]]&lt;br /&gt;
&lt;br /&gt;
; Guides and references:&lt;br /&gt;
* [[#Guide|Modding Guide]]&lt;br /&gt;
* [[Mod#Mod Format|Mod Format]] and [[Game folders and files]]&lt;br /&gt;
* [[Mod#Publish on Steam Workshop|Publish on Steam Workshop]]&lt;br /&gt;
* [[Memory hacking]], [[Main:Offset Finding Methods|Offset Finding Methods]]&lt;br /&gt;
* [[Character table]]&lt;br /&gt;
&lt;br /&gt;
; Where to get help?&lt;br /&gt;
* This [http://www.bay12games.com/forum/index.php?board=13.0 forum] is the official DF subforum dedicated to discussions about modding.&lt;br /&gt;
* [https://discord.com/channels/329272032778780672/629902895138996264 Kitfox modding discord] &lt;br /&gt;
* [https://docs.dfhack.org/en/stable/docs/Introduction.html#getting-help DFhack questions] &lt;br /&gt;
&lt;br /&gt;
; Modding tools&lt;br /&gt;
There are several [[Utilities#Modding_tools|utilities]] that assist in modding efforts. There is [http://www.bay12forums.com/smf/index.php?topic=28829.0 a list of them] on the [[Bay 12 Forums]].&lt;br /&gt;
* Text Editors are used in all areas of modding. Use a good text editor to edit files and search into multiple files (like th/e free [https://notepad-plus-plus.org/ Notepad++] for example) or more advanced editors capable of highlighting and formatting the displayed text (like [[Utilities#DF_RAW_Language_server|DF RAW Language server]])&lt;br /&gt;
* Image Editor will be needed for doing custom graphics. [https://www.getpaint.net/ Paint.NET], Photoshop and GIMP are the most used, but whatever supports the .png format will work.&lt;br /&gt;
&lt;br /&gt;
=== Documentation===&lt;br /&gt;
; [[Raw file]]s&lt;br /&gt;
&lt;br /&gt;
These object files, stored in &amp;lt;code&amp;gt;/data/vanilla/*/objects/&amp;lt;/code&amp;gt;, define various specifics of game items, materials, and creatures, and can be changed using mods to alter how the game behaves. These are text based and can be edited with any text editor, however, editing the vanilla raw files is now discouraged.&lt;br /&gt;
&lt;br /&gt;
See [[Token|Token reference]] - It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found here.&lt;br /&gt;
&lt;br /&gt;
; [[Graphics|Graphics Files]]:&lt;br /&gt;
&lt;br /&gt;
The `/data/art/` subfolder of Dwarf Fortress is used to store user-customizable graphics sets.&lt;br /&gt;
&lt;br /&gt;
; [[Speech file]]&lt;br /&gt;
&lt;br /&gt;
; [[Audio|Sound and Music files]]:&lt;br /&gt;
&lt;br /&gt;
All sound and music files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available [[music token]]s and [[sound token]]s in the raw files. However, you can't add new music or sounds other than replacing what's already there.&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&lt;br /&gt;
The current best practice is to not modify the original raw files, since most modifications can be made via mods. Mods can add new objects, add tokens to existing objects, and cut objects entirely.&lt;br /&gt;
&lt;br /&gt;
== Guide ==&lt;br /&gt;
This is intended to be a guide to inform those new to ''Dwarf Fortress'' modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
=== Token reference ===&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[Token|here]].&lt;br /&gt;
&lt;br /&gt;
=== Basics of DF modding ===&lt;br /&gt;
To make a mod, one must put a folder into the &amp;lt;code&amp;gt;/mods/&amp;lt;/code&amp;gt; folder. The vast majority of modifications to the game can be done via this method. This folder should contain a file named &amp;quot;info.txt&amp;quot; and two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for, generally, everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
The info.txt is formatted like so:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[ID:my_first_mod]&lt;br /&gt;
[NUMERIC_VERSION:1]&lt;br /&gt;
[DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]&lt;br /&gt;
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[AUTHOR:Your Name Here]&lt;br /&gt;
[NAME:My First Mod]&lt;br /&gt;
[DESCRIPTION:A cool mod I made!]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A mod should have all of these. There are a [[mod info token|few more tokens]], but the above are the important ones.&lt;br /&gt;
&lt;br /&gt;
Most of the game's vanilla content is in the same format as mods. Many text files can be found in the subfolders of the &amp;lt;code&amp;gt;/data/vanilla&amp;lt;/code&amp;gt; folder - these are the [[raw file|raw files]], and using them as a basis for modification is quite easy. For now, we will take a look at one of the existing files. For example, if you open &amp;lt;code&amp;gt;/data/vanilla/vanilla_creatures/creature_standard.txt&amp;lt;/code&amp;gt;, it should look something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file will be ignored by the game. &lt;br /&gt;
&lt;br /&gt;
'''In other words, to be recognized by the game, a raw file must have all of the following:'''&lt;br /&gt;
&lt;br /&gt;
# A filename that refers to the type of objects contained therein. '''Creature files must start with creature_, entity files must start with entity_, and so on.'''&lt;br /&gt;
# The filename on the first line of the file.&lt;br /&gt;
# [OBJECT:type], where &amp;quot;type&amp;quot; is replaced with the relevant object type.&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. ([[Duplicated raws|For example...]])  Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when possible. You should make a mod instead!&lt;br /&gt;
* When adding files, token identifiers are all you need to include to ensure proper references are maintained.  The game searches through all loaded raw files by tokens.  For example, you can add a new pair of leather boots and not even have to add it to a file named item_shoes.txt, but rather your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* When a new world is generated, the mods included are &amp;quot;baked in&amp;quot; and cannot be modified except to be updated--for this, the game checks that the mod used by the save is of a compatible NUMERIC_VERSION.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities.&lt;br /&gt;
&lt;br /&gt;
=== Modifying the vanilla objects ===&lt;br /&gt;
&lt;br /&gt;
You should not modify the vanilla raws where they originally are if you can help it. Instead, patch them using the patching functions now provided with Dwarf Fortress since v50.01. If you wanted to mod beards into dwarven women while also removing elephants from the game, for example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
creature_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:CREATURE]&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:DWARF] starts editing DWARF from the end of the entry&lt;br /&gt;
    [SELECT_CASTE:FEMALE]&lt;br /&gt;
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]&lt;br /&gt;
&lt;br /&gt;
[CUT_CREATURE:ELEPHANT] removes the ELEPHANT creature&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Or, say, add your own reaction and building to dwarves:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
entity_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:ENTITY]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:MOUNTAIN]&lt;br /&gt;
    [PERMITTED_REACTION:MY_REACTION]&lt;br /&gt;
    [PERMITTED_BUILDING:MY_BUILDING]&lt;br /&gt;
}}&lt;br /&gt;
You can both SELECT and CUT for all of the following types of objects:&lt;br /&gt;
&lt;br /&gt;
CREATURE, ENTITY, INTERACTION, ITEM, WORD, TRANSLATION, SYMBOL, INORGANIC, PLANT, MUSIC, REACTION, SOUND&lt;br /&gt;
&lt;br /&gt;
And in any of these, one can add the token [LOG_CURRENT_ENTRY] somewhere under one of the objects of the file, which logs the full contents of the object in question to logs\current_entry.txt. This can be useful to make sure that the patch is doing what you think it is. For instance if [LOG_CURRENT_ENTRY] were added on the next line after [CREATURE:DWARF] in your mod file, then the dwarf object would be the object detailed in the log entry.&lt;br /&gt;
&lt;br /&gt;
...Speaking of, let's move on to modifying and adding entities.&lt;br /&gt;
&lt;br /&gt;
=== Modding civilizations (entities) ===&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in &amp;lt;code&amp;gt;vanilla_entities/entity_default.txt&amp;lt;/code&amp;gt; (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQUENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and, therefore, the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology, language and names and so forth. Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. &lt;br /&gt;
&lt;br /&gt;
Besides those mentioned, some fundamental ones are the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which lets you control the civ in fortress mode, the &amp;lt;code&amp;gt;[OUTSIDER_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play in adventure mode as an outsider, and the &amp;lt;code&amp;gt;[ALL_MAIN_POPS_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little confusing at first, so, let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here, we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then, after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after... roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that, the dwarf entity is told to cull all inappropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything, so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
The following [[entity token]]s affect the appearance of [[trading]] [[caravan]]s:&lt;br /&gt;
&lt;br /&gt;
* [[Entity token#ACTIVE_SEASON|[ACTIVE_SEASON]]] - Defines the seasons when an entity may visit your fortress.&lt;br /&gt;
* [[Entity token#PROGRESS_TRIGGER_POPULATION|[PROGRESS_TRIGGER_*]]] - Defines the triggers which control when an entity will become interested in your fortress.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PACK|[COMMON_DOMESTIC_PACK]]] - Allows the civilization to use domestic pack animals. If an entity lacks pack animals (or ability to pull wagons), it will be unable to send caravans (showing as {{DFtext|No Trade|6:1}} at the [[embark]] screen), unless it has domesticated any suitable animal species or is forced to use a non-suitable creature by the [ANIMAL] definition [ALWAYS_WAGON-PULLER] on creature, caste or class.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PULL|[COMMON_DOMESTIC_PULL]]] - Allows the civilization to use domestic animals to pull [[wagon]]s, assuming their [[Ethic#KILL_PLANT|KILL_PLANT ethic]] permits them to use wagons in the first place.&lt;br /&gt;
* [[Entity token#MERCHANT_BODYGUARDS|[MERCHANT_BODYGUARDS]]] - Caravan will be guarded by [[soldier]]s.&lt;br /&gt;
&lt;br /&gt;
=== Modding creatures ===&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun – you can change nearly any aspect of a creature, or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
==== Creature materials and tissues ====&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of body parts. These parts are defined in their own file, and we'll talk about them later, as a specific aspect of how creatures work, which throws off a lot of prospective modders, is the relationship between body parts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of body parts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues, and those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by body part category (BY_CATEGORY), body part type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every body part). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all body parts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot; and you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans, which have their own file, and are designed to help automate some of the more common processes in creature creation, come in. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by MUSCLE, ARG4 by BONE, and ARG5 by CARTILAGE. Hence, our creature's body part designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We leave the body stuff declared normally:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We then, in our own mod, select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
==== Creature castes ====&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexually reproducing creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body structures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
=== Modding items ===&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, [[Item definition token|item definition tokens]] don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
=== Modding language files ===&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
=== Modding body parts ===&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each body part will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a body part definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the body part in question is connected to a certain ''type'' of body part, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the body part's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of body part tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
=== Modding plants ===&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of the harvested plant (default 1). &lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that are available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
==== Trees ====&lt;br /&gt;
&lt;br /&gt;
Trees are another kind of plant that can be modded. Being plants, they use many of the same tokens as edible crops, but differ in having a few tree-specific tokens.&lt;br /&gt;
&lt;br /&gt;
Below is the [[apple|apple tree]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [PLANT:APPLE] malus sieversii&lt;br /&gt;
  	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
  	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
  	[TRUNK_PERIOD:10]&lt;br /&gt;
  	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
  	[BRANCH_DENSITY:50]&lt;br /&gt;
  	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
  	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
  	[BRANCH_RADIUS:2]&lt;br /&gt;
  	[TRUNK_BRANCHING:2]&lt;br /&gt;
  	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
  	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
  	[ROOT_DENSITY:5]&lt;br /&gt;
  	[ROOT_RADIUS:3]&lt;br /&gt;
  	[STANDARD_TILE_NAMES]&lt;br /&gt;
  	[PREFSTRING:fruit]&lt;br /&gt;
  	[DRY]&lt;br /&gt;
  	[BIOME:ANY_TEMPERATE]&lt;br /&gt;
  	[SAPLING]&lt;br /&gt;
  	[GROWTH:LEAVES]&lt;br /&gt;
  		[GROWTH_NAME:apple leaf:apple leaves]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_HOST_TILE:SAPLING]&lt;br /&gt;
  		[GROWTH_TIMING:0:300000]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:2:0:0:0:209999:1]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:6:0:1:210000:239999:1] autumn color&lt;br /&gt;
  		[GROWTH_PRINT:0:6:4:0:1:240000:269999:1]&lt;br /&gt;
 		[GROWTH_PRINT:0:6:4:0:0:270000:300000:1]&lt;br /&gt;
   		[GROWTH_DROPS_OFF]&lt;br /&gt;
  	[GROWTH:FLOWERS]&lt;br /&gt;
  		[GROWTH_NAME:apple flower:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:60000:119999]&lt;br /&gt;
  		[GROWTH_PRINT:5:5:5:0:1:60000:119999:2]&lt;br /&gt;
 	[GROWTH:FRUIT]&lt;br /&gt;
  		[GROWTH_NAME:apple:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
   		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
  		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
  		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
  		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first lines are the same as the ones we saw being used in the plump helmets, defining the plant object, giving it a name, and deciding that it should use the standard STRUCTURAL_PLANT material for its structure.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:APPLE] malus sieversii&lt;br /&gt;
 	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Adding the token [[DF2014:Material_definition_token#DISPLAY_COLOR|DISPLAY_COLOR]] directly after [USE_MATERIAL_TEMPLATE] would allow us to change the color of the tree.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
        	[DISPLAY_COLOR:1:0:0]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
would give us a dark blue apple tree. This method is used by the game in [[birch|birches]] and [[spore tree|various]] [[nether-cap|underground]] [[blood thorn|trees]].&lt;br /&gt;
&lt;br /&gt;
Next come the definitions of various other materials used by the tree:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From them, we get to know what the parts of the tree can be used for, as well as how they will appear when separated from the tree. Any alterations that can be done to materials normally can be done here, such as changing the value or adding a [[syndrome]].&lt;br /&gt;
&lt;br /&gt;
 	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
&lt;br /&gt;
[TREE] is what turns your plant object into an actual tree. The following argument describes what material the harvested logs should be made of. If NONE, the felled tree will give no logs. [TREE_TILE] is the tile the tree shows up as on the world map.&lt;br /&gt;
&lt;br /&gt;
Note that all vanilla trees (that give logs) use the WOOD material defined above as the argument for [TREE], as opposed to the STRUCTURAL material. Thus, any changes to the properties of the wood harvested should be done to the WOOD material.&lt;br /&gt;
&lt;br /&gt;
The following tokens decide the dimensions of the tree, and how it grows.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
    [TRUNK_PERIOD:10]&lt;br /&gt;
 	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
 	[BRANCH_DENSITY:50]&lt;br /&gt;
 	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
 	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
 	[BRANCH_RADIUS:2]&lt;br /&gt;
 	[TRUNK_BRANCHING:2]&lt;br /&gt;
 	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
 	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
 	[ROOT_DENSITY:5]&lt;br /&gt;
 	[ROOT_RADIUS:3]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[TRUNK_PERIOD] and [TRUNK_WIDTH_PERIOD] determine how long it takes for the trunk to grow one tile taller respectively wider, in years. [MAX_TRUNK_HEIGHT:3] and [MAX_TRUNK_DIAMETER:1] determine the maximum value the above can reach. [TRUNK_BRANCHING] decides how &amp;quot;curvy&amp;quot; the tree is, with [TRUNK_BRANCHING:0] meaning the tree is entirely straight. &lt;br /&gt;
&lt;br /&gt;
[HEAVY_BRANCH_DENSITY:25], [HEAVY_BRANCH_RADIUS:1], [BRANCH_DENSITY:50], [BRANCH_RADIUS:2], [ROOT_DENSITY:5], and [ROOT_RADIUS:3] determine the density (how many are there, integer ranging 0-100) and radius (in tiles) away from the trunk, of heavy branches, normal branches and roots respectively.&lt;br /&gt;
&lt;br /&gt;
[STANDARD_TILE_NAMES] makes the tree use standard names for the trunk, branches etc. Otherwise custom ones can be used. (see [[Plant_token|full plant token list]])&lt;br /&gt;
&lt;br /&gt;
[SAPLING] ensures saplings of this tree are called &amp;quot;[tree name] sapling&amp;quot;, instead of the standard &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Lastly, we are introduced to the [GROWTH] token. [GROWTH] defines growths growing on a plant, in this case our apple tree. Apple trees have three growths: leaves, flowers and fruits.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [GROWTH:FRUIT]&lt;br /&gt;
 		[GROWTH_NAME:apple:STP]&lt;br /&gt;
 		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
 		[GROWTH_DENSITY:1000]&lt;br /&gt;
 		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
 		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
 		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
 		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First comes the name of the growth. Then, with [GROWTH_ITEM], what kind of growth it is, in this case a PLANT_GROWTH made out of the local FRUIT material. [GROWTH_DENSITY] says how densely the growth grows, and [GROWTH_HOST_TILE] where on the tree it grows. [GROWTH_TIMING] decides when the growth appears, in annual ticks. The growth then drops off, leaving no clouds (items to be picked up by your dwarves). [GROWTH_PRINT] sets it to look like a red '%', and [GROWTH_HAS_SEED] implies that eating this growth will leave you with a seed.&lt;br /&gt;
&lt;br /&gt;
=== Workshops ===&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
[BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
	[NAME:Soap Maker's Workshop]&lt;br /&gt;
	[NAME_COLOR:7:0:1]&lt;br /&gt;
	[DIM:3:3]&lt;br /&gt;
	[WORK_LOCATION:2:2]&lt;br /&gt;
	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
	[BUILD_KEY:CUSTOM_SHIFT_P]&lt;br /&gt;
	[BLOCK:1:0:0:0] workbenches no longer block&lt;br /&gt;
	[BLOCK:2:0:0:0]&lt;br /&gt;
	[BLOCK:3:0:0:0]&lt;br /&gt;
	[TILE:0:1:' ':' ':150]&lt;br /&gt;
	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
	[TILE:1:2:'-':' ':8]&lt;br /&gt;
	[TILE:1:3:' ':' ':150]&lt;br /&gt;
	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[TILE:2:1:'-':' ':8]&lt;br /&gt;
	[TILE:2:2:' ':' ':8]&lt;br /&gt;
	[TILE:2:3:' ':150:' ']&lt;br /&gt;
	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
	[TILE:3:1:150:' ':8]&lt;br /&gt;
	[TILE:3:2:' ':' ':8]&lt;br /&gt;
	[TILE:3:3:' ':240:' ']&lt;br /&gt;
	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  	[BLOCK:1:0:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:0 means that, on the first row, all tiles will be unblocked. This is the case for all vanilla workshops, as of now.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
}}&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the text in the tooltip shown when the building is highlighted by the mouse in the workshops list.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
=== Reactions ===&lt;br /&gt;
&lt;br /&gt;
Reactions are the crafting recipes used in [[workshop]]s, and by the [[adventurer mode|adventurer]]. By adding new reactions you can make new items available, or enable you to get items or materials in new ways. The reactions can also be given to entities, in which case they will make use of them during both world gen and play; making a reaction that creates [[steel]] directly from [[plant fiber]]s, would allow the elves to craft steel and arrive clad in it in a [[siege]].&lt;br /&gt;
&lt;br /&gt;
Not all crafting reactions are defined in the raws, but some are, such as those for [[ceramic industry|pottery]] and [[Metal#Alloys_2|alloy]] making.&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Selecting and Cutting ==&lt;br /&gt;
&lt;br /&gt;
Existing raws can be altered with the use of SELECT. Existing raws can also be culled with CUT for more granular control compared to simply unloading vanilla content in the mod loader. Token behavior when multiple tokens are added is dependent on the individual token. Removing tags from an object without cutting and recreating the object in question is typically impossible. Creatures can have tags removed without being removed and replaced by way of creature variations.&lt;br /&gt;
&lt;br /&gt;
The syntax for selecting and cutting objects is as follows:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
Substitute X for the desired object.&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:X]&lt;br /&gt;
[CUT_CREATURE:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:X]&lt;br /&gt;
[CUT_ENTITY:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INTERACTION:X]&lt;br /&gt;
[CUT_INTERACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ITEM:X]&lt;br /&gt;
[CUT_ITEM:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_WORD:X]&lt;br /&gt;
[CUT_WORD:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_TRANSLATION:X]&lt;br /&gt;
[CUT_TRANSLATION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:X]&lt;br /&gt;
[CUT_SYMBOL:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INORGANIC:X] &lt;br /&gt;
[CUT_INORGANIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_PLANT:X]&lt;br /&gt;
[CUT_PLANT:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_MUSIC:X]&lt;br /&gt;
[CUT_MUSIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_REACTION:X]&lt;br /&gt;
[CUT_REACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SOUND:X]&lt;br /&gt;
[CUT_SOUND:X]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[:Category:DF2014:Modding_Examples]]''&lt;br /&gt;
&lt;br /&gt;
The Hydling below was made by Mysteryguye (and annotated, updated and separated into blocks by Putnam), to act as an example creature.&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 	This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:40][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_PREDATOR] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 	Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what-have-you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons...&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] ...And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch on.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Modding}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Token]]&lt;br /&gt;
* [[Cheating]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;br /&gt;
[[ru:Modding]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280588</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=280588"/>
		<updated>2022-12-31T08:43:41Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: I did some guesswork and testing to find out how LOG_CURRENT_ENTRY works, since &amp;quot;one can use&amp;quot; tells you nothing. Hopefully this is right.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{For/see|a list of Dwarf Fortress mods|[[List of mods]]}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
'''Modding''', or creating [[mod]]s, refers to modifying the behavior of the base game (vanilla). ''Dwarf Fortress'' is remarkably moddable.&lt;br /&gt;
&lt;br /&gt;
== Resource Overview==&lt;br /&gt;
[[File:modding_icon.png|120px|right]]This section serves as a portal to all modding-related pages on the wiki. &lt;br /&gt;
&lt;br /&gt;
; Using Mods:&lt;br /&gt;
* [[Mod#Installing Mods|Installing mods]]&lt;br /&gt;
* [[Mod#Enabling Mods|Enabling mods in-game]]&lt;br /&gt;
&lt;br /&gt;
; Guides and references:&lt;br /&gt;
* [[#Guide|Modding Guide]]&lt;br /&gt;
* [[Mod#Mod Format|Mod Format]] and [[Game folders and files]]&lt;br /&gt;
* [[Mod#Publish on Steam Workshop|Publish on Steam Workshop]]&lt;br /&gt;
* [[Memory hacking]], [[Main:Offset Finding Methods|Offset Finding Methods]]&lt;br /&gt;
* [[Character table]]&lt;br /&gt;
&lt;br /&gt;
; Where to get help?&lt;br /&gt;
* This [http://www.bay12games.com/forum/index.php?board=13.0 forum] is the official DF subforum dedicated to discussions about modding.&lt;br /&gt;
* [https://discord.com/channels/329272032778780672/629902895138996264 Kitfox modding discord] &lt;br /&gt;
* [https://docs.dfhack.org/en/stable/docs/Introduction.html#getting-help DFhack questions] &lt;br /&gt;
&lt;br /&gt;
; Modding tools&lt;br /&gt;
There are several [[Utilities#Modding_tools|utilities]] that assist in modding efforts. There is [http://www.bay12forums.com/smf/index.php?topic=28829.0 a list of them] on the [[Bay 12 Forums]].&lt;br /&gt;
* Text Editors are used in all areas of modding. Use a good text editor to edit files and search into multiple files (like th/e free [https://notepad-plus-plus.org/ Notepad++] for example) or more advanced editors capable of highlighting and formatting the displayed text (like [[Utilities#DF_RAW_Language_server|DF RAW Language server]])&lt;br /&gt;
* Image Editor will be needed for doing custom graphics. [https://www.getpaint.net/ Paint.NET], Photoshop and GIMP are the most used, but whatever supports the .png format will work.&lt;br /&gt;
&lt;br /&gt;
=== Documentation===&lt;br /&gt;
; [[Raw file]]s&lt;br /&gt;
&lt;br /&gt;
These object files, stored in &amp;lt;code&amp;gt;/data/vanilla/*/objects/&amp;lt;/code&amp;gt;, define various specifics of game items, materials, and creatures, and can be changed using mods to alter how the game behaves. These are text based and can be edited with any text editor, however, editing the vanilla raw files is now discouraged.&lt;br /&gt;
&lt;br /&gt;
See [[Token|Token reference]] - It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found here.&lt;br /&gt;
&lt;br /&gt;
; [[Graphics|Graphics Files]]:&lt;br /&gt;
&lt;br /&gt;
The `/data/art/` subfolder of Dwarf Fortress is used to store user-customizable graphics sets.&lt;br /&gt;
&lt;br /&gt;
; [[Speech file]]&lt;br /&gt;
&lt;br /&gt;
; [[Audio|Sound and Music files]]:&lt;br /&gt;
&lt;br /&gt;
All sound and music files used by ''Dwarf Fortress'' are stored in the [https://en.wikipedia.org/wiki/Ogg .ogg] format within the &amp;lt;code&amp;gt;/data/sound/&amp;lt;/code&amp;gt; subfolders. You can replace the existing ogg files with different ones. That has to be performed manually and isn't actually supported by the game. You can also change some of the definitions of when certain musical cues are played, using available [[music token]]s and [[sound token]]s in the raw files. However, you can't add new music or sounds other than replacing what's already there.&lt;br /&gt;
&lt;br /&gt;
=== Best practice ===&lt;br /&gt;
The current best practice is to not modify the original raw files, since most modifications can be made via mods. Mods can add new objects, add tokens to existing objects, and cut objects entirely.&lt;br /&gt;
&lt;br /&gt;
== Guide ==&lt;br /&gt;
This is intended to be a guide to inform those new to ''Dwarf Fortress'' modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
=== Token reference ===&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[Token|here]].&lt;br /&gt;
&lt;br /&gt;
=== Basics of DF modding ===&lt;br /&gt;
To make a mod, one must put a folder into the &amp;lt;code&amp;gt;/mods/&amp;lt;/code&amp;gt; folder. The vast majority of modifications to the game can be done via this method. This folder should contain a file named &amp;quot;info.txt&amp;quot; and two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for, generally, everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
The info.txt is formatted like so:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[ID:my_first_mod]&lt;br /&gt;
[NUMERIC_VERSION:1]&lt;br /&gt;
[DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]&lt;br /&gt;
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]&lt;br /&gt;
[AUTHOR:Your Name Here]&lt;br /&gt;
[NAME:My First Mod]&lt;br /&gt;
[DESCRIPTION:A cool mod I made!]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A mod should have all of these. There are a [[mod info token|few more tokens]], but the above are the important ones.&lt;br /&gt;
&lt;br /&gt;
Most of the game's vanilla content is in the same format as mods. Many text files can be found in the subfolders of the &amp;lt;code&amp;gt;/data/vanilla&amp;lt;/code&amp;gt; folder - these are the [[raw file|raw files]], and using them as a basis for modification is quite easy. For now, we will take a look at one of the existing files. For example, if you open &amp;lt;code&amp;gt;/data/vanilla/vanilla_creatures/creature_standard.txt&amp;lt;/code&amp;gt;, it should look something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file will be ignored by the game. &lt;br /&gt;
&lt;br /&gt;
'''In other words, to be recognized by the game, a raw file must have all of the following:'''&lt;br /&gt;
&lt;br /&gt;
# A filename that refers to the type of objects contained therein. '''Creature files must start with creature_, entity files must start with entity_, and so on.'''&lt;br /&gt;
# The filename on the first line of the file.&lt;br /&gt;
# [OBJECT:type], where &amp;quot;type&amp;quot; is replaced with the relevant object type.&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. ([[Duplicated raws|For example...]])  Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when possible. You should make a mod instead!&lt;br /&gt;
* When adding files, all you need to include to ensure proper references are maintained is the token identifiers.  The game searches through all loaded raw files by tokens.  For example, you can add a new pair of leather boots and not even have to add it to a file named item_shoes.txt, but rather your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* When a new world is generated, the mods included are &amp;quot;baked in&amp;quot; and cannot be modified except to be updated--for this, the game checks that the mod used by the save is of a compatible NUMERIC_VERSION.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities.&lt;br /&gt;
&lt;br /&gt;
=== Modifying the vanilla objects ===&lt;br /&gt;
&lt;br /&gt;
You should not modify the vanilla raws where they originally are if you can help it. Instead, patch them using the patching functions now provided with Dwarf Fortress since v50.01. If you wanted to mod beards into dwarven women while also removing elephants from the game, for example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
creature_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:CREATURE]&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:DWARF] starts editing DWARF from the end of the entry&lt;br /&gt;
    [SELECT_CASTE:FEMALE]&lt;br /&gt;
        [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]&lt;br /&gt;
&lt;br /&gt;
[CUT_CREATURE:ELEPHANT] removes the ELEPHANT creature&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Or, say, add your own reaction and building to dwarves:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
entity_mypatch&lt;br /&gt;
&lt;br /&gt;
[OBJECT:ENTITY]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:MOUNTAIN]&lt;br /&gt;
    [PERMITTED_REACTION:MY_REACTION]&lt;br /&gt;
    [PERMITTED_BUILDING:MY_BUILDING]&lt;br /&gt;
}}&lt;br /&gt;
You can both SELECT and CUT for all of the following types of objects:&lt;br /&gt;
&lt;br /&gt;
CREATURE, ENTITY, INTERACTION, ITEM, WORD, TRANSLATION, SYMBOL, INORGANIC, PLANT, MUSIC, REACTION, SOUND&lt;br /&gt;
&lt;br /&gt;
And in any of these, one can add the token [LOG_CURRENT_ENTRY] somewhere under one of the objects of the file, which logs the full contents of the object in question to logs\current_entry.txt. This can be useful to make sure that the patch is doing what you think it is. For instance if [LOG_CURRENT_ENTRY] were added on the next line after [CREATURE:DWARF] in your mod file, then the dwarf object would be the object detailed in the log entry.&lt;br /&gt;
&lt;br /&gt;
...Speaking of, let's move on to modifying and adding entities.&lt;br /&gt;
&lt;br /&gt;
=== Modding civilizations (entities) ===&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in &amp;lt;code&amp;gt;vanilla_entities/entity_default.txt&amp;lt;/code&amp;gt; (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQUENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and, therefore, the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology, language and names and so forth. Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. &lt;br /&gt;
&lt;br /&gt;
Besides those mentioned, some fundamental ones are the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which lets you control the civ in fortress mode, the &amp;lt;code&amp;gt;[OUTSIDER_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play in adventure mode as an outsider, and the &amp;lt;code&amp;gt;[ALL_MAIN_POPS_CONTROLLABLE]&amp;lt;/code&amp;gt; token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the &amp;lt;code&amp;gt;[SITE_CONTROLLABLE]&amp;lt;/code&amp;gt; token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little confusing at first, so, let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Here, we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then, after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after... roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that, the dwarf entity is told to cull all inappropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything, so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
==== Trade ====&lt;br /&gt;
The following [[entity token]]s affect the appearance of [[trading]] [[caravan]]s:&lt;br /&gt;
&lt;br /&gt;
* [[Entity token#ACTIVE_SEASON|[ACTIVE_SEASON]]] - Defines the seasons when an entity may visit your fortress.&lt;br /&gt;
* [[Entity token#PROGRESS_TRIGGER_POPULATION|[PROGRESS_TRIGGER_*]]] - Defines the triggers which control when an entity will become interested in your fortress.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PACK|[COMMON_DOMESTIC_PACK]]] - Allows the civilization to use domestic pack animals. If an entity lacks pack animals (or ability to pull wagons), it will be unable to send caravans (showing as {{DFtext|No Trade|6:1}} at the [[embark]] screen), unless it has domesticated any suitable animal species or is forced to use a non-suitable creature by the [ANIMAL] definition [ALWAYS_WAGON-PULLER] on creature, caste or class.&lt;br /&gt;
* [[Entity token#COMMON_DOMESTIC_PULL|[COMMON_DOMESTIC_PULL]]] - Allows the civilization to use domestic animals to pull [[wagon]]s, assuming their [[Ethic#KILL_PLANT|KILL_PLANT ethic]] permits them to use wagons in the first place.&lt;br /&gt;
* [[Entity token#MERCHANT_BODYGUARDS|[MERCHANT_BODYGUARDS]]] - Caravan will be guarded by [[soldier]]s.&lt;br /&gt;
&lt;br /&gt;
=== Modding creatures ===&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun – you can change nearly any aspect of a creature, or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
==== Creature materials and tissues ====&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of body parts. These parts are defined in their own file, and we'll talk about them later, as a specific aspect of how creatures work, which throws off a lot of prospective modders, is the relationship between body parts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of body parts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues, and those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by body part category (BY_CATEGORY), body part type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every body part). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all body parts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot; and you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans, which have their own file, and are designed to help automate some of the more common processes in creature creation, come in. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by MUSCLE, ARG4 by BONE, and ARG5 by CARTILAGE. Hence, our creature's body part designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We leave the body stuff declared normally:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We then, in our own mod, select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
[SELECT_CREATURE:DWARF]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
==== Creature castes ====&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexually reproducing creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body structures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
=== Modding items ===&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, [[Item definition token|item definition tokens]] don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
=== Modding language files ===&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
=== Modding body parts ===&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each body part will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a body part definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the body part in question is connected to a certain ''type'' of body part, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the body part's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of body part tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
=== Modding plants ===&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of the harvested plant (default 1). &lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that are available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
==== Trees ====&lt;br /&gt;
&lt;br /&gt;
Trees are another kind of plant that can be modded. Being plants, they use many of the same tokens as edible crops, but differ in having a few tree-specific tokens.&lt;br /&gt;
&lt;br /&gt;
Below is the [[apple|apple tree]] raw description:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [PLANT:APPLE] malus sieversii&lt;br /&gt;
  	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
  	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
  	[TRUNK_PERIOD:10]&lt;br /&gt;
  	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
  	[BRANCH_DENSITY:50]&lt;br /&gt;
  	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
  	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
  	[BRANCH_RADIUS:2]&lt;br /&gt;
  	[TRUNK_BRANCHING:2]&lt;br /&gt;
  	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
  	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
  	[ROOT_DENSITY:5]&lt;br /&gt;
  	[ROOT_RADIUS:3]&lt;br /&gt;
  	[STANDARD_TILE_NAMES]&lt;br /&gt;
  	[PREFSTRING:fruit]&lt;br /&gt;
  	[DRY]&lt;br /&gt;
  	[BIOME:ANY_TEMPERATE]&lt;br /&gt;
  	[SAPLING]&lt;br /&gt;
  	[GROWTH:LEAVES]&lt;br /&gt;
  		[GROWTH_NAME:apple leaf:apple leaves]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_HOST_TILE:SAPLING]&lt;br /&gt;
  		[GROWTH_TIMING:0:300000]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:2:0:0:0:209999:1]&lt;br /&gt;
  		[GROWTH_PRINT:0:6:6:0:1:210000:239999:1] autumn color&lt;br /&gt;
  		[GROWTH_PRINT:0:6:4:0:1:240000:269999:1]&lt;br /&gt;
 		[GROWTH_PRINT:0:6:4:0:0:270000:300000:1]&lt;br /&gt;
   		[GROWTH_DROPS_OFF]&lt;br /&gt;
  	[GROWTH:FLOWERS]&lt;br /&gt;
  		[GROWTH_NAME:apple flower:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FLOWER]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:60000:119999]&lt;br /&gt;
  		[GROWTH_PRINT:5:5:5:0:1:60000:119999:2]&lt;br /&gt;
 	[GROWTH:FRUIT]&lt;br /&gt;
  		[GROWTH_NAME:apple:STP]&lt;br /&gt;
  		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
  		[GROWTH_DENSITY:1000]&lt;br /&gt;
  		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
   		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
  		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
  		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
  		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first lines are the same as the ones we saw being used in the plump helmets, defining the plant object, giving it a name, and deciding that it should use the standard STRUCTURAL_PLANT material for its structure.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 [PLANT:APPLE] malus sieversii&lt;br /&gt;
 	[NAME:apple tree][NAME_PLURAL:apple trees][ADJ:apple tree]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Adding the token [[DF2014:Material_definition_token#DISPLAY_COLOR|DISPLAY_COLOR]] directly after [USE_MATERIAL_TEMPLATE] would allow us to change the color of the tree.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
        	[DISPLAY_COLOR:1:0:0]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
would give us a dark blue apple tree. This method is used by the game in [[birch|birches]] and [[spore tree|various]] [[nether-cap|underground]] [[blood thorn|trees]].&lt;br /&gt;
&lt;br /&gt;
Next come the definitions of various other materials used by the tree:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
        [USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]&lt;br /&gt;
  		[STATE_NAME:ALL_SOLID:apple wood]&lt;br /&gt;
  		[STATE_ADJ:ALL_SOLID:apple wood]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  		[SOLID_DENSITY:745] *** http://www.csudh.edu/oliver/chemdata/woods.htm&lt;br /&gt;
  		[STATE_COLOR:ALL_SOLID:CHOCOLATE] *** http://www.forestryforum.com/board/index.php/topic,61009.0.html&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
    		[STATE_NAME_ADJ:ALL_SOLID:frozen apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:LIQUID:apple cider]&lt;br /&gt;
  		[STATE_NAME_ADJ:GAS:boiling apple cider]&lt;br /&gt;
  		[MATERIAL_VALUE:2]&lt;br /&gt;
  		[DISPLAY_COLOR:6:0:0]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
    		[EDIBLE_COOKED]&lt;br /&gt;
  		[PREFIX:NONE]&lt;br /&gt;
  	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:LEAF:LEAF_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:GREEN]&lt;br /&gt;
  		[DISPLAY_COLOR:2:0:0]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FLOWER:FLOWER_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:ROSE]&lt;br /&gt;
  		[DISPLAY_COLOR:5:0:1]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:FRUIT:FRUIT_TEMPLATE]&lt;br /&gt;
  		[STATE_COLOR:ALL:RUST]&lt;br /&gt;
  		[DISPLAY_COLOR:4:0:0]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  		[EDIBLE_RAW]&lt;br /&gt;
  		[EDIBLE_COOKED]&lt;br /&gt;
  		[STOCKPILE_PLANT_GROWTH]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
  		[MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
  	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
  		[MATERIAL_VALUE:1]&lt;br /&gt;
  		[EDIBLE_VERMIN]&lt;br /&gt;
  	[SEED:apple seed:apple seeds:0:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From them, we get to know what the parts of the tree can be used for, as well as how they will appear when separated from the tree. Any alterations that can be done to materials normally can be done here, such as changing the value or adding a [[syndrome]].&lt;br /&gt;
&lt;br /&gt;
 	[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:5]&lt;br /&gt;
&lt;br /&gt;
[TREE] is what turns your plant object into an actual tree. The following argument describes what material the harvested logs should be made of. If NONE, the felled tree will give no logs. [TREE_TILE] is the tile the tree shows up as on the world map.&lt;br /&gt;
&lt;br /&gt;
Note that all vanilla trees (that give logs) use the WOOD material defined above as the argument for [TREE], as opposed to the STRUCTURAL material. Thus, any changes to the properties of the wood harvested should be done to the WOOD material.&lt;br /&gt;
&lt;br /&gt;
The following tokens decide the dimensions of the tree, and how it grows.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
    [TRUNK_PERIOD:10]&lt;br /&gt;
 	[HEAVY_BRANCH_DENSITY:25]&lt;br /&gt;
 	[BRANCH_DENSITY:50]&lt;br /&gt;
 	[MAX_TRUNK_HEIGHT:3]&lt;br /&gt;
 	[HEAVY_BRANCH_RADIUS:1]&lt;br /&gt;
 	[BRANCH_RADIUS:2]&lt;br /&gt;
 	[TRUNK_BRANCHING:2]&lt;br /&gt;
 	[MAX_TRUNK_DIAMETER:1]&lt;br /&gt;
 	[TRUNK_WIDTH_PERIOD:200]&lt;br /&gt;
 	[ROOT_DENSITY:5]&lt;br /&gt;
 	[ROOT_RADIUS:3]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[TRUNK_PERIOD] and [TRUNK_WIDTH_PERIOD] determine how long it takes for the trunk to grow one tile taller respectively wider, in years. [MAX_TRUNK_HEIGHT:3] and [MAX_TRUNK_DIAMETER:1] determine the maximum value the above can reach. [TRUNK_BRANCHING] decides how &amp;quot;curvy&amp;quot; the tree is, with [TRUNK_BRANCHING:0] meaning the tree is entirely straight. &lt;br /&gt;
&lt;br /&gt;
[HEAVY_BRANCH_DENSITY:25], [HEAVY_BRANCH_RADIUS:1], [BRANCH_DENSITY:50], [BRANCH_RADIUS:2], [ROOT_DENSITY:5], and [ROOT_RADIUS:3] determine the density (how many are there, integer ranging 0-100) and radius (in tiles) away from the trunk, of heavy branches, normal branches and roots respectively.&lt;br /&gt;
&lt;br /&gt;
[STANDARD_TILE_NAMES] makes the tree use standard names for the trunk, branches etc. Otherwise custom ones can be used. (see [[Plant_token|full plant token list]])&lt;br /&gt;
&lt;br /&gt;
[SAPLING] ensures saplings of this tree are called &amp;quot;[tree name] sapling&amp;quot;, instead of the standard &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Lastly, we are introduced to the [GROWTH] token. [GROWTH] defines growths growing on a plant, in this case our apple tree. Apple trees have three growths: leaves, flowers and fruits.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  [GROWTH:FRUIT]&lt;br /&gt;
 		[GROWTH_NAME:apple:STP]&lt;br /&gt;
 		[GROWTH_ITEM:PLANT_GROWTH:NONE:LOCAL_PLANT_MAT:FRUIT]&lt;br /&gt;
 		[GROWTH_DENSITY:1000]&lt;br /&gt;
 		[GROWTH_HOST_TILE:BRANCHES_AND_TWIGS]&lt;br /&gt;
  		[GROWTH_TIMING:120000:200000]&lt;br /&gt;
 		[GROWTH_DROPS_OFF_NO_CLOUD]&lt;br /&gt;
 		[GROWTH_PRINT:'%':'%':4:0:0:120000:200000:3]&lt;br /&gt;
 		[GROWTH_HAS_SEED]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First comes the name of the growth. Then, with [GROWTH_ITEM], what kind of growth it is, in this case a PLANT_GROWTH made out of the local FRUIT material. [GROWTH_DENSITY] says how densely the growth grows, and [GROWTH_HOST_TILE] where on the tree it grows. [GROWTH_TIMING] decides when the growth appears, in annual ticks. The growth then drops off, leaving no clouds (items to be picked up by your dwarves). [GROWTH_PRINT] sets it to look like a red '%', and [GROWTH_HAS_SEED] implies that eating this growth will leave you with a seed.&lt;br /&gt;
&lt;br /&gt;
=== Workshops ===&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
[BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
	[NAME:Soap Maker's Workshop]&lt;br /&gt;
	[NAME_COLOR:7:0:1]&lt;br /&gt;
	[DIM:3:3]&lt;br /&gt;
	[WORK_LOCATION:2:2]&lt;br /&gt;
	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
	[BUILD_KEY:CUSTOM_SHIFT_P]&lt;br /&gt;
	[BLOCK:1:0:0:0] workbenches no longer block&lt;br /&gt;
	[BLOCK:2:0:0:0]&lt;br /&gt;
	[BLOCK:3:0:0:0]&lt;br /&gt;
	[TILE:0:1:' ':' ':150]&lt;br /&gt;
	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
	[TILE:1:2:'-':' ':8]&lt;br /&gt;
	[TILE:1:3:' ':' ':150]&lt;br /&gt;
	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[TILE:2:1:'-':' ':8]&lt;br /&gt;
	[TILE:2:2:' ':' ':8]&lt;br /&gt;
	[TILE:2:3:' ':150:' ']&lt;br /&gt;
	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
	[TILE:3:1:150:' ':8]&lt;br /&gt;
	[TILE:3:2:' ':' ':8]&lt;br /&gt;
	[TILE:3:3:' ':240:' ']&lt;br /&gt;
	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
  	[BLOCK:1:0:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:0 means that, on the first row, all tiles will be unblocked. This is the case for all vanilla workshops, as of now.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
}}&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
}}&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
{{code|&lt;br /&gt;
 	[TOOLTIP:Use tallow (rendered fat) or oil here with lye to make soap.]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is the text in the tooltip shown when the building is highlighted by the mouse in the workshops list.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
=== Reactions ===&lt;br /&gt;
&lt;br /&gt;
Reactions are the crafting recipes used in [[workshop]]s, and by the [[adventurer mode|adventurer]]. By adding new reactions you can make new items available, or enable you to get items or materials in new ways. The reactions can also be given to entities, in which case they will make use of them during both world gen and play; making a reaction that creates [[steel]] directly from [[plant fiber]]s, would allow the elves to craft steel and arrive clad in it in a [[siege]].&lt;br /&gt;
&lt;br /&gt;
Not all crafting reactions are defined in the raws, but some are, such as those for [[ceramic industry|pottery]] and [[Metal#Alloys_2|alloy]] making.&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Selecting and Cutting ==&lt;br /&gt;
&lt;br /&gt;
Existing raws can be altered with the use of SELECT. Existing raws can also be culled with CUT for more granular control compared to simply unloading vanilla content in the mod loader. Token behavior when multiple tokens are added is dependent on the individual token. Removing tags from an object without cutting and recreating the object in question is typically impossible. Creatures can have tags removed without being removed and replaced by way of creature variations.&lt;br /&gt;
&lt;br /&gt;
The syntax for selecting and cutting objects is as follows:&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
Substitute X for the desired object.&lt;br /&gt;
&lt;br /&gt;
[SELECT_CREATURE:X]&lt;br /&gt;
[CUT_CREATURE:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ENTITY:X]&lt;br /&gt;
[CUT_ENTITY:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INTERACTION:X]&lt;br /&gt;
[CUT_INTERACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_ITEM:X]&lt;br /&gt;
[CUT_ITEM:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_WORD:X]&lt;br /&gt;
[CUT_WORD:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_TRANSLATION:X]&lt;br /&gt;
[CUT_TRANSLATION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SYMBOL:X]&lt;br /&gt;
[CUT_SYMBOL:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_INORGANIC:X] &lt;br /&gt;
[CUT_INORGANIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_PLANT:X]&lt;br /&gt;
[CUT_PLANT:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_MUSIC:X]&lt;br /&gt;
[CUT_MUSIC:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_REACTION:X]&lt;br /&gt;
[CUT_REACTION:X]&lt;br /&gt;
&lt;br /&gt;
[SELECT_SOUND:X]&lt;br /&gt;
[CUT_SOUND:X]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[:Category:DF2014:Modding_Examples]]''&lt;br /&gt;
&lt;br /&gt;
The Hydling below was made by Mysteryguye (and annotated, updated and separated into blocks by Putnam), to act as an example creature.&lt;br /&gt;
&lt;br /&gt;
{{code|code=&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 	This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:40][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_PREDATOR] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 	Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what-have-you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons...&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] ...And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch on.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{catbox|DF2014:Modding}}&lt;br /&gt;
&lt;br /&gt;
* [[Raw file]]&lt;br /&gt;
* [[Token]]&lt;br /&gt;
* [[Cheating]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;br /&gt;
[[ru:Modding]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Kitchen&amp;diff=280319</id>
		<title>Kitchen</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Kitchen&amp;diff=280319"/>
		<updated>2022-12-30T01:22:15Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Bugs */ After testing, waiting on dwarves to move food out of the kitchen is slow. Dumping is faster, so I mentioned it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{Workshop&lt;br /&gt;
|name=Kitchen&lt;br /&gt;
|key=z&lt;br /&gt;
|construction_job=&lt;br /&gt;
*[[Cooking]]&lt;br /&gt;
|construction=&lt;br /&gt;
* [[Building material]] (non-[[economic]])&lt;br /&gt;
|job=&lt;br /&gt;
*[[Cooking]]&lt;br /&gt;
|use=&lt;br /&gt;
* [[Alcohol]]&lt;br /&gt;
* [[Cheese]]&lt;br /&gt;
* [[Dwarven sugar]]&lt;br /&gt;
* [[Dwarven syrup]]&lt;br /&gt;
* [[Egg]]&lt;br /&gt;
* [[Fat]]&lt;br /&gt;
* [[Fish]]&lt;br /&gt;
* [[Flour]]&lt;br /&gt;
* [[Food]]&lt;br /&gt;
* [[Honey]]&lt;br /&gt;
* [[Meat]]&lt;br /&gt;
* [[Milk]]&lt;br /&gt;
* [[Plants]]&lt;br /&gt;
* [[Prepared organs]]&lt;br /&gt;
* [[Seed]]s&lt;br /&gt;
* [[Tallow]]&lt;br /&gt;
|production =&lt;br /&gt;
*[[Food|Prepared meals]]&lt;br /&gt;
*[[Tallow]]&lt;br /&gt;
}}{{av}}&lt;br /&gt;
&lt;br /&gt;
A '''kitchen''' is operated by a dwarf with the [[Cook|cooking]] [[labor]] enabled. It is used to cook prepared meals and render fat from [[Butcher's shop|butchered]] animals into [[tallow]]. Cooking meals applies a [[quality]] modifier to each ingredient, which drastically increases the [[food]]'s value (up to 100×). Cooked meals count as each of their ingredients for the purpose of satisfying your dwarves' [[preference]]s, increasing the likelihood of happy [[thought]]s while eating. Finally, cooking spoilable foods such as [[meat]], [[fish]], and [[plants]] will deter [[rot]], but any [[seed]]s from cooked [[plant]]s are lost.&lt;br /&gt;
&lt;br /&gt;
==Types of meals==&lt;br /&gt;
There are three different types of food to be cooked:&lt;br /&gt;
*An '''Easy meal''' uses two ingredients and will result in '''biscuits'''.&lt;br /&gt;
*A '''Fine meal''' uses three ingredients and will result in '''stews'''.&lt;br /&gt;
*A '''Lavish meal''' uses four ingredients and will result in '''roasts'''.&lt;br /&gt;
&lt;br /&gt;
Lavish meals result in larger stacks of higher-value food. They take a bit longer to produce and result in less experience gained for your cook per ingredient. With a greater variety of materials in the prepared meal, there is a higher probability a dwarf will get something they [[Preferences|like]], giving the eater a happy [[thought]].&lt;br /&gt;
&lt;br /&gt;
Easy meals will give more experience per ingredient and result in twice as much hauling ''after'' cooking.&lt;br /&gt;
&lt;br /&gt;
==Using liquid ingredients==&lt;br /&gt;
At least one stack going into a prepared meal must be a solid item - if you have only [[Alcohol|booze]], [[milk]], and [[Dwarven syrup|syrup]], your cooking jobs will get canceled.  However, a single [[plump helmet]] can be cooked with ten dwarven wine, ten dwarven milk, and ten dwarven syrup, to make 31 +Plump Helmet Roast+ without issue.&lt;br /&gt;
&lt;br /&gt;
==What to cook==&lt;br /&gt;
You may want to adjust what your dwarves are allowed to cook. For example, your dwarves may happily cook away all the [[seed]]s you need for planting, or use all your [[drink|booze]] as ingredients, a good way to create [[fun]] in the early stages of the fortress. Additionally, cooks seem to prefer some of the worst ingredients (single units of low-value materials like [[tallow]]). To suppress the cooking of certain items (such as booze, seeds or tallow) go to the labor menu ({{k|y}} key) and then go to the ''Kitchen'' subtab. Every cookable and/or brewable item in your fortress will be listed. Once you allow or forbid the cooking or brewing of some kind of product, it will be used (or not) accordingly. Note that any cooking jobs in progress will be canceled if you disallow one of the cook's chosen ingredients. &lt;br /&gt;
&lt;br /&gt;
Cooking with alcohol usually results in large stacks of prepared meals, because alcohol typically has large stack sizes. It is assumed that since all dwarves have a [[preference]] for at least one type of alcohol, cooking with alcohol improves the chance of happy [[thought]]s from eating. Of course, you then need to ensure that you have enough alcohol left for your dwarves to drink; cooked alcohol does not count as drink.&lt;br /&gt;
&lt;br /&gt;
One (relatively safe) method to include a limited amount of alcohol in your meals is to create a small (one-or-two tile) food [[stockpile]] next to your kitchen that only allows types of alcohol that your fortress has in large quantity, and set it to &amp;quot;take&amp;quot; from your larger drink stockpile and &amp;quot;give&amp;quot; to your kitchen(s). You can then use work orders to limit the number of prepared meals that will be created to ensure this stock is not itself rapidly drained by experienced cooks.&lt;br /&gt;
&lt;br /&gt;
Ideally, you want to combine four different ingredients in each meal to maximize the chance of a dwarf experiencing a happy [[thought]] due to a [[preference]]. Unfortunately, when left up to your cook, you'll likely end up with an endless string of [[tallow]] roasts. To enforce variety, you can create a series of single-tile, barrel-less &amp;quot;feeder&amp;quot; [[stockpile]]s, each of which allows a different type of (cookable) food, all set to &amp;quot;give&amp;quot; to your kitchen.&lt;br /&gt;
&lt;br /&gt;
==Storage==&lt;br /&gt;
Individual types of prepared meals are not listed in the middle column or right column of the stockpile menu for the Food category. The switch for allowing or banning prepared meals in a [[stockpile]] is displayed underneath the right column and toggled by pressing the {{k|u}} key.  &lt;br /&gt;
&lt;br /&gt;
The size of a prepared food stack varies according to the sum of all ingredient stacks; with large input stacks your kitchen will create a stack of prepared meals that is too big to fit into a [[barrel]] or [[pot]] (capacity 60). If you want to designate a stockpile as the destination for your kitchen's output, be sure that the number of barrels allowed in the stockpile is lower than the number of squares in the stockpile. That way there will be a few non-barrel squares for your haulers to deposit overly large stacks of prepared meals. Given that food left in the open will attract [[Fly|flies]], causing unhappiness in dwarves who encounter them, it may be best to store prepared meals in an area of less traffic than the rest of a food stockpile. You can also &amp;quot;break&amp;quot; large stacks into smaller stacks (for a fee) by trading them to a [[caravan]] and then purchasing them back in smaller stacks.&lt;br /&gt;
&lt;br /&gt;
Be aware that food that is not properly stored in a stockpile rots quite fast. Rotting is the worst possible fate for a masterfully prepared meal. The chef would have every right to be angry about it, since all of his effort spent preparing the meal literally went to waste. Prepared meals can also trigger masterwork destruction if they are eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
==Trade==&lt;br /&gt;
&lt;br /&gt;
Prepared meals are excellent for [[trade]] since they are high-value, renewable/sustainable, easily transported, and easily sub-divided. A high-quality prepared meal stack can surpass all but [[artifact]], [[adamantine]], and heavily [[decoration|decorated]] items in total value.&lt;br /&gt;
&lt;br /&gt;
Even a novice cook will greatly increase the value of raw ingredients. For example, cooking 10 plump helmets (total value 40) in a &amp;quot;Lavish Meal&amp;quot; will produce a stack of plump helmet roast with minimum value of 260. A modest cooking skill can easily double that value, while a legendary cook is theoretically capable of producing a total value of 3120, a 78x increase over the raw ingredients. &lt;br /&gt;
&lt;br /&gt;
Because of the way meal value is calculated, cooking large stacks of common ingredients with small stacks of high-value ingredients results in a large stack of high-value meals. As an example, cooking three single unit stacks of [[whip vine]] [[flour]] with a stack of 7 plump helmets yields a theoretical maximum value of 10,680 from a raw ingredient value of 103. &lt;br /&gt;
&lt;br /&gt;
The quality symbols shown in the name of a meal reflect the highest quality involved in its making, looking at the overall preparation as well as the mincing of each ingredient. With up to five jobs involved, monetary values of apparently same-quality meals can vary a lot, and a lower-quality meal can be more valuable than a higher-quality meal cooked from the same ingredients.&lt;br /&gt;
[[File:kitchen_preview.jpg|thumb|400px|center|A not-so-modern kitchen.]]&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook fluid ingredients as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}}&lt;br /&gt;
&lt;br /&gt;
To force the kitchen to cook with fluids like [[alcohol|booze]], [[milk]], [[oil]], or [[dwarven syrup]], you can limit the possible ingredients used for cooking through [[stockpile]] linkage. If a [[kitchen]] is set to accept ingredients from a stockpile, it will not use any other ingredients unless they are already stored in the kitchen (which may be encountered if no one has yet hauled some recently-rendered [[tallow]]). Set up a tiny stockpile to only hold solid food ingredients, but no [[barrel|barrels]]. The size of this stockpile will determine how many solid ingredients the kitchen can easily use, so if it is 1x1, the cook will use just one solid ingredient before looking elsewhere. A speedy hauler might get another item into that space before the cook stops looking for ingredients, but this is uncommon. Set up another stockpile to hold the fluid ingredients. Set both of these stockpiles to give items to the kitchen. If there's nothing else left in the tiny stockpile when the cook is looking for ingredients, then the only other ingredients which can be used will be the fluid ingredients, and so they will be used even though they are not preferred by the cook.&lt;br /&gt;
&lt;br /&gt;
Of course, the tiny solid ingredient stockpile will need to be refilled, so you will also need a larger stockpile that links to the tiny one. Unfortunately, once ingredients are in barrels, they will never be taken out of the barrels to be moved to the tiny stockpile, so the larger stockpile will also have to be limited to not use barrels. One way to get ingredients out of barrels is to set a barrel-using food stockpile to only accept from linked stockpiles, set the stockpile to give to the kitchen but not to take from anything, and queue up a lavish meal. Watch the kitchen, and once ingredients have been delivered so work can begin, cancel or pause the work. They will then need to empty the kitchen, and since your barrel-using stockpile is set to not accept from the kitchen, only your barrel-free stockpiles will be available. It might be quicker and less frustrating to [[Exploit#Quantum_stockpiles|dump]] ingredients from barrels into a barrel-free stockpile instead.&lt;br /&gt;
&lt;br /&gt;
{{Workshops}}&lt;br /&gt;
{{Category|Food}}&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Royal_jelly&amp;diff=280318</id>
		<title>Royal jelly</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Royal_jelly&amp;diff=280318"/>
		<updated>2022-12-30T01:19:13Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Bugs */ Added a minor note about cooking with jelly, linking to a larger note and instruction on the kitchen page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
'''Royal jelly''' is a product of the [[beekeeping industry]] collected from an artificial bee [[hive]]. Royal jelly is stored in [[jug]]s, and can only be used as a liquid ingredient in [[prepared meal]]s. Due to a bug, dwarves may store royal jelly jugs as finished goods; combined with a [[cook]]'s aversion to liquid ingredients, it is very rare to see royal jelly cooked at all. That isn't necessarily a bad thing, though, since royal jelly is only available in single-unit stacks and has the same base value as most other foods. &lt;br /&gt;
&lt;br /&gt;
The contents of a [[hive]] with a colony of [[honey bee]]s that is toggled to &amp;quot;gather any products&amp;quot; will be harvested as part of the [[beekeeping industry]]. In order to collect the royal jelly, you must have a dwarf with the [[beekeeper|beekeeping]] labor active and empty [[jug]]s. A [[honeycomb]] will also be produced.&lt;br /&gt;
&lt;br /&gt;
Royal jelly and [[honey]] are the edible products of bees. In real life, it is used as a nutritional substance for larvae.&lt;br /&gt;
&lt;br /&gt;
[[File:Bienenwabe mit Eiern und Brut 5 larva.png|thumb|310px|center|Nutrition for larvae.]]&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
*Jugs of royal jelly may be stored in bins as finished goods, preventing its use in the food industry.&lt;br /&gt;
*Collecting royal jelly may require more than 1 jug in storage to begin.&lt;br /&gt;
* Cooks will only cook jelly and other fluids as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}} For more information, see the [[Kitchen#Bugs|kitchen]] page.&lt;br /&gt;
&lt;br /&gt;
{{materials}}&lt;br /&gt;
&lt;br /&gt;
{{Category|Food}}&lt;br /&gt;
[[ru:Royal jelly]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Alcohol&amp;diff=280296</id>
		<title>Alcohol</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Alcohol&amp;diff=280296"/>
		<updated>2022-12-29T23:32:18Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Added a minor note about cooking with booze, linking to a larger note and instruction on the kitchen page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:dwarf_alcohol_preview.png|170px|right]]&lt;br /&gt;
'''Alcohol''' is the favored drink of the [[dwarf|dwarves]]; a dwarf will drink booze an average of five times per [[calendar|season]] to satisfy their [[thirst]], and although they can subsist on [[water]], without booze, they will work increasingly slowly. Dwarves like to have some variety in what they drink, and will garner a bad thought if they are forced to drink the same variety of drink repeatedly (&amp;quot;has been tired of drinking the same old booze lately&amp;quot;). Every dwarf likewise has [[preferences]] for various types of drinks. Thus alcohol is important both for maintaining your fortress (at a minimum) and (with some investment in variety) for keeping your dwarves happy.&lt;br /&gt;
&lt;br /&gt;
Alcohol can also be used as an ingredient for [[kitchen|prepared meals]]. However, meals made with alcohol no longer cause your dwarves to get drunk, and will not sate their thirst.&lt;br /&gt;
&lt;br /&gt;
== Acquisition ==&lt;br /&gt;
[[File:Thirsty Dwarves.gif|thumb|right|A booze [[stockpile]] at work]]Most [[crop]]s and [[fruit]] [[tree]]s in the game can have their produce turned into drink, and, thus, most drink is sourced from dwarven [[farming]], both indoors and out. Most of the plants [[plant gathering|gathered]] from the wild can also be used for brewing, but the reduced yields relative to farming makes it a less ideal solution, though the added variety of drinks can make it worthwhile. Drinks can be sourced at [[embark#supplies|embarkation]], and taking at least a few barrels with you is recommended to hold your initial dwarves over until you can build a [[still]]. [[Caravan]]s always bring some drinks along as well, although not enough to support a reasonably large fortress. Finally, [[honey]] acquired through [[beekeeping industry|beekeeping]] can be brewed into alcoholic [[mead]], the only form of drink that is not derived from plants or fruit.&lt;br /&gt;
&lt;br /&gt;
The most direct way to acquire the booze itself is through a [[still]]; large fortresses will usually have one or more dedicated [[brewer]]s keeping the dwarven drinks cellar well-stocked. To brew a drink, a dwarf will need an empty watertight container of some kind (either a [[barrel]] or [[large pot]]) and a [[stack]] of brewables. Each brewing job produces five units of alcohol per brewable item and deposits the alcohol in the container, recovering any plant [[seed]]s in the process. The size of a stack does not affect how long it takes to brew it, which is based entirely on the brewer's [[skill]], making brewing jobs performed on large stacks much more efficient than those done on individual consumables. Stacks of alcohol do not have quality levels, and the strength of a happy thought obtained by drinking alcohol is based entirely on the value of the drink (including the stack size) and the dwarf's personal preferences.&lt;br /&gt;
&lt;br /&gt;
== Mechanics ==&lt;br /&gt;
[[File:alcohol_preview.jpg|thumb|250px|right|Secret ingredient: happiness]]Dwarven thirst is constrained by the important {{token|ALCOHOL_DEPENDENT|c}} [[creature token]], which causes them to suffer severe performance penalties when deprived of alcohol. &amp;quot;Dry&amp;quot; dwarves increasingly lose [[gait|walking speed]] and [[Combat#Attack_Speed|attack speed]]. Alcohol withdrawal appears in the dwarf's thoughts and preferences as &amp;quot;starting to work slowly due to its scarcity&amp;quot; after 3 months, &amp;quot;really wants a drink&amp;quot; after 6 months, &amp;quot;has gone without a drink for far, far too long&amp;quot; after 9 months, and finally &amp;quot;can't even remember the last time he/she had some&amp;quot; after an entire year. Precisely how much dwarves trudge their feet due to alcohol withdrawal is unknown.&lt;br /&gt;
&lt;br /&gt;
Prior to version 0.44.06, creatures of ''any'' race (even including animals, due to a bug) who were exposed to enough combat to become fully hardened (&amp;quot;doesn't really care about anything anymore&amp;quot;) would also become alcoholics.&lt;br /&gt;
&lt;br /&gt;
All creatures can theoretically survive drinking nothing but alcohol for their entire lives, though they may be subject to [[#Alcohol poisoning|alcohol poisoning]] due to not having the same tolerance level as dwarves. Neither dwarves nor any race of creature will accept an alcohol ration if resting in a [[hospital]], and must instead be given fresh water until they recover. Water may also be given to busy dwarves that become thirsty.{{bug|2448}}&lt;br /&gt;
&lt;br /&gt;
[[Vampire]] dwarves are just as alcohol-dependent as the mortal kind. Despite this, in [[fortress mode]], they will only ever drink [[blood]], ensuring they eventually suffer withdrawal even if your pantry is stocked to the brim with every beverage imaginable. This does not stop tavern keepers from giving them drink, if such is available inside the tavern.&lt;br /&gt;
&lt;br /&gt;
Setting booze on [[fire]] will not cause it to explode, but exposing it to high [[temperature]]s ''will'' cause it to boil away. If the container is flammable, it (and, subsequently, the booze) will be consumed by fire; [[magma-safe]] containers would never be destroyed by [[magma]], but any booze inside will likely quickly perish due to heat transfer (unless the container is made of [[nether-cap]]).&lt;br /&gt;
&lt;br /&gt;
Alcohol, like all other liquids, does not have a quality modifier. The level of happy [[thought]] generated by drinking a [[preferences|preferred]] alcohol is dependent upon the value of the entire stack of alcohol.{{cite forum|120870.msg3901346#msg3901346}})&lt;br /&gt;
&lt;br /&gt;
Dwarves prefer drinking alcohol out of a [[Finished goods#Goblets|mug, cup, or goblet]] and will receive an unhappy [[thought]] for drinking alcohol without one of these three vessel types. These may be placed in [[coffer]]s in designated [[tavern]]s.  Visitors will drink alcohol too.{{version|0.42.01}}&lt;br /&gt;
&lt;br /&gt;
=== Alcohol poisoning ===&lt;br /&gt;
&lt;br /&gt;
Over-consumption of alcohol can lead to harmful syndromes, progressing to inebriation, unconsciousness, and death. Each individual has their own tolerance level based on their size (with dwarves having 1.5× the resistance for their size) and each individual will consume more or less according to their [[need]] to drink. Mysterious deaths from suffocation in your taverns are most likely cases of acute alcohol poisoning. Note that the lethal effects of alcohol poisoning are caused by impairing the function of a creature's lungs, making creatures that lack lungs, or the need to breathe, immune to death from alcohol poisoning.&lt;br /&gt;
&lt;br /&gt;
== List of alcohol ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Ingredient&lt;br /&gt;
! Beverage produced&lt;br /&gt;
! Beverage value&lt;br /&gt;
! Type&lt;br /&gt;
! Source&lt;br /&gt;
|-&lt;br /&gt;
| [[Plump helmet]] || data-sort-value=&amp;quot;wine Dwarven&amp;quot;| Dwarven wine || 2 || rowspan=&amp;quot;44&amp;quot; style=&amp;quot;background-color:#cfc&amp;quot;| Plant-based || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pig tail]] || data-sort-value=&amp;quot;ale Dwarven&amp;quot;| Dwarven ale || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cave wheat]] || data-sort-value=&amp;quot;beer Dwarven&amp;quot;| Dwarven beer || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sweet pod]] || data-sort-value=&amp;quot;rum Dwarven&amp;quot;| Dwarven rum || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Muck root]] || data-sort-value=&amp;quot;whiskey Swamp&amp;quot;| Swamp whiskey || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bloated tuber]] || data-sort-value=&amp;quot;beer Tuber&amp;quot;| Tuber beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Prickle berry]] || data-sort-value=&amp;quot;wine Prickle&amp;quot;| Prickle berry wine || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Longland grass]] || data-sort-value=&amp;quot;beer Longland&amp;quot;| Longland beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rat weed]] || data-sort-value=&amp;quot;brew Sewer&amp;quot;| Sewer brew || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Fisher berry]] || data-sort-value=&amp;quot;wine Fisher&amp;quot;| Fisher berry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rope reed]] || data-sort-value=&amp;quot;spirits River&amp;quot;| River spirits || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sliver barb]] || data-sort-value=&amp;quot;cruor Gutter&amp;quot;| Gutter cruor || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sun berry]] || Sunshine || 5 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Whip vine]] || data-sort-value=&amp;quot;wine Whip&amp;quot;| Whip wine || 3 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Beet]] || data-sort-value=&amp;quot;wine Beetroot&amp;quot;| Beetroot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Wild carrot]] || data-sort-value=&amp;quot;wine Carrot&amp;quot;| Carrot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cassava]] || data-sort-value=&amp;quot;beer Cassava&amp;quot;| Cassava beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Parsnip]] || data-sort-value=&amp;quot;wine Parsnip&amp;quot;| Parsnip wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Potato]] || data-sort-value=&amp;quot;wine Potato&amp;quot;| Potato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Radish]] || data-sort-value=&amp;quot;wine Radish&amp;quot;| Radish wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sweet potato]] || data-sort-value=&amp;quot;wine Sweet&amp;quot;| Sweet potato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Turnip]] || data-sort-value=&amp;quot;wine Turnip&amp;quot;| Turnip wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Single-grain wheat]] || data-sort-value=&amp;quot;beer Single-grain&amp;quot;| Single-grain wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Two-grain wheat]] || data-sort-value=&amp;quot;beer Two-grain&amp;quot;| Two-grain wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Soft wheat]] || data-sort-value=&amp;quot;beer Soft&amp;quot;| Soft wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Hard wheat]] || data-sort-value=&amp;quot;beer Hard&amp;quot;| Hard wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Spelt]] || data-sort-value=&amp;quot;beer Spelt&amp;quot;| Spelt beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Barley]] || data-sort-value=&amp;quot;wine Barley&amp;quot;| Barley wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Buckwheat]] || data-sort-value=&amp;quot;beer Buckwheat&amp;quot;| Buckwheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rye]] || data-sort-value=&amp;quot;beer Rye&amp;quot;| Rye beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sorghum]] || data-sort-value=&amp;quot;beer Sorghum&amp;quot;| Sorghum beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rice]] || data-sort-value=&amp;quot;beer Rice&amp;quot;| Rice beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Maize]] || data-sort-value=&amp;quot;beer Maize&amp;quot;| Maize beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Quinoa]] || data-sort-value=&amp;quot;beer Quinoa&amp;quot;| Quinoa beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Kaniwa]] || data-sort-value=&amp;quot;beer Kaniwa&amp;quot;| Kaniwa beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pendant amaranth]] || data-sort-value=&amp;quot;amaranth Pendant&amp;quot;| Pendant amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blood amaranth]] || data-sort-value=&amp;quot;amaranth Blood&amp;quot;| Blood amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Purple amaranth]] || data-sort-value=&amp;quot;amaranth Purple&amp;quot;| Purple amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pearl millet]] || data-sort-value=&amp;quot;beer Pearl&amp;quot;| Pearl millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[White millet]] || data-sort-value=&amp;quot;beer White&amp;quot;| White millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Finger millet]] || data-sort-value=&amp;quot;beer Finger&amp;quot;| Finger millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Foxtail millet]] || data-sort-value=&amp;quot;beer Foxtail&amp;quot;| Foxtail millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Fonio]] || data-sort-value=&amp;quot;beer Fonio&amp;quot;| Fonio beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Teff]] || data-sort-value=&amp;quot;beer Teff&amp;quot;| Teff beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Apple]] || data-sort-value=&amp;quot;cider Apple&amp;quot;| Apple cider || 2 || rowspan=&amp;quot;32&amp;quot; style=&amp;quot;background-color: #fcc&amp;quot;| Fruit-based&lt;br /&gt;
| Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Apricot]] || data-sort-value=&amp;quot;wine Apricot&amp;quot;| Apricot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Banana]] || data-sort-value=&amp;quot;beer Banana&amp;quot;| Banana beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bayberry]] || data-sort-value=&amp;quot;wine Bayberry&amp;quot;| Bayberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Carambola]] || data-sort-value=&amp;quot;wine Carambola&amp;quot;| Carambola wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cherry]] || data-sort-value=&amp;quot;wine Cherry&amp;quot;| Cherry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Custard-apple]] || data-sort-value=&amp;quot;cider Custard-apple&amp;quot;| Custard-apple cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Date]] || data-sort-value=&amp;quot;wine Date&amp;quot;| Date wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Durian]] || data-sort-value=&amp;quot;wine Durian&amp;quot;| Durian wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Guava]] || data-sort-value=&amp;quot;wine Guava&amp;quot;| Guava wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Lychee]] || data-sort-value=&amp;quot;wine Lychee&amp;quot;| Lychee wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Mango]] || data-sort-value=&amp;quot;wine Mango&amp;quot;| Mango wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Papaya]] || data-sort-value=&amp;quot;wine Papaya&amp;quot;| Papaya wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Peach]] || data-sort-value=&amp;quot;cider Peach&amp;quot;| Peach cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pear]] || Perry || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Persimmon]] || data-sort-value=&amp;quot;wine Persimmon&amp;quot;| Persimmon wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Plum]] || data-sort-value=&amp;quot;wine Plum&amp;quot;| Plum wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pomegranate]] || data-sort-value=&amp;quot;wine Pomegranate&amp;quot;| Pomegranate wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rambutan]] || data-sort-value=&amp;quot;wine Rambutan&amp;quot;| Rambutan wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sand pear]] || data-sort-value=&amp;quot;cider Sand&amp;quot;| Sand pear cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Artichoke]] || data-sort-value=&amp;quot;wine Artichoke&amp;quot;| Artichoke wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Tomato]] || data-sort-value=&amp;quot;wine Tomato&amp;quot;| Tomato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Tomatillo]] || data-sort-value=&amp;quot;wine Tomatillo&amp;quot;| Tomatillo wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Passion fruit]] || data-sort-value=&amp;quot;wine Passion&amp;quot;| Passion fruit wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Grape]] || Wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cranberry]] || data-sort-value=&amp;quot;wine Cranberry&amp;quot;| Cranberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bilberry]] || data-sort-value=&amp;quot;wine Bilberry&amp;quot;| Bilberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blueberry]] || data-sort-value=&amp;quot;wine Blueberry&amp;quot;| Blueberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blackberry]] || data-sort-value=&amp;quot;wine Blackberry&amp;quot;| Blackberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Raspberry]] || data-sort-value=&amp;quot;wine Raspberry&amp;quot;| Raspberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pineapple]] || data-sort-value=&amp;quot;wine Pineapple&amp;quot;| Pineapple wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Strawberry]] || data-sort-value=&amp;quot;wine Strawberry&amp;quot;| Strawberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Honey]] || Mead || 1 || style=&amp;quot;background-color: #ddd&amp;quot;| Animal-based || Outdoors&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Modding ==&lt;br /&gt;
&lt;br /&gt;
{{mod}}&lt;br /&gt;
&lt;br /&gt;
Any item of type [[Item_token#DRINK|DRINK]]:NONE is considered to be an alcoholic beverage as far as the game is concerned, regardless of the material used. Thus, if you were to make a [[reaction]] which produces drinks of, say, [[elf]] blood, your dwarves would happily chug them down, sating their alcohol dependency in the process. Note that DRINK items don't cause inebriation symptoms by themselves; these are dependent on a [[syndrome]] associated with the consumed substance (see the PLANT_ALCOHOL_TEMPLATE raws below for an example). However, you could always add this syndrome, or another one of your own design, to the material you want to use.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook alcohol and other fluids as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}} For more information, see the [[Kitchen#Bugs|kitchen]] page.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Alcohol plant stockpile]] — Brewery input stockpile helper page&lt;br /&gt;
* [[Brewer]]&lt;br /&gt;
* [[Beekeeping industry]]&lt;br /&gt;
* [[Crop]]&lt;br /&gt;
* [[Thirst]]&lt;br /&gt;
&lt;br /&gt;
{{Gamedata|{{raw|DF2014:material_template_default.txt|MATERIAL_TEMPLATE|PLANT_ALCOHOL_TEMPLATE}}}}&lt;br /&gt;
&lt;br /&gt;
{{Industry}}&lt;br /&gt;
{{materials}}&lt;br /&gt;
&lt;br /&gt;
{{category|Dwarves}}&lt;br /&gt;
{{category|Food}}&lt;br /&gt;
[[ru:Alcohol]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Dwarven_syrup&amp;diff=280295</id>
		<title>Dwarven syrup</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Dwarven_syrup&amp;diff=280295"/>
		<updated>2022-12-29T23:31:09Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Moved the large note with instruction to the kitchen page. Reduced this to the same minor note added to other fluids.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
'''Dwarven syrup''' is a cooking ingredient made from [[sweet pod]]s at a [[farmer's workshop]] using the &amp;quot;process plants (barrel)&amp;quot; order and the [[plant processing]] labor.  Five units of dwarven syrup are made from each sweet pod, and one seed per sweet pod will be left over.  Dwarven syrup cannot be eaten in its raw state, but can be made into edible food using [[cooking]].&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook syrup and other fluids as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}} For more information, see the [[Kitchen#Bugs|kitchen]] page.&lt;br /&gt;
&lt;br /&gt;
{{materials}}&lt;br /&gt;
{{Category|Food}}&lt;br /&gt;
{{Category|Extracts}}&lt;br /&gt;
[[ru:Dwarven syrup]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Milk&amp;diff=280294</id>
		<title>Milk</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Milk&amp;diff=280294"/>
		<updated>2022-12-29T23:29:42Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: /* Bugs */ Added a minor note about cooking with milk, linking to a larger note and instruction on the kitchen page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
&lt;br /&gt;
[[File:milk_bottles.jpg|thumb|282px|right|Got Dwarf?]]&lt;br /&gt;
&lt;br /&gt;
{{buggy}}&lt;br /&gt;
'''Milk''' is a product [[extract]]ed from milkable [[creature]]s. Milk can be made into [[cheese]] or used in [[cook]]ing [[prepared meal]]s. It cannot be consumed &amp;quot;as is&amp;quot;. Milk is found under &amp;quot;Liquid&amp;quot; in the {{k|z}}/Stocks screen.&lt;br /&gt;
&lt;br /&gt;
Female versions of certain animals are milkable. In order to perform milking, you must have a dwarf with the [[milking]] labor active, a [[farmer's workshop]], an empty [[bucket]] and a mature, non-[[pet]], milkable animal.&lt;br /&gt;
&lt;br /&gt;
==Milkable creatures==&lt;br /&gt;
&lt;br /&gt;
The following creatures can be milked:&lt;br /&gt;
&lt;br /&gt;
*[[Alpaca]]&lt;br /&gt;
* Camels, both [[one-humped camel]]† and [[two-humped camel]]†, [[one-humped camel man|one-humped camel women]] and [[two-humped camel man|two-humped camel women]] and the [[giant one-humped camel]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt; and [[giant two-humped camel]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt;&lt;br /&gt;
*[[Cow]]&lt;br /&gt;
*[[Donkey]]&lt;br /&gt;
*[[Goat]]&lt;br /&gt;
*[[Horse]]&lt;br /&gt;
*[[Kangaroo]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt;, [[kangaroo man|kangaroo women]] and [[giant kangaroo]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt;&lt;br /&gt;
*[[Llama]]&lt;br /&gt;
*[[Pig]]&lt;br /&gt;
*[[Purring maggot]]&amp;lt;sup&amp;gt;‡&amp;lt;/sup&amp;gt;&lt;br /&gt;
*[[Reindeer]]&lt;br /&gt;
*[[Sheep]]&lt;br /&gt;
*[[Tapir]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt;, [[tapir man|tapir women]] and [[giant tapir]]&amp;lt;sup&amp;gt;†&amp;lt;/sup&amp;gt;&lt;br /&gt;
*[[Water buffalo]]&lt;br /&gt;
*[[Yak]]&lt;br /&gt;
&lt;br /&gt;
: † These animals are not domesticated and can't be brought on [[embark]]. Savage giant and animal man versions grant the same milk as the normal-sized species, though animal people are not domesticable.&amp;lt;br&amp;gt;&lt;br /&gt;
: ‡ Purring maggots are an unusual case in that they are [[vermin]] and not livestock. They are currently bugged and can't be milked if tamed. {{Bug|3670}}.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Milking creatures==&lt;br /&gt;
{{catbox|DF2014:Milkable}}Queue a &amp;quot;Milk Creature&amp;quot; job at a [[farmer's workshop]]. The milker will not necessarily pick the closest animal available. Caging, pasturing or restraining the milkable creatures near the workshop might be a good idea, but is not mandatory. The animal must also have milk available. Once milked, the creature will be free to roam. If the creature was previously caged, pastured or restrained, some dwarf will be assigned the job of taking it back. You can avoid these pasture animal jobs if the [[farmer's workshop]] is in the animal's pasture.&lt;br /&gt;
&lt;br /&gt;
Milk should eventually be transferred from its bucket into a [[barrel]] or [[large pot]] for long-term storage. If you plan to make [[cheese]], it's a good idea to let the milk accumulate so that you get stacks of cheese (up to size 5) instead of single (size 1) cheeses.&lt;br /&gt;
&lt;br /&gt;
The frequency with which animals are able to be milked is defined in the raw files with the tag {{token|MILKABLE|creature|LOCAL_CREATURE_MAT:MILK:20000}}. All milkable creatures currently have this tag set to 20000 [[Time|ticks]], which, at 1200 ticks per day, means they all can be milked every 17 in-game days. Due to this time-out, using {{k|r}}epeating jobs to milk creatures is infeasible if only a few milkable animals are available. Alternating repeating &amp;quot;Milk Creature&amp;quot; and &amp;quot;Make Cheese&amp;quot; jobs tend to work poorly, since transfer of the milk to storage can interfere with continued work, so that sooner or later the cheesemaking job will be cancelled, eventually canceling the milking job as well.&lt;br /&gt;
&lt;br /&gt;
An exploit to maximise embark point returns is to take 1 of each kind of milk - milk costs only 1 point at embark and comes with a separate barrel for each type, effectively giving you free barrels, and (after some work) stacks of 1 cheese from each unit of milk for your [[prepared meal]]s, worth 10 times what the milk is worth.&lt;br /&gt;
&lt;br /&gt;
Milk from milkable animals domesticated by a [[civilization]] can be ordered in [[trade agreement]]s with that civilization. Each barrel of milk brought by a [[caravan]] contains 10 units of milk.&lt;br /&gt;
&lt;br /&gt;
===Dwarven ice cream===&lt;br /&gt;
&lt;br /&gt;
Milk has a [[temperature|freezing point]] of 10000 °U, the same as [[water]]. If milk is left in conditions below this temperature, even on a tile marked [[tile attributes|inside]], it will freeze, and become &amp;quot;frozen ''{animal}'''s milk&amp;quot;. Frozen milk is treated as a cookable solid {{Bug|2787}}, and may show up as an ingredient in your roasts--at 1/10th of the value of cheese, if the roasts do not just melt entirely. There is no entry for frozen milk in stockpile menus, so dwarves will not haul a frozen milk barrel to any type of stockpile. {{Bug|3398}} Careless attempts to dump the barrel to an indoor [[garbage dump]] may result in dwarves hauling the frozen milk and the barrel separately, resulting in a puddle of milk when it thaws. Dwarves will not make cheese out of frozen milk. For these reasons, milking industries should be set up underground, as Armok intended. &lt;br /&gt;
&lt;br /&gt;
If your [[trade depot]] is outdoors in freezing weather, any barrels of milk (or [[lye]]) brought by a caravan will be frozen and appear as empty barrels in the [[Trading]] screen. They can be distinguished from empty barrels by having a price 10☼ higher than the price of the barrel, or by {{k|v}}iewing their contents.&lt;br /&gt;
&lt;br /&gt;
To move frozen milk to an indoor garbage dump without spilling it, do not use the [[Designations Menu]]. Instead, use {{k|k}}-{{k|d}} to mark just the barrel for dumping.&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
* After finishing a milking job, the milker may generate a cancellation message if trying to take another job immediately: &amp;quot;Urist McMultitasking cancels job, handling dangerous animal&amp;quot;. They will subsequently just leave the milked animal to wander away on its own and retask anyway.&lt;br /&gt;
* It is unclear why pets cannot be milked; this seems to be a bug because milking is a requirement for some animals and presumably the Animal Care dwarf would be aware of this and oversee their regular milking. &lt;br /&gt;
* Tamed purring maggots can't be milked. {{Bug|3670}}&lt;br /&gt;
* After being milked (or attempting to milk them?), purring maggots are left inside the workshop as an item. {{Bug|3668}}&lt;br /&gt;
* Cooks will only cook milk and other fluids as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}} For more information, see the [[Kitchen#Bugs|kitchen]] page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{D for Dwarf}}&lt;br /&gt;
&lt;br /&gt;
Dwarven milk does not in fact come from dwarves. This is generally a relief to human caravans, until they find out where it really [[purring maggot|comes from]].&lt;br /&gt;
&lt;br /&gt;
Because milk is not considered a drink, dwarves will not drink it, even if they are dying of [[thirst]]. Indeed, dwarves consider any drink that isn't alcoholic to be no better than water, and refuse to drink milk because it's of better use as cheese. Another theory is that dwarves refuse to imbibe milk because it would make them puny milk-drinkers. What is for certain, however, is that unlike in real life, dwarves have yet to discover how to make alcoholic fermented milk beverages, such as kumis or kefir.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{gamedata|{{raw|DF2014:material_template_default.txt|MATERIAL_TEMPLATE|MILK_TEMPLATE}}}}&lt;br /&gt;
{{materials}}&lt;br /&gt;
&lt;br /&gt;
{{Category|Food}}&lt;br /&gt;
{{Category|Extracts}}&lt;br /&gt;
{{Category|Creature attributes}}&lt;br /&gt;
[[ru:Milk]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Oil&amp;diff=280292</id>
		<title>Oil</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Oil&amp;diff=280292"/>
		<updated>2022-12-29T23:28:33Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Added a minor note about cooking with oil, linking to a larger note and instruction on the kitchen page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
'''Oil''' is an ingredient in [[cooking]] and [[soap]] making, made by [[pressing]] one of the several [[seed]] pastes or fruit at a [[screw press]]. The press squeezes the material, releasing the oil, which is stored in a [[liquid]]-capable [[jug]].  The oil can then be used to supplement a fortress's [[food]] supply, or can be combined with [[lye]] to make [[soap]].&lt;br /&gt;
&lt;br /&gt;
== Oil-producing crops ==&lt;br /&gt;
&lt;br /&gt;
The following crops produce seeds that can be milled and pressed into oil:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Plant Name&lt;br /&gt;
! Underground?&lt;br /&gt;
! Oil Name&lt;br /&gt;
! Oil Value&lt;br /&gt;
|-&lt;br /&gt;
|[[Quarry bush]]&lt;br /&gt;
|Yes&lt;br /&gt;
|Rock Nut oil&lt;br /&gt;
|5☼&lt;br /&gt;
|-&lt;br /&gt;
|[[Cotton]]&lt;br /&gt;
|No&lt;br /&gt;
|Cottonseed oil&lt;br /&gt;
|5☼&lt;br /&gt;
|-&lt;br /&gt;
|[[Flax]]&lt;br /&gt;
|No&lt;br /&gt;
|Linseed oil&lt;br /&gt;
|5☼&lt;br /&gt;
|-&lt;br /&gt;
|[[Hemp]]&lt;br /&gt;
|No&lt;br /&gt;
|Hempseed oil&lt;br /&gt;
|5☼&lt;br /&gt;
|-&lt;br /&gt;
|[[Kenaf]]&lt;br /&gt;
|No&lt;br /&gt;
|Kenaf seed oil&lt;br /&gt;
|5☼&lt;br /&gt;
|-&lt;br /&gt;
|[[Olive]] (fruit)&lt;br /&gt;
|No&lt;br /&gt;
|Olive oil&lt;br /&gt;
|5☼&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Value ==&lt;br /&gt;
Oil will be used in the [[kitchen]] when 'prepare meal' tasks are queued if it is enabled in the [[Status#Kitchen_Status_Screen|Kitchen tab]] in the Status screen. &lt;br /&gt;
&lt;br /&gt;
Most of the seeds can be cooked directly, but have a base value of 1☼.  However, [[milling]] the seeds to a paste and pressing them into oil generates a [[press cake]] with a value of 1☼ and a unit of oil with a value of 5☼, a 500% value increase for only two [[labor]]s. &lt;br /&gt;
&lt;br /&gt;
[[File:Oliven_V1.jpg|thumb|250px|center|Olive oil.]]&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook oil and other fluids as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}} For more information, see the [[Kitchen#Bugs|kitchen]] page.&lt;br /&gt;
&lt;br /&gt;
{{Translation&lt;br /&gt;
| dwarven = uzol&lt;br /&gt;
| elvish  = ÿivu&lt;br /&gt;
| goblin  = smatspo&lt;br /&gt;
| human   = konli&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{gamedata|{{raw|DF2014:material_template_default.txt|MATERIAL_TEMPLATE|PLANT_OIL_TEMPLATE}}}}&lt;br /&gt;
{{materials}}&lt;br /&gt;
&lt;br /&gt;
{{Category|Food}}&lt;br /&gt;
[[ru:Oil]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Kitchen&amp;diff=280289</id>
		<title>Kitchen</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Kitchen&amp;diff=280289"/>
		<updated>2022-12-29T23:21:41Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Moved a note about cooking with fluids from the dwarven syrup page to here, since it applies to all fluids.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{Workshop&lt;br /&gt;
|name=Kitchen&lt;br /&gt;
|key=z&lt;br /&gt;
|construction_job=&lt;br /&gt;
*[[Cooking]]&lt;br /&gt;
|construction=&lt;br /&gt;
* [[Building material]] (non-[[economic]])&lt;br /&gt;
|job=&lt;br /&gt;
*[[Cooking]]&lt;br /&gt;
|use=&lt;br /&gt;
* [[Alcohol]]&lt;br /&gt;
* [[Cheese]]&lt;br /&gt;
* [[Dwarven sugar]]&lt;br /&gt;
* [[Dwarven syrup]]&lt;br /&gt;
* [[Egg]]&lt;br /&gt;
* [[Fat]]&lt;br /&gt;
* [[Fish]]&lt;br /&gt;
* [[Flour]]&lt;br /&gt;
* [[Food]]&lt;br /&gt;
* [[Honey]]&lt;br /&gt;
* [[Meat]]&lt;br /&gt;
* [[Milk]]&lt;br /&gt;
* [[Plants]]&lt;br /&gt;
* [[Prepared organs]]&lt;br /&gt;
* [[Seed]]s&lt;br /&gt;
* [[Tallow]]&lt;br /&gt;
|production =&lt;br /&gt;
*[[Food|Prepared meals]]&lt;br /&gt;
*[[Tallow]]&lt;br /&gt;
}}{{av}}&lt;br /&gt;
&lt;br /&gt;
A '''kitchen''' is operated by a dwarf with the [[Cook|cooking]] [[labor]] enabled. It is used to cook prepared meals and render fat from [[Butcher's shop|butchered]] animals into [[tallow]]. Cooking meals applies a [[quality]] modifier to each ingredient, which drastically increases the [[food]]'s value (up to 100×). Cooked meals count as each of their ingredients for the purpose of satisfying your dwarves' [[preference]]s, increasing the likelihood of happy [[thought]]s while eating. Finally, cooking spoilable foods such as [[meat]], [[fish]], and [[plants]] will deter [[rot]], but any [[seed]]s from cooked [[plant]]s are lost.&lt;br /&gt;
&lt;br /&gt;
==Types of meals==&lt;br /&gt;
There are three different types of food to be cooked:&lt;br /&gt;
*An '''Easy meal''' uses two ingredients and will result in '''biscuits'''.&lt;br /&gt;
*A '''Fine meal''' uses three ingredients and will result in '''stews'''.&lt;br /&gt;
*A '''Lavish meal''' uses four ingredients and will result in '''roasts'''.&lt;br /&gt;
&lt;br /&gt;
Lavish meals result in larger stacks of higher-value food. They take a bit longer to produce and result in less experience gained for your cook per ingredient. With a greater variety of materials in the prepared meal, there is a higher probability a dwarf will get something they [[Preferences|like]], giving the eater a happy [[thought]].&lt;br /&gt;
&lt;br /&gt;
Easy meals will give more experience per ingredient and result in twice as much hauling ''after'' cooking.&lt;br /&gt;
&lt;br /&gt;
==Using liquid ingredients==&lt;br /&gt;
At least one stack going into a prepared meal must be a solid item - if you have only [[Alcohol|booze]], [[milk]], and [[Dwarven syrup|syrup]], your cooking jobs will get canceled.  However, a single [[plump helmet]] can be cooked with ten dwarven wine, ten dwarven milk, and ten dwarven syrup, to make 31 +Plump Helmet Roast+ without issue.&lt;br /&gt;
&lt;br /&gt;
==What to cook==&lt;br /&gt;
You may want to adjust what your dwarves are allowed to cook. For example, your dwarves may happily cook away all the [[seed]]s you need for planting, or use all your [[drink|booze]] as ingredients, a good way to create [[fun]] in the early stages of the fortress. Additionally, cooks seem to prefer some of the worst ingredients (single units of low-value materials like [[tallow]]). To suppress the cooking of certain items (such as booze, seeds or tallow) go to the labor menu ({{k|y}} key) and then go to the ''Kitchen'' subtab. Every cookable and/or brewable item in your fortress will be listed. Once you allow or forbid the cooking or brewing of some kind of product, it will be used (or not) accordingly. Note that any cooking jobs in progress will be canceled if you disallow one of the cook's chosen ingredients. &lt;br /&gt;
&lt;br /&gt;
Cooking with alcohol usually results in large stacks of prepared meals, because alcohol typically has large stack sizes. It is assumed that since all dwarves have a [[preference]] for at least one type of alcohol, cooking with alcohol improves the chance of happy [[thought]]s from eating. Of course, you then need to ensure that you have enough alcohol left for your dwarves to drink; cooked alcohol does not count as drink.&lt;br /&gt;
&lt;br /&gt;
One (relatively safe) method to include a limited amount of alcohol in your meals is to create a small (one-or-two tile) food [[stockpile]] next to your kitchen that only allows types of alcohol that your fortress has in large quantity, and set it to &amp;quot;take&amp;quot; from your larger drink stockpile and &amp;quot;give&amp;quot; to your kitchen(s). You can then use work orders to limit the number of prepared meals that will be created to ensure this stock is not itself rapidly drained by experienced cooks.&lt;br /&gt;
&lt;br /&gt;
Ideally, you want to combine four different ingredients in each meal to maximize the chance of a dwarf experiencing a happy [[thought]] due to a [[preference]]. Unfortunately, when left up to your cook, you'll likely end up with an endless string of [[tallow]] roasts. To enforce variety, you can create a series of single-tile, barrel-less &amp;quot;feeder&amp;quot; [[stockpile]]s, each of which allows a different type of (cookable) food, all set to &amp;quot;give&amp;quot; to your kitchen.&lt;br /&gt;
&lt;br /&gt;
==Storage==&lt;br /&gt;
Individual types of prepared meals are not listed in the middle column or right column of the stockpile menu for the Food category. The switch for allowing or banning prepared meals in a [[stockpile]] is displayed underneath the right column and toggled by pressing the {{k|u}} key.  &lt;br /&gt;
&lt;br /&gt;
The size of a prepared food stack varies according to the sum of all ingredient stacks; with large input stacks your kitchen will create a stack of prepared meals that is too big to fit into a [[barrel]] or [[pot]] (capacity 60). If you want to designate a stockpile as the destination for your kitchen's output, be sure that the number of barrels allowed in the stockpile is lower than the number of squares in the stockpile. That way there will be a few non-barrel squares for your haulers to deposit overly large stacks of prepared meals. Given that food left in the open will attract [[Fly|flies]], causing unhappiness in dwarves who encounter them, it may be best to store prepared meals in an area of less traffic than the rest of a food stockpile. You can also &amp;quot;break&amp;quot; large stacks into smaller stacks (for a fee) by trading them to a [[caravan]] and then purchasing them back in smaller stacks.&lt;br /&gt;
&lt;br /&gt;
Be aware that food that is not properly stored in a stockpile rots quite fast. Rotting is the worst possible fate for a masterfully prepared meal. The chef would have every right to be angry about it, since all of his effort spent preparing the meal literally went to waste. Prepared meals can also trigger masterwork destruction if they are eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
==Trade==&lt;br /&gt;
&lt;br /&gt;
Prepared meals are excellent for [[trade]] since they are high-value, renewable/sustainable, easily transported, and easily sub-divided. A high-quality prepared meal stack can surpass all but [[artifact]], [[adamantine]], and heavily [[decoration|decorated]] items in total value.&lt;br /&gt;
&lt;br /&gt;
Even a novice cook will greatly increase the value of raw ingredients. For example, cooking 10 plump helmets (total value 40) in a &amp;quot;Lavish Meal&amp;quot; will produce a stack of plump helmet roast with minimum value of 260. A modest cooking skill can easily double that value, while a legendary cook is theoretically capable of producing a total value of 3120, a 78x increase over the raw ingredients. &lt;br /&gt;
&lt;br /&gt;
Because of the way meal value is calculated, cooking large stacks of common ingredients with small stacks of high-value ingredients results in a large stack of high-value meals. As an example, cooking three single unit stacks of [[whip vine]] [[flour]] with a stack of 7 plump helmets yields a theoretical maximum value of 10,680 from a raw ingredient value of 103. &lt;br /&gt;
&lt;br /&gt;
The quality symbols shown in the name of a meal reflect the highest quality involved in its making, looking at the overall preparation as well as the mincing of each ingredient. With up to five jobs involved, monetary values of apparently same-quality meals can vary a lot, and a lower-quality meal can be more valuable than a higher-quality meal cooked from the same ingredients.&lt;br /&gt;
[[File:kitchen_preview.jpg|thumb|400px|center|A not-so-modern kitchen.]]&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook fluid ingredients as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}}&lt;br /&gt;
&lt;br /&gt;
To force the kitchen to cook with fluids like [[alcohol|booze]], [[milk]], [[oil]], or [[dwarven syrup]], you can limit the possible ingredients used for cooking through [[stockpile]] linkage. If a [[kitchen]] is set to accept ingredients from a stockpile, it will not use any other ingredients unless they are already stored in the kitchen (which may be encountered if no one has yet hauled some recently-rendered [[tallow]]). Set up a tiny stockpile to only hold solid food ingredients, but no [[barrel|barrels]]. The size of this stockpile will determine how many solid ingredients the kitchen can easily use, so if it is 1x1, the cook will use just one solid ingredient before looking elsewhere. A speedy hauler might get another item into that space before the cook stops looking for ingredients, but this is uncommon. Set up another stockpile to hold the fluid ingredients. Set both of these stockpiles to give items to the kitchen. If there's nothing else left in the tiny stockpile when the cook is looking for ingredients, then the only other ingredients which can be used will be the fluid ingredients, and so they will be used even though they are not preferred by the cook.&lt;br /&gt;
&lt;br /&gt;
Of course, the tiny solid ingredient stockpile will need to be refilled, so you will also need a larger stockpile that links to the tiny one. Unfortunately, once ingredients are in barrels, they will never be taken out of the barrels to be moved to the tiny stockpile, so the larger stockpile will also have to be limited to not use barrels. One way to get ingredients out of barrels is to set a barrel-using food stockpile to only accept from linked stockpiles, set the stockpile to give to the kitchen but not to take from anything, and queue up a lavish meal. Watch the kitchen, and once ingredients have been delivered so work can begin, cancel or pause the work. They will then need to empty the kitchen, and since your barrel-using stockpile is set to not accept from the kitchen, only your barrel-free stockpiles will be available.&lt;br /&gt;
&lt;br /&gt;
{{Workshops}}&lt;br /&gt;
{{Category|Food}}&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Alcohol&amp;diff=280287</id>
		<title>Alcohol</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Alcohol&amp;diff=280287"/>
		<updated>2022-12-29T23:09:47Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Added a note that booze can be cooked. Surprised it wasn't mentioned before.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:dwarf_alcohol_preview.png|170px|right]]&lt;br /&gt;
'''Alcohol''' is the favored drink of the [[dwarf|dwarves]]; a dwarf will drink booze an average of five times per [[calendar|season]] to satisfy their [[thirst]], and although they can subsist on [[water]], without booze, they will work increasingly slowly. Dwarves like to have some variety in what they drink, and will garner a bad thought if they are forced to drink the same variety of drink repeatedly (&amp;quot;has been tired of drinking the same old booze lately&amp;quot;). Every dwarf likewise has [[preferences]] for various types of drinks. Thus alcohol is important both for maintaining your fortress (at a minimum) and (with some investment in variety) for keeping your dwarves happy.&lt;br /&gt;
&lt;br /&gt;
Alcohol can also be used as an ingredient for [[kitchen|prepared meals]]. However, meals made with alcohol no longer cause your dwarves to get drunk, and will not sate their thirst.&lt;br /&gt;
&lt;br /&gt;
== Acquisition ==&lt;br /&gt;
[[File:Thirsty Dwarves.gif|thumb|right|A booze [[stockpile]] at work]]Most [[crop]]s and [[fruit]] [[tree]]s in the game can have their produce turned into drink, and, thus, most drink is sourced from dwarven [[farming]], both indoors and out. Most of the plants [[plant gathering|gathered]] from the wild can also be used for brewing, but the reduced yields relative to farming makes it a less ideal solution, though the added variety of drinks can make it worthwhile. Drinks can be sourced at [[embark#supplies|embarkation]], and taking at least a few barrels with you is recommended to hold your initial dwarves over until you can build a [[still]]. [[Caravan]]s always bring some drinks along as well, although not enough to support a reasonably large fortress. Finally, [[honey]] acquired through [[beekeeping industry|beekeeping]] can be brewed into alcoholic [[mead]], the only form of drink that is not derived from plants or fruit.&lt;br /&gt;
&lt;br /&gt;
The most direct way to acquire the booze itself is through a [[still]]; large fortresses will usually have one or more dedicated [[brewer]]s keeping the dwarven drinks cellar well-stocked. To brew a drink, a dwarf will need an empty watertight container of some kind (either a [[barrel]] or [[large pot]]) and a [[stack]] of brewables. Each brewing job produces five units of alcohol per brewable item and deposits the alcohol in the container, recovering any plant [[seed]]s in the process. The size of a stack does not affect how long it takes to brew it, which is based entirely on the brewer's [[skill]], making brewing jobs performed on large stacks much more efficient than those done on individual consumables. Stacks of alcohol do not have quality levels, and the strength of a happy thought obtained by drinking alcohol is based entirely on the value of the drink (including the stack size) and the dwarf's personal preferences.&lt;br /&gt;
&lt;br /&gt;
== Mechanics ==&lt;br /&gt;
[[File:alcohol_preview.jpg|thumb|250px|right|Secret ingredient: happiness]]Dwarven thirst is constrained by the important {{token|ALCOHOL_DEPENDENT|c}} [[creature token]], which causes them to suffer severe performance penalties when deprived of alcohol. &amp;quot;Dry&amp;quot; dwarves increasingly lose [[gait|walking speed]] and [[Combat#Attack_Speed|attack speed]]. Alcohol withdrawal appears in the dwarf's thoughts and preferences as &amp;quot;starting to work slowly due to its scarcity&amp;quot; after 3 months, &amp;quot;really wants a drink&amp;quot; after 6 months, &amp;quot;has gone without a drink for far, far too long&amp;quot; after 9 months, and finally &amp;quot;can't even remember the last time he/she had some&amp;quot; after an entire year. Precisely how much dwarves trudge their feet due to alcohol withdrawal is unknown.&lt;br /&gt;
&lt;br /&gt;
Prior to version 0.44.06, creatures of ''any'' race (even including animals, due to a bug) who were exposed to enough combat to become fully hardened (&amp;quot;doesn't really care about anything anymore&amp;quot;) would also become alcoholics.&lt;br /&gt;
&lt;br /&gt;
All creatures can theoretically survive drinking nothing but alcohol for their entire lives, though they may be subject to [[#Alcohol poisoning|alcohol poisoning]] due to not having the same tolerance level as dwarves. Neither dwarves nor any race of creature will accept an alcohol ration if resting in a [[hospital]], and must instead be given fresh water until they recover. Water may also be given to busy dwarves that become thirsty.{{bug|2448}}&lt;br /&gt;
&lt;br /&gt;
[[Vampire]] dwarves are just as alcohol-dependent as the mortal kind. Despite this, in [[fortress mode]], they will only ever drink [[blood]], ensuring they eventually suffer withdrawal even if your pantry is stocked to the brim with every beverage imaginable. This does not stop tavern keepers from giving them drink, if such is available inside the tavern.&lt;br /&gt;
&lt;br /&gt;
Setting booze on [[fire]] will not cause it to explode, but exposing it to high [[temperature]]s ''will'' cause it to boil away. If the container is flammable, it (and, subsequently, the booze) will be consumed by fire; [[magma-safe]] containers would never be destroyed by [[magma]], but any booze inside will likely quickly perish due to heat transfer (unless the container is made of [[nether-cap]]).&lt;br /&gt;
&lt;br /&gt;
Alcohol, like all other liquids, does not have a quality modifier. The level of happy [[thought]] generated by drinking a [[preferences|preferred]] alcohol is dependent upon the value of the entire stack of alcohol.{{cite forum|120870.msg3901346#msg3901346}})&lt;br /&gt;
&lt;br /&gt;
Dwarves prefer drinking alcohol out of a [[Finished goods#Goblets|mug, cup, or goblet]] and will receive an unhappy [[thought]] for drinking alcohol without one of these three vessel types. These may be placed in [[coffer]]s in designated [[tavern]]s.  Visitors will drink alcohol too.{{version|0.42.01}}&lt;br /&gt;
&lt;br /&gt;
=== Alcohol poisoning ===&lt;br /&gt;
&lt;br /&gt;
Over-consumption of alcohol can lead to harmful syndromes, progressing to inebriation, unconsciousness, and death. Each individual has their own tolerance level based on their size (with dwarves having 1.5× the resistance for their size) and each individual will consume more or less according to their [[need]] to drink. Mysterious deaths from suffocation in your taverns are most likely cases of acute alcohol poisoning. Note that the lethal effects of alcohol poisoning are caused by impairing the function of a creature's lungs, making creatures that lack lungs, or the need to breathe, immune to death from alcohol poisoning.&lt;br /&gt;
&lt;br /&gt;
== List of alcohol ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Ingredient&lt;br /&gt;
! Beverage produced&lt;br /&gt;
! Beverage value&lt;br /&gt;
! Type&lt;br /&gt;
! Source&lt;br /&gt;
|-&lt;br /&gt;
| [[Plump helmet]] || data-sort-value=&amp;quot;wine Dwarven&amp;quot;| Dwarven wine || 2 || rowspan=&amp;quot;44&amp;quot; style=&amp;quot;background-color:#cfc&amp;quot;| Plant-based || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pig tail]] || data-sort-value=&amp;quot;ale Dwarven&amp;quot;| Dwarven ale || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cave wheat]] || data-sort-value=&amp;quot;beer Dwarven&amp;quot;| Dwarven beer || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sweet pod]] || data-sort-value=&amp;quot;rum Dwarven&amp;quot;| Dwarven rum || 2 || style=&amp;quot;background-color:#aaa&amp;quot; | Indoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Muck root]] || data-sort-value=&amp;quot;whiskey Swamp&amp;quot;| Swamp whiskey || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bloated tuber]] || data-sort-value=&amp;quot;beer Tuber&amp;quot;| Tuber beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Prickle berry]] || data-sort-value=&amp;quot;wine Prickle&amp;quot;| Prickle berry wine || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Longland grass]] || data-sort-value=&amp;quot;beer Longland&amp;quot;| Longland beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rat weed]] || data-sort-value=&amp;quot;brew Sewer&amp;quot;| Sewer brew || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Fisher berry]] || data-sort-value=&amp;quot;wine Fisher&amp;quot;| Fisher berry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rope reed]] || data-sort-value=&amp;quot;spirits River&amp;quot;| River spirits || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sliver barb]] || data-sort-value=&amp;quot;cruor Gutter&amp;quot;| Gutter cruor || 1 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sun berry]] || Sunshine || 5 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Whip vine]] || data-sort-value=&amp;quot;wine Whip&amp;quot;| Whip wine || 3 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Beet]] || data-sort-value=&amp;quot;wine Beetroot&amp;quot;| Beetroot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Wild carrot]] || data-sort-value=&amp;quot;wine Carrot&amp;quot;| Carrot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cassava]] || data-sort-value=&amp;quot;beer Cassava&amp;quot;| Cassava beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Parsnip]] || data-sort-value=&amp;quot;wine Parsnip&amp;quot;| Parsnip wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Potato]] || data-sort-value=&amp;quot;wine Potato&amp;quot;| Potato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Radish]] || data-sort-value=&amp;quot;wine Radish&amp;quot;| Radish wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sweet potato]] || data-sort-value=&amp;quot;wine Sweet&amp;quot;| Sweet potato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Turnip]] || data-sort-value=&amp;quot;wine Turnip&amp;quot;| Turnip wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Single-grain wheat]] || data-sort-value=&amp;quot;beer Single-grain&amp;quot;| Single-grain wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Two-grain wheat]] || data-sort-value=&amp;quot;beer Two-grain&amp;quot;| Two-grain wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Soft wheat]] || data-sort-value=&amp;quot;beer Soft&amp;quot;| Soft wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Hard wheat]] || data-sort-value=&amp;quot;beer Hard&amp;quot;| Hard wheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Spelt]] || data-sort-value=&amp;quot;beer Spelt&amp;quot;| Spelt beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Barley]] || data-sort-value=&amp;quot;wine Barley&amp;quot;| Barley wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Buckwheat]] || data-sort-value=&amp;quot;beer Buckwheat&amp;quot;| Buckwheat beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rye]] || data-sort-value=&amp;quot;beer Rye&amp;quot;| Rye beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sorghum]] || data-sort-value=&amp;quot;beer Sorghum&amp;quot;| Sorghum beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rice]] || data-sort-value=&amp;quot;beer Rice&amp;quot;| Rice beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Maize]] || data-sort-value=&amp;quot;beer Maize&amp;quot;| Maize beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Quinoa]] || data-sort-value=&amp;quot;beer Quinoa&amp;quot;| Quinoa beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Kaniwa]] || data-sort-value=&amp;quot;beer Kaniwa&amp;quot;| Kaniwa beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pendant amaranth]] || data-sort-value=&amp;quot;amaranth Pendant&amp;quot;| Pendant amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blood amaranth]] || data-sort-value=&amp;quot;amaranth Blood&amp;quot;| Blood amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Purple amaranth]] || data-sort-value=&amp;quot;amaranth Purple&amp;quot;| Purple amaranth beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pearl millet]] || data-sort-value=&amp;quot;beer Pearl&amp;quot;| Pearl millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[White millet]] || data-sort-value=&amp;quot;beer White&amp;quot;| White millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Finger millet]] || data-sort-value=&amp;quot;beer Finger&amp;quot;| Finger millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Foxtail millet]] || data-sort-value=&amp;quot;beer Foxtail&amp;quot;| Foxtail millet beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Fonio]] || data-sort-value=&amp;quot;beer Fonio&amp;quot;| Fonio beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Teff]] || data-sort-value=&amp;quot;beer Teff&amp;quot;| Teff beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Apple]] || data-sort-value=&amp;quot;cider Apple&amp;quot;| Apple cider || 2 || rowspan=&amp;quot;32&amp;quot; style=&amp;quot;background-color: #fcc&amp;quot;| Fruit-based&lt;br /&gt;
| Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Apricot]] || data-sort-value=&amp;quot;wine Apricot&amp;quot;| Apricot wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Banana]] || data-sort-value=&amp;quot;beer Banana&amp;quot;| Banana beer || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bayberry]] || data-sort-value=&amp;quot;wine Bayberry&amp;quot;| Bayberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Carambola]] || data-sort-value=&amp;quot;wine Carambola&amp;quot;| Carambola wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cherry]] || data-sort-value=&amp;quot;wine Cherry&amp;quot;| Cherry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Custard-apple]] || data-sort-value=&amp;quot;cider Custard-apple&amp;quot;| Custard-apple cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Date]] || data-sort-value=&amp;quot;wine Date&amp;quot;| Date wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Durian]] || data-sort-value=&amp;quot;wine Durian&amp;quot;| Durian wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Guava]] || data-sort-value=&amp;quot;wine Guava&amp;quot;| Guava wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Lychee]] || data-sort-value=&amp;quot;wine Lychee&amp;quot;| Lychee wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Mango]] || data-sort-value=&amp;quot;wine Mango&amp;quot;| Mango wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Papaya]] || data-sort-value=&amp;quot;wine Papaya&amp;quot;| Papaya wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Peach]] || data-sort-value=&amp;quot;cider Peach&amp;quot;| Peach cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pear]] || Perry || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Persimmon]] || data-sort-value=&amp;quot;wine Persimmon&amp;quot;| Persimmon wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Plum]] || data-sort-value=&amp;quot;wine Plum&amp;quot;| Plum wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pomegranate]] || data-sort-value=&amp;quot;wine Pomegranate&amp;quot;| Pomegranate wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Rambutan]] || data-sort-value=&amp;quot;wine Rambutan&amp;quot;| Rambutan wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Sand pear]] || data-sort-value=&amp;quot;cider Sand&amp;quot;| Sand pear cider || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Artichoke]] || data-sort-value=&amp;quot;wine Artichoke&amp;quot;| Artichoke wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Tomato]] || data-sort-value=&amp;quot;wine Tomato&amp;quot;| Tomato wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Tomatillo]] || data-sort-value=&amp;quot;wine Tomatillo&amp;quot;| Tomatillo wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Passion fruit]] || data-sort-value=&amp;quot;wine Passion&amp;quot;| Passion fruit wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Grape]] || Wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Cranberry]] || data-sort-value=&amp;quot;wine Cranberry&amp;quot;| Cranberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Bilberry]] || data-sort-value=&amp;quot;wine Bilberry&amp;quot;| Bilberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blueberry]] || data-sort-value=&amp;quot;wine Blueberry&amp;quot;| Blueberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Blackberry]] || data-sort-value=&amp;quot;wine Blackberry&amp;quot;| Blackberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Raspberry]] || data-sort-value=&amp;quot;wine Raspberry&amp;quot;| Raspberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Pineapple]] || data-sort-value=&amp;quot;wine Pineapple&amp;quot;| Pineapple wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Strawberry]] || data-sort-value=&amp;quot;wine Strawberry&amp;quot;| Strawberry wine || 2 || Outdoors&lt;br /&gt;
|-&lt;br /&gt;
| [[Honey]] || Mead || 1 || style=&amp;quot;background-color: #ddd&amp;quot;| Animal-based || Outdoors&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Modding ==&lt;br /&gt;
&lt;br /&gt;
{{mod}}&lt;br /&gt;
&lt;br /&gt;
Any item of type [[Item_token#DRINK|DRINK]]:NONE is considered to be an alcoholic beverage as far as the game is concerned, regardless of the material used. Thus, if you were to make a [[reaction]] which produces drinks of, say, [[elf]] blood, your dwarves would happily chug them down, sating their alcohol dependency in the process. Note that DRINK items don't cause inebriation symptoms by themselves; these are dependent on a [[syndrome]] associated with the consumed substance (see the PLANT_ALCOHOL_TEMPLATE raws below for an example). However, you could always add this syndrome, or another one of your own design, to the material you want to use.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Alcohol plant stockpile]] — Brewery input stockpile helper page&lt;br /&gt;
* [[Brewer]]&lt;br /&gt;
* [[Beekeeping industry]]&lt;br /&gt;
* [[Crop]]&lt;br /&gt;
* [[Thirst]]&lt;br /&gt;
&lt;br /&gt;
{{Gamedata|{{raw|DF2014:material_template_default.txt|MATERIAL_TEMPLATE|PLANT_ALCOHOL_TEMPLATE}}}}&lt;br /&gt;
&lt;br /&gt;
{{Industry}}&lt;br /&gt;
{{materials}}&lt;br /&gt;
&lt;br /&gt;
{{category|Dwarves}}&lt;br /&gt;
{{category|Food}}&lt;br /&gt;
[[ru:Alcohol]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Dwarven_syrup&amp;diff=280280</id>
		<title>Dwarven syrup</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Dwarven_syrup&amp;diff=280280"/>
		<updated>2022-12-29T22:56:03Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Solved a problem that a previous editor called &amp;quot;impossible.&amp;quot; Also made the whole section easier to understand.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
'''Dwarven syrup''' is a cooking ingredient made from [[sweet pod]]s at a [[farmer's workshop]] using the &amp;quot;process plants (barrel)&amp;quot; order and the [[plant processing]] labor.  Five units of dwarven syrup are made from each sweet pod, and one seed per sweet pod will be left over.  Dwarven syrup cannot be eaten in its raw state, but can be made into edible food using [[cooking]].&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
Cooks will only cook dwarven syrup as a last resort, instead preferring to cook solid foods with solid foods. {{Bug|2393}}&lt;br /&gt;
&lt;br /&gt;
To force the kitchen to cook with fluids like dwarven syrup, you can limit the possible ingredients used for cooking through [[stockpile]] linkage. If a [[kitchen]] is set to accept ingredients from a stockpile, it will not use any other ingredients unless they are already stored in the kitchen (which may be encountered if no one has yet hauled some recently-rendered [[tallow]]). Set up a tiny stockpile to only hold solid food ingredients, but no [[barrel|barrels]]. The size of this stockpile will determine how many solid ingredients the kitchen can easily use, so if it is 1x1, the cook will use just one solid ingredient before looking elsewhere. A speedy hauler might get another item into that space before the cook stops looking for ingredients, but this is uncommon. Set up another stockpile to hold the fluid ingredients. Set both of these stockpiles to give items to the kitchen. If there's nothing else left in the tiny stockpile when the cook is looking for ingredients, then the only other ingredients which can be used will be the fluid ingredients, and so they will be used even though they are not preferred by the cook.&lt;br /&gt;
&lt;br /&gt;
Of course, the tiny solid ingredient stockpile will need to be refilled, so you will also need a larger stockpile that links to the tiny one. Unfortunately, once ingredients are in barrels, they will never be taken out of the barrels to be moved to the tiny stockpile, so the larger stockpile will also have to be limited to not use barrels. One way to get ingredients out of barrels is to set a barrel-using food stockpile to only accept from linked stockpiles, set the stockpile to give to the kitchen but not to take from anything, and queue up a lavish meal. Watch the kitchen, and once ingredients have been delivered so work can begin, cancel or pause the work. They will then need to empty the kitchen, and since your barrel-using stockpile is set to not accept from the kitchen, only your barrel-free stockpiles will be available.&lt;br /&gt;
{{materials}}&lt;br /&gt;
{{Category|Food}}&lt;br /&gt;
{{Category|Extracts}}&lt;br /&gt;
[[ru:Dwarven syrup]]&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Screw_pump&amp;diff=280109</id>
		<title>Screw pump</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Screw_pump&amp;diff=280109"/>
		<updated>2022-12-28T06:23:19Z</updated>

		<summary type="html">&lt;p&gt;Bihlbo: Since a pump no longer has a &amp;quot;light&amp;quot; and &amp;quot;dark&amp;quot; side, I changed all of the terminology. Also, cleared up some wording to make things more clear and less repetative. Did some testing to ensure other details were still accurate, and clarified some things I noticed were missing.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{Quality|Unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Machine_component|name=Screw pump|key=p|job=[[Pump operator]]&lt;br /&gt;
|construction=&lt;br /&gt;
* [[Block]]&lt;br /&gt;
* [[Trap component#Enormous corkscrew|Enormous corkscrew]]&lt;br /&gt;
* [[Pipe section]]&lt;br /&gt;
|construction_job=&lt;br /&gt;
* [[Architecture]]&lt;br /&gt;
* 1 of&lt;br /&gt;
** [[Carpentry]]&lt;br /&gt;
** [[Masonry]]&lt;br /&gt;
** [[Metalsmithing]]&lt;br /&gt;
|power=Needs 10 power.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A '''screw pump''' is a small [[building]] that can lift liquids ([[water]] or [[magma]]) from one level below onto the same [[Z-level]] as the pump. It is two tiles by one tile in size, and it can be either manually operated by a [[dwarf]] allowed to do the the [[pump operator|pump operating]] work (by default there is no [[work detail]] for this [[labor]], and everyone is allowed to do it) or by being [[power]]ed by [[water wheel]]s and/or [[windmill]]s. A screw pump both accepts and transfers power using either tile of the pump, in all orthogonal directions, including above and below.&lt;br /&gt;
&lt;br /&gt;
A screw pump has two sides. One side is the &amp;quot;input&amp;quot; side which accepts dwarven labor from the [[pump operator]], and which obtains the fluid that the machine will pump. The other side is the &amp;quot;output&amp;quot; side, which outputs the fluid being pumped. In previous versions of Dwarf Fortress, the input side showed up as a light-colored tile, and the output side was a dark-colored tile, which will likely be a method of differentiating the two sides that you will encounter in descriptions and illustrations. In v50 a screw pump's orientation will be displayed by clicking on the pump. In the premium edition of v50 Dwarf Fortress, a pump has detailed graphics, which visually shows the orientation of the pump. The input side has many gears, and the output side has jutting pipes.&lt;br /&gt;
&lt;br /&gt;
The direction you want the fluid to travel must be chosen at the time of construction. Pumping only occurs in a straight line, and involves a total of 4 tiles in a row - 1) the liquid source, two for the pump, and the output (details below, under Construction).&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;rise&amp;quot; in levels occurs on the first tile, the intake side, from one level below up to the level of the pump. Pumped fluids can and will flow immediately after being pumped, as normal for that fluid. Pumped fluids will have a [[pressure]] equal to the exit [[z-level]] - a pump never &amp;quot;forces&amp;quot; water to a higher [[z-level]] than the output tile.&lt;br /&gt;
&lt;br /&gt;
[[Water#Salt Water|Salt water]] pumped through a pump will desalinate and become drinkable, but only if the [[cistern]] has never contained salty water. [[Water#Stagnant Water|Stagnant water]] pumped through a pump will become clean, letting dwarves drink it without getting an unhappy [[thought]] and letting [[doctor]]s clean [[wound]]s without causing an [[Health care#Infection|infection]]. As with desalination, this only works if the [[cistern]] has never contained stagnant water.&lt;br /&gt;
&lt;br /&gt;
''For a basic overview of how the different machine parts work and work together, see [[machine component|machinery]].''&lt;br /&gt;
&lt;br /&gt;
== Construction ==&lt;br /&gt;
&lt;br /&gt;
Building a screw pump requires an [[Trap component#Enormous corkscrew|enormous corkscrew]], a [[block]], and a [[pipe section]]. These can be made of any material if the pump is intended to move water, but each component must be [[magma-safe]] if the pump is to be used to move [[magma]]. As with construction of other buildings, a dwarf first brings all materials to the planned site, then construction can begin. Both bringing the materials and the construction labor requires that the dwarf is allowed to do [[carpentry]], [[metalsmithing]], or [[masonry]], depending on the material of the block. The constructing dwarf will finish the labor by standing on the input side of the pump, and so  will require access to that tile. Deconstructing a screw pump requires the same labor as it took to construct it.&lt;br /&gt;
&lt;br /&gt;
[[Image:Small pump.jpg|thumb|right|300px|'''Basic Side View of a Pump'''. &amp;lt;br /&amp;gt; This pump &amp;quot;pumps from the west to east&amp;quot;, flowing from left to right. The area to the right may fill to the top of that level, but no more  (See [[pressure]]; see [[Screw pump#Pump stack|Pump stack]]). Note that the entire space required is 4 tiles long by 1 tile wide, not including any retaining walls for the outflow. If pumped manually, the [[pump operator]] stands in the input side, as the output tile is [[impassable tile|impassable]] to both fluid and movement.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;''(Although the &amp;quot;liquid&amp;quot; is shown as blue, this can work for [[magma]] as well, with the [[magma-safe|appropriate precautions]].)'']]&lt;br /&gt;
&lt;br /&gt;
Although the screw itself is only 2 tiles long by 1 tile wide, the entire system must be thought of as 4 tiles long (see diagram, &amp;quot;Basic Side View of a Pump&amp;quot;, right). This consists of (left to right)... 1) a liquid-source tile (where the liquid is, -1 z-level below), 2) the input end of the pump itself, 3) the output end of the pump, and 4) the tile where the liquid will be deposited, which is on the &amp;lt;u&amp;gt;same level&amp;lt;/u&amp;gt; as the pump.&lt;br /&gt;
&lt;br /&gt;
It's easily possible to allow that output liquid to drain away to lower z-levels, but it ''starts'' on the same level as the pump, 1 z-level above where it started. It's also possible to use walls to prevent the liquid from spreading, and this is recommended if you do not have a reliable drain system.&lt;br /&gt;
&lt;br /&gt;
To build a pump, open the {{k|b}}uild menu, select {{k|m}}achines/fluids and then Screw {{k|p}}ump. It's important to choose the proper orientation for your pump (to specify the source and destination tiles) using the sub-menu that appears in the upper-right of the screen. In Dwarf Fortress Classic v50, the arrows on this menu point in the direction of the source of the pump's fluid, not in the direction the fluid will be pumped (for instance, if you click on the →→ symbol, the machine will be built to pump from east to west). These same buttons in Dwarf Fortress Premium show an icon that more intuitively displays the movement of fluid by the machine, and are in an opposite layout. The default (as shown above in the sidebar), &amp;quot;pumps from the north&amp;quot;, which is the center-bottom button in Dwarf Fortress Premium, and the center-top option in Dwarf Fortress Classic. When clicking the map to choose a location for a pump, the tile you select will be the output side of the pump.&lt;br /&gt;
&lt;br /&gt;
If pumped manually, the pump operator stands on the input tile, as the output tile is [[impassable tile|impassable]]. After construction is complete, orientation of the pump will be displayed by clicking on the pump. Orientation of a pump cannot be changed after being constructed, but, as with any building, it can be deconstructed into its component parts and rebuilt with a new orientation, and/or a new location.&lt;br /&gt;
&lt;br /&gt;
Having specified the direction of travel, you must ensure that the source side of the pump is placed adjacent to and above (in the [[z-axis]]) a liquid. That end of the pump is '''not''' directly over the source - it is one level above but &amp;lt;u&amp;gt;adjacent&amp;lt;/u&amp;gt; to it. The screw pump will draw the liquid up from below its level, and distribute it out of the other side of the pump.&lt;br /&gt;
&lt;br /&gt;
Construction of a screw pump can be prohibited with a &amp;quot;needs screw trap component&amp;quot; message if your enormous corkscrews are in a bin which has ''any'' current tasks attached to it (such as the relocation of a newly constructed corkscrew, or a military member moving a weapon). One workaround is to create a separate weapon stockpile for your corkscrews, and for best effectiveness, disallow the use of bins in that stockpile. This will force your corkscrew storage to work as smoothly (and space-consumingly) as a furniture stockpile.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Dwarves must be able to access and stand on the input tile of the pump in order to build the pump and then to be able to operate the pump manually.&lt;br /&gt;
* Liquids to be pumped must be 1 level below the (empty) area ''adjacent'' to the input tile. &lt;br /&gt;
* The space above the fluid source cannot be a floor, stairway or wall. Screw pumps can pull water through a [[grate]], floor [[bars]], or a [[construction|constructed]] [[fortification]] on the Z-level below.&lt;br /&gt;
* Liquids will appear in the tile adjacent to the output side of the pump.&lt;br /&gt;
* The output tile blocks liquid flow and creature movement, and can be built between wall segments to create a solid barrier. The input tile of the pump does not block flow or movement.&lt;br /&gt;
* Pumps can also be used in conjunction with a [[water wheel]] or a [[windmill]] to become powered by these machines, rather than by a dwarf.&lt;br /&gt;
* Actively-powered mechanisms connected to either pump tile will automatically start the pump; to prevent this, either restrict liquid flow using floodgates or hatches, or build a [[gear assembly]] linked to a [[lever]] to disconnect the [[power]].&lt;br /&gt;
* If a pump is powered, the pump will also output power to connected machines ([[gear assemblies]], [[axle|axles]], other pumps, etc.).&lt;br /&gt;
* Adjacent pumps ''automatically'' transfer mechanical power to any other adjacent pump(s); no [[axle]] or [[mechanism]] is required.  If too many pumps are adjacent, there may be insufficient power to power them. In this case, ''all'' pumps (and other items) connected to that power network will fail to work. By clicking on a powered pump, axle, gear assembly, windmill, or water wheel you can see the &amp;quot;Total Power&amp;quot; and &amp;quot;Total Power Needed&amp;quot; in the system.&lt;br /&gt;
* Dwarves operating pumps do '''NOT''' generate power. Thus, one cannot use a single [[pump operator]] to power an entire [[pump stack]] or anything else that accepts or transfers power.&lt;br /&gt;
* In order to build pumps in a &amp;quot;hanging&amp;quot; state, as in the stacked screw pump example (below), one of its tiles must be able to connect to a nearby machine, either already existing or designated to be built. If, when the screw pump's construction is completed, the supporting mechanism has not yet been completed, it will promptly collapse into its component parts.&lt;br /&gt;
* Pumps do '''not''' push liquids '''up''' additional Z-levels above them.  They only deliver water to their own level.  That is, if you direct the output of a screw pump into a 1-square space surrounded by walls, the water will not &amp;quot;overflow&amp;quot; the walls. Consequently, a pump will refuse to move liquid if the level it is pumping to is completely filled.  Higher levels can be achieved using a &amp;quot;pump stack&amp;quot; (below). (See [[Pressure]])&lt;br /&gt;
* In order to safely pump magma, you must use [[magma-safe]] materials, though magma-unsafe metals have been observed to be safe unless the input tile is going to be submerged in magma. Wooden parts (except for [[nether-cap]]s) will burst into flames the instant the pump is activated, and magma-unsafe stone [[block]]s melt after a short time. Despite the requirement for magma-safe materials, the exterior of the pump does not heat up, and dwarves do not mind operating a magma pump directly.&lt;br /&gt;
* Magma, which normally has no pressure, will behave as though pressurized when pumped. For example, when pumped into a U-turn, magma will come out at the other end. Normal (non-pumped) magma would just pool at the lowest level. This may be either very useful (can be used to build pressure towers for magma) or deadly (forge level flooded with magma, because someone tried to pump magma into a volcano).&lt;br /&gt;
* Pump's pseudo-pressure doesn't work across diagonals. If there is a diagonal-only passage in your tunnel, liquids will seep slowly through it, instead of bursting through above their normal maximal speed, like they would if there was a clear orthogonal passage.&lt;br /&gt;
* The liquid in a pump's intake tile must have a depth of at least 2/7 for the pump to be able to remove any amount of liquid from it.&lt;br /&gt;
* If a pump's intake tile on the z-level below the pump becomes blocked (e.g. cave-in, magma cooling into obsidian, or a sapling maturing into a [[tree]]) the pump will still run but not pump any fluid.&lt;br /&gt;
* If a pump's output tile contains magma and the pump is pumping water or vice versa, the output tile will be turned into [[obsidian]].&lt;br /&gt;
* Pumps operate in the reverse order in which they were built-- the most recently built will try to pump, then the next recent, and so on.  You can use this to your advantage for [[mist]] generation, to maximize fluid throughput, or for advanced [[repeater]] design.&lt;br /&gt;
* Screw pumps continue to operate for a short period (49 ticks) after losing power-- that is, a screw pump supplied power for exactly 1 tick will actually pump for 50 ticks.&lt;br /&gt;
* Screw pumps attempt to pump everything from the inlet tile to the outlet tile on every turn (so long as there is more than 1/7 liquid in the square).  Actual pump rate tends to be slower than this due to liquid needing to flow to the pump inlet, which can take a few turns depending on the source.&lt;br /&gt;
* In previous versions, in [[Adventure mode]], if you bring your adventurer to a site with working pumps, the pumps would run as long as you were close enough to the fortress, but once you moved far enough away, the site got offloaded, causing the pumps to stop. &lt;br /&gt;
&lt;br /&gt;
====Common mistakes====&lt;br /&gt;
* Orienting a pump incorrectly, and/or not having a proper open liquid source.&lt;br /&gt;
* Pumping water into an area with a path to other parts of your fortress. (The pump may work perfectly - the fortress quickly [[flood]]s.)&lt;br /&gt;
* Expecting water to rise up above the level of a pump.&lt;br /&gt;
* Building a wall attached only to the input tile - this leaves a diagonal leak between the wall and the output tile unless sealed there.  (If that's not a problem, don't worry about it.)&lt;br /&gt;
* Having stairs in the liquid of the intake tile. Stairs block the intake tile, thus rendering the pump useless, even though liquids usually ignore stairs. The liquid output tile can be any liquid-passable tile.&lt;br /&gt;
* Not channeling below the [[impassable tile]] of an individual pump in a pump stack. This is how power is transmitted to the pump below.&lt;br /&gt;
* Pumping magma into a lower z-level (same as the source) and then being surprised it is forced back up to the pump's z-level further down the line (where you were planning your magma forges, for example.)&lt;br /&gt;
&lt;br /&gt;
== Example layouts ==&lt;br /&gt;
=== Single pump ===&lt;br /&gt;
&lt;br /&gt;
[[Image:jt_screwpump.png|frame|left|This screw pump delivers water (or magma) from the lower level (on the right in this diagram) to the same z-level as the screw pump (on the left). When placing the screw pump to be built, the output tile would be on the left - that entire tile is impassible to movement and fluids.]]&amp;lt;br style=&amp;quot;clear: both&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pump stack ===&lt;br /&gt;
[[File:PumpStack2010.png|thumb|right|300px|'''Illustrated Side View of a Pump Stack.''']]&lt;br /&gt;
[[File:PumpStackTopView.png|thumb|right|300px|'''Illustrated Top View of a Pump Stack Layer.''']]&lt;br /&gt;
[[File:Pumpstack.gif|thumb|right|'''Animation showing the general construction using an isometric projection.''']]&lt;br /&gt;
&lt;br /&gt;
A pump stack is a method used to draw water or magma vertically across multiple z-levels requiring a minimum of parts. The basic functionality is possible because the output side of the pump can be built over open space with a machine component located directly below, in this case another screw pump. Note that for power to properly transfer, the input side of the pump must line up with the output side of the pump on the floor above it through a space in the floor, as in the illustration. While pumps can transfer power to and from either tile, you need flooring below the pump's input side, because that's where the dwarf stands to construct the pump.&lt;br /&gt;
&lt;br /&gt;
A pump stack minimizes the amount of machinery required to lift water or magma by allowing for power to be supplied directly to only the most accessible pump (typically the topmost) which in turn allows the player to operate a stack limited only by how many windmills/water wheels they can fit into the area. The price of optimal parts density is fragility: each pump relies on the pump below it for support. If [[forgotten beast|anything]] breaks a pump in your stack, every pump above it will be disassembled. This means that a single pump accidentally assembled with non-[[magma-safe]] parts can cause an entire magma pump stack to spontaneously disassemble. &lt;br /&gt;
&lt;br /&gt;
To prevent such a disassembly cascade, you can &amp;quot;anchor&amp;quot; each pump with a mechanism or stable horizontal axle. For water applications, placing this axle on the output tile of the pump also conveniently prevents plant growth; for magma applications, the axle must be protected from the magma, unless you are using [[nether-cap]].&lt;br /&gt;
&lt;br /&gt;
Typical applications for a pump stack include moving magma from a lower level (often the [[magma sea]]) up to a convenient level for forges and furnaces, extracting water from a flooded fort, raising water for a decorative [[waterfall]] (and extracting it afterwards), or any other purpose that requires water/magma on a z-level significantly above its current location.  &lt;br /&gt;
&lt;br /&gt;
The 'Illustrated Top View of a Pump Stack Layer' shows a basic section of a pump stack. Only the door (or a floodgate) on the containment side is strictly necessary in order to prevent flooding. Two doorways are used here, each lining up with the solid ground within the pump assembly, in order to prevent workers from trapping themselves after digging channels or assembling the pump.&lt;br /&gt;
&lt;br /&gt;
Be warned: pump stacks move water '''fast.''' If you are pumping from a large reservoir into an open area, be prepared for a huge outflow, roughly akin to the kind of water dump you'd get if the whole reservoir was balanced above the pump output and then released. If you are using pumps to empty a large underground reservoir (or, say, a flooded fortress) onto open land, use an aqueduct or some other method to make sure the pump system outlet is a good distance away from anything you wouldn't want to get drenched.&lt;br /&gt;
&lt;br /&gt;
As an alternative to a large reservoir, it is also possible to combine a [[Dwarven Atom Smasher]] with the top layer of the pump stack to create a &amp;quot;vacuum cleaner&amp;quot; of sorts.&lt;br /&gt;
&lt;br /&gt;
====Tips====&lt;br /&gt;
&lt;br /&gt;
* Ramps can be used in place of channeling. Liquids will transmit through ramps, unlike stairs, and when pumps are constructed they annihilate the ramp they're built on much as walls do. Power will still be transmitted, so they don't need to be removed by miners prior to pump construction. Ramps make it virtually impossible to strand your miners and allow the stack to be dug out using only access doorways on the input side of the pump, so no construction or doors are later needed to eliminate leaks. A pump stack can be very rapidly carved out with this method as even if a miner/builder is trapped on the containment side of a pump, they can walk up the ramp to the intake side of the pump above and walk out.&lt;br /&gt;
* Power can be transmitted to the stack by channeling out the tile directly above the topmost pump and mounting a gear assembly. If the gear assembly is supported by an adjacent gear assembly or horizontal axle on a stable floor (be careful to not have that adjacent gear assembly disengage via lever), this will allow the stack to hang from the gear assembly. If a lower pump needs to be removed, or should self-destruct, the problem of the entire pump stack disassembling described above is eliminated. Further, if the supported gear assembly is built first, the pump stack can be built both from the top and bottom simultaneously, halving construction time, assuming that sufficient attention is paid to make sure that the pumps will align with the proper orientation when the two partial stacks meet. Properly channeling/ramping out the stack should ensure this.&lt;br /&gt;
* While expensive in both power and mechanisms, it is also possible to power a pump stack horizontally with a gear assembly or power source connected directly to the side of the pump (preferably to the input side). This is most useful when you are building an above ground pump stack. You can attach an axle or gear assembly to the side or end of the screw pump's output tile, but it's generally not a good idea because they do not block fluids, which would allow the pump's outlet fluid to leak along a diagonal. Unless that's your plan.&lt;br /&gt;
* When pumping water, make sure all tiles on the containment side of the stack are covered with a [[ramp]], [[road]], or [[fortification]] to prevent subterranean trees from growing and blocking flow of the stack. Fortifications have the added advantage that, when used with water, they will never become muddy.&lt;br /&gt;
* When using pumps to empty a large body of liquid, make sure that the pump outlet is properly isolated from the intake, otherwise the liquid can flow backwards into the pump's walkable tile and cause problems (such as flushing the dwarf operating it into the body of liquid being drained).&lt;br /&gt;
* The order in which the screw pumps were constructed matters. If built from lowest to highest, they will be able to transfer liquids one z-level per tick. However, if built from highest to lowest, they will transport liquids all the way from the bottom to the top in just one tick.&lt;br /&gt;
&lt;br /&gt;
===Improved magma pump stack===&lt;br /&gt;
&lt;br /&gt;
Because a pump stack pumping magma is known to cause significant [[Maximizing_framerate|lag]], a [http://www.bay12forums.com/smf/index.php?topic=72296.0 new type of pump stack] was developed by [http://www.bay12forums.com/smf/index.php?action=profile;u=19835 NecroRebel] that causes a much smaller drop in [[FPS]].  Changing the single tile magma chamber at the output of every pump from a 1 by 1 to a 3 by 3 area reduces the lag to 1/15th of that caused by the original pump stack. The designer hypothesizes that the larger chamber requires many fewer temperature calculations when magma is pumped in or out; that also implies that there will be no FPS improvement for water pumps by using this design.&lt;br /&gt;
&lt;br /&gt;
====Newer magma pump breakthroughs====&lt;br /&gt;
&lt;br /&gt;
Newer breakthroughs in magma pump design have since made the 3x3 reservoir design obsolete.&lt;br /&gt;
Testing has found a [http://www.bay12forums.com/smf/index.php?topic=72296.msg1772802#msg1772802 1x3 head-over-tail variation] (which is very similar to [[Screw_pump#Pump_stack|the typical 1 by 1 pump stack]]) as well as a [http://www.bay12forums.com/smf/index.php?topic=72296.msg1795907#msg1795907 2x3 head-over-head variation]. Both of these new designs require less space and work as effectively as his original 3x3 reservoir head-over-head design, with no significant drop in FPS. The 1x3 head-over-tail design has the advantages of requiring the least amount of space and being simple to refit from the standard 1 by 1 water pump stack.&lt;br /&gt;
&lt;br /&gt;
{{d for dwarf}}&lt;br /&gt;
:From the components used in construction, a DF pump can be imagined as a simple [http://en.wikipedia.org/wiki/Archimedes%27_screw archimedes screw]. However, given its effect on contaminated water, the lack of pump components *in* the water itself, and general dwarven mechanical aptitude, it seems more accurate - and more dwarfy - to infer the speed of rotation to be high enough that the building actually operates as a [http://en.wikipedia.org/wiki/Turbomolecular_pump turbopump] using the principle of [http://en.wikipedia.org/wiki/Vacuum_distillation vacuum distillation] to simultaneously transfer and purify water. Some Dwarven historians say that ancient screw pumps were also used as a torture device used to interrogate goblins and hippies.&lt;br /&gt;
&lt;br /&gt;
[[File:Schroef van Archimedes.jpg|thumb|300px|center|A modern era screw pump, though still mechanically different than the game's.]]&lt;br /&gt;
{{buildings}}&lt;/div&gt;</summary>
		<author><name>Bihlbo</name></author>
	</entry>
</feed>