<?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=Quietust</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=Quietust"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Quietust"/>
	<updated>2026-05-21T19:17:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315999</id>
		<title>Template:Current/version</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315999"/>
		<updated>2026-05-21T18:51:58Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;53.14&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is the most recent version (hopefully).&lt;br /&gt;
Include it in places that you want to refer to the most recent version.&lt;br /&gt;
&lt;br /&gt;
If this template isn't up to date, feel free to correct it.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{tl|current/version/ns}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Version {{current/version}}]][[category:wiki]][[Category:Version templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315969</id>
		<title>Template:Current/version</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315969"/>
		<updated>2026-05-15T12:29:08Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;53.13&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is the most recent version (hopefully).&lt;br /&gt;
Include it in places that you want to refer to the most recent version.&lt;br /&gt;
&lt;br /&gt;
If this template isn't up to date, feel free to correct it.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{tl|current/version/ns}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Version {{current/version}}]][[category:wiki]][[Category:Version templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Building_token&amp;diff=315968</id>
		<title>Building token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Building_token&amp;diff=315968"/>
		<updated>2026-05-15T03:53:31Z</updated>

		<summary type="html">&lt;p&gt;Quietust: again, this is specifically grown wood&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
'''Building tokens''' control the functionality of custom [[building]]s.&lt;br /&gt;
&lt;br /&gt;
All custom buildings are defined as objects of type BUILDING_WORKSHOP or BUILDING_FURNACE; [[workshop]]s show up in the Build &amp;gt; Workshops ({{Menu icon|b|o}}) menu, while [[furnace]]s show up in the Build &amp;gt; Workshops &amp;gt; Furnaces ({{Menu icon|b|o|u}}) menu.&lt;br /&gt;
&lt;br /&gt;
You also must add any new custom buildings to the [[Entity token|civilization]] that you want to use it.&lt;br /&gt;
&lt;br /&gt;
Additionally, furnaces must be designed by an [[mason]] before being constructed (and will gain [[quality]] accordingly), though they will always use the labor(s) specified in the building definition, rather than ones based on the materials being used.&lt;br /&gt;
&lt;br /&gt;
{{Urist asks|q=Is there a {{tooltip|WYSIWYG|What you see is what you get}} editor for ASCII buildings?|a=&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=54004 Custom Workshop Workshop] is a standalone program designed for this purpose.&lt;br /&gt;
&lt;br /&gt;
There is also a [https://jose96xd.github.io/DF_Tools/Modules/BuildingASCIIVisualizer.html Building ASCII Visualizer] web app included in DFTools. Special character IDs can be found on the [[Character table]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| name&lt;br /&gt;
| The name of the custom building.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_COLOR}}&lt;br /&gt;
| [[Color#Modding_color|fg:bg:bright]]&lt;br /&gt;
| The [[color]] of the building's name when {{K|q}}uerying it. Seemingly ignored for furnaces, which are hardcoded to 4:0:1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIM}}&lt;br /&gt;
| width:height&lt;br /&gt;
| The size of the custom building, in number of tiles. Defaults to 3:3. Maximum possible size is 31x31.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORK_LOCATION}}&lt;br /&gt;
| x:y&lt;br /&gt;
| The tile (1:1 for upper-left) in which dwarves will stand when they are performing tasks. Defaults to 3:3 (bottom-right).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_LABOR}}&lt;br /&gt;
| [[labor token]]&lt;br /&gt;
| The labor required to construct the custom building. If multiple BUILD_LABOR tokens are specified, then any of the indicated labors can be used to construct the building; if none are specified, then no labors are required.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_KEY}}&lt;br /&gt;
| [[Interface.txt#Key_bindings|key bind]]&lt;br /&gt;
| The shortcut key used in the Build menu for selecting the custom building. For example: &amp;quot;CUSTOM_SHIFT_S&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOCK}}&lt;br /&gt;
|&lt;br /&gt;
* row&lt;br /&gt;
* tiles...&lt;br /&gt;
| Specifies whether or not each workshop tile blocks movement. The first parameter is the row (1 = top), and each subsequent parameter is a 0 (nonblocking) or 1 (blocking) for each column, left to right.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TILE}}&lt;br /&gt;
|&lt;br /&gt;
* stage&lt;br /&gt;
* row&lt;br /&gt;
* tiles...&lt;br /&gt;
| Specifies the characters used to represent the custom building. The first parameter is the building stage, varying from 0 (awaiting construction) to N (completed) where N is between 1 and 3, the 2nd parameter is the row number, and each subsequent parameter is a character number (or literal character enclosed in 'quotes').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
|&lt;br /&gt;
* stage&lt;br /&gt;
* row&lt;br /&gt;
* colors...&lt;br /&gt;
| Specifies the [[Color|colors]] in which the custom building's tiles will be displayed. The first parameter is the building stage, the 2nd parameter is the row number, and subsequent parameters are either sets of 3 numbers (foreground:background:brightness), or the token &amp;quot;MAT&amp;quot; to use the color of the primary building material, for each tile in the row. MAT may not be available on BUILDING_FURNACEs.{{verify}} However a color settings of 4:0:1 will translate into MAT for furnaces instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_ITEM}}&lt;br /&gt;
|&lt;br /&gt;
* quantity&lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Specifies one of the objects necessary to construct the custom building. Each BUILD_ITEM can be followed by zero or more modifiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NEEDS_MAGMA}}&lt;br /&gt;
|&lt;br /&gt;
| Specifies that one of the building's tiles (other than the WORK_LOCATION) must be hanging over [[magma]] in order for the building to function. Buildings with this token also ignore the [FUEL] token in their reactions.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOLTIP}}&lt;br /&gt;
| tooltip&lt;br /&gt;
| Adds a tooltip for the building.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Item Modifiers==&lt;br /&gt;
Building items have many of the same modifiers as [[Reactions#Modifiers|reagents]] in custom reactions.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_BONE_MATERIAL}}]&lt;br /&gt;
| Item material must have the [BONE] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_HORN_MATERIAL}}]&lt;br /&gt;
| Item material must have the [HORN] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_LEATHER_MATERIAL}}]&lt;br /&gt;
| Item material must have the [LEATHER] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_PEARL_MATERIAL}}]&lt;br /&gt;
| Item material must have the [PEARL] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_PLANT_MATERIAL}}] &lt;br /&gt;
| Item material must be subordinate to a PLANT object.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SHELL_MATERIAL}}]&lt;br /&gt;
| Item material must have the [SHELL] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SILK_MATERIAL}}] &lt;br /&gt;
| Item material must have the [SILK] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SOAP_MATERIAL}}]&lt;br /&gt;
| Item material must have the [SOAP] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_STRAND_TISSUE}}]&lt;br /&gt;
| Item is made of a tissue having [TISSUE_SHAPE:STRANDS], intended for matching hair and wool. Must be used with [USE_BODY_COMPONENT].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_TOOTH_MATERIAL}}]&lt;br /&gt;
| Item material must have the [TOOTH] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_YARN_MATERIAL}}] &lt;br /&gt;
| Item material must have the [YARN] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|BUILDMAT}}]&lt;br /&gt;
| Item must be a general [[building material]] - BAR, BLOCKS, BOULDER, or WOOD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|CAN_USE_ARTIFACT}}]&lt;br /&gt;
| Item can be an Artifact.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|CONTAINS_LYE}}]&lt;br /&gt;
| Item must be a BARREL or TOOL which contains at least one item of type LIQUID_MISC made of LYE.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|EMPTY}}]&lt;br /&gt;
| If the item is a container, it must be empty.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|FIRE_BUILD_SAFE}}]&lt;br /&gt;
| Item material must be stable at temperatures below 11000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|GLASS_MATERIAL}}] &lt;br /&gt;
| Item material must have the [IS_GLASS] token. All 3 types of [[glass]] have this token hardcoded.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|GROWN_NOT_CRAFTED}}] &lt;br /&gt;
| Item must be a GROWN wooden item, such as a &amp;quot;grown wooden sword&amp;quot; from an Elven caravan.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|HAS_MATERIAL_REACTION_PRODUCT}}:X]&lt;br /&gt;
| Item's material has a [MATERIAL_REACTION_PRODUCT] token with the appropriate ID.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|HAS_TOOL_USE}}:X]&lt;br /&gt;
| Item must be a [[tool]] with the specific TOOL_USE value. The item type must be TOOL:NONE for this to make any sense.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|MAGMA_BUILD_SAFE}}]&lt;br /&gt;
| Item material must be stable at temperatures below 12000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|METAL_ORE}}:X]&lt;br /&gt;
| Item material must be an ore of the specified metal.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|MIN_DIMENSION}}:X]&lt;br /&gt;
| Item's dimension must be at least this large. The item type must be BAR, POWDER_MISC, LIQUID_MISC, DRINK, THREAD, or CLOTH for this to work.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NO_EDGE_ALLOWED}}]&lt;br /&gt;
| Item must not have an edge, so must be blunt. Sharp stones (produced using knapping) and most types of weapon/ammo can not be used with this token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_CONTAIN_BARREL_ITEM}}]&lt;br /&gt;
| If the item is a container, it must not contain [[lye]] or [[milk]]. Not necessary if specifying [EMPTY].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_ENGRAVED}}]&lt;br /&gt;
| Item can not be engraved. For example, a memorial slab can not be engraved.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_WEB}}]&lt;br /&gt;
| Item must be collected (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|POTASHABLE}}] (Deprecated)&lt;br /&gt;
| Alias for [CONTAINS_LYE].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|REACTION_CLASS}}:X]&lt;br /&gt;
| Item's material has a [REACTION_CLASS] token with the appropriate ID.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|UNROTTEN}}]&lt;br /&gt;
| Item must not be rotten, mainly for organic materials.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|USE_BODY_COMPONENT}}]&lt;br /&gt;
| Item must be a body part (CORPSE or CORPSEPIECE).&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|WEB_ONLY}}]&lt;br /&gt;
| Item must be undisturbed (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|WORTHLESS_STONE_ONLY}}]&lt;br /&gt;
| Item material must be non-[[economic]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Building token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Reaction&amp;diff=315967</id>
		<title>Reaction</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Reaction&amp;diff=315967"/>
		<updated>2026-05-15T03:52:11Z</updated>

		<summary type="html">&lt;p&gt;Quietust: clarify that it's specifically grown WOODEN items, then plump helmets become irrelevant&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
'''Reactions''' are modular, editable formulas that take specific ingredients, or reagents, and use them to produce a desired item.  Most manufacturing jobs are [https://github.com/DFHack/df-structures/blob/master/df.job.xml hardcoded]—building beds or creating glass, for example—but a few are data-driven, and it's (sometimes) quite simple to add additional ones. There is a separate page with custom [[reaction examples]].&lt;br /&gt;
&lt;br /&gt;
== Reaction differences between modes ==&lt;br /&gt;
&lt;br /&gt;
In [[fortress mode]], reactions are linked to specific buildings, and must be added to a civilization's [[entity token|entity file]] to be usable by that civilization. This has the useful effect of limiting new items and materials (such as special [[wood]] or [[metal]]) to civilizations that have the requisite reaction — so that if you give your custom civilization a reaction to produce &amp;quot;star metal&amp;quot; or some other custom material, only they will be able to produce it. Exclusive non-{{token|SPECIAL|inorganic}} metals, such as [[steel]], may appear on [[bandit]]s and other entities with access to all materials.&lt;br /&gt;
&lt;br /&gt;
In [[adventure mode]], reactions are freely available in the {{Adv menu icon|x}} create menu, and any adventurer character can make free use of them. Reagents may be held in the hands or dropped on the ground, but cannot be used within a backpack or quiver. There are several bugs with adventure mode reactions, chief of which is the fact that you cannot select liquid reagents.{{verify}} &amp;lt;!-- reaction product tag works now, liquids and improvement quality don't --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Anatomy of a reaction ==&lt;br /&gt;
Reactions are found within reaction_x files (such as reaction_smelter or reaction_other).  All reaction files must begin with the file name, followed by the &amp;lt;code&amp;gt;[OBJECT:REACTION]&amp;lt;/code&amp;gt; token that tells the game that the file contains reaction definitions.&lt;br /&gt;
&lt;br /&gt;
The reactions themselves generally adhere to the following structure:&lt;br /&gt;
&lt;br /&gt;
   [REACTION:&amp;lt;identifier&amp;gt;]&lt;br /&gt;
      [NAME:&amp;lt;name&amp;gt;]&lt;br /&gt;
      [BUILDING:&amp;lt;BUILDING NAME&amp;gt;:&amp;lt;BUILDING KEY&amp;gt;]&lt;br /&gt;
      [REAGENT:A:150:BAR:NONE:POTASH:NONE]&lt;br /&gt;
      [PRODUCT:100:1:BAR:NONE:PEARLASH:NONE][PRODUCT_DIMENSION:150]&lt;br /&gt;
      [FUEL] &lt;br /&gt;
      [SKILL:&amp;lt;SKILL TOKEN&amp;gt;]&lt;br /&gt;
      [MAX_MULTIPLIER:&amp;lt;multiplier&amp;gt;]&lt;br /&gt;
      [AUTOMATIC]&lt;br /&gt;
      [ADVENTURE_MODE_ENABLED]&lt;br /&gt;
      [DESCRIPTION:&amp;lt;description&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
* ''[[#Reaction identifier|identifier]]'': The internal ID of the reaction.&lt;br /&gt;
* ''[[#Reaction name|name]]'': The name of the reaction, visible to the player in the Fortress mode or Adventure mode menus.&lt;br /&gt;
* ''[[#Building|building]]'': The building ID that the reaction uses, and the relevant keyboard shortcut.&lt;br /&gt;
* ''[[#Reagents|...reagents...]]'': Zero or more reagents (ingredients) that are required to be in stock for the reaction to be possible.&lt;br /&gt;
* ''[[#Products|...products...]]'': Zero or more products that are created from the reaction.&lt;br /&gt;
* ''[[#Fuel|fuel]]'': (optional) If present, the reaction requires charcoal, coke or a magma-powered workshop.&lt;br /&gt;
* ''[[#Skill|skill]]'': (optional) The skill required and trained by the reaction.&lt;br /&gt;
* ''[[#Max multiplier|multiplier]]'': (optional) If present, the reaction will only be done the specified number of times per job; used to limit the output of reactions that accept stacks of items as reagents.&lt;br /&gt;
* ''[[#Automatic|automatic]]'': (optional) If present, the reaction will automatically be enqueued whenever it can possibly be performed.&lt;br /&gt;
* ''[[#Adventure mode enabled|adventure mode enabled]]'': (optional) If present, the reaction can be used by the player in Adventure mode.&lt;br /&gt;
* ''[[#Description|description]]'': (optional) If present, shows pop-up description when the reaction is selected in workshop (not working in v50).&lt;br /&gt;
&lt;br /&gt;
=== Reaction identifier ===&lt;br /&gt;
The REACTION token assigns a unique ID to your reaction.&lt;br /&gt;
    [REACTION:&amp;lt;reaction identifier&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
The ''reaction identifier'' may be anything, so long as it is unique within the raw data files. A good habit to get into is to append a short prefix or suffix to each name related to the name of your mod, to ensure nobody else is going to make an identical reaction and thereby mess up the game if their mod is run alongside yours.  This is referenced in an entity definition via {{token|PERMITTED_REACTION|e}} to allow that entity to use the reaction.&lt;br /&gt;
&lt;br /&gt;
=== Reaction name ===&lt;br /&gt;
The REACTION_NAME token assigns a descriptive name to your reaction in-game.&lt;br /&gt;
    [REACTION_NAME:&amp;lt;name&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
==== Name ====&lt;br /&gt;
This can be anything at all, and is how the reaction will appear in the job list of the building it is assigned to, and so should describe the reaction. '''Tan a hide''', for example, is the name of the default leather-producing reaction. Generally this should be written as a small descriptive verb phrase, with the first letter capitalized, for consistency with the existing reactions.&lt;br /&gt;
&lt;br /&gt;
=== Building ===&lt;br /&gt;
The BUILDING token assigns the reaction to a building.  Adding multiple BUILDING tokens will cause the reaction to be available at all of the specified buildings.  Omitting the BUILDING token entirely will make the reaction unusable in Fortress mode (often used to restrict certain reactions to [[Reaction#Adventure_Mode_enabled|Adventure mode]]).&lt;br /&gt;
&lt;br /&gt;
    [BUILDING:&amp;lt;building name&amp;gt;:&amp;lt;building key&amp;gt;]&lt;br /&gt;
* [[#Building name|''building name:'']] The ID of the building the reaction appears in.&lt;br /&gt;
* [[#Building key|''building key:'']] The hotkey to queue up the reaction in the specified building.&lt;br /&gt;
&lt;br /&gt;
==== Building name ====&lt;br /&gt;
This is the ID of the building where the reaction will be carried out.  Valid building names are as follows:&lt;br /&gt;
&lt;br /&gt;
* ASHERY - [[Ashery]]&lt;br /&gt;
* BOWYER - [[Bowyer's workshop]]&lt;br /&gt;
* CARPENTER - [[Carpenter's workshop]]&lt;br /&gt;
* CLOTHES - [[Clothier's shop]]&lt;br /&gt;
* CRAFTSMAN - [[Craftsdwarf's workshop]]&lt;br /&gt;
* DYER - [[Dyer's shop]]&lt;br /&gt;
* FARMER - [[Farmer's workshop]]&lt;br /&gt;
* GLASS - [[Glass furnace]]&lt;br /&gt;
* KILN - [[Kiln]] and [[Magma kiln]]&lt;br /&gt;
* KITCHEN - [[Kitchen]]&lt;br /&gt;
* LEATHER - [[Leather works]]&lt;br /&gt;
* MASON - [[Stoneworker's workshop]]&lt;br /&gt;
* METALSMITH - [[Metalsmith's forge]]&lt;br /&gt;
* MILLSTONE - [[Millstone]]&lt;br /&gt;
* QUERN - [[Quern]]&lt;br /&gt;
* SIEGE - [[Siege workshop]]&lt;br /&gt;
* SMELTER - [[Smelter]] and [[Magma smelter]]&lt;br /&gt;
* STILL - [[Still]]&lt;br /&gt;
* TANNER - [[Tanner's shop]]&lt;br /&gt;
* WOOD - [[Wood furnace]]&lt;br /&gt;
* Any custom (raw-defined) building, such as:&lt;br /&gt;
** SOAP_MAKER - [[Soap maker's workshop]]&lt;br /&gt;
** SCREW_PRESS - [[Screw press]]&lt;br /&gt;
&lt;br /&gt;
==== Building key ====&lt;br /&gt;
This used to define the shortcut key(s) used to queue up the reaction in a workshop during gameplay. Doesn't do anything in the current version. {{version|50.01}}&lt;br /&gt;
&lt;br /&gt;
=== Category ===&lt;br /&gt;
&lt;br /&gt;
Categories are custom submenus for buildings' reaction menus. A reaction doesn't require a category, but if you have a lot of reactions, categories can be invaluable for organizing and presenting those reactions to players.&lt;br /&gt;
&lt;br /&gt;
Categories can be nested indefinitely—you can have a category within a category within a category within a category within a category within... but as a practical matter, nesting categories more than 2 deep is not recommended.&lt;br /&gt;
&lt;br /&gt;
Categories will be displayed in alphabetical order, first off the file name and then off the category name.  They currently have no effect on adventure mode reactions.&lt;br /&gt;
&lt;br /&gt;
==== Defining a category ====&lt;br /&gt;
&lt;br /&gt;
Each category needs to be defined within a reaction, usually one which should appear within its menu. Categories only need to be defined once.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CATEGORY || style=&amp;quot;vertical-align: top&amp;quot;| Category ID || The category ID is a unique identifier for the category. It is only used in the raws, and will not appear in the game.&lt;br /&gt;
&lt;br /&gt;
If you're defining multiple categories within the same reaction - for example, if you intend the reaction to be nested two deep, and haven't yet defined the super-category - the ''last'' CATEGORY token within the reaction definition is the one that the reaction will appear in.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CATEGORY_NAME || style=&amp;quot;vertical-align: top&amp;quot;| String || The name of the category as displayed in-game.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CATEGORY_DESCRIPTION || style=&amp;quot;vertical-align: top&amp;quot;| String || Optional. If present, when the category is highlighted in a building menu, this string will be displayed in the Helpful Hint box.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CATEGORY_PARENT || style=&amp;quot;vertical-align: top&amp;quot;| Category ID || Optional. If present, this category will be a submenu of the indicated category, rather than a submenu of the reaction's building.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CATEGORY_KEY || style=&amp;quot;vertical-align: top&amp;quot;| Hotkey token || Optional. If present, this category can be selected from its parent menu (whether a building or a parent category) using the given hotkey.  Uses the same format as the BUILDING KEY described above.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Adding reactions to an existing category ====&lt;br /&gt;
&lt;br /&gt;
Just include the tag [CATEGORY:&amp;lt;category_id&amp;gt;] within your reaction definition, and if the category exists, your reaction will be added to its menu. You can only add reactions to custom categories.&lt;br /&gt;
&lt;br /&gt;
Each reaction can belong to only one category.&lt;br /&gt;
&lt;br /&gt;
=== Reagents ===&lt;br /&gt;
&lt;br /&gt;
REAGENTs are a little bit complicated. They are the ingredients that the reaction will use.  You can define as many as you like within a reaction.&lt;br /&gt;
&lt;br /&gt;
    [REAGENT:&amp;lt;name&amp;gt;:&amp;lt;quantity&amp;gt;:&amp;lt;item token&amp;gt;:&amp;lt;material token&amp;gt;][...modifiers...]&lt;br /&gt;
* ''[[#Reagent name|name]]'': The name of the reagent, local to the reaction.&lt;br /&gt;
* ''[[#Quantity|quantity]]'': The amount of the item that will be used in the reaction.&lt;br /&gt;
* ''[[#Item_token|item token]]'': The type (and subtype) of the item you require.&lt;br /&gt;
* ''[[#Material_token|material token]]'': The material the item should be made of.&lt;br /&gt;
* ''[[#Modifiers|...modifiers...]]'': Zero or more tokens which further clarify the acceptable types when the item type and material types are insufficient to distinguish them.&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;span id=&amp;quot;Reagent name&amp;quot;&amp;gt;Name&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
The name field is a small string used to identify the reagent within the reaction, which is not visible to the player, but local to the reaction, and does not need to be unique across all of the reactions, so you can reuse the same names over and over, although each reagent within the same individual reaction must have a different name.&lt;br /&gt;
&lt;br /&gt;
Most reagents are simply named '''A''', '''B''', and so forth in default reactions, although names such as '''TOOLSTONE''', '''FLUX''', or '''seeds''' will also work equally well. The PRODUCT may make reference to this name &amp;amp;ndash; for instance, if a container '''B''' is specified as a reagent, PRODUCT_TO_CONTAINER:B specifies that container.&lt;br /&gt;
&lt;br /&gt;
==== Quantity ====&lt;br /&gt;
&lt;br /&gt;
How many or how much of this reagent the reaction requires.  For most item types this is just the number of them required.  However, some other item types─specifically bars, cloth, thread, globs, liquids, powder, and sheets of paper or parchment─instead use numbers representing the size of the material within one (or more) of these items. For example, while REAGENT:A:'''''10''''':'''''TOY''''':NONE:NONE:NONE is ten unique, solid toy items, REAGENT:A:'''''10''''':'''''THREAD''''':NONE:NONE:NONE is an extremely tiny portion of a random spool of thread. One can see which items have what size quantities in the description of the [[Reaction#PRODUCT_DIMENSION|PRODUCT_DIMENSION]] token.&lt;br /&gt;
&lt;br /&gt;
If one of the reagents is in a stack, or the reaction is only using a fraction of the amount of a sized item, the reaction will consume the entire stack, or as much of the sized item as possible, and multiply the product accordingly.  This behaviour can be controlled using the [[Reaction#MAX_MULTIPLIER|MAX_MULTIPLIER]] token.&lt;br /&gt;
&lt;br /&gt;
==== Item token ====&lt;br /&gt;
&lt;br /&gt;
[[Item token]]s are of the form ITEM_TYPE:ITEM_SUBTYPE.&lt;br /&gt;
&lt;br /&gt;
The ITEM_TYPE is the category of item you require; WEAPON, TOY or SKIN_TANNED, for example.&lt;br /&gt;
&lt;br /&gt;
The ITEM_SUBTYPE is name of the exact item that you require. Examples are ITEM_WEAPON_SPEAR or ITEM_TOY_PUZZLEBOX. Some items, like quivers or backpacks, or chunks of stone or metal, have no subtype and only require the item token to be filled in; so if you're asking for those you should set the subtype to NONE. Subtypes are defined within the local raw data files and their exact names can be referenced by looking at the corresponding file.&lt;br /&gt;
&lt;br /&gt;
For reagents, the item token can also be set to ANY_RAW_MATERIAL:NONE (to permit BAR, BOULDER, POWDER_MISC, or GLOB) or ANY_CRAFT:NONE (to permit FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET). Internally, these special values are both converted to NONE:NONE and merely set special modifiers (similar to [BUILDMAT])—they cannot be used in any other context.&lt;br /&gt;
&lt;br /&gt;
For backwards compatibility, reagents can also accept &amp;quot;METAL_ORE:metal_id&amp;quot; in place of both the item and material tokens—this is equivalent to using the reagent BOULDER:NONE:NONE:NONE with the modifier [METAL_ORE:metal_id] (see below).&lt;br /&gt;
&lt;br /&gt;
When no item type is specified (as in NONE:NONE), workers will not be able to find otherwise eligible items if they are inside of barrels (at least when reagents are PLANT or PLANT_GROWTH type). This is likely a bug.&lt;br /&gt;
&lt;br /&gt;
==== Material token ====&lt;br /&gt;
&lt;br /&gt;
[[Material token]]s come in several forms. For most reagents, this will typically be INORGANIC:MATERIAL_ID or NONE:NONE (to allow multiple materials using other modifier tokens).&lt;br /&gt;
&lt;br /&gt;
Some reactions will allow the player to select specific materials after creating the job (or in [[Reaction#material_token_2|some cases]], armor size from the product), by clicking on [[File:Mag glass icon.png]] next to the job in the workshop queue.  To permit this behaviour in your reaction, the reagent materials must be specified as follows:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Item Type&lt;br /&gt;
! Material&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| BAR&amp;lt;br&amp;gt;BLOCKS&amp;lt;br&amp;gt;BOULDER&amp;lt;br&amp;gt;ROUGH&amp;lt;br&amp;gt;SMALLGEM || style=&amp;quot;vertical-align: top&amp;quot;| INORGANIC:NONE || style=&amp;quot;vertical-align: top&amp;quot;| These all appear as &amp;quot;stone&amp;quot; in the material selection menu, and list all inorganic materials regardless of any material modifier tokens, eg. [ITEMS_METAL]. BAR and BLOCKS made of organic materials, and BOULDER made of clay, are excluded.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| SKIN_TANNED or WOOD || style=&amp;quot;vertical-align: top&amp;quot;| NONE:NONE || &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Other Item Types || style=&amp;quot;vertical-align: top&amp;quot;| NONE:NONE || style=&amp;quot;vertical-align: top&amp;quot;| These will appear if a material modifier token other than [ANY_LEATHER_MATERIAL] is included. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Modifiers ====&lt;br /&gt;
&lt;br /&gt;
Reagents may also have extra tokens added on, following the REAGENT token, in order to modify their behaviour.&lt;br /&gt;
&lt;br /&gt;
Generally speaking, if you set a field in a reagent to NONE, the reaction won't discriminate when it comes to that particular field. For example, if you require a BOULDER reagent but leave the material as NONE:NONE, it will grab any available BOULDER-type item regardless of material. Modifiers can then be used to restrict this to only certain broad classes of materials.&lt;br /&gt;
&lt;br /&gt;
The following is a list of all known reagent modifiers:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_BONE_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [BONE] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_GEM_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [IS_GEM] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_HORN_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [HORN] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_LEATHER_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [LEATHER] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_PEARL_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [PEARL] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_PLANT_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must be subordinate to a PLANT object.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_SHELL_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [SHELL] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_SILK_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [SILK] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_SOAP_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [SOAP] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_STONE_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [IS_STONE] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_STRAND_TISSUE&lt;br /&gt;
|&lt;br /&gt;
| Reagent is made of a tissue having TISSUE_SHAPE:STRANDS, intended for matching hair and wool. Must be used with USE_BODY_COMPONENT.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_TOOTH_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [TOOTH] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_WOOD_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [WOOD] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ANY_YARN_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [YARN] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| BUILDMAT&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be a general [[building material]] - BAR, BLOCKS, BOULDER, or WOOD.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CAN_USE_ARTIFACT&lt;br /&gt;
|&lt;br /&gt;
| Reagent can be an Artifact. Using [PRESERVE_REAGENT] with this is strongly advised.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CONTAINS&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* [[#Reagent name|Reagent name]]&lt;br /&gt;
| Reagent is a container that holds the specified reagent (where ''Reagent name'' is the locally-defined name of the reagent).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| CONTAINS_LYE&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be a BARREL or TOOL which contains at least one item of type LIQUID_MISC made of LYE. Use of this token is discouraged, as it does not work with buckets (instead, use [CONTAINS:lye] &amp;amp;mdash; note the colon &amp;amp;mdash; and a corresponding lye reagent [REAGENT:lye:150:LIQUID_MISC:NONE:LYE]).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| DOES_NOT_ABSORB&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have ABSORPTION:0&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| DOES_NOT_DETERMINE_PRODUCT_AMOUNT&lt;br /&gt;
|&lt;br /&gt;
| Reagent quantity is ignored for the purposes of producing extra outputs. Typically used for containers so that [[stack]]s of reagents will correctly produce additional outputs.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| EMPTY&lt;br /&gt;
|&lt;br /&gt;
| If the reagent is a container, it must be empty.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| FIRE_BUILD_SAFE&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must be solid and stable at temperatures approaching 11000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| FOOD_STORAGE_CONTAINER&lt;br /&gt;
|&lt;br /&gt;
| Reagent is either a BARREL or a TOOL with the FOOD_STORAGE use.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| GLASS_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the IS_GLASS token. All 3 types of [[glass]] have this token hardcoded.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| HARD_ITEM_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [ITEMS_HARD] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| HAS_EDGE&lt;br /&gt;
|&lt;br /&gt;
| Reagent must have an edge.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| HAS_ITEM_REACTION_PRODUCT&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* PRODUCT_ID&lt;br /&gt;
| Reagent material must have the item reaction product specified by PRODUCT_ID - [[Reaction#Item_reaction_products|see below]] for more details. This can be used interchangeably with HAS_MATERIAL_REACTION_PRODUCT.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| HAS_MATERIAL_REACTION_PRODUCT&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* PRODUCT_ID&lt;br /&gt;
| Reagent material must have the material reaction product specified by PRODUCT_ID - [[Reaction#Material_reaction_products|see below]] for more details.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| HAS_TOOL_USE&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* [[Tool token#TOOL_USE|TOOL_USE]] value&lt;br /&gt;
| Reagent must be a [[tool]] with the specific TOOL_USE value. The reagent's item type must be TOOL:NONE for this to make any sense.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| IS_CRAFTED_ARTIFACT{{verify}}&lt;br /&gt;
|&lt;br /&gt;
| Reagent item must be an artifact.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| IS_DIVINE_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [DIVINE] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| IS_SAND_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [SOIL_SAND] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| MAGMA_BUILD_SAFE&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must be solid and stable at temperatures approaching 12000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| METAL_ITEM_MATERIAL&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must have the [ITEMS_METAL] token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| METAL_ORE&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Metal ID&lt;br /&gt;
| Reagent material must be an ore of the specified metal.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| MIN_DIMENSION&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Integer&lt;br /&gt;
| Reagent's item size must be at least as large as ''Integer''. The reagent's item type must be BAR, POWDER_MISC, LIQUID_MISC, DRINK, THREAD, CLOTH, or GLOB for this to work.  See [[Reaction#PRODUCT_DIMENSION|PRODUCT_DIMENSION]] below.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NO_EDGE_ALLOWED&lt;br /&gt;
|&lt;br /&gt;
| Reagent must not have an edge, so must be blunt. Sharp stones (produced using knapping) and most types of weapon/ammo can not be used with this token.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_ARTIFACT{{verify}}&lt;br /&gt;
|&lt;br /&gt;
| Reagent item must not be an artifact.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_CONTAIN_BARREL_ITEM&lt;br /&gt;
|&lt;br /&gt;
| If the reagent is a container, it must not contain [[lye]] or [[milk]]. Not necessary if specifying [EMPTY].&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_ENGRAVED&lt;br /&gt;
|&lt;br /&gt;
| Reagent can not be engraved. For example, a memorial slab can not be engraved.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_IMPROVED&lt;br /&gt;
|&lt;br /&gt;
| Reagent has not been decorated.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_PRESSED&lt;br /&gt;
|&lt;br /&gt;
| Reagent must not be in the SOLID_PRESSED state.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| NOT_WEB&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be collected (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ON_GROUND&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be on the ground. Grabs from stockpiles. Does not grab from inventories (workshops, wagon) and causes infinite gathering for reactions in workshop.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| POTASHABLE (Deprecated)&lt;br /&gt;
|&lt;br /&gt;
| Alias for [CONTAINS_LYE].&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRESERVE_REAGENT&lt;br /&gt;
|&lt;br /&gt;
| Reagent is not destroyed, which is the normal effect, at the completion of the reaction. Typically used for containers.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| REACTION_CLASS&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* CLASS_ID&lt;br /&gt;
| Reagent material must have the reaction class specified by CLASS_ID - [[Reaction#Reaction_classes|see below]] for more details.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| UNROTTEN&lt;br /&gt;
|&lt;br /&gt;
| Reagent must not be rotten, mainly for organic materials.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| USE_BODY_COMPONENT&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be a body part (CORPSE or CORPSEPIECE). Must be used even if your reagent item type is CORPSE or CORPSEPIECE, otherwise it will match any item.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| WEB_ONLY&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be undisturbed (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| WORTHLESS_STONE_ONLY&lt;br /&gt;
|&lt;br /&gt;
| Reagent material must be non-[[economic]].&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| WOVEN_ITEM&lt;br /&gt;
|&lt;br /&gt;
| Reagent must be a clothing item made of a woven material, ie. plant, silk, or yarn cloth.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Products ===&lt;br /&gt;
&lt;br /&gt;
Products are the end product of the reaction. A reaction can have as many products as it likes.&lt;br /&gt;
&lt;br /&gt;
Products are almost identical to reagents, except that they do not need to be named, can't have fields undefined, and don't use the quantity field to determine the product size. Instead, the token [PRODUCT_DIMENSION:X] is tacked on after the PRODUCT token, determining the size of the product.&lt;br /&gt;
&lt;br /&gt;
Products can be produced directly to a container using the [PRODUCT_TO_CONTAINER:''name''] token, where the ''name'' is the [[#Reagent name|name]] of a reagent. This requires the reagent to have the [PRESERVE_REAGENT] token.&lt;br /&gt;
&lt;br /&gt;
Restating this in the above style, we have:&lt;br /&gt;
   [PRODUCT:&amp;lt;probability&amp;gt;:&amp;lt;quantity&amp;gt;:&amp;lt;item token&amp;gt;:&amp;lt;material token&amp;gt;][...modifiers...]&lt;br /&gt;
&lt;br /&gt;
==== Probability ====&lt;br /&gt;
&lt;br /&gt;
The percentage chance the product will be produced when the reaction is completed. Must be an integer.&lt;br /&gt;
&lt;br /&gt;
==== Quantity ====&lt;br /&gt;
&lt;br /&gt;
Determines how many of the product will be produced. For the item types AMMO, REMAINS, MEAT, FISH, FISH_RAW, PLANT, PLANT_GROWTH, DRINK, CHEESE, LIQUID_MISC, COIN, and EGG, the resulting items will be created as a single [[stack]], while all other item types will produce multiple individual items.&lt;br /&gt;
&lt;br /&gt;
If a reaction can take stacks of input items, then it will attempt to perform the reaction enough times to consume as many full sets of reagents as it can—for example, if a reaction &amp;quot;1 piece of meat + 2 pieces of fish -&amp;gt; 3 pieces of cheese&amp;quot; is given a stack of 5 meat and 5 fish, it will produce 6 pieces of cheese and leave 3 meat and 1 fish behind. Using the token DOES_NOT_DETERMINE_PRODUCT_AMOUNT allows a reagent to be excluded from this calculation - for example, with the reaction &amp;quot;1 plant + 1 barrel -&amp;gt; 5 alcohol (into barrel)&amp;quot;, using this on the barrel allows the reaction to be performed as &amp;quot;5 plant + 1 barrel -&amp;gt; 25 alcohol&amp;quot; instead of &amp;quot;5 plant + 5 barrel -&amp;gt; 25 alcohol&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Item token ====&lt;br /&gt;
&lt;br /&gt;
The [[item token]] and subtype of the item you produce.&lt;br /&gt;
&lt;br /&gt;
If your item has an [[Reaction#Item reaction products|item reaction product]] and you want the item type and material to be derived from one of the reagents, you can use GET_ITEM_DATA_FROM_REAGENT:reagent:REACTION_PRODUCT_ID in place of both the item token ''and'' the material token (see next section). You can also specify GET_ITEM_DATA_FROM_REAGENT:reagent:NONE in order to make a direct copy of the source item, though this will not work for complex items such as corpses or prepared meals.&lt;br /&gt;
&lt;br /&gt;
For products, this can also be set to CRAFTS:NONE to produce up to three random [[craft]] items. This value cannot be used in any other context.&lt;br /&gt;
&lt;br /&gt;
==== Material token ====&lt;br /&gt;
&lt;br /&gt;
A [[material token]] describing what the product will be made of.&lt;br /&gt;
&lt;br /&gt;
If you want the product's material to be derived from one of the reagents, you can use GET_MATERIAL_FROM_REAGENT:reagent:NONE in place of the material token in order to directly use the reagent's own material; if the reagent has a [[Reaction#Material_reaction_products|material reaction product]] defined, you can use GET_MATERIAL_FROM_REAGENT:reagent:REACTION_PRODUCT_ID to use that.&lt;br /&gt;
&lt;br /&gt;
Similarly to choosing material types for a reagent, if the item product is armor/clothing, and has the appropriate [[Entity_token#Available_resources|armor token]] in the entity file, you will be able to choose the armor/clothing size for different creatures by clicking [[File:Mag glass icon.png]] of the workshop task. However, this will only work if the product material is [[Modding pitfalls#My_custom_armor.2Fclothing_reaction_won.27t_let_user_choose_size|cloth leather or certain metals]], and the item is also recognized by the related vanilla workshop reaction{{verify}}.&lt;br /&gt;
&lt;br /&gt;
==== Product modifiers ====&lt;br /&gt;
&lt;br /&gt;
Zero or more tokens which further set the properties or disposition of the resulting product item.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| FORCE_EDGE&lt;br /&gt;
|&lt;br /&gt;
| Product is given a sharp edge. Used for knapping.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRODUCT_PASTE&lt;br /&gt;
|&lt;br /&gt;
| Product is created in the SOLID_PASTE state.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRODUCT_PRESSED&lt;br /&gt;
|&lt;br /&gt;
| Product is created in the SOLID_PRESSED state.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRODUCT_DIMENSION&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Integer&lt;br /&gt;
| Specifies the dimension of the product for those items that use dimensions. For items of type BAR, DRINK, GLOB, LIQUID_MISC, and POWDER_MISC, one item is dimension 150; one item of CLOTH or SHEET is dimension 10000; and one item of THREAD is dimension 15000. Has no effect on any other item types. Note: this is not the actual [[storage]] volume of the product, which is hard-coded by the item token. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRODUCT_TO_CONTAINER&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* [[#Reagent name|Name]]&lt;br /&gt;
| Places the product in a container; ''Name'' must be the name of a reagent with the [PRESERVE_REAGENT] token and a container item type.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| PRODUCT_TOKEN&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#Reagent name|Name]]&lt;br /&gt;
| Allows the product to be referred to by the given name for the purpose of being passed down as and argument in other tokens, in the same fashion as reagent names.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| TRANSFER_ARTIFACT_STATUS&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Transfers artifact status from the reagent to the product.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Improvements ===&lt;br /&gt;
&lt;br /&gt;
Improvements are applied to existing reagents. A reaction can have as many improvements as it likes.&lt;br /&gt;
&lt;br /&gt;
Restating this in the above style, we have:&lt;br /&gt;
   [IMPROVEMENT:&amp;lt;probability&amp;gt;:&amp;lt;reagent name&amp;gt;:&amp;lt;improvement type&amp;gt;:&amp;lt;material token&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
==== Probability ====&lt;br /&gt;
The percentage chance the improvement will be applied to the reagent when the reaction is completed.&lt;br /&gt;
&lt;br /&gt;
==== Reagent name ====&lt;br /&gt;
The [[#Reagent name|name]] of the reagent that will be improved. In order to be meaningful, this reagent must have [PRESERVE_REAGENT].&lt;br /&gt;
&lt;br /&gt;
==== Improvement type ====&lt;br /&gt;
The following improvement types can be used:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| COVERED&lt;br /&gt;
| Item is encrusted/studded/decorated with &amp;lt;material&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| GLAZED&lt;br /&gt;
| Item is glazed with &amp;lt;material&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| RINGS_HANGING&lt;br /&gt;
| Item is adorned with hanging rings of &amp;lt;material&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| BANDS&lt;br /&gt;
| Item is encircled with bands of &amp;lt;material&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| SPIKES&lt;br /&gt;
| Item menaces with spikes of &amp;lt;material&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| PAGES&lt;br /&gt;
| Adds pages to a [[book]].&lt;br /&gt;
|-&lt;br /&gt;
| SPECIFIC&lt;br /&gt;
| With subtype ROLLERS, adds rollers of &amp;lt;material&amp;gt; to a [[scroll]]; with subtype HANDLE, adds a handle of &amp;lt;material&amp;gt; to an item; with subtype TRACTION_BENCH_CHAIN or TRACTION_BENCH_ROPE adds a chain or rope of &amp;lt;material&amp;gt; to an item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
All other item improvement tokens (ART_IMAGE, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE, and ILLUSTRATION) are ignored.&lt;br /&gt;
&lt;br /&gt;
==== Material token ====&lt;br /&gt;
&lt;br /&gt;
A [[material token]] describing what the decoration will be made of.&lt;br /&gt;
&lt;br /&gt;
If you want the product's material to be derived from one of the reagents, and the reagent has a [[Reaction#Material_reaction_products|material reaction product]] defined, you can use GET_MATERIAL_FROM_REAGENT:reagent:REACTION_PRODUCT_ID in place of the material token. You can also specify GET_MATERIAL_FROM_REAGENT:reagent:NONE in order to directly use the reagent's own material.&lt;br /&gt;
&lt;br /&gt;
=== Other tokens ===&lt;br /&gt;
&lt;br /&gt;
==== Fuel ====&lt;br /&gt;
&lt;br /&gt;
The FUEL token means that the reaction requires coke or charcoal to be performed. Fuel is not needed when the reaction is performed at a magma workshop (a [[magma kiln]], [[magma smelter]], or any custom building having [NEEDS_MAGMA]).&lt;br /&gt;
&lt;br /&gt;
==== Skill ====&lt;br /&gt;
&lt;br /&gt;
The [[Skill token|skill tokens]] determine what skill the reaction requires and trains; also how quickly skill is gained, how quickly those skill gains raise attributes, and how skill level affects the quality of the reaction product.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| SKILL&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[Skill token]] &lt;br /&gt;
| (Optional) This identifies the skill required to carry out the reaction and is trained when the reaction is performed.  Only one skill may be specified; if multiple skill tokens are defined only the last will be used.  A reaction with no product will yield no experience gain.  A reaction with no SKILL token will complete in a default amount of time.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| SKILL_IP&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Integer&lt;br /&gt;
| (Optional, requires SKILL token)  This adjusts the amount of skill gained each time the reaction is carried out.  The default value is 30; higher values increase the amount of skill gain.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| ATTRIBUTE_IP&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Integer&lt;br /&gt;
| (Optional, requires SKILL token)  This adjusts the amount of [[Attribute|attribute]] gain that skill gain from this reaction results in.  The default value is 10; higher values increase the amount of attribute gain.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| SKILL_ROLL_RANGE&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Range&lt;br /&gt;
* Multiplier&lt;br /&gt;
| (Optional, requires SKILL token)  This changes how much skill level affects the quality of the reaction product.  The default is [SKILL_ROLL_RANGE:11:5]. The ''range'' is the base &amp;quot;die roll&amp;quot; and the ''multiplier'' determines how much the dwarf's skill can affect the reaction; the skill roll is random(range) + random((skill level * multipler)/2 + 1) + random((skill level * multipler)/2 + 1), where random(x) gives a random number from 0 to x-1, inclusive (which also means that the minimum for the range is 1). The higher result on the roll, the better. Both numbers can be lowered to make the skill check harder. For example, with the default values a dwarf who is proficient in a skill has a skill level of 5; their roll will be random(11)+random(13)+random(13), meaning this dwarf can roll anywhere from 0 to 34; similarly, unskilled dwarves can roll 0 to 10 while legendary+0 (skill 15) dwarves can roll 0 to 84. If this is changed to [SKILL_ROLL_RANGE:1:8], then instead a proficient dwarf will have random(1)+random(21)+random(21), giving a roll of 0 to 40, with unskilled dwarves always rolling 0 and legendary dwarves going all the way up to 120.&lt;br /&gt;
&lt;br /&gt;
As a consequence, increasing the multiplier will always make legendary dwarves more effective, even if base roll is reduced to its minimum of 1, with the default going up to 84 for default and 90 for [SKILL_ROLL_RANGE:1:6].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Max multiplier ====&lt;br /&gt;
&lt;br /&gt;
The [MAX_MULTIPLIER:&amp;lt;#&amp;gt;] token specifies how many times to do the reaction. This can be used to limit stacked reagent use to the specified quantity instead of the whole stack.&lt;br /&gt;
&lt;br /&gt;
==== Automatic ====&lt;br /&gt;
&lt;br /&gt;
The AUTOMATIC token means that the reaction will be queued automatically if the reaction reagents are all present.&lt;br /&gt;
&lt;br /&gt;
This token only works with jobs performed at a [[kiln]], [[smelter]], [[tanner's shop]], [[kitchen]], or custom workshop, and [[standing orders]] allow you to limit which ones trigger; custom reactions performed at a [[quern]], [[millstone]], [[still]] or [[craftsdwarf's workshop]] cannot be made automatic.&lt;br /&gt;
&lt;br /&gt;
==== Mode enabled ====&lt;br /&gt;
&lt;br /&gt;
Some reaction tokens enable a reaction to be used by everyone in a certain mode. These tokens are not exclusive relations; for example, you can assign an {{token|ADVENTURE_MODE_ENABLED|reaction}} reaction with a building to an entity and their citizens can then perform it at that building in [[fortress mode]].&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| ADVENTURE_MODE_ENABLED&lt;br /&gt;
| Available to all [[adventurer]]s, regardless of origin civilization. Required for adventurers to craft anything, as they do not use the recipes available to their origin civilization.&lt;br /&gt;
|-&lt;br /&gt;
| FORTRESS_MODE_ENABLED&lt;br /&gt;
| Available to all [[fortress mode]] games. Without {{token|PERMITTED_REACTION|entity}} on a specific entity, materials produced by it will not normally be added to their civilization resources.&lt;br /&gt;
|-&lt;br /&gt;
| WORLDGEN_ENABLED&lt;br /&gt;
| If possible, reaction's output will be added to all civilizations during worldgen, allowing the civilization to trade or embark with them.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
This feature is exclusive to Classic Mode, as no description window pops up when mousing over reactions in workshops in Premium.&lt;br /&gt;
&lt;br /&gt;
The [DESCRIPTION:&amp;lt;string&amp;gt;] token provides a text description of the reaction when it is highlighted in the building UI.  Multiple DESCRIPTION tokens can be defined in a reaction, and each will appear on a new line.  The pop-up box that contains the description is limited to 325 characters total.  Alternatively, this token can reference a DESCRIPTION token in an existing tool definition by replacing ''string'' with USE_TOOL:&amp;lt;ITEM_SUBTYPE&amp;gt;; or an existing instrument definition with USE_INSTRUMENT:&amp;lt;ITEM_SUBTYPE&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Reaction classes and products ==&lt;br /&gt;
&lt;br /&gt;
When you're doing things like tanning hides or brewing alcohol, having separate reactions for every single possible raw material is unwieldy and terrible. However, you can let the reaction itself ask the material for details and process them all with the same reaction. There are three types of tags to dictate this behavior.&lt;br /&gt;
&lt;br /&gt;
=== Reaction classes ===&lt;br /&gt;
&lt;br /&gt;
The simplest token is the reaction class. If it is tacked on a material, a reaction can limit reagents to only those materials that have the specified arbitrary [REACTION_CLASS:whatever] identifier.&lt;br /&gt;
&lt;br /&gt;
We want a reaction that smelts iron and flux into pig iron. However, there are a half-dozen different stones that count as flux. Instead of clogging up the smelter job menu with six nearly identical reactions that all take in either dolomite or limestone or marble for the same result, we use a reaction class.&lt;br /&gt;
&lt;br /&gt;
   [REACTION:PIG_IRON_MAKING]&lt;br /&gt;
      [NAME:make pig iron bars]&lt;br /&gt;
      [BUILDING:SMELTER:NONE]&lt;br /&gt;
      [REAGENT:A:150:BAR:NO_SUBTYPE:METAL:IRON]&lt;br /&gt;
      [REAGENT:B:1:BOULDER:NO_SUBTYPE:NONE:NONE]'''[REACTION_CLASS:FLUX]'''&lt;br /&gt;
      [REAGENT:C:150:BAR:NO_SUBTYPE:COAL:NO_MATGLOSS]&lt;br /&gt;
      [PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:PIG_IRON][PRODUCT_DIMENSION:150]&lt;br /&gt;
      [FUEL]&lt;br /&gt;
      [SKILL:SMELT]&lt;br /&gt;
&lt;br /&gt;
Note how reagent B asks for &amp;quot;NONE:NONE&amp;quot; as its material. This means &amp;quot;boulders of any kind as long as they have the reaction class named FLUX&amp;quot;. Stuff like calcite, here:&lt;br /&gt;
&lt;br /&gt;
   [INORGANIC:CALCITE]&lt;br /&gt;
      [USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]&lt;br /&gt;
      [STATE_NAME_ADJ:ALL_SOLID:calcite][DISPLAY_COLOR:7:7:1][TILE:'&amp;quot;']&lt;br /&gt;
      '''[REACTION_CLASS:FLUX]'''&lt;br /&gt;
      [ENVIRONMENT_SPEC:LIMESTONE:CLUSTER_SMALL:100]&lt;br /&gt;
      [ENVIRONMENT_SPEC:MARBLE:CLUSTER_SMALL:100]&lt;br /&gt;
      [MATERIAL_VALUE:2]&lt;br /&gt;
      [IS_STONE]&lt;br /&gt;
      [MELTING_POINT:12902]&lt;br /&gt;
      [SOLID_DENSITY:2930]&lt;br /&gt;
&lt;br /&gt;
The label itself can be absolutely anything. It's only used to find a match between the material and the reaction. Note that some reaction classes have special meanings to the game itself—notably, the [[site finder]] knows that &amp;quot;FLUX&amp;quot; should be connected to the &amp;quot;Flux stone&amp;quot; filter.&lt;br /&gt;
&lt;br /&gt;
=== Material reaction products ===&lt;br /&gt;
&lt;br /&gt;
But what if it's not all the same what materials the members of the reaction class put out? If a tanner starts working on a bear pelt, a horse hide, some dragon scales and a section of human skin, surely they all can't produce generic boot leather! No, the reaction must get the chance to ask the &amp;quot;reaction class&amp;quot; what the reagent should turn out as. We will declare a material reaction product.&lt;br /&gt;
&lt;br /&gt;
   [REACTION:TAN_A_HIDE]&lt;br /&gt;
      [NAME:tan a hide]&lt;br /&gt;
      [BUILDING:TANNER:CUSTOM_T]&lt;br /&gt;
         [REAGENT:flaps of skin:1:NONE:NONE:NONE:NONE][USE_BODY_COMPONENT][UNROTTEN]&lt;br /&gt;
            '''[HAS_MATERIAL_REACTION_PRODUCT:TAN_MAT]'''&lt;br /&gt;
         [PRODUCT:100:1:SKIN_TANNED:NONE:'''GET_MATERIAL_FROM_REAGENT:flaps of skin:TAN_MAT''']&lt;br /&gt;
      [SKILL:TANNER]&lt;br /&gt;
      [AUTOMATIC]&lt;br /&gt;
&lt;br /&gt;
Where you'd usually have some fresh bodypart with the TAN_MAT reaction class produce some generic SKIN_TANNED, this goes further. Instead of declaring a material, the spool of pattern-ready tailoring leather (SKIN_TANNED) now comes out as whatever the skin flaps' material reaction product (named TAN_MAT) says in the material's definition (GET_MATERIAL_FROM_REAGENT). And what does it say?&lt;br /&gt;
&lt;br /&gt;
   [MATERIAL_TEMPLATE:SKIN_TEMPLATE]&lt;br /&gt;
         [STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
         [STATE_NAME:ALL_SOLID:skin]&lt;br /&gt;
         [STATE_ADJ:ALL_SOLID:skin]&lt;br /&gt;
         ...&lt;br /&gt;
         [ABSORPTION:100]&lt;br /&gt;
         '''[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]'''&lt;br /&gt;
         [IMPLIES_ANIMAL_KILL]&lt;br /&gt;
         [ROTS]&lt;br /&gt;
&lt;br /&gt;
It says that the caller of the TAN_MAT hook always comes out as the LEATHER of whatever creature the skin has been peeled off of (LOCAL_CREATURE_MAT). For example, skin taken from a butchered dog would be turned into dog leather. Change the SKIN_TEMPLATE MATERIAL_REACTION_PRODUCT to TAN_MAT:INORGANIC:GOLD instead and your tanner turns into Midas.  Use your imagination.&lt;br /&gt;
&lt;br /&gt;
If the item you're creating should be made of the ''same'' material as the raw material you're using (e.g. if you're carving a log into a training spear), you can specify &amp;quot;NONE&amp;quot; instead of the MATERIAL_REACTION_PRODUCT code:&lt;br /&gt;
&lt;br /&gt;
   [REACTION:MAKE WOODEN TRAINING SPEAR]&lt;br /&gt;
      [NAME:make wooden training spear]&lt;br /&gt;
      [BUILDING:CARPENTER:NONE]&lt;br /&gt;
      [REAGENT:log:1:WOOD:NONE:NONE:NONE][ANY_PLANT_MATERIAL]&lt;br /&gt;
      [PRODUCT:100:1:WEAPON:ITEM_WEAPON_SPEAR_TRAINING:'''GET_MATERIAL_FROM_REAGENT:log:NONE''']&lt;br /&gt;
      [SKILL:CARPENTRY]&lt;br /&gt;
&lt;br /&gt;
As with reaction classes, some MATERIAL_REACTION_PRODUCT identifiers have special meanings to the game itself - notably, the [[site finder]] knows that &amp;quot;FIRED_MAT&amp;quot; should be connected to the &amp;quot;Clay&amp;quot; filter, and &amp;quot;CHEESE_MAT&amp;quot; is used when making [[cheese]] from [[milk]].&lt;br /&gt;
&lt;br /&gt;
=== Item reaction products ===&lt;br /&gt;
&lt;br /&gt;
Item reaction products are an even more powerful form of the above. Where material reaction products can only affect what type of stuff the predestined end product is made of, item reaction products can decide the entire end result ahead of time. Item AND material.&lt;br /&gt;
&lt;br /&gt;
Let's assume for a moment that we're completely tired of leather earrings and hair crowns. We want a crafting reaction that takes cloth and only produces things that make sense.&lt;br /&gt;
&lt;br /&gt;
      [REACTION:TAILOR_THE_BEST_THING]&lt;br /&gt;
            [NAME:weave something that makes sense]&lt;br /&gt;
            [BUILDING:CRAFTSMAN]&lt;br /&gt;
            [REAGENT:woven fabric:1:CLOTH:NONE:NONE:NONE]&lt;br /&gt;
               '''[HAS_ITEM_REACTION_PRODUCT:BEST_OPTION]'''&lt;br /&gt;
            [PRODUCT:100:1:'''GET_ITEM_DATA_FROM_REAGENT:woven fabric:BEST_OPTION''']&lt;br /&gt;
            [SKILL:CLOTHIER]&lt;br /&gt;
&lt;br /&gt;
Now we need to come up with the counterpart tags in the materials. Hmmm... cotton is thin and soft, so it makes pretty good undergarments. An undershirt, maybe?&lt;br /&gt;
&lt;br /&gt;
         [PLANT:COTTON] Gossypium hirsutum / sp.&lt;br /&gt;
                  [NAME:cotton plant][NAME_PLURAL:cotton plants][ADJ:cotton plant]&lt;br /&gt;
                  [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
                  [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
                  [DRY][BIOME:ANY_TROPICAL]&lt;br /&gt;
                  [VALUE:2]&lt;br /&gt;
                  ...&lt;br /&gt;
                  [USE_MATERIAL_TEMPLATE:THREAD:THREAD_PLANT_TEMPLATE]&lt;br /&gt;
                     [MATERIAL_VALUE:2]&lt;br /&gt;
                     '''[ITEM_REACTION_PRODUCT:BEST_OPTION:ARMOR:ITEM_ARMOR_TUNIC:LOCAL_PLANT_MAT:THREAD]'''&lt;br /&gt;
                  ...&lt;br /&gt;
&lt;br /&gt;
Then jute fabric. Isn't that burlap? And what's about the only thing they make from burlap?&lt;br /&gt;
&lt;br /&gt;
         [PLANT:JUTE] Corchorus capsularis / Corchorus olitorius&lt;br /&gt;
                  [NAME:jute plant][NAME_PLURAL:jute plants][ADJ:jute plant]&lt;br /&gt;
                  [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
                  [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
                  [DRY][BIOME:ANY_TROPICAL]&lt;br /&gt;
                  [VALUE:2]&lt;br /&gt;
                  ...&lt;br /&gt;
                  [USE_MATERIAL_TEMPLATE:THREAD:THREAD_PLANT_TEMPLATE]&lt;br /&gt;
                     [MATERIAL_VALUE:2]&lt;br /&gt;
                     '''[ITEM_REACTION_PRODUCT:BEST_OPTION:BAG:NONE:LOCAL_PLANT_MAT:THREAD]'''&lt;br /&gt;
                  ...&lt;br /&gt;
&lt;br /&gt;
Sacks, of course! Wait, how about silk?&lt;br /&gt;
&lt;br /&gt;
         [CREATURE:SPIDER_CAVE]&lt;br /&gt;
                  [DESCRIPTION:A tiny underground bug, sought after for its thread.]&lt;br /&gt;
                  [NAME:cave spider:cave spiders:cave spider]&lt;br /&gt;
                  ...&lt;br /&gt;
                  [USE_MATERIAL_TEMPLATE:SILK:SILK_TEMPLATE]&lt;br /&gt;
                     '''[ITEM_REACTION_PRODUCT:BEST_OPTION:PANTS:ITEM_PANTS_THONG:LOCAL_CREATURE_MAT:SILK]'''&lt;br /&gt;
                  ...&lt;br /&gt;
&lt;br /&gt;
This goes on for as long as you let it. The ITEM_REACTION_PRODUCT declares the identifier and then the item and material with subtypes, just like a normal reaction's product line would.&lt;br /&gt;
&lt;br /&gt;
Do note that MATERIAL_REACTION_PRODUCT and ITEM_REACTION_PRODUCT use the same IDs, so you cannot have both a material and item reaction product of the same name. Also, though you cannot use GET_ITEM_DATA_FROM_REAGENT with a MATERIAL_REACTION_PRODUCT (there'd be no item type information), you ''can'' use GET_MATERIAL_FROM_REAGENT on an ITEM_REACTION_PRODUCT (in case you want to force your own item type).&lt;br /&gt;
&lt;br /&gt;
== Reactions and world generation ==&lt;br /&gt;
&lt;br /&gt;
There are several things to keep in mind when you're adding reactions to a game that already exists.&lt;br /&gt;
&lt;br /&gt;
* Most entity changes require a regen, but adding PERMITTED_REACTION tokens for reactions that existed at the time of world generation to the entity file in the save directory do not.&lt;br /&gt;
* Adding reactions to the raws in a save directory requires you to regen the world.&lt;br /&gt;
* You can alter an existing reaction in any way you like without regenning the world, so long as you don't alter the reaction identifier.&lt;br /&gt;
&lt;br /&gt;
== Full token list ==&lt;br /&gt;
&lt;br /&gt;
For the sake of convenience and readability, this is a complete compilation of the previously listed reaction tokens in alphabetical order:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Type&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ADVENTURE_MODE_ENABLED}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| This version of the reaction can be used by the wanderers of Adventure Mode without needing to also give the dwarves at home in a fortress access to it.  When using this token, it will be allowed for adventurers of any race, without editing entity files. This token does not prevent Fortress Mode usage if assigned to a workshop and the civilization has access.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|FORTRESS_MODE_ENABLED}}{{version|Lua beta}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| This reaction can be accessed when playing as any civilization in [[Fortress mode]], regardless of {{token|PERMITTED_REACTION|e}}. Particularly useful for compatibility or [[Lua scripting]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|WORLDGEN_ENABLED}}{{version|Lua beta}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Adds the materials provided by the reaction to all civilizations, regardless of {{token|PERMITTED_REACTION|e}}.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_BONE_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [BONE] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_GEM_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [IS_GEM] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_HORN_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [HORN] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_LEATHER_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [LEATHER] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_PEARL_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [PEARL] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_PLANT_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must be subordinate to a PLANT object.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_SHELL_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [SHELL] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_SILK_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [SILK] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_SOAP_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [SOAP] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_STONE_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [IS_STONE] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_STRAND_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent is made of a tissue having [TISSUE_SHAPE:STRANDS], intended for matching hair and wool. Must be used with [USE_BODY_COMPONENT].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_TOOTH_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [TOOTH] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_WOOD_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [WOOD] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ANY_YARN_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [YARN] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ATTRIBUTE_IP}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Integer&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Skill modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Amount of attribute gain given per skill improvement. Default is 10.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|AUTOMATIC}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| The reaction will be queued automatically if the reaction reagents are all present.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|BAG}} (Deprecated)&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent has to be a bag. Intended to be used with an item type of BOX, to prevent chests, coffers, and other containers from being used instead. Deprecated as of Version 0.50.01 in favor of BAG:NONE [[item token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|BUILDING}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#building name|Building name]]&lt;br /&gt;
* [[#building key|In-building reaction hotkey]]&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Sets the building that the reaction will be performed in, and the button used to queue the reaction once that building's menu is accessed in-game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|BUILDMAT}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent is able to be used to build structures (Boulders, Wood, Blocks, Bars).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CAN_USE_ARTIFACT}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent can be an Artifact.  Using [PRESERVE_REAGENT] with this is strongly advised.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CAN_USE_HOSPITAL_RESERVED}}&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Allows the reagent to be an item that is otherwise reserved for use by a [[healthcare|hospital]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CAN_USE_LOCATION_RESERVED}}&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Allows the reagent to be an item that is otherwise reserved for use by a [[location]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CATEGORY}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Category ID &lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Puts the reaction in a category. Categories are custom submenus for reaction menus. The category ID is a unique identifier for the category. It is only used in the raws, and will not appear in the game.&lt;br /&gt;
&lt;br /&gt;
If you're defining multiple categories within the same reaction - for example, if you intend the reaction to be nested two deep, and haven't yet defined the super-category - the ''last'' CATEGORY token within the reaction definition is the one that the reaction will appear in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CATEGORY_NAME}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* String &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Category&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| The name of the category as displayed in-game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CATEGORY_DESCRIPTION}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* String &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Category&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If present, when the category is highlighted in a building menu, this string will be displayed in the Helpful Hint box.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CATEGORY_PARENT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Category ID &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Category&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If present, this category will be a submenu of the indicated category, rather than a submenu of the reaction's building.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CATEGORY_KEY}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Hotkey&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Category&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If present, this category can be selected from its parent menu (whether a building or a parent category) using the given hotkey while playing in Classic mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CONTAINS}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#Reagent name|Reagent name]]&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent is a container that holds the specified reagent.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|CONTAINS_LYE}} (Deprecated)&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If the reagent is a container, it must contain LYE. No longer used - instead, use one reagent for the LYE itself and another reagent with [CONTAINS:lye_reagent].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|DESCRIPTION}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* String&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| A description of the reaction that appears when it is highlighted in the building UI.  ''String'' can also be replaced with a reference to existing DESCRIPTION tokens in tools (using USE_TOOL:&amp;lt;tool_id&amp;gt;) or musical instruments (using USE_TOOL:&amp;lt;instrument_id&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|DOES_NOT_ABSORB}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have [ABSORPTION:0].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|DOES_NOT_DETERMINE_PRODUCT_AMOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Performing a reaction with large [[stack]]s of inputs can allow multiple sets of outputs to be produced. Setting this flag causes the reagent to be ignored in this process - for example, with the reaction &amp;quot;1 plant + 1 barrel -&amp;gt; 5 alcohol (into barrel)&amp;quot;, using this on the barrel allows the reaction to be performed as &amp;quot;5 plant + 1 barrel -&amp;gt; 25 alcohol&amp;quot; instead of &amp;quot;5 plant + 5 barrel -&amp;gt; 25 alcohol&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|EMPTY}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If the reagent is a container, it must be empty.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|FIRE_BUILD_SAFE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be considered [[fire-safe]] (stable [[temperature]] below {{ct|11000}}) - i.e. not wood, and not coal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|FORCE_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product is given a sharp edge. Used for knapping.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|FOOD_STORAGE_CONTAINER}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be a barrel or any non-absorbing tool with [TOOL_USE:FOOD_STORAGE].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|GROWN_NOT_CRAFTED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be a GROWN wooden item, such as a &amp;quot;grown wooden shield&amp;quot; from an Elven caravan.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|FUEL}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Requires that the reaction either use up a unit of coal or charcoal or else be performed at a magma workshop.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|GLASS_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material has [IS_GLASS].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|HAS_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be sharpened (used for carving).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|HAS_ITEM_REACTION_PRODUCT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* PRODUCT_ID (custom)&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Similar to HAS_MATERIAL_REACTION_PRODUCT, but requires the reagents material to have a matching ITEM_REACTION_PRODUCT entry.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|HAS_MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* PRODUCT_ID (custom)&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Similar to REACTION_CLASS, but requires the reagents material to have a matching [[Material definition token|MATERIAL_REACTION_PRODUCT]] entry. Intended for reactions which transform one class of material into another, such as skin-&amp;gt;leather and fat-&amp;gt;tallow.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|HAS_TOOL_USE}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[Tool token#TOOL_USE|TOOL_USE value]]&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be a [[tool]] with the specific TOOL_USE value. The reagents item type must be TOOL:NONE for this to make any sense.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|HAS_WRITING_IMPROVEMENT}}&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must contain writing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|IMPROVEMENT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Probability&lt;br /&gt;
* [[#Reagent name|Reagent name]]&lt;br /&gt;
* Improvement type&lt;br /&gt;
* Material Token&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Applies an improvement to the named reagent.  Only meaningful if said reagent has [PRESERVE_REAGENT]. Improvement types include BANDS, COVERED, GLAZED, PAGES, RINGS_HANGING, and SPIKES&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|IS_CRAFTED_ARTIFACT}}{{verify}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent item must be an artifact.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|IS_DIVINE_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must have the [DIVINE] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|MAGMA_BUILD_SAFE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Currently broken - Reagent must be considered [[magma-safe]] (stable [[temperature]] below {{ct|12000}}).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|MAX_MULTIPLIER}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Integer&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Sets the maximum number of times a reaction is allowed to run when using stacked reagents. This can be used to ensure that the reaction doesn't repeat until the entire stack is depleted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|METAL_ORE}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Inorganic material&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must be an ore of the specified metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|MIN_DIMENSION}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Integer&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Requires that the reagent have a size of at least ''integer''. Only effective with BAR, POWDER_MISC, LIQUID_MISC, DRINK, THREAD, CLOTH, and GLOB items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NAME}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#name|Name]]&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Defines the name used by the reaction in-game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NO_EDGE_ALLOWED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must not have an edge, so must be blunt. Sharp stones (produced using knapping) and most types of weapon/ammo can not be used with this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_ARTIFACT}}{{verify}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent item must not be an artifact.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_CONTAIN_BARREL_ITEM}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| If the reagent is a Barrel, it must not contain an item that has to reside in a barrel.  Barrel items appear to be lye and milk.  Alcohol appears to be covered as part of [EMPTY].  A reaction which places an item in a barrel should probably have both tags.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_ENGRAVED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent has not been engraved i.e. a blank memorial slab.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_IMPROVED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent has not been decorated.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must not be in the SOLID_PRESSED state.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|NOT_WEB}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be &amp;quot;collected&amp;quot; - used with THREAD:NONE to exclude webs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|ON_GROUND}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| Reagent must be on the ground. Grabs from stockpiles. Does not grab from bins in stockpiles, nor inventories (workshops, wagon). Causes infinite collection of items if reaction is in workshop, as reagents are no longer on ground when brought to workshop. Untested in adventure mode; possibly more useful for adv. mode reactions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|POTASHABLE}} (Deprecated)&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Alias for [CONTAINS_LYE].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRESERVE_REAGENT}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent is not destroyed, which is the normal effect, at the completion of the reaction. Typically used for containers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
*Probability of success (%)&lt;br /&gt;
*Quantity&lt;br /&gt;
*Item token:subtype&lt;br /&gt;
*Material token:subtype&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Defines a thing that comes out of the reaction. GET_MATERIAL_FROM_REAGENT and GET_ITEM_DATA_FROM_REAGENT can be used to defer the choice of material and/or item to the appropriate tag in a given reagent's material - the former comes in place of the material token, the latter replaces both the item and material tokens. See above for detailed information on how the hooks work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT_DIMENSION}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
* Size&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Specifies the amount of the product for those items that use dimension. For items of type BAR, DRINK, GLOB, LIQUID_MISC, and POWDER_MISC, one item is dimension 150; one item of CLOTH or SHEET is dimension 10000; and one item of THREAD is dimension 15000. Has no effect on any other item types. Note: this is not the actual [[storage]] volume of the product, which is hard-coded by the item token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product is created in the SOLID_PASTE state.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product is created in the SOLID_PRESSED state.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT_TO_CONTAINER}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#Reagent name|Reagent name]]&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Places the product in a container; reagent name must be the name of a reagent with the [PRESERVE_REAGENT] token and a container item type.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|PRODUCT_TOKEN}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Name&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Allows the product to be referred to by the given name, for the purpose of being passed down as argument in other tokens in the same fashion as reagent names.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|REACTION}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Identifier&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Defines a new reaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|REACTION_CLASS}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* CLASS_ID (custom)&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Requires the reagent's material to have a matching [[Material definition token|REACTION_CLASS]] entry. Intended for reactions which accept a variety of materials but where the input material does not determine the output material, such as FLUX (for making pig iron and steel) and GYPSUM (for producing plaster powder).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|REAGENT}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[#Reagent name|Reagent name]]&lt;br /&gt;
* [[#quantity|Quantity]]&lt;br /&gt;
* [[Item token]]&lt;br /&gt;
* [[Material token]]&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Specifies a given reagent as an input for a reaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|SKILL}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* [[Skill token]]&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Skill used by the reaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|SKILL_IP}}&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Integer&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Skill modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Amount of skill given per product made. Default is 30. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|SKILL_ROLL_RANGE}}&lt;br /&gt;
|  style=&amp;quot;vertical-align: top&amp;quot;| &lt;br /&gt;
* Range&lt;br /&gt;
* Multiplier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Skill modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Determines how [[skill]] level affects [[quality]] of the reaction product.  The skill roll is random(range) + random((skill level * multipler)/2 + 1) + random((skill level * multipler)/2 + 1). random(x) returns a number between 0 and x-1, so range is always 1 or more.  The default is 11. The default multiplier is 5. Higher skill rolls give better results.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|TRANSFER_ARTIFACT_STATUS}}&lt;br /&gt;
| &lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Product modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Transfers artifact status from the reagent to the product.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|UNROTTEN}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must not be rotten, mainly for organic materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|USE_BODY_COMPONENT}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must come off a creature's body.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|WEB_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent must be &amp;quot;undisturbed&amp;quot; - used with THREAD:NONE to gather webs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|WORTHLESS_STONE_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent is not made of an economic stone.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| {{text anchor|WOVEN_ITEM}}&lt;br /&gt;
|&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent modifier&lt;br /&gt;
| style=&amp;quot;vertical-align: top&amp;quot;| Reagent material must be a woven material, eg. plant cloth, silk, yarn. This ''excludes'' CLOTH or THREAD items.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
:''Main articles: [[Reaction examples]]''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Reaction]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014:White_jade&amp;diff=315949</id>
		<title>DF2014:White jade</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014:White_jade&amp;diff=315949"/>
		<updated>2026-05-13T00:54:37Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Reverted edits by 118.6.14.37 (talk) to last revision by LethosorBot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|21:54, 7 December 2010 (UTC)}}{{gemlookup/0}}{{av}}&lt;br /&gt;
&lt;br /&gt;
'''White jades''' are low-value [[gem]]s that only appear in [[alluvial layer]]s.&lt;br /&gt;
&lt;br /&gt;
{{Translation| dwarven = volal otil | elvish = alire anara | goblin = uslun toslu | human = mela kesmel}}&lt;br /&gt;
&lt;br /&gt;
[[File:Incense burner with flower handles and paired lions knob, China, Qing dynasty, 18th-19th century AD, white jade - Matsuoka Museum of Art - Tokyo, Japan - DSC07234.JPG|center|thumb|290px|White jade jug.]]&lt;br /&gt;
&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{gems}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Stupid_dwarf_trick&amp;diff=315871</id>
		<title>Stupid dwarf trick</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Stupid_dwarf_trick&amp;diff=315871"/>
		<updated>2026-04-29T13:19:44Z</updated>

		<summary type="html">&lt;p&gt;Quietust: /* Dwarven refrigerator */ this one is conditional, and I've personally got a 0.31 fortress where it's impossible&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
EDITORS!&lt;br /&gt;
For those who don't notice, these are listed in ALPHABETICAL ORDER, so those trying to remember/find a specific SDT (heh) can. Please attempt to follow that pattern, thanks!&lt;br /&gt;
&lt;br /&gt;
ALSO, be sure to include the following format:&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' &lt;br /&gt;
&lt;br /&gt;
One (1) blank line between last line of prev subsection and next sub-section title.&lt;br /&gt;
 --&amp;gt;&lt;br /&gt;
{{D for Dwarf}}&lt;br /&gt;
&lt;br /&gt;
A '''stupid dwarf trick''' is any project that requires a large amount of time and/or effort. They may provide a practical benefit, but are frequently done for the sake of doing them; they exist primarily as a [[challenge]] for experienced players.&lt;br /&gt;
&lt;br /&gt;
==Adventure mode fortress==&lt;br /&gt;
&amp;lt;!--From older version:&lt;br /&gt;
EDITORS!&lt;br /&gt;
For those who don't notice, these are listed in ALPHABETICAL ORDER, so those trying to remember/find a specific SDT (heh, Secure. Contain. Protect!) can. Please attempt to follow that pattern, thanks!&lt;br /&gt;
&lt;br /&gt;
ALSO, be sure to include the following format:&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' &lt;br /&gt;
&lt;br /&gt;
One (1) blank line between last line of prev subsection and next sub-section title.&lt;br /&gt;
 --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Build a fortress specifically for exploring in [[adventure mode]]. You can either make a nasty monster-filled challenge, or a smörgåsbord of masterpiece adamantine weapons and armor; possibly both. Breaching the [[caverns]] or  [[hidden fun stuff]] should ensure the fortress is occupied.&lt;br /&gt;
 &lt;br /&gt;
'''Difficulty:''' The sky's the limit. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' None for fortress mode, but filling it with high-quality equipment can certainly be useful for adventure mode.&lt;br /&gt;
&lt;br /&gt;
==Alarm clock==&lt;br /&gt;
Are your soldiers all sound asleep while blood soaks the walls?  No need to deconstruct their beds one by one, ''if'' you bought the Dwarf Wakey 3000!  Simply a solitary floor tile balanced on a support, one or more can be toppled with the pull of a lever to produce an earth-shaking racket that'll have them leaping for their axes!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Limited.  They'll sleep through &amp;lt;s&amp;gt;'''anything'''&amp;lt;/s&amp;gt; the noise. Although they have been known to awaken when drenched in water, possibly due to thinking it's alcohol. This means an alarm clock is not impossible if carefully prepared.&lt;br /&gt;
&lt;br /&gt;
==Alphabet cages==&lt;br /&gt;
[[Image:Cage.gif|right]]&lt;br /&gt;
Use captured monsters in cages to spell messages.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium.  Vowels are hard to come by.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Absolutely none whatsoever. Even less if using sprites. (Easy reminders in case you're too lazy to use notes?)&lt;br /&gt;
&lt;br /&gt;
==Altar of Armok==&lt;br /&gt;
&lt;br /&gt;
Build a large altar made out of adamantine, clear glass, magma, and obsidian. The main altar should be hollow adamantine with clear glass &amp;quot;windows.&amp;quot; It should have magma inside. The altar should be adorned with large obsidian spikes, as it pleases Armok. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium, raising with the amount (and respective difficulty) of bonuses you add.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low to medium. If the chamber containing the altar is consecrated as a [[temple]], dwarves will go there to pray, and may gain additional happy thoughts for admiring the altar's materials and craftsdwarfship.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Guard the altar with a megabeast.&lt;br /&gt;
*Bonus: Cover the altar with blood of a Titan.&lt;br /&gt;
**MegaBonus: Cover the altar with blood of a denizen of the HFS.&lt;br /&gt;
***ArmokBonus: Build the altar in the HFS.&lt;br /&gt;
*MegaBonus: Cover the altar in a temporarily lasting strength inducing extract.&lt;br /&gt;
*BerserkBonus: Cover the altar in a nausea-inducing extract.&lt;br /&gt;
*BloodBonus: Also cover the altar in an extract inducing slow death.&lt;br /&gt;
**SychronizationBonus: Make it so that a dwarf that goes into contact with the altar dies the moment the strength runs out.&lt;br /&gt;
*SacrificialBonus: Sacrifice a dwarf to the altar every day.&lt;br /&gt;
**MegaSacrificialBonus: Sacrifice an elf to the altar every day.&lt;br /&gt;
**HistorySacrificialBonus: Sacrifice a human to the altar every day&lt;br /&gt;
***MegaArmokBonus: Sacrifice all three species to the altar every day!&lt;br /&gt;
*MonarchBonus: Build the altar in the monarch's throne room! Yes, this stacks with the ArmokBonus up above.&lt;br /&gt;
&lt;br /&gt;
==Anthill==&lt;br /&gt;
Build your fortresses hallways and rooms on the same Z-axis. Building rooms with depth is fine, as long as their west/east walls are on the same Z-coordinate. All the walls on the Z-coordinate should be glass. Hollow out the opposite section so that the area beside the glass is empty. Build viewing platforms in the hollowed-out space.&lt;br /&gt;
'''Difficulty''' High. The limited space is a huge restraint, and caverns are a huge issue.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''' Very low, although intruders can be forced to climb the viewing area to enter, letting marksdwarves pick them off easily through fortifications.&lt;br /&gt;
&lt;br /&gt;
*MirrorBonus: Instead of a viewing area, build a perfect replica of the fort.&lt;br /&gt;
*SuperDwarfGalaxyBonus: Make it horizontal instead of vertical.&lt;br /&gt;
**MegaBonus: Build it into the magma sea.&lt;br /&gt;
&lt;br /&gt;
==Aqueduct power==&lt;br /&gt;
If your river's a long way away from your fortress, building a trans-map axle may be less efficient than building an aqueduct and pump stack driven by waterwheels in the river.  The pump stack raises it to the height of your fort, where it flows through the long, long aqueduct and drives waterwheels on the other end.  Getting the water pressure &amp;lt;em&amp;gt;just right&amp;lt;/em&amp;gt; so it powers your waterwheel without flooding the fort can be [[Fun]].  Diagonal channels make good pressure reducers. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High.  Lots of stone, lots of engineering, lots of dangerous outdoor work, lots of trial-and-error for the receiving waterwheels.&amp;lt;br /&amp;gt; Aquifers will absorb any amount of water at any rate. Using an aquifer as drain for the reservoir will nullify the risk of flooding the fortress due to the drain not keeping up with the supply.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High.  As much water and power as you want, wherever you want, whenever you want.&lt;br /&gt;
&lt;br /&gt;
==Aquifer power==&lt;br /&gt;
Aquifers can be a resource of immense power.  If you have two levels of aquifer, you can generate a continuous flow by draining one level of aquifer into another and plant waterwheels above it.  One stream can power a lot of wheels.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High.  Anything to do with draining aquifers is very [[Fun]]. It is now very rare to find a powerful enough aquifer.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High.&lt;br /&gt;
&lt;br /&gt;
==Archaeological excavation==&lt;br /&gt;
A Fortress in the caverns, built by the first dwarf tribes. Build the Fortress however you see fit for those prehistoric Dwarves (e.g. only primitive metals, elaborate tombs for the chieftains with burial objects, cave art, etc.) and abandon it. Then, embark with modern Dwarves, and excavate the ancient Fortress. Sort of like the Adventure Fortress above, only for Reclaim Mode&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' As High as you want.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Variable. Carving a premade fort or building controlled access to caverns can potentially be useful for a Reclaim effort, effectively making the first wave dispoable setup so your would-be archologists to dig up and exploit their new home. The more Fun you leave behind, the harder it will be for your second wave to repurpose the place.&lt;br /&gt;
&lt;br /&gt;
*Bonus: A museum detailing the lives of those early dwarves.&lt;br /&gt;
*Bonus: Create a save with your First Tribe fort collapsed/flooded/etc, for other users to explore. Leave them some Fun what-does-this-lever-do problems to solve.&lt;br /&gt;
*EncinoDwarfBonus: Some of those early dwarves frozen in a block of ice.&lt;br /&gt;
*FunBonus: Breach the HFS.&lt;br /&gt;
**MegaBonus: Do a cave in to the HFS after fighting it leaving multiple signs of battle in the fortress, to be dug by your modern dwarves.&lt;br /&gt;
&lt;br /&gt;
==Artificial waterfall==&lt;br /&gt;
{{main|Waterfall}}&lt;br /&gt;
To keep the waterfall going, you need a [[pump]] stack, preferably powered by a [[windmill]] or [[water wheel]]. Alternatively, an [[aquifer]], or other limitless water source, makes for a waterfall entirely underground.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate (Low if there is an aquifer above pouring down).&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Dwarves love [[waterfall]]s. Putting a waterfall in your [[meeting hall]] will give your dwarves good [[thought]]s, although it can significantly lower frame rate.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Build it in a &amp;quot;Warm&amp;quot; or hotter [[climate]] so it does not freeze.&lt;br /&gt;
*DwarfBonus: Build it in a freezing/cold/temperate climate and keep it going entire year! &lt;br /&gt;
*MegaDwarfBonus: Use [[magma]]. It does not freeze, even in a freezing climate!&lt;br /&gt;
*MegaDwarfBonusEXTREME+: Use magma and water in the same waterfall. The results will enshrine you in dwarf history! Possibly permanently.&lt;br /&gt;
&lt;br /&gt;
==Ballista battery==&lt;br /&gt;
{{main|Ballista}}&lt;br /&gt;
Overlap a few ballistas to completely cover a narrow corridor. There is an unavoidable risk of your operators wandering into the line of fire. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. If you insist on highly trained operators with high-quality ballistas, it gets harder. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' A complicated and dangerous way to defend a single corridor.  Ultimately extremely effective.  Sometimes.&lt;br /&gt;
&lt;br /&gt;
==Bastion==&lt;br /&gt;
Construct an isolated burrow containing a farmer and some labourers, containing at least an uncontaminated well (an [[aquifer]] is great for this) and some farms. Use whatever elaborate mechanism you wish to seal it off from the rest of the fortress. Congratulations; your bastioned dwarves and their descendants will keep your fortress alive forever until one of them goes nuts.&lt;br /&gt;
&lt;br /&gt;
* Bonus: Build your bastion at least in part in a clay or sand layer, add a little magma, and continue manufacturing useless crap even as the world crumbles around you!&lt;br /&gt;
** StonksBonus: Rig a way for your bastion to transfer supplies to the outside world without exposing themselves to danger, so they can be somewhat useful to the rest of your fort before their inevitable downfall. Doubles as a way to restock the bastion with fresh supplies and/or bodies, or a way to let the apocalypse in a little at a time if your survivors get too comfortable.&lt;br /&gt;
* Bonus: Build it on top of a tower outside, and then deconstruct the stairs up.&lt;br /&gt;
* Bonus: Fill it exclusively with vampires, to avoid having to worry about food, children, and aging.&lt;br /&gt;
* MegaDwarfBonus: Hollow out a shell around your bastion, connecting it to the rest of the cavern by a single 1x1 adamantine support, and flood the shell with magma.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High. If your bastioned dwarves have high enough quality living space and few enough nonbastioned friends, it makes the fortress functionally immortal.&lt;br /&gt;
&lt;br /&gt;
==Bathtub==&lt;br /&gt;
Stop dwarves from hauling in tons of exotic, poisonous sludge into your fortress by creating a tub filled with 3/7 water that everyone has to get through to enter the fortress. Include a system to change the water, so that they don't bathe in grime.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low in most cases. High in some evil areas.&lt;br /&gt;
&lt;br /&gt;
* DwarfBonus: Make it drain and refill itself with clean water automatically once in a year.&lt;br /&gt;
* MegaDwarfBonus: Clean it with magma.&lt;br /&gt;
* *MegaDwarfBonus*: Have an alternative bathtub-buffered entrance next to the main one, which opens automatically when sanitizing the main one and closes and sanitizes itself when it is no longer needed, so that no jobs are canceled during cleansing cycle.&lt;br /&gt;
* ≡MegaDwarfBonus≡ : Make it clean itself with magma automatically once in a year, but make it wait for the moment when it's unused, so that no dwarves or pets are incinerated.&lt;br /&gt;
* ☼MegaDwarfBonus☼: All of the above, plus make it detect when there should be no dwarves or pets around, but invaders are in it, so that the cleansing cycle can be started prematurely.&lt;br /&gt;
&lt;br /&gt;
==Boat==&lt;br /&gt;
In intermittently freezing biomes, [[ice]] may be used to create actual floating boats, submarines, or other floating objects/forts; as constructions built on top of ice do not collapse when the ice thaws.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High. Needs an intermittently freezing biome, construction is limited to frozen periods, and there's a substantial risk of flooding, drowning and being encased in ice.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low. Forts within boats are protected from invaders while the water is unfrozen, but they're also trapped within the confines of the boat.&lt;br /&gt;
&lt;br /&gt;
Note: You'll probably want to limit your saves to the colder months.&lt;br /&gt;
&lt;br /&gt;
* DwarfBonus: Have the dwarves live on the boat.&lt;br /&gt;
* MegaDwarfBonus: Make miscreants/nobles walk the plank.&lt;br /&gt;
* *MegaDwarfBonus*: Bury your treasure on shore.&lt;br /&gt;
* ≡MegaDwarfBonus≡ : Have a pet [[kea]] for each of your dwarves.&lt;br /&gt;
* ☼MegaDwarfBonus☼: Build it on top of an ice tower.&lt;br /&gt;
&lt;br /&gt;
==Bolt splitting operation==&lt;br /&gt;
&lt;br /&gt;
 ## Note: no longer works due to climbing mechanics ##&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One curious property of Dwarven physics is that a bar of metal makes 25 bolts, but if each of those 25 bolts is melted separately, they will become 2.5 bars, generating metal from nothing.  Prior to the update that allowed splitting stacks at the [[trade depot]], the difficult part was separating the stacks of bolts into individual bolts without destroying them. EliDupree originally discovered this trick:&lt;br /&gt;
{{diagram|spaces=yes|color=#888|\&lt;br /&gt;
  ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙&lt;br /&gt;
  ∙++++[#05F]☻∙+++++++++&lt;br /&gt;
  ∙+∙∙∙[#0A0]┼∙+++++++++++++[#BBB]╬[#BBB]╬&lt;br /&gt;
  ∙+∙[#F00]g∙[#0A0]┼∙+++++++++++++[#BBB]╬[#FF0]@&lt;br /&gt;
  ∙+∙∙∙[#0A0]┼∙+++++++++++++[#BBB]╬[#BBB]╬&lt;br /&gt;
  ∙+++++∙+++++++++&lt;br /&gt;
  ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙&lt;br /&gt;
}}&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
The yellow @ at the right is a stack of marksdwarves (all in different squads so that they'll stand on the same tile) equipped with [[adamantine]] (or [[Divine metal]] if you don't have it; or [[Steel]] if you have neither) bolts, standing on top of a stairway surrounded by [[fortification]]s. The blue ☻ at the left is a single [[Attributes#Agility|Perfectly Agile]] soldier with orders to patrol up and down the line of green doors, with little delays at the top and bottom. (The doors are free-standing; they were built attached to a wall, then the wall was removed.) The &amp;quot;g&amp;quot; at the left is a goblin standing on a pillar (pitted from the z-level above).&lt;br /&gt;
&lt;br /&gt;
When the dwarf at the left runs up or down the line of doors, it opens all of them, and some of the marksdwarves loose their bolts. By the time the bolts get there, the doors have closed, so they hit the doors and fall into the channel, where they can be collected and melted separately. (That distance is exact, by the way. Any less and they sometimes get shots through the doors, which kills your goblin. Also, with less-skilled marksdwarves, some of the bolts will stray and land on the floors, but that isn't enough to worry about even with mere dabblers.) Naturally, this is also an excellent way to train marksdwarves.&lt;br /&gt;
&lt;br /&gt;
Another design resembles a tower where marksdwarves shoot from the top, with the following setup: (click then press '&amp;lt;' and '&amp;gt;' to go through different z-levels)&lt;br /&gt;
&amp;lt;diagram&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=0&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%203][%203][%205][%187]  &lt;br /&gt;
  [%186]&amp;lt;[%204][%185][#5:1]g[#7:0][%186]  &lt;br /&gt;
  [%200][%205][%202][%202][%205][%188]  &lt;br /&gt;
 &lt;br /&gt;
  &amp;lt; 01  &lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=1&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%203][%203][%205][%187]  &lt;br /&gt;
  [%186]X[%204][%185][#7:1]O[#7:0][%186]  &lt;br /&gt;
  [%200][%205][%202][%202][%205][%188]  &lt;br /&gt;
 &lt;br /&gt;
  &amp;lt; 02 &amp;gt;&lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=2&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%205][%205][%205][%187]  &lt;br /&gt;
  [%186]X+[#3:1]/[#7:0].[%186]  &lt;br /&gt;
  [%200][%205][%205][%205][%205][%188]  &lt;br /&gt;
 &lt;br /&gt;
  &amp;lt; 03 &amp;gt;&lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=3&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%203][%205][%187]+  &lt;br /&gt;
  [%186]X[%186].[%186]+  &lt;br /&gt;
  [%200][%205][%202][%205][%188]+  &lt;br /&gt;
 &lt;br /&gt;
  &amp;lt; 04 &amp;gt;&lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=4&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%203][%205][%187].  &lt;br /&gt;
  [%186]X[%186].[%186].  &lt;br /&gt;
  [%200][%205][%202][%205][%188].  &lt;br /&gt;
 &lt;br /&gt;
  &amp;lt; 05 &amp;gt;&lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;frame type=&amp;quot;level&amp;quot; level=5&amp;gt;&lt;br /&gt;
[#7:0]&lt;br /&gt;
  [%201][%205][%205][%205][%187]   &lt;br /&gt;
  [%186]&amp;gt;+[#6:1]@[#7:0][%186]   &lt;br /&gt;
  [%200][%205][%205][%205][%188]   &lt;br /&gt;
 &lt;br /&gt;
    06 &amp;gt;&lt;br /&gt;
&amp;lt;/frame&amp;gt;&lt;br /&gt;
&amp;lt;/diagram&amp;gt;&lt;br /&gt;
The '@' is any number of marksdwarves standing on a down stair. You may want to use a defend burrow order to restrict them to that tile. The 'g' is a goblin or any other creature your marksdwarves will normally fire at upon encounter (pitted from 2 z-levels above). The 'O' is a well, which is suspected to be preventing dwarves from plunging in and starting brawling with the creature. Marksdwarves will be able to see the goblin or whatever creature below and will loose all bolts in their quivers on them. Curiously, nearly all the bolts will fail to cross the bend in the middle and will fall onto the tile '/' where they can be collected. This disregards crossbow and archery skills and the only difference they make is the speed at which the bolts are split. This design has the advantage of taking less space and being easier to set up, however it is reported that sometimes the dwarves will not miss some of the bolts. If you are only stationing one marksdwarf in the tower, stationing another one may help the first one miss all of his bolts, even after the newly added one is then removed. Sometimes dwarves will spam job cancellation on the bolt collection level, and it is also reported that sometimes some dwarves will start firing when they are on the bolt collection level. In such cases you may want to seal the collection level off and open it once in a while to retrieve the bolts.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate.  The hardest part is keeping the system running reliably.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Moderate.  While there are certainly [[Exploit#Infinite metal|easier ways to generate adamantine]], this is perhaps the most dwarfy.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Build a [[repeater]] to open and close the doors automatically.&lt;br /&gt;
&lt;br /&gt;
==Break the dam (release the river!)==&lt;br /&gt;
Dam a river (or brook) using something non-permanent (floodgates, drawbridges) and build your fortress entrance in the now dry river bed, make sure you can seal it off nicely (floodgates anyone?) then wait till the first Goblin siege, let them get to your entrance floodgates, seal them, open the dam and laugh maniacally.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Instantaneous death to all sieges&lt;br /&gt;
&lt;br /&gt;
*DwarfBonus: Use magma.&lt;br /&gt;
&lt;br /&gt;
==Bridge-a-pult==&lt;br /&gt;
A bridge that raises under its victims' feet, flinging enemies away. &lt;br /&gt;
&lt;br /&gt;
Bridges don't fling creatures in any specific direction, apart from &amp;quot;up&amp;quot;. So it's more of a spring-board than a catapult. If there's a lot of open space above the bridge, creatures can get flung very high - ten z-levels and more - and take appropriate falling damage. Most of them will land atop the bridge, and bringing the same bridge down will simply crush them. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Fairly easy. Getting the timing right promises to be the biggest challenge.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' There are far more effective ways to defend a fortress, but few are as entertaining.&lt;br /&gt;
&lt;br /&gt;
===Cat-a-pult===&lt;br /&gt;
Essentially a Bridge-a-pult with specific ammo.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Very easy, given that you have live cats in your fortress.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': Can be used as a way to stop a [[catsplosion]] if used with male cats. [[Unfortunate accident|Cats can also be replaced with elite citizens of your fortress.]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Corpse processing facility==&lt;br /&gt;
WARNING: The system can freely jam on any body parts, besides hands and heads, without killing undead.&lt;br /&gt;
With the help of a necromancer, corpses your dwarves refuse to butcher can be brought back to life and re-killed to yield bones and skulls for your bonecarvers if they are mushed up enough. &lt;br /&gt;
&lt;br /&gt;
1. The simplest way to do this is with the help of height. A 1x1 pit with a minecart stop that dumps corpses down the chute, and several alternating [[floor hatch]]es that close and open (linked to a repeater) with necromancers behind windows overlooking each layer of hatches to revive the bits of corpses. 2 windows with a mechanism controlled door in between, in front of each necromancer group can be used to control vision; but the system can only be stopped by unlinking the minecart dump to the refuse pile in your routes. Note: when I built this I had 3 hatches with 6 necromancers overlooking each (I had plenty of them since I embarked close to 4 towers). Revived corpses drop to their death and explode onto a tile with unright spikes linked (note that some of them will survive, so you need the spikes with a repeater or lever). The corpses that explode from the impact of height (or from other body parts/undead crashing into them) will hopefully yield bones. You make choose to re-haul up the body parts for another round, but only body parts still attached to a grasping part or the head will be revived, and this system isn't very efficient in the first place, so it may not be worth the trouble. Note that whole corpses usually yield 5-8 bones upon death (avg 6), arms only yield 1-4 (avg 2). You may also use this system with or without necromancers and pit live [[goblin]]s into it, they usually yield 6 bones and some body parts.&lt;br /&gt;
&lt;br /&gt;
2. The second way is much more efficient than the first, but requires 1 or more [[artifact]] [[mechanisms]] to make it work. Instead of using height to kill the corpses, a weapon trap with an artifact mechanism and 10 serrated blades of any material can be used instead (since artifact mechanisms never jam). Only 1 necromancer is needed for this method, and is positioned 3 tiles away from the weapon trap, overlooking it behind 2 glass windows with a mechanism [[door]] in between to control its vision. Your 1x1 pit should still be 5 tiles deep at least though, to prevent dwarves being spooked by the revived corpses. When you're ready, link up the route to the minecart and watch body parts revive and slowly get mowed down. It's recommended you have more than 1 of these small pits set up so you can grind more corpses and clear out 1 pit at a time while the others keep grinding.&lt;br /&gt;
&lt;br /&gt;
Note: To clear out pits, turn off all refuse stockpiles that accept anything other than bones and skulls by turning on &amp;quot;accept from links only&amp;quot; so your dwarves only haul out the bones and not the trash.&lt;br /&gt;
&lt;br /&gt;
Note: Try to use raising bridges as the door for each pit, kobold body parts tend to get mixed into the grinders which can lock-pick its way out of doors and result in doors with &amp;quot;door taken by intruder&amp;quot; and a couple hundred zombie body parts overrunning your fortress from the inside (a.k.a fun).&lt;br /&gt;
&lt;br /&gt;
Note: I didn't try this with many building destroyers, but I'm pretty sure the glass windows are safe. Fortifications are not usable since corpses and body parts tend to get tangled up in them and are hard to get out, and spook dwarves trying to clean out the pits.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use water to clean out the contents of the pits and wash them onto a 1x1 refuse stockpile.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Hard&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High, and becomes higher the more corpses you have; especially useful for getting something more out of necromancer sieges than just useless corpses. Can also be used to recycle dead stray animals and your own dwarves that your dwarves refuse to butcher (don't forget slabs).&lt;br /&gt;
&lt;br /&gt;
NOTE: necromancer siege's corpses now drop clothes and gear.&lt;br /&gt;
&lt;br /&gt;
==Crocodile farm==&lt;br /&gt;
They're a thing in real life, and you can make them a thing in-game too! Use cage traps to capture multiple breeding pairs of [[alligator]]s, [[cave crocodile]]s or [[saltwater crocodile]]s, [[Animal trainer|train]] them, then create an area to store them with [[nest box]]es. Breed them so you have more crocodilians to keep laying eggs, rinse and repeat.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium, somewhat dependent on RNG - you need to find someplace with available crocs, you want said crocs to actually spawn and you want said crocs to actually get caught in the traps. &amp;lt;s&amp;gt;May&amp;lt;/s&amp;gt; Will also lead to an explosive and FPS-shattering [[Catsplosion#Crocsplosion|crocsplosion]] sooner or later.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Very high, you'll never have to worry about food again simply from cooking the eggs, and that's not counting butchering the crocs when they're adults.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Have alligators, cave crocs and saltwater crocs '''all''' present in the farm.&lt;br /&gt;
*SwampBonus: Have your croc farm submerged in anywhere between 1/7 to 3/7 [[water]]. You gotta keep your crocs healthy and wet! But make sure not to submerge the nest boxes!&lt;br /&gt;
*SavageBonus: Have [[giant alligator]]s or/and [[giant saltwater crocodile]]s as part of your farm.&lt;br /&gt;
**Archcrystal bonus: Replace the crocs with [[Hydras]]. Keep them in a usually unseen location, as any Urist McFoolhardy walking by will try to attack them on sight.&lt;br /&gt;
*TrainerBonus: Have your dwarves become Expert alligator/cave croc/saltwater croc trainers. &lt;br /&gt;
**SteveIrwinBonus: Have your dwarves become Expert trainers of all croc species.&lt;br /&gt;
*HungryHungryCrocBonus: Build your farm in such a way that [[siege]]s have to go through it to reach your fortress.&lt;br /&gt;
*UltraCrocBonus: Have [[Alligator man|alligator men]] or/and [[Saltwater crocodile man|saltwater crocodile men]] inhabiting your fortress and helping train the croc farm.&lt;br /&gt;
**UltraArmokCrocBonus: Have an entire fortress of croc men handling a croc farm. You're dwarves in spirit.&lt;br /&gt;
&lt;br /&gt;
==Dam==&lt;br /&gt;
{{main|Dam}}&lt;br /&gt;
Build a wall across a riverbed to stop the flow of water. Floodgates optional. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' On a map that freezes in the winter, or an aquifer located below the river, this is easy. Otherwise, very difficult. (See [[dam]], or Moses effect, below.  But with the bonuses it gets a bit harder.)&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Depends on how many bonuses you fulfill. The power station is obvious, and with the control room you could build up a nice defense system.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Excavate a reservoir and a lower river valley. &amp;lt;br /&amp;gt;&lt;br /&gt;
*Bonus: Build a control center to control the water flow. &amp;lt;br /&amp;gt;&lt;br /&gt;
*Bonus: Draw your entire energy from a power station within. &amp;lt;br /&amp;gt;&lt;br /&gt;
*MegaDwarfBonus: Use screw pumps and another dam to replace the water with magma.&lt;br /&gt;
&lt;br /&gt;
==Danger room==&lt;br /&gt;
{{main|Danger room}}&lt;br /&gt;
A room full of upright spear traps linked to a lever or pressure plate.  Teach your dwarves to dodge the pointy sticks!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Low to Medium, depending on how you activate the traps.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': Low.  While this used to be a very effective training method, it's quite deadly now, even for militiadwarves. They also wear down your dwarves' armor and shields quickly, making them harmful for your long-term survival, even if your militiadwarves manage to survive the room itself. &lt;br /&gt;
&lt;br /&gt;
'''Downside''': Civilians and pets that wander into the danger room will inevitably get killed, even if you use low quality training spears.&lt;br /&gt;
&lt;br /&gt;
*MegaDwarfBonus: Menacing spikes greatly increase the danger, and may help train your medical team (and/or your coffin construction crew).&lt;br /&gt;
*UltraDwarfBonus: Use [[adamantine]] spikes! On the plus side, you have a thriving coffin industry going now.&lt;br /&gt;
&lt;br /&gt;
==Day care==&lt;br /&gt;
A room where you put all your dwarf children so they cannot be kidnapped by snatchers, or get into accidents. Make a room with beds and tables and stuff, turn it into a burrow, then add all your children to it. Remember to include a food chute to [[quantum stockpile]] a huge amount of food and alcohol on a 1x1 stockpile (so it doesn't rot) in the room. High quality food, furniture, toys, clothing, and socializing should keep them happy. Note that the children will no longer be able to perform certain useful tasks like hauling, crop harvesting and deconstruction, and will not level up their skill in miscellaneous professions like an otherwise vulnerable child, but this is a small trade-off if they usually get kidnapped before maturing anyway. This is probably obvious, but make sure this room is guarded, otherwise it will turn into a Dwarf Orphanage (Dorfanage) (with Goblins and Minotaurs welcome!)&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. With the invention of burrows, you can designate the Day Care to contain all children, so it is unnecessary to use suicide-booth-micromanagement to contain the children.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Varies, depending on the bonuses built. With v50, children are a lot easier to mentally scar for life, making them prone to fell moods and tantrums, so having a safe form of daycare allows them to grow up into adults whose stress levels are usually easier to manage&lt;br /&gt;
&lt;br /&gt;
*SchoolBonus: Make the daycare a guild hall, and add a highly skilled dwarf and another adult to the burrow. The two will give demonstrations that the kids will occasionally watch, gaining experience in a profession of your choice&lt;br /&gt;
*OlympicBonus: Build a swimming pool of 4/7 between critical parts of the daycare, so the kids have to go through the water for their everyday tasks, gaining swimming skill and associated stats.&lt;br /&gt;
*ChildSoldierBonus: Make the daycare a barracks, and have your crack squad of dwarves spar and demonstrate there to train up the military skills of your dwarven children&lt;br /&gt;
*HighSchoolBonus: All of the above, and make [[nobles]] and unskilled migrants stay there to learn.&lt;br /&gt;
&lt;br /&gt;
==Doberman bomb==&lt;br /&gt;
Whenever a dog or cat gives birth, stuff all the kittens and puppies in one cage in your entryway.  Link this cage to a pressure plate beside it.  Should your last lines of defense be breached, goblins will step on it and in the next instant be torn apart by dozens of goblin-seeking hostiles and distracted by dozens of surplus targets.  The trap actually going off will probably be very bad for your frame rate.  &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low to high, depending on the animal you use&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium to very high, potentially fortress-saving&lt;br /&gt;
&lt;br /&gt;
*Bonus: Train the dogs inside as war dogs&lt;br /&gt;
**DwarfBonus: Use [[giant badger]]s, [[tiger]]s, [[alligator]]s, bears, or anything big and aggressive when tamed&lt;br /&gt;
***MegaDwarfBonus: Use [[giant cave spider]]s, [[cave dragon]]s, [[blind cave ogre]]s, [[jabberer]]s or something really dangerous and rare. &lt;br /&gt;
****UltraMagmaArmokBonus: Use one (or more!) of the following list: [[dragon]]s, [[bronze colossus]]es, [[forgotten beast]]s (bonus points for flesh-melting secretions), an [[undead]] [[giant sponge]], or [[Hidden Fun Stuff|Clowns of Hidden Funland]].&lt;br /&gt;
&lt;br /&gt;
==Drophole==&lt;br /&gt;
Imagine an execution tower, for rocks and pants.  It's nothing but a very deep 1x1 up-down staircase for express service to the depths.  Designate a garbage dump beside the top and dwarves will pitch anything marked for [[Dumping]] into it.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Harder than it sounds, there's always snags along the way.  Surprise caverns can cost you miners and tools.  Hitting water can be vexing.  Dumping and reclaiming things can be a chore.  It may serve as an unintended highway for Fun of any liquid or airborne variety&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' It's '''far''' easier to drop ore 100 z-levels to the magma sea than carry it.  You can use this to transfer items between burrows.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Minecarts can make this semi-automatic, fed from a stockpile.&lt;br /&gt;
&lt;br /&gt;
==Drowning chamber==&lt;br /&gt;
{{main|Drowning chamber}}&lt;br /&gt;
'''Difficulty:''' Moderate. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' You can kill prisoners, useless peasants, irate nobles, hammerers, untamable animals, or anything else.  Just be ready for something that knows how to swim. Also useful for catching fishies. &lt;br /&gt;
&lt;br /&gt;
*Bonus: Utilize lava.&lt;br /&gt;
*Bonus: Utilize trained fish.&lt;br /&gt;
*MegaDwarfBonus: Edit the raws and do both.&lt;br /&gt;
&lt;br /&gt;
==Dwarfputer complex==&lt;br /&gt;
{{main|Computing}}&lt;br /&gt;
A big mess of [[fluid logic|fluid]], [[machine logic|machine]], and/or [[creature logic|creature]] logic full of hatches, floodgates, gears, pumps, etc. and powered by waterwheels, windmills, or useless idle dwarves.  Hook it up to doors, bridges, and traps.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium to high, depending on what you want to build.  You'll want to build for very high water flow if you have more than a few fluid gates.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Your mechanics will level up very fast.  Manual pumps give something for your haulers to do.  Try and make a clock to trigger different mechanisms in different seasons.  See if enemies actually blunder into your intricate traps.  Watch all hell break loose as water freezes and building destroyers (''bugs, perhaps?'') enter your computer.&lt;br /&gt;
*Bonus: Use lava.&lt;br /&gt;
**Doombonus: Use lava ''and'' build it so that building destroyers that enter the complex get killed by the mechanisms they destroy.&lt;br /&gt;
***SelfRepairingbonus: Use both lava and water and implement the building destroyer killing system, but modify it so it's self-repairing, filling up broken spaces with obsidian.&lt;br /&gt;
&lt;br /&gt;
==Dwarven apartment complex==&lt;br /&gt;
Essentially, one of the many possible [[megaprojects]] dedicated to providing dwarves with rooms so high above the ground they get vertigo. Every floor must have plenty of rooms of at least 2x3 squares, with walls and a door surrounding this. Oh, and it has to go up as many Z-levels as possible. For extra credit, decide on what the top story will be (i.e. as many levels up as you deem possible, minus one so you can build a roof) and turn this into a Royal bedroom for a [[noble]], complete with gem windows, artifact/masterwork components, and untold numbers of armour stands and weapon racks. And then build some shorter but wider apartment buildings nearby to turn your fortress into essentially a giant fist with extended middle finger. Extra points for adding extra useless things for luxury, such as a magma-based heating system, fireplaces in rooms, and a lock-down lever in case of goblin attack. (or a self-destruct lever connected to the main supports, in case your dwarfish tenants are unsatisfied with your ☼5-star service☼).&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low, although the walls around the rooms can be a bit fiddly due to the impossibility of building walls on constructed floors (yes, an extra credit challenge is to do this without using Remove Construction).&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Limited, because you could just dig the things underground and save yourself the hassle. However it is much harder to flood a tower than a cave, in case you're prone to [[Losing|fun]] by water. Additionally, if you have the time and resources to train a sizable force of marksdwarves, placing a few &amp;quot;security rooms&amp;quot; (with barracks, ammunition store, ration cache, armory, etc.) at appropriate floors, complete with fortified balconies, will allow you to take advantage of the higher vantage point.&lt;br /&gt;
&lt;br /&gt;
*MegaDwarfBonus: Extend the tower to have levels below ground as well as above.&lt;br /&gt;
*MegaOrwellBonus: Make the whole construction out of clear glass. (privacy? Whatever for?)&lt;br /&gt;
&lt;br /&gt;
==Dwarven courtyards== &lt;br /&gt;
Dig large shafts [first dig the staircase to the desired depth, digging out the size you want the shaft to be on all layers. Channel the outer later, then install supports on the base floor. Link the support to a trigger, clear everyone out, destroy the remaining staircase and pull the trigger] then cover them in glass, creating an indoor but light area that will keep dwarves from being irritated and nauseated by the sun, also improving general happiness and allowing close proximity to caverns and magma.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium, make sure not to mess up or you will lose your miners&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. creates vertical circulation and brings light to lower levels.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Punch a large shaft through a multi-level aquifer (hint: punch through the aquifer from below).&lt;br /&gt;
*MegaDwarfBonus: Create a network of self-sufficient communities per shaft, allowing them to be sectioned off in case of disaster. (I plan on colonizing HFS eventually on this paradigm, creating a mining team of soldiers to extract, manufacture and ultimately use adamantine products without being connected to the main colony in order to take on the [[Demon|clowns]] while keeping the rest of the burrow safe.)&lt;br /&gt;
&lt;br /&gt;
==Dwarven disco ball==&lt;br /&gt;
Why waste all those cut gems on things that only some selfish noble will enjoy? Create as large a wall-less sphere as you can, then cover it in Gem Windows of 3 different-colored gems to make it shine! The bigger, and more valuable gems involved (e.g., [[ruby|rubies]], [[sapphire]]s, and [[emerald]]s, or colored diamonds if you're really masochistic), the dwarfier.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Constructing a sphere is very hard, especially the larger you make one. Gathering enough differently colored gems can also be very hard, depending on stone layers. Trading helps a lot. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Negative. More value can be created by encrusting furniture, and Gem Windows lack quality.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Alternating [[alunite]] and [[obsidian]] tiles to make a 'dance floor'.&lt;br /&gt;
*MegaDwarfBonus: Use lava contained in glass for illumination.&lt;br /&gt;
*UltraDwarfBonus: Caged &amp;quot;[[Elf|dancers]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Dwarven labor camp (aka Dwalag)==&lt;br /&gt;
Create an aboveground walled fortress in a freezing climate with guard towers, barracks, housing, and armories. Dig a long ramp downward and add a large mining network below the surface. Make some small military squads to guard the camp. Designate the lower levels as workshops, and when migrants arrive, assign them to the mines. Give the workers minimal food and only water (no booze, booze is for the hypocritical decadence of Dwarkuta's leaders). Have them haul the stone and metal they mine back to the surface and ship the raw materials off to the Motherland. Import only food, booze, weapons, fuel, and other necessities.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Build the giant digging machines. They don't actually have to dig anything.&lt;br /&gt;
*Bonus: Go into the raws and rename the beverage of your choice to &amp;quot;Dwarven Vodka&amp;quot;, and drink to the glory of the Motherland!&lt;br /&gt;
*MegaBonus: Escape. Wait for a goblin siege, then get everyone underground and block the entrance. Let the goblins in. Wait a few months. The goblins are now the guards you must kill.&lt;br /&gt;
&lt;br /&gt;
Step 1. Secure the keys: Make improvised weapons. If you have obsidian at your disposal, make rock short swords.&lt;br /&gt;
&lt;br /&gt;
Step 2. Ascend from darkness: Get your dwarves out of the mines and into the camp.&lt;br /&gt;
&lt;br /&gt;
Step 3. Rain fire: Use your imagination. Try using magma, if possible.&lt;br /&gt;
&lt;br /&gt;
Step 4. Unleash the horde: Attack!&lt;br /&gt;
&lt;br /&gt;
Step 5. Skewer the winged beast: If the goblins brought a giant bat or other flying creature, kill it.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use a ballista.&lt;br /&gt;
&lt;br /&gt;
Step 6. Wield a fist of iron: Break open the armory and equip your rebels with armor and weapons.&lt;br /&gt;
&lt;br /&gt;
Step 7. Raise hell: Exactly what it says on the tin.&lt;br /&gt;
&lt;br /&gt;
Step 8. Freedom!&lt;br /&gt;
&lt;br /&gt;
*MegaDwarfBonus: In Adventure mode, try (and probably fail) to lead the prisoners to freedom.&lt;br /&gt;
&lt;br /&gt;
==Dwarven refrigerator==&lt;br /&gt;
Dig down to the 3rd cavern layer and harvest as many [[nether-cap]]s as you can. Make them all into barrels! Nether caps have the unique property of being 10000° Urist, which is 32°F or 0°C. Now your dwarves can enjoy their favorite alcohol, cheese, and plump helmets chilled to perfection! If you've set your population cap very low in the INIT files, caverns aren't extremely dangerous, but you should still be on the lookout for nasties down there. Remember to wall off your entrance to the cavern once you're finished. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low to Medium. Only possible if your 3rd cavern layer actually ''has'' nether-caps growing in it.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low. Booze stored inside will not perish due to heat if say, [[magma]] is dumped on it.&lt;br /&gt;
&lt;br /&gt;
Bonus: Also use nether-cap wood to build the walls, floor, ceiling, and door. &lt;br /&gt;
&lt;br /&gt;
Bonus: While we are at it make all your coffins out of it. 'Cryogenically' freeze those corpses!&lt;br /&gt;
&lt;br /&gt;
==Dwarven machine gun==&lt;br /&gt;
Build a high fire rate, minecart firing machine gun. Must be fully automatic, capable of reloading itself, and should not jam due to minecarts being disrupted by collisions or derailments.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium to high, depending on fire rate, reload downtime, and whether or not minecarts are filled with [[magma]].&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High. A sophisticated minecart trap can keep out even the most persistent invaders.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Automatically reload minecarts with [[magma]].&lt;br /&gt;
*MegaDwarfBonus: Integrate the trap with a dwarfputer so that it can automatically send minecarts to where they are needed most.&lt;br /&gt;
&lt;br /&gt;
==Elephant man armor factory==&lt;br /&gt;
[[Elephant man]] are incredibly strong in combat — both in [[Dwarf fortress mode|Fortress]] and [[Adventurer mode|Adventurer]] modes. However, they can't put on normal-sized [[Armor]] — and therefore, walk around in crappy starting armor at best, naked at worst. We'll put [[Elephant man]] to make [[Armor]] — and another [[Elephant man]] for [[Clothes]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Easy. Depends on amount of [[Elephant man]] spawning in the world.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Your [[Elephant man]] [[Military|super-soldiers]] are now properly armored. Considering their size, strength, and possibly training, they are now borderline-invulnerable. Also, you have enough armor complects for your [[Elephant man]] [[Adventurer mode|Adventurers]].&lt;br /&gt;
&lt;br /&gt;
==Emergency destruct stairs==&lt;br /&gt;
A tall column of stairs plunging all the way down into the underdark, with a one-tile wide area of thin destructible floor all around it.  In case of subterranean invasion, a thrown switch drops a stone O straight down, ringing the staircase and neatly severing all inter-level connections at a blow.  Does with one lever and one support what would take dozens of bridges or hundreds of retracting grates.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Harder than it sounds.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Sometimes...  sometimes they fly.&lt;br /&gt;
&lt;br /&gt;
==Execution tower==&lt;br /&gt;
Just a tall tower to chuck your captives to their deaths. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Easy.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Lets you dispose of prisoners, and claim expensive silk, meltable iron, and (eventually) useful bones. Also highly amusing.&lt;br /&gt;
&lt;br /&gt;
*MegaDwarfBonus: Send prisoners straight to the [[HFS]]. If some mod makes them survive, the [[Clown]]s will have their way with them. May make retrieving items difficult, however.&lt;br /&gt;
&lt;br /&gt;
==Flak==&lt;br /&gt;
If flying enemies circumventing your walls and causing mayhem inside your fortress is a problem, don't use marksdwarves, just make some flak! Simply cover a series of drawbridges in rocks, and when fliers come by pull the lever. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Easy&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low. Contrary to the description, marksdwarves are more accurate, versatile, and just better. However, if you manage to hit something with this, there's a large chance of it getting stunned and crashing to the ground. Remember, what goes up must come down, wear your helmet Urist!&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use minecarts and pressure plates to make it fully automatic.&lt;br /&gt;
*SuperBonus: Make it closer to real world flak by using burning lignite bins.&lt;br /&gt;
*EfficiencyBonus: Use goblins as ammo&lt;br /&gt;
*AlternateBonus: Instead of drawbridges and stone, use jets of water to stun flyers, and then release the dogs. Alternatively, burn them in midair with lava. &lt;br /&gt;
*FunBonus: Use the above method with lava, except use the lava as a propellent to throw the circus at the local crow population. &lt;br /&gt;
*ArmokBonus: Use all of the above to emulate what happens when you drift into American airspace.&lt;br /&gt;
&lt;br /&gt;
==Flamethrower bunker==&lt;br /&gt;
If your fortress happens to be visited by a [[dragon]], capture it in a [[cage trap]], then release it into a sealed bunker with [[fortification]]s around the edge. When invaders arrive, watch them get roasted.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low, but requires a fair bit of luck - a dragon (or fire-breathing forgotten beast) needs to survive worldgen, then it needs to attack your fortress (instead of a giant/minotaur/ettin/cyclops or other megabeast), and finally it needs to make it to your cage trap without being killed by something else.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. [[Dragonfire]] can kill almost anything, but will be blocked by a [[shield]] greater than 99% of the time. Adding a combustible floor (such as a paved [[lignite]] [[road]]) will significantly increase lethality for shield-toting targets. Also, any protective bridges in front of the fortifications may melt under sustained fire, leaving you with a bunker that ''nobody'' can safely approach; ensuring the bridge center tile isn't near the fire, or building the bridges (and mechanisms) from [[divine metal]] (or [[slade]]) will make them immune to the fire. Additionally, a skilled enemy archer can easily kill your dragon with a lucky shot, if line-of-sight access is available.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Capture a fire-breathing [[titan]] or [[forgotten beast]] and use it.&lt;br /&gt;
*MegaDwarfBonus: Release the denizens of the hidden fun stuff and use them.&lt;br /&gt;
&lt;br /&gt;
==Flood the world==&lt;br /&gt;
'''Difficulty:''' High danger. Will kill your frame rate unless you sink the world below water level (river or ocean).&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Will prevent any sieges, at least. Or anything else, save for the occasional invasion of sociopathic [[giant sponge]].&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use magma, just like [[Main:Boatmurdered|Boatmurdered]].&lt;br /&gt;
*MegaDwarfBonus: Use trained fish to kill off all creatures not of your colony.&lt;br /&gt;
*MegaArmokBonus: Mod the game and do both.&lt;br /&gt;
&lt;br /&gt;
==Gladiator arena==&lt;br /&gt;
{{main|Live training}}&lt;br /&gt;
Station some soldiers at the bottom of a shallow [[Activity_zone#Pit/Pond|pit]] and dump your captives in. You can also use dangerous animals instead of soldiers. For extra points, put the prisoners in cages connected to ramps underneath the arena floor. One lever will open both the cage and a hatch above the ramp. Variant: build prisoner cages inside the arena, link to a lever outside the arena, lock the soldiers in, and then open the cages. Keep in mind that you can't actually make your dwarves &amp;quot;watch&amp;quot; the battles like an actual gladiator arena, as civilians will flee in fear at the sight of non-restrained hostile creatures, even if they're in a pit and not actively attacking them.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low, but time consuming. Some danger depending on the relative skill of your soldiers and the danger of the captive. (If the prisoners have weapons, you can remove them by using {{k|d}}-{{k|b}}-{{k|d}} to dump the cage and its contents, then looking at and undumping the cages themselves with {{k|k}}-{{k|d}}).&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low to High, depending on how long your soldiers can draw out the execution. Equipping your soldiers with wooden training weapons can greatly increase the fun (and/or [[Fun]] if their armor isn't as good as you thought).&lt;br /&gt;
&lt;br /&gt;
*Bonus: Losers get incinerated by Magma. &lt;br /&gt;
*DwarfBonus: Winners also get incinerated by Magma.&lt;br /&gt;
*MegaDwarfBonus: Use your arena as a &amp;quot;trial by fire&amp;quot; for migrants.&lt;br /&gt;
&lt;br /&gt;
==Grazer reanimation facility==&lt;br /&gt;
Just as stables, but without grass, and on a reanimating biome. Pasture every grazer in a separate box, and build [[cage trap]]s to recapture the animal after it joins [[undead|the Dark Side]]. Make sure to forbid the area after you finish setting things up, because you don't want your dwarves getting &amp;lt;s&amp;gt;killed&amp;lt;/s&amp;gt; caught instead.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. You always get some grazing animals to start with.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' You get a decent supply of zombies to use in your [[trap design|cunning traps]]. Depending on your style of play, this may prove to be worth the effort.&lt;br /&gt;
&lt;br /&gt;
* DwarfBonus: Use war [[elephant]]s, or any other giant {{catlink|Grazer|grazing animal}} you &amp;lt;s&amp;gt;bought&amp;lt;/s&amp;gt; seized from elves.&lt;br /&gt;
** MegaDwarfBonus: Use [[giant elephant]]s.&lt;br /&gt;
*** BoatMurderedBonus: Release them all simultaneously to challenge your militia/play out a [[fun|!fun!]] scenario for your fort. &lt;br /&gt;
* MenagerieBonus: Create a zoo using only undead grazers.&lt;br /&gt;
** DwarvenMenagerieBonus: Combine this with the [[#Zombie_thunderdome|Zombie Thunderdome]] and have a rotation of undead cows fighting in the arena only to be re-caged when they try to leave.&lt;br /&gt;
*** ChampionBonus: Give each grazer rooming in the zoo according to their kills, with the champion having the most luxurious room.&lt;br /&gt;
**** AltarBonus: Turn the champion's room into an [[#Altar_of_Armok|Altar of Armok]].&lt;br /&gt;
**** FreedomBonus: Let the champion and higher-ranking zombies roam freely in their rooms, having to be re-captured for each battle.&lt;br /&gt;
***** !FreedomBonus!: Release the champion into your fort. &lt;br /&gt;
* HolyGrailBonus: Use white [[bunny|bunnies]].&lt;br /&gt;
&lt;br /&gt;
==Greenhouse==&lt;br /&gt;
A [[farming|greenhouse]] is just a farm with the ceiling channeled out from above. This lets you grow outdoor plants without venturing above ground. For maximum style, build the greenhouse above ground and cover it with a glass roof to keep your farmers safe.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. Surface plants can be grown at any time of the year, and some are more useful than those available underground - for example, [[sun berry|sun berries]] can be brewed into valuable [[Sunshine]], and [[whip vine]]s can be milled into superior quality flour. Having greater food and booze diversity can also keep your dwarves happier.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Give it a glass floor to allow surface plants even lower down.&lt;br /&gt;
**DwarfBonus: Utilize [[obsidian|volcanic glass]].&lt;br /&gt;
&lt;br /&gt;
==Hammer of [[main:armok|Armok]]==&lt;br /&gt;
A gigantic hammer made out of pure steel and/or valuables looming over your fortress entrance ready to smite those foolish enough to lay a siege on you. Also gives you a psychological advantage over the traders who unload their goods under it. Attach to a lever-linked support for quick-smiting.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. Depends on size and materials, though. Make it a gold hammer menacing with adamantine spikes, if you're going for high quality.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low-medium. 10x10 size is minimum for practical effectiveness. 30x30 attached to a handle extending from your entrance actually works against sieges.&lt;br /&gt;
&lt;br /&gt;
* Bonus: Cover it with blood.&lt;br /&gt;
* MegaDwarfBonus: Make it hollow and fill it with Magma&lt;br /&gt;
* ArmoksMachineHammerBonus: Set up an automated system that allows you to reset it quickly. Obsidianizers and the magma sea will be your friends here.&lt;br /&gt;
&lt;br /&gt;
==Human Fortress==&lt;br /&gt;
Instead of digging a fortress, build above-ground houses. Create walls to keep the nasties out. The only thing you may have underground are mines and stockpiles. Create a huge stone fort for your nobles.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High. Building stuff will cost you resources instead of gaining them and flyers can be a real pain. Keep several Marksdwarfs handy!&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' N/A. (No cave adaptation)&lt;br /&gt;
&lt;br /&gt;
*Bonus: Pave the roads between houses.&lt;br /&gt;
*HumanBonus: Dig a moat around your castle.&lt;br /&gt;
*MegaHumanBonus: Fill the moat with lava.&lt;br /&gt;
*MegaHumanBonusPlus: Designate multiple dumping spots into the lava moat.&lt;br /&gt;
*SurfaceDwellerBonus: Get the stone for your constructions entirely from open-pit quarries, i.e. by c[h]annelling instead of [d]igging.&lt;br /&gt;
*MegaSurfaceDwellerBonus: Never use picks at all, all stone and metal must come from caravans or embark.&lt;br /&gt;
*WhereTheBeardedLadiesAtBonus: Enforce as many &amp;lt;s&amp;gt;pointless&amp;lt;/s&amp;gt; quaint human quirks as feasible, for instance: nominating officials per wealth/popularity/relationships instead of merit and suitedness, coddling Nobles, burrowing farmers, miners, brewers, craftsdwarves and other backbones of society into the most tattered ridings, enforcing a specific religion upon the populace, and so forth.&lt;br /&gt;
&lt;br /&gt;
==Ice tower==&lt;br /&gt;
&lt;br /&gt;
Building a huge tower is easy. To make things more [[fun]], make one out of some exotic material, like [[glass]], [[ice]], or [[gold]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. You need to be on a freezing map to pull off an ice tower. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Depends entirely on you.&lt;br /&gt;
&lt;br /&gt;
* BabelBonus: Use [[DFHack]]'s &amp;lt;code&amp;gt;infiniteSky&amp;lt;/code&amp;gt; and build to the heavens themselves.&lt;br /&gt;
&lt;br /&gt;
==Journey to the Center of the Earth==&lt;br /&gt;
&lt;br /&gt;
Construct a sturdy vessel hanging over the top of a magma pipe or volcano, outfitted with everything your intrepid crew might need for their journey of exploration - food, booze, sleeping quarters and a bridge are a must, but depending on the amount of effort it can include other items such as a recreation deck, water reservoir and trade depot for dealing with the natives. When all is ready, lock the explorers inside and send them on their way. Bonus points if you can detach it from inside so you can use it in Adventure mode later.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate to High, depending on the size of the ship. For bonus points, carve the entire thing out of existing rock overhanging a magma pipe and engrave it with messages. Burrows help to get the whole crew inside at the same time.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' [[Cave-in|Negative]]. For some reason, no explorers have returned. Of course, if you select only the [[Nobles|Best and Brightest]] for the ship's crew...&lt;br /&gt;
&lt;br /&gt;
*Bonus: Drop the vessel into a deep cavern&lt;br /&gt;
*SuperBonus: Make the outer walls, roof and ground floor completely out of glass, so that the explorers can watch everything around them.&lt;br /&gt;
*VampireBonus: Send a vampire with the crew!&lt;br /&gt;
*MegaDwarfBonus: Drop the vessel into a halfway-empty adamantine vein&lt;br /&gt;
*YouHorribleEvilDwarfBonus: Drop the vessel into the [[Hidden Fun Stuff]]!&lt;br /&gt;
*YouHorribleInsaneDwarfBonus: Drop the vessel into a glowing chasm.&lt;br /&gt;
*OhMyArmokBonus: When you arrive to the bottom of the magma sea, excavate and then create a new community under it!&lt;br /&gt;
**OhMyF****ingArmokBonus: Send supplies every year!&lt;br /&gt;
**IsThatEvenPossibleBonus: Send a piece of an aquifer down there to provide water! (Mine around a water-producing tile, build the ship around it, then send it!) &lt;br /&gt;
**≡MegaDwarfBonus≡: create a high enough tower and drop it into the magma sea to connect the surface and the undersea community!&lt;br /&gt;
***☼MegaDwarfBonus☼: create ''two'' towers and use one to send water down there!&lt;br /&gt;
&lt;br /&gt;
==Single-lever emergency lockdown (LEL)==&lt;br /&gt;
&lt;br /&gt;
The only real requirement is that you need a fort based around a central stairwell. All you need to do is leave space for and eventually build the same number of bridges (that raise!) as your stairway is tall on each side of your stairwell on every level, and then link them all to the same lever. Friends get through all your best traps and champions? Simply pull the lever, and they're trapped in the central stairwell forever! Remember to roof off the entrance if your fort is situated on flat land otherwise the bonuses become much less useful. Also important is to ensure that you either wall off access or include sealable bridges or doors (linked to the same lever of course) for any inter-level paths that bypass the main stairwell, like vertical axles running out of centralised power generators.&lt;br /&gt;
&lt;br /&gt;
3*3 stairwell setup:&lt;br /&gt;
&lt;br /&gt;
{{diagram|1=&lt;br /&gt;
O[#6ff]╞[#6ff]═[#6ff]╡O&lt;br /&gt;
[#6ff]╥XXX[#6ff]╥&lt;br /&gt;
[#6ff]║XXX[#6ff]║&lt;br /&gt;
[#6ff]╨XXX[#6ff]╨&lt;br /&gt;
O[#6ff]╞[#6ff]═[#6ff]╡O&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium to High, depending on whether you use the MegaDwarfBonus below or not and how much you spread your fortress over the layers - although more spread means more usefulness. Extremely time-consuming, and requires architects, masons, and mechanics, as well as a lot of mechanisms (2 per bridge, ~4 bridges per level)&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium to High, also depending on whether you use the Bonuses. With all bonuses applied it becomes a guaranteed last resort way of destroying the toughest enemies with minimal dwarven casualties; without the bonuses it's still a damn sight better than letting temporarily victorious enemies run freely about your fortress.&lt;br /&gt;
&lt;br /&gt;
*DwarfBonus: Connect your cistern to the stairwell (remember to put a floodgate in too). Once the impossible-to-defeat enemies are safely trapped inside, Pull lever number 2 and watch them slowly, slowly, drown (VERY IMPORTANT: have the level of the cistern input at at least the same height as the level of the stairwell, else there won't be enough pressure to properly flood the stairwell, meaning nasties WILL survive).&lt;br /&gt;
*MegaDwarfBonus: Connect your MAGMA cistern to the stairwell. Laugh maniacally. (Remember to build your bridges and floodgates out of magma-safe material or a lot of !!FUN!! will be had)&lt;br /&gt;
*MegaArmokEntombmentBonus: Do both and cast your enemies in obsidian and boil the survivors in steam as a semi-permanent testament to their foolhardiness. This also means that you will have stairs cut out of lovely obsidian once your miners are finished making your stairwell usable again.&lt;br /&gt;
*MegaArmokEntombmentEXTREME+Bonus: &amp;quot;Forget&amp;quot; to pull the lockdown lever before you pull lever number 2.&lt;br /&gt;
*MegaArmokEntombment&amp;lt;s&amp;gt;'''Bait&amp;amp;Switch'''&amp;lt;/s&amp;gt;Diplomatic+Bonus: Set the highest level up on another switch, with a particularly &amp;lt;s&amp;gt;'''demanding and annoying noble'''&amp;lt;/s&amp;gt; skilled diplomatic representative is waiting at the very bottom to &amp;lt;s&amp;gt;'''lure'''&amp;lt;/s&amp;gt; invite them all down for a nice meal on &amp;lt;s&amp;gt;'''his flesh'''&amp;lt;/s&amp;gt; the stockpile of food and booze that's keep him ever so happy. Then you can wait for the entire army to flow into the stairwell before flipping the switches. Don't forget to carve a statue out of the block of the noble! What noble doesn't want their grand &amp;lt;s&amp;gt;'''sacrificial defense'''&amp;lt;/s&amp;gt; diplomatic skills to be immortalized in volcanic glass?&lt;br /&gt;
**UltraArmokBonus: Defeat all your invasions this way, and build a temple to Armok full of the once noble, now obsidian statues, as well as only the highest of quality (and value) memorial slabs.&lt;br /&gt;
&lt;br /&gt;
==Magma Lock System==&lt;br /&gt;
This system is a little more complicated than the LEL system described above, and requires that you space out all of your floors so that there's a 'plumbing floor' between each level. From there you set up tons and tons of magma proof floodgates and hatches. Each 'area' you wish to be self-contained from one another needs at least a 3x2 hallway separating it from the other areas. 4 of these will contain flood gates, and the other two must remain bare. Above one of the two bare points you need to have a hollowed out space, and connecting into it from one side you need to have a hatch leading to your water plumbing system, to the other, a hatch to your lava plumbing system. You need two levers for controlling this, one lever is connected to all of the lower floodgates, the other to the upper floodgates. Pull the first hatch to lock in the flood gates just in case, the second to the upper flood gates to begin pouring in water and magma and have them make obsidian filling the entire hallway, sterilizing it of literally anything that could have contaminated it. You do this instead of hatches so they'll drop in properly and mix with no risk of only one side or the other of the hallway turning to obsidian and resulting in a dangerous leak. Throw the first switch again to open up the floodgates and begin mining to access the old chambers again. Whatever was invading your fortress, whether plague, necromancer, clowns, or forgotten beast, will be safely locked away, and unable to break back out whether or not it possesses building destroyer or not. Then you just have to wait for your miners to dig their way out. You can simply avoid the chambers that still have FUN inside, and any the purity of magma and obsidian will have utterly obliterated any traces of contaminants between containment zones.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Medium to High. While not dealing with anything overtly hostile, this process more or less demands that you plan your fortress from the start for this specific system and deal with lots and lots of moving parts, mechanisms, and similar, plus the power necessary to pump magma and water into this network in a timely manner.. If you screw up part of it then it's very easy to end up with your entire fortress flooded with water or magma. Build it on small and give it a test run then expand it once you've gotten the process working for a single chamber, such as the chamber leading to your cavern layer.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': High. Depending on how you prepare things (See the bonuses below) the necessary set up for all of this will result in a network of magma and water pipes in every single level of your fortress, powering forges, wells, baths, showers, and defenses of all sorts. Then when things are at their worst, throw a switch and barring one or two (or many depending on how many dwarves are transitioning between containment areas) horribly swift deaths, your entire fortress is safe from any possible threats. You can also prepare chambers ahead of time for other activities and use this to trap enemies in them for later usage.&lt;br /&gt;
&lt;br /&gt;
*DwarfBonus: Put a stockpile of food, drink, and pickaxes in each containment area.&lt;br /&gt;
*MegaDwarfBonus: Put a lever in every zone connected just to their own, so your dwarves can heroically seal off an entire section by themselves if necessary.&lt;br /&gt;
*UltraDwarfBonus: Extend the hallways, and make the water half of them use grates and constant water falls to give good thoughts while traversing between zones. Change up your levers to shut off the water for when digging begins again.&lt;br /&gt;
&lt;br /&gt;
==Maze==&lt;br /&gt;
&lt;br /&gt;
A maze of twisty little passages, all alike. [[Trap]]s and dangerous animals are essential. You can have a retracting bridge drop invaders in, or just have a labyrinth as a back door. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' It's a lot of mining. Having a bridge drop invaders inside is more difficult, but more useful. You can also use the free maze-generating program Daedalus, available [http://www.astrolog.org/labyrnth/daedalus.htm here] if you're too lazy to come up with your own.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' It makes a nice element of fortress defense, and you can dump your prisoners inside it. Also makes a great place to explore in [[adventure mode]].&lt;br /&gt;
&lt;br /&gt;
*Bonus: Generate a world with large mountain [[cave]]s. Instead of using the labyrinth as your backdoor, use it as your fortress.&lt;br /&gt;
*Filodorima: Release a live caged [[minotaur]] into the maze.&lt;br /&gt;
*MegaBonus: Make it three-dimensional and [http://gwydir.demon.co.uk/jo/maze/design/index.htm#uni unicursal].&lt;br /&gt;
*MemorialBonus: Capture the Goblin King and make him fight the Minotaur.&lt;br /&gt;
&lt;br /&gt;
==Magma chamber==&lt;br /&gt;
'''Difficulty:''' Dangerous as any magma project. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' It's like a drowning chamber, but any non-iron items carried by the victim will be destroyed. Depending on your style of play, this may be a good thing.&lt;br /&gt;
&lt;br /&gt;
==Magma cannon==&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=33837 It can be done!] It uses a row of pumps to pressurize the magma in a chamber with only one exit. When the floodgate opens, the magma flies out a short distance. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Very high. You need [[metal]] (or [[glass]]) [[screw pump]]s to make it work, [[magma-safe]] floodgates and mechanisms, plus a big above-ground construction. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Marginal. But very cool.&lt;br /&gt;
&lt;br /&gt;
==Magma access early==&lt;br /&gt;
ASAP from embark, dig down to the magma.&amp;lt;br&amp;gt;&lt;br /&gt;
Make 2 magma proof pumps,&amp;lt;br&amp;gt;&lt;br /&gt;
make a small (5x5?) room that you can pump magma into and out of and&amp;lt;br&amp;gt;&lt;br /&gt;
make a stockpile for only iron &amp;amp; steel minecarts in the room.&amp;lt;br&amp;gt;&lt;br /&gt;
Be sure to make enough minecarts to fill the room.&amp;lt;br&amp;gt;&lt;br /&gt;
Once the room is full of minecarts, seal room and pump it full of magma.&amp;lt;br&amp;gt;&lt;br /&gt;
Then pump the magma out.&amp;lt;br&amp;gt;&lt;br /&gt;
Delete the stockpile.&amp;lt;br&amp;gt;&lt;br /&gt;
Make a new stockpile near your forge/smelt/glass/kiln area.&amp;lt;br&amp;gt;&lt;br /&gt;
Haul minecarts by hand (or magma proof wheelbarrow).&amp;lt;br&amp;gt;&lt;br /&gt;
Use tracks and stops to dump 4 deep magma into shallow pits.&amp;lt;br&amp;gt;&lt;br /&gt;
2 minecart loads per pit. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low.  &amp;lt;br&amp;gt;&lt;br /&gt;
'''Usefulness:''' Very High.  &amp;lt;br&amp;gt;&lt;br /&gt;
*Bonus: !!Magma Economy By Autumn!!&lt;br /&gt;
*ObsidianBonus: Instead of pumping the magma out, drain water from a nearby lake or aquifer cistern onto it to turn it into obsidian. Carve out the minecarts, magma safely still inside, and enjoy the extra obsidian you have. Watch out not to flood the fortress!&lt;br /&gt;
&lt;br /&gt;
==Magma highway==&lt;br /&gt;
Magma moves across the map annoyingly slowly, due to its thickness and lack of pressure.  But a tunnel several Z-levels high, with magma entering at the top, will flow much faster because the magma's '''falling''' in, not flowing in, and can expand on either Z-level before falling down.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:'''  Medium.  Not hard to make, but cutting open a multi-Z magmafall is [[fun]].&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:'''  Medium.&lt;br /&gt;
&lt;br /&gt;
==Magma mausoleum==&lt;br /&gt;
This trick involves dripping water on to the middle of a magma pool until you have a column of obsidian, then channeling down into the obsidian ''more than'' one Z level, and putting a burial receptacle there.  This probably won't work in magma tubes or Volcanos since the created obsidian would fall into the bottomless pit.  The trick is getting the water to fall onto the magma in a controlled manner.  &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High.  Requires certain resources from the start, plus lots of setup.  And your dwarves tend to erupt into dwarf steam occasionally.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' None, since an obsidian lined room with exactly the same furniture somewhere else will please your nobles just as much.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Put the coffin at least 20 floors down.&lt;br /&gt;
*MegaBonus: Build it in a volcano if possible, and put the coffin at the very bottom of the map&lt;br /&gt;
&lt;br /&gt;
==Magma sea colony==&lt;br /&gt;
&lt;br /&gt;
If you cast obsidian around the edges of the magma sea, it is possible to pump out the magma and build a colony in the empty space. Once the colony is built, you can destroy the obsidian walls and refill the magma sea. Note: you cannot cast obsidian on the bottom layer of the magma sea, so building a colony on this layer is nearly, but not quite, impossible (see below).&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High. You need to get water down to each edge of the magma sea, and you need a pump stack to get rid of the magma.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' None.&lt;br /&gt;
&lt;br /&gt;
*☼MegaDwarfBonus☼: Build your colony on the floor of the magma sea. This will require draining the sea to the next-to-bottom layer as described above, then dumping enormous amounts of water into the bottom layer to crowd out the magma while simultaneously draining the magma from holes poked in the magma sea floor. Constructions can be built at the border between the water and the magma. See [http://www.bay12forums.com/smf/index.php?topic=128226.0 This forum post] for full, detailed instructions.&lt;br /&gt;
* Bonus: Obsidianize the entire magma sea, leaving a single spot to use as a source for pumps. Then proceed to carve your new fortress subsection out of this bounty.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Insane. The project will take at least ten years of dwarf time and claim many lives.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low. You can finally get the last bit of adamantine when you drain the magma sea, and the magma sea floor has a cool twinkly effect.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;s&amp;gt;Magma&amp;lt;/s&amp;gt; Lava sprinkler==&lt;br /&gt;
Build a twisting &amp;lt;s&amp;gt;magma&amp;lt;/s&amp;gt; lava aqueduct above the entrance to your fortress. Leave a few thin (diagonal) holes in it, so that lava can seep out of it. When invaders arrive, pump magma into the sprinkler. Diagonal holes will limit the rate at which the fluid flows out of them, ensuring a nice steady lava rain rather than a big wave.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High. Similar to magma canon, except with a bit more engineering, but less pumps and smaller reservoir needed (due to less magma being required for the same effect).&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. Like magma cannon it can obliterate a siege, but this time you can have a bit more control over how it happens. Lava rain doesn't depend on ground structure (your entrance doesn't need to be in a valley for it to work well) and leaves less magma to evaporate.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Cover the holes with floodgates or hatches and keep the lavaduct filled with lava rather than filling it only when using it.&lt;br /&gt;
*Bonus+1: Build the lavaduct in such a way that it starts raining on the outermost part of the area first, then goes inwards, to ensure that invaders who start burning can't escape.&lt;br /&gt;
&lt;br /&gt;
==Mass cage recycling system==&lt;br /&gt;
{{main|Mass pitting}}&lt;br /&gt;
Build a [[mass pitting]] system to recycle your cage trap cages quickly.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Very easy. Requires basic digging and very little time.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Very. Keeps you from having to build cages before releasing monsters from them. With six hatches you can safely empty out 48 cages very quickly. You can build lots of cage traps without having to worry about emptying each cage individually. &lt;br /&gt;
   &lt;br /&gt;
*Bonus: Cover the floor of your pit with cage traps, creating a neverending cycle and giving your dwarves something to do during the long harsh summer when going outside is overly taxing on their stomachs.&lt;br /&gt;
*ConcentrationCampBonus: Combine with Pit of Doom below.&lt;br /&gt;
&lt;br /&gt;
==Mega/Water drowning trap-thing==&lt;br /&gt;
{{main|Drowning chamber}}&lt;br /&gt;
This is basically a channel above some pressurized water with a short tunnel leading to a door. The door needs to be connected to a lever somewhere in a safe part of the fortress. Position the door facing the main stairs into your fortress (for multiple stairs use multiple traps). When enemies come down the stairs, pull the lever and make them drown. (It helps to seal off the rooms).&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. Needs flowing water under pressure and levers.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. Depends on the size of your fortress/defences/amount of attackers. Works well with fire creatures to create a sauna.&lt;br /&gt;
&lt;br /&gt;
==Minecart spiral==&lt;br /&gt;
Build a giant spiral [[Minecart#Impulse ramps|minecart impulse ramp]] all the way from the [[magma sea]] to the surface. You can use it to transport ores to the [[magma smelter|magma smelters]] at the bottom from [[sedimentary layer|sedimentary layers]] near the surface. You can build [[statues]] in it to prevent dwarves from walking in and [[fun|dying]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium-High. You will most likely have to use [[macros]]. Additionally, when crossing caverns you will have to [[construct]] minecart ramps which can be tedious.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. It depends on how tall your map is and how much ores you consume.&lt;br /&gt;
&lt;br /&gt;
*TrapBonus: Use [[bridge|drawbridge]] to guide invaders to the spiral, then [[screw pump|pump]] water into it and drown them.&lt;br /&gt;
**BetterTrapBonus: Make it [[magma]] instead. &lt;br /&gt;
*SuperBonus: Make the tower go all the way to the highest [[Z-axis|Z level]].&lt;br /&gt;
**ArmokBonus: Make it go through the magma sea, and [[HFS|further below]].&lt;br /&gt;
*Bonus: At the top, set up a system where dwarves can guide minecarts to different vertical shafts where the will fall to different Z levels, for loading. Then, the minecarts fall further down to the smelters, where the empty minecarts are sent back up for loading.&lt;br /&gt;
**MegaBonus: Divide your dwarves into two separate [[burrows]] connected only by the minecart spiral and the shaft. The higher burrow is in charge of mining, growing food, and operating the minecart system, and the lower burrow is in charge of smelting ores and making crafts.&lt;br /&gt;
***HyperMegaBonus: Close off all stairs and add a minecart loading and unloading station at every inhabited z level. All vertical transport of goods should be done via minecarts only. Also, dwarves are not allowed in minecarts. &lt;br /&gt;
****UltraSuperBonus: Build a minecart loading and unloading station at every Z level, even the uninhabited ones you never use.&lt;br /&gt;
&lt;br /&gt;
==Mist generator==&lt;br /&gt;
&lt;br /&gt;
Using whatever screw-pump-statue contraption your dwarves can muster up, create an endless mist-generating machine which will hopefully not obliterate your [[Frames_per_second|FPS]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Extremely easy. You will only need a basic understanding of screwpumps and gear assemblies. However, you can scale it to any size or level of complexity. The [[Mist|mist page]] has a handy guide.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Borderline cheating. Keeps your dwarves in a state of constant euphoria. Mist does funny things to a dwarf's mind. Also a one-up from artificial waterfalls as they only need to travel a single Z level,  (hopefully) reducing the FPS strain.&lt;br /&gt;
*Bonus: Build an absolutely horrible fortress with as much [[miasma]] and [[hateable]] vermin that you can fit in one bunker. Keep your dwarves sane with the power of Mist™ alone.&lt;br /&gt;
**FUNbonus: Build it in a semi-freezing climate instead. Watch as winter rolls by and your dwarves are deprived of their only source of joy. [[Fun]] will surely ensue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Monumental statue==&lt;br /&gt;
'''Difficulty:''' Depends on how big you want the statue to be. If you are feeling really masochistic, cast it out of obsidian using magma and water.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' None.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Make the statue hollow and have dwarves live inside it.&lt;br /&gt;
*BestWayToGetRidOfStoneBonus: Make one for every dead dwarf.&lt;br /&gt;
**UberTombBonus: Use the statue as a tomb and put their coffins in it.&lt;br /&gt;
*Dwarfbonus: Give the statue magma eyes.&lt;br /&gt;
**HellNo,DwarfsYesBonus: Combine the magma eyes idea with the magma cannon idea above and place the statue just behind (and above) the entrance to your fortress.&lt;br /&gt;
&lt;br /&gt;
==Moses effect==&lt;br /&gt;
With enough pumps, you can pull water out of a square faster than it flows in. This can create a reverse waterfall, or a dry spot in the middle of a flowing river. The effect is like Moses parting the Red Sea.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Surprisingly easy. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' You can use this trick to create a waterfall or drowning chamber. It is also important if you want to pass through an [[Aquifer]], although that is far more difficult. The same trick can be used in lieu of a drawbridge, although its practicality as compared to the drawbridge is highly questionable.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use the Moses effect to make doors from water, which are opened/closed using a lever.&lt;br /&gt;
*TechBonus: Automatize the doors so that they open (only!) when a dwarf is near.&lt;br /&gt;
&lt;br /&gt;
==Never-ending shower==&lt;br /&gt;
{{main|Waterfall}}&lt;br /&gt;
Don't you get angry when your dwarves carry enough grime on them to dirty the entire fortress? And how they get infected because of that griminess? Suffer no more! With the Never Ending Shower (NES for short), dwarves will be able to stay (relatively) clean without having to take the time to run for a bath or dirtying your drinking water!&lt;br /&gt;
&lt;br /&gt;
It is easy to understand: use the same instructions as in the Artificial Waterfall, but make it so that the waterfall is somewhere where the dwarves will be going through almost daily--a central stairway works well. It cleans them and gives them happy [[thought]]s for the same price!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate to high. You do have to make sure that dwarves don't try anything funny, and create a drain to draw the dirty water out.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Incredibly high. Reduces risk of infection and keeps your dwarves happy.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Use an aquifer to get clean water AND drain dirty water.&lt;br /&gt;
*Bonus: Use levers to control the NES.&lt;br /&gt;
*SuperBonus: Make it work as a trap!&lt;br /&gt;
*SuperDuperBonus: Make it work as a trap AND as a recovery system!&lt;br /&gt;
*ArmokBonus: Make it so that magma can be poured down, too!&lt;br /&gt;
&lt;br /&gt;
==Nuclear Fallout Bunker==&lt;br /&gt;
Build a mini fortress with everything your dwarves could need deep underground. Stock it with enough food, drinks, and materials to last your small band of survivors for years or alternatively make it self-sufficient with its own food production. Lastly, add a bridge that allows you to seal off the bunker from the rest of the world. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Easy-Medium depending on the relative luxury of the bunker and how many dwarves you intend to shelter from the apocalypse.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High. If your fort is threatened by some particularly nasty disaster (be it zombie goblin horde or Bronze Colossus) simply rush your best and brightest dwarves down to the Nuclear Fallout Bunker and raise the bridge, sealing it off from the rest of the world.&lt;br /&gt;
*MutallyAssuredDestructionBonus: Have a self-destruct lever in the bunker that is pulled once everyone is safely inside.&lt;br /&gt;
&lt;br /&gt;
==Obsidian factory==&lt;br /&gt;
{{main|Obsidian farming}}&lt;br /&gt;
You need one reservoir of water, and one of magma. Mix, cool, mine, and repeat as necessary.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Obsidian is 50% more valuable than [[flux]] and 3 times as valuable as ordinary stone, making it ideal for your [[mason]]s and [[stone crafter]]s. Done properly, it can also serve as a magma chamber, a drowning chamber and even an obsidianizing chamber that can kill any creature that gets in (except [[ghost]]s and possibly [[vermin]]).&lt;br /&gt;
&lt;br /&gt;
* MegaDwarfBonus: Make the system fully automated using [[computing]] principles.&lt;br /&gt;
&lt;br /&gt;
==Pit o' doom==&lt;br /&gt;
Combine with an Execution Tower for maximum z-level executions! Traps which menace with spikes are a must.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. You want it nice and deep though.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Dispose of prisoners, execute nobles, gruesome fatal injuries, laugh maniacally. If high enough, you may be able to recover [[bone]]s from creatures your dwarves refuse to [[butcher]].&lt;br /&gt;
&lt;br /&gt;
* Bonus: Link the spikes to a lever so you can proceed to make swiss cheese of whatever didn't die from the fall.&lt;br /&gt;
&lt;br /&gt;
==Pixel art stockpiles==&lt;br /&gt;
Arrange several stockpiles of similar items of different colors (gems work well for this) so the different colors make some sort of picture. Don't forget to set &amp;quot;max bins&amp;quot; to 0 on all the stockpiles so you can actually see the items!&lt;br /&gt;
&lt;br /&gt;
It's probably also a good idea to forbid the items once they're in place, to prevent them from being moved later (and allow you to remove the stockpiles if you want.)&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium; only tricky parts are (potentially) finding enough items of different colors, and keeping track of which colors are where before the hauling is done.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Negative&lt;br /&gt;
&lt;br /&gt;
==Pressure washer==&lt;br /&gt;
A huge tower with floodgates at the bottom on one side. When opened, the pressurized water fires out and instantly submerges anything in the way of the flow. Depending on size, can be surprisingly powerful. You can see an example tower [http://mkv25.net/dfma/map-7485-griffonwind here].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium, construction technique takes some consideration. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium-High.  Tested in version 0.28.181.40d with 50 recruits standing in front of it when the floodgates opened, killed 46 of them, including ones not pushed into the pit.&lt;br /&gt;
&lt;br /&gt;
* Bonus: Fill it with Magma instead (though it won't flow out nearly as quickly).&lt;br /&gt;
&lt;br /&gt;
==Quantum Blizzard Cannon==&lt;br /&gt;
&lt;br /&gt;
Do you need to kill something? Is atom-smashing no longer a viable option? Do you wish to bring glory to Armok? Do not fear, the QBC is here! By creating individual stops to fill minecarts with projectiles of your choosing, then loading up to 12 filled minecarts into a final “Launcher” minecart (using a stop designated to fill the &amp;quot;launcher&amp;quot; with minecarts), you can effectively fire as many items as you would like at your foe using a  standard minecart shotgun.  It is also possible to fill this with fluids, to great effect (and risk of crashing the game). This can often have interesting effects because hitting a goblin with 996 bars of lead at extreme speeds is not good for the squishy bits. The cannon gains its name from its creator.   &lt;br /&gt;
&lt;br /&gt;
''' Difficulty:''' excessive, lots of time in menus and loading per shot, but really ((Fun))&lt;br /&gt;
&lt;br /&gt;
''' Usefulness:''' medium to low. The same trick can be used to move large amounts of items via minecart, but ultimately the QBC is excessive for even the HFS.&lt;br /&gt;
&lt;br /&gt;
==Redesign the fortress==&lt;br /&gt;
And when we say &amp;quot;redesign&amp;quot;, we mean completely replanning and rebuilding the entire fortress, from scratch. Ever thought about a cool thing that you could add to your fortress, but can't because a critical area(such as the dining room, general-purpose stockpile, central workshop area etc.) are in the way? Did you start the fortress by building the most critical areas in the first available spot? Well, now is a good time to get rid of that! For added effects, put the sleeping areas especially close to the booze stockpile so that dwarves are always happy!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Varies depending on the size of the fortress.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Varies depending on how you carry it out, a.k.a. the efficiency of the new organization.&lt;br /&gt;
&lt;br /&gt;
* Bonus: use [[obsidian]] casting to carve the new fortress entirely out of obsidian.&lt;br /&gt;
** DwarfBonus: but keep valuable walls such as [[native gold]].&lt;br /&gt;
*** PurpleDwarfBonus: using controlled [[cave-in]]s, arrange for your king's new room to be entirely bordered by native gold/platinum/aluminium walls.&lt;br /&gt;
&lt;br /&gt;
==Rehabilitation centre==&lt;br /&gt;
Had any problems with dwarves charging brainlessly towards the enemy, getting slaughtered, and then starting a tantrum spiral that will destroy your fortress? Turn your prison into a luxurious room full of things that make dwarves happy. Add artifact furniture, beds, a booze stockpile, chains made of gold (or anything valuable,) a waterfall, creatures in cages, etc. Hopefully they will return to society as a happy, productive dwarf.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low-Medium. Acquiring valuable items and setting up the waterfall can be annoying sometimes. Also you need guards to actually put them in jail. And it can be a real pain when those ungrateful sobs destroy the nice furniture you give them.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High. A tantrum spiral can quickly turn a productive fort of 200+ dwarves into a rioting fortress inhabited by a bunch of insane, miserable dwarves who spend their time punching people and breaking furniture. Don't let it happen to you.&lt;br /&gt;
&lt;br /&gt;
* MegaDwarfBonus: Points for making every other dwarf drink water and sleep on cheap beds.&lt;br /&gt;
&lt;br /&gt;
==Road of the damned==&lt;br /&gt;
Create a giant channel filled with spike traps, 10 tiles wide and going all the way from your fort to the map edge. Pave it over with crystal glass so traders can get that foreboding feeling that'll make them seal the deal without bargaining too hard!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low-mid, depending on the rarity of crystal glass.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:'''Low. The same as a normal road.&lt;br /&gt;
&lt;br /&gt;
* Bonus: Spike a goblin on every trap!&lt;br /&gt;
* Megabonus: Spike traders who annoy you on the traps!&lt;br /&gt;
&lt;br /&gt;
==Roof of the world==&lt;br /&gt;
Sick of having your dwarves vomit all the time when they go out to retrieve loot or lumber? Despair no more! Build an almost-infinitely tall tower, and then put a floor on the highest level, spanning the entire map. For extra kicks, make a mechanism that will crash the entire thing upon the heads of the one goblin horde that manages to get through all your other deathtraps.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. Very grueling.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low, but potentially fortress-saving. (see above)&lt;br /&gt;
&lt;br /&gt;
==Sectorized world==&lt;br /&gt;
Divide the world edges into multiple sectors and then gate access to each one separately. This allows you to protect your fortress from sieges whilst keeping access to most of the outside world and allowing most traders into and out of the fortress (those unfortunate enough to enter the world from the same direction as the siegers may be screwed, of course). For bonus points, build separate gateable access routes for each sector. For further bonus points, design your fortress so that you can simultaneously allow access to traders ''at the same time'' as siegers are exposed to your defensive mechanisms.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low, unless you allow separate access routes for each sector in which case high. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Moderate, increasing with each bonus you fill. Mostly for those who want to build the best possible defenses. Can also double as a means of easily trapping wild animals.&lt;br /&gt;
&lt;br /&gt;
==Self-contained vampire-based factory==&lt;br /&gt;
Take advantage of the independence of vampires by building a self-contained factory.  The best industries are those that require no special raw materials-- a factory containing both a magma glass furnace and a sand tile, for instance, would work well, as would a clay industry, but if you're feeling ambitious, consider building a vampire into your [[giant cave spider|GCS]] [[silk farm]]-- if you happen to have scored an [[undead]] GCS, your vampire won't even spook!  You can treat your factory as a piggy bank to be broken into as needed, or for perfect fire-and-forget action, build a dropping [[User:Vasiln/Undump|undump]] into the factory, and the vampire will deliver the output to your front door.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' The only hard part is getting yourself a [[vampire]]. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Depends on how many green glass blocks you plan on using.&lt;br /&gt;
&lt;br /&gt;
==Sapient zoo==&lt;br /&gt;
Start by creating a [[zoo]] containing at least one of every [INTELLIGENT] and [CAN_SPEAK] creature&lt;br /&gt;
including [[humans]], [[elves]], [[goblin]]s and [[kobold]]s.&lt;br /&gt;
&lt;br /&gt;
*Bonus: include a berserk dwarf in cage&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Easy for some, Hard for others&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' None, really, a place for dwarves to throw a [[party]].&lt;br /&gt;
&lt;br /&gt;
==Self-destruct lever==&lt;br /&gt;
A mechanism that, for example, could flood your fort with magma, or release a trapped megabeast. For bonus points, build the whole fort on a single [[support]]. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Very high. Extremely fun. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Could serve as kind of a last revenge on a goblin siege, but also highly amusing. If done properly it can make reclaim easier.&lt;br /&gt;
&lt;br /&gt;
* DorfBonus: Make it have a timer before your fortress self-destructs. You can do this with a water channel, or if you're particularly technical, make a [[Computing|seven segment display]].&lt;br /&gt;
** For bonus Dwarfy-ness, make the timer be the depth number of the magma or water that will actually trigger your fortress' destruction.&lt;br /&gt;
* Bonus: Build your fortress high above ground, connect the fortress to a roof through just one support and have the system, when activated, drop the whole construction into the magma sea, destroying the whole thing permanently.&lt;br /&gt;
* FunBonus: use the lever to drop the fortress off a pillar while simultaneously opening the [[hidden fun stuff]], preferably in a whole lot of places.&lt;br /&gt;
*ExtraFunBonus: do as many of these bonuses as you please (as long as they still function together) AND unleash a whole lot of dwarves throwing tantrums near the lever when you wish to set the fun things off.&lt;br /&gt;
&lt;br /&gt;
==Shark catcher==&lt;br /&gt;
Capture of [[Bull shark|sharks]] or [[Carp|other]], [[Sturgeon|dangerous fish]] achieved by making an artificial bay, filling it with [[Cage trap|cage traps]], opening the floodgate to the sea or river and some sort of drainage system, likely pumps and/or floodgates.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Low to Medium as drowning while setting up is very possible with bad planning.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': Low, purely aesthetic, but very cool to have a shark infested moat (Potentially kills invaders).&lt;br /&gt;
&lt;br /&gt;
==Silk farming==&lt;br /&gt;
{{main|Silk farming}}&lt;br /&gt;
Capture a web-slinger (generally a [[giant cave spider]]) and build a farm to efficiently harvest its [[silk]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Low to Medium; the hardest part is generally catching the web-spinner.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': Medium to High. Provides an endless supply of potentially-valuable [[silk]] cloth and rapidly [[cross-training|cross-trains]] [[weaver]]s.&lt;br /&gt;
&lt;br /&gt;
==Steamed vegetables==&lt;br /&gt;
Make a pot and drop &amp;lt;s&amp;gt;elves&amp;lt;/s&amp;gt; vegetables in from about three levels up. This makes it so the vegetables do not &amp;lt;s&amp;gt;run&amp;lt;/s&amp;gt; get overcooked. Proceed to bask the vegetables in [[steam]].&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': Medium. Can be annoying to boil some water.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': Great way to make friends with the merchants.&lt;br /&gt;
&lt;br /&gt;
*MegaDwarfBonus: Add &amp;lt;s&amp;gt;goblins&amp;lt;/s&amp;gt; seasoning.&lt;br /&gt;
*ArmokDoubleBonus: Use [[magma mist]].&lt;br /&gt;
*DwarfBonus: feed any vegetables you did not steam to your dear friends, the [[Demon|clowns]].&lt;br /&gt;
&lt;br /&gt;
==Swimming pool==&lt;br /&gt;
{{main|Swimming#Learning/Teaching swimming|l1=Swimming § Learning/Teaching swimming}}&lt;br /&gt;
It's a reservoir that fills to 4/7 exactly. Station soldiers inside, lock them in, and fill. This way they gain [[swimming]] skill. &lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. It's just a pair of reservoirs. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' The swimming skill is only slightly useful. This is most useful if the entrance to your fort has narrow walkways/moats surrounded by water, and you station your soldiers there.  It does help gain attributes though. Though if you utilize a '''H'''ydraulic '''E'''levation and '''L'''owering '''P'''latform, this is a priceless necessity.&lt;br /&gt;
&lt;br /&gt;
==Swimming track==&lt;br /&gt;
{{main|Swimming#Minecart_training|l1=Swimming § Minecart_training}}&lt;br /&gt;
&lt;br /&gt;
[[Image:Swim track 0.png|thumb|right|250px|A large swimming track]]&lt;br /&gt;
&lt;br /&gt;
A [[minecart]] ride that trains [[swimming]] safely and automatically.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. Minecart tracks can be fiddly, and adding a non-traversable depth of water makes any mistakes more difficult to fix. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. The swimming skill is only slightly useful, but it does provide [[cross-training]] for attribute gains.&lt;br /&gt;
&lt;br /&gt;
==Tower of Death-Struction==&lt;br /&gt;
&lt;br /&gt;
Have you ever wondered, &amp;quot;What would it take to make my [[Siege|friends]] all [[Gravity|fall]] at once into a pit of [[Trap|fun times]] while also not risking failure?&amp;quot; Elementary, my aspiring architect -- [[Fun|THE TOWER OF DEATH-STRUCTION]]!&lt;br /&gt;
&lt;br /&gt;
Step 1: Build a tower with a [[bridge]], to allow for non-lethal access to the fortress. Build the tower roughly 25-30 blocks high, though higher towers tend to result in roughly equivalent amounts of [[Fun]]. The access bridge should be linked to a lever, to close it like a standard gate.&lt;br /&gt;
&lt;br /&gt;
Step 2: Build a thinner tower 20 blocks away, for maximum bridge length. Any number of middle towers can be constructed, though one is recommended.&lt;br /&gt;
&lt;br /&gt;
Step 3: Build another tower, one that can be ascended by [[Goblin|curious friends]]. Fill it with cage traps, to thin out the number of [[Troll|friends]] to take up space on the bridge.&lt;br /&gt;
&lt;br /&gt;
Step 4: Build two bridges on either side of the skybridge, to trap attackers on the skybridge.&lt;br /&gt;
&lt;br /&gt;
Step 5: Hook up the skybridges to one lever, and the trap bridge to another.&lt;br /&gt;
&lt;br /&gt;
Once this is done, just wait for a [[Siege|surprise party]] to be thrown for you. Close the access bridge, forcing the [[Goblin|visitors]] to path onto it. Trap them, and when the time looks right...&lt;br /&gt;
&lt;br /&gt;
'''Pull the lever, Kronk!'''&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Moderate to hard. If all of your dwarves have cave adaptation, the construction might take a lot longer to complete. As well, the cost of floors and traps alone will mean that just acquiring the materials will need its own stupid dwarf trick.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low to high, depending on how well you use it. If you forget to open the access gate, you might find your dwarves trapped inside the tower, or even worse, they may run up to the bridge to fight and meet a [[Gravity|bad time]]. Also, the goblin corpses piling up in the spike pit might cause extra [[Miasma|fun]] depending on how regularly you take care of it. If done correctly, this tower might become the most efficient and effective defence against all problems that one could possibly ask for.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Build enough middle towers to build a bridge path long enough to trap an entire siege and drop them onto spikes below.&lt;br /&gt;
*SuperBonus: Build the towers above a river.&lt;br /&gt;
*MegaDwarfBonus: Build the towers above a lava pit.&lt;br /&gt;
*SuperMegaDwarfBonus: Build the towers above a ticket straight to [[HFS|the circus]].&lt;br /&gt;
*ArmokBonus: Build the towers out of [[Slade]] (Note: This should be impossible, so if you do it...))&lt;br /&gt;
*HardcoreDwarvenMasterpieceArtifactBonus: Build the fortress at the top of the tower that the goblins have to try to get to.&lt;br /&gt;
&lt;br /&gt;
== Traveling Circus ==&lt;br /&gt;
Travel across the world, building megaprojects like pyramids or bridges.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty''': The larger the world, the higher.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness''': ''None at all''.&lt;br /&gt;
* Bonus: travel around and actually release [[HFS|the circus]] on every embark. Needless to say, this is the most [[fun]] option. You may consider making sure the clowns get their share of fun, if you want your circus to happen more than once...&lt;br /&gt;
&lt;br /&gt;
==Underground forest==&lt;br /&gt;
{{main|Tree farming}}&lt;br /&gt;
Break into an underground cavern, make some muddy floors over a big area and wait.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium - need to dig out a suitably large area, then find a way of introducing water to the area and subsequently draining or evaporating it.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Depends on size (bigger is better) as well as proximity to wood stockpiles. A tree farm outside the caverns can grow trees from all 3 layers, and you'll never have to worry about hostile creatures threatening your wood cutters.&lt;br /&gt;
&lt;br /&gt;
==Underground perpetual motion power plant==&lt;br /&gt;
Combine with a use for the power and you either have an awesome setup, or a ticking time bomb.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' High.  Maintaining the correct water level is annoying difficult at times. Note: Incredibly easy with an aquifer.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Depends on size of plant and what it's connected to.  Also useful as a puzzle for adventurers.&lt;br /&gt;
&lt;br /&gt;
==Underwater statue room==&lt;br /&gt;
A simple room filled with statues that just also happens to be flooded. Simply dig a room near to a water source smooth and engrave the walls and floors then fill with statues. Dig a tunnel to the water source and a separate escape route. seal both off with floodgates pull the levers in the right order and bam! underwater statue room. For added effect make the meeting room a room directly above with a glass floor.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Absolutely positively none.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Build it on area with trees and shrubs; make walls from ice or use windows; fill it with fish and merfolk; now you'll get a big aquarium&lt;br /&gt;
*Note: It doesn't count if you accidentally flood your fortress and wind up with one of these.  It does count if one of your nobles has an unfortunate accident in their sculpture garden.&lt;br /&gt;
&lt;br /&gt;
==U.R.I.S.T. artificial intelligence==&lt;br /&gt;
Basically, a dwarf in a bunker that controls your fortress. Being that there are no supercomputers in DF at the moment, we'll have to use the closest substitute, a dwarf. Seal your dwarf in a room full of levers that activate various floodgates, bridges, doors, hatch covers, traps, etc. Make sure this room has no exits or entrances, but it needs a luxurious bedroom and dining area, and you must include a chute for dropping in &amp;lt;s&amp;gt;food&amp;lt;/s&amp;gt; biomass and &amp;lt;s&amp;gt;alcohol&amp;lt;/s&amp;gt; coolant fluid. Profile the levers so that they can only be used by the A.I. dwarf. &lt;br /&gt;
&lt;br /&gt;
It would be a good idea to make the system into two rooms. The food/drink/bed room and the lever room. Should you need to add more levers, you can lock the A.I. dwarf outside the lever room and have your mechanics set up more levers without interacting with or releasing the A.I.&lt;br /&gt;
&lt;br /&gt;
You can make the lodging room suited for the particular dwarf by adding furniture made from their favorite materials, and smoothing and engraving everything. Use quantum stockpiling to give them 10+ years of food and drink. Make sure the A.I. is unable to communicate with other dwarves. His/her mood must not be affected by the deaths of the walking meat-bags who tried to befriend him/her. &lt;br /&gt;
&lt;br /&gt;
In order to ensure that your A.I. doesn't find sleep interfering with crucial lever pulling, you might consider incorporating an alarm clock. If a goblin siege turns up on your doorstep, a single external lever to dump 7/7 of water on the sleeping A.I. might well save your fortress (and is so much cooler than having backup levers in your meeting hall).&lt;br /&gt;
&lt;br /&gt;
You must also make a snazzy/lame acronym name for your AI, here are some examples: &lt;br /&gt;
*A.R.M.O.K. - '''A'''ll-'''R'''eaching '''M'''achine '''O'''f '''K'''illing&lt;br /&gt;
*A.S.S. - '''A'''lmost-autonomous '''S'''ystems '''S'''elector&lt;br /&gt;
*C.A.T. - '''C'''reepy '''A'''utonomous '''T'''echnology&lt;br /&gt;
*D.E.E.P.E.R. - '''D'''warf of '''E'''ngineering the '''E'''ldritch and '''P'''ractical '''E'''xploitation of '''R'''esources''&lt;br /&gt;
*D.I.E.D. - '''D'''edicated '''I'''rrigation and '''E'''verything else '''D'''warf(s)&lt;br /&gt;
*D.O.M.E.S. - '''D'''warf '''O'''perated '''M'''echanics and '''E'''ngineering '''S'''ystem&lt;br /&gt;
*D.O.R.F. - '''D'''oes '''O'''rders '''R'''ather '''F'''ast&lt;br /&gt;
*D.O.S. - '''D'''warf '''O'''perating '''S'''ystem &lt;br /&gt;
*D.W.A.R.F. - '''D'''rains '''W'''ater '''A'''nd '''R'''ecruits '''F'''armers&lt;br /&gt;
*G.L.A.D.O.S. - '''G'''enetic '''L'''ifeform '''A'''nd '''D'''warf '''O'''perating '''S'''ystem&lt;br /&gt;
*H.A.L. - '''H'''airy '''A'''lternate '''L'''ifeform&lt;br /&gt;
*M.A.G.M.A. - '''M'''assively '''A'''lcoholic '''G'''ear-'''M'''achine '''A'''ssembly&lt;br /&gt;
*N.O.B.L.E. - '''N'''arcissistic '''O'''bnoxious '''B'''oastful '''L'''aughable '''E'''xcrement&lt;br /&gt;
*P.O.T.A.T.O. - '''P'''ossibly '''O'''rganic '''T'''echnically '''A'''live '''T'''rash '''O'''mitted&lt;br /&gt;
*U.R.I.S.T. - '''U'''nderground '''R'''easonably '''I'''ntelligent '''S'''ettlement '''T'''echnologist&lt;br /&gt;
*V.A.C.A.T.E.D. - '''V'''ampire '''A'''ssisted '''C'''omputerized '''A'''ssembly '''T'''errorizes '''E'''xtra-'''D'''warves&lt;br /&gt;
*V.O.D.A.P.H.O.N.E. - '''V'''ampire '''O'''perated '''D'''efence '''A'''pparatus, '''P'''erpetrating '''H'''arm '''O'''f '''N'''efarious '''E'''ntities (See Bonus for more information)&lt;br /&gt;
&amp;lt;!-- Feel free to add your own AI names --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. Setting up all the levers and lodgings can be a micromanagement hassle. Further research is required as to how well the A.I. will fit into a dwarven economy.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High. Having a dwarf dedicated to pulling levers will ensure that they are pulled on time. Additionally, you will have a constantly-ecstatic dwarf who is virtually invulnerable to all threats. Should your fortress be slaughtered by invaders or drowned by flooding or tantrum spiraled, your fortress will be preserved until more migrants arrive, or the AI runs out of food.&lt;br /&gt;
&lt;br /&gt;
Bonus: Make the A.I. dwarf a vampire. Vampires don't need food, alcohol, or sleep and cannot age, which makes them perfect for the job. As an added  bonus, keeping a vampire in this way will make your fortress completely indestructible, as sealing him in will prevent the possibility of the vampire of being killed in combat or from a syndrome, while keeping the vampire from making friends he will inevitably outlive will prevent him from going insane. (It also ensures that the bloodsucker won't use any of your dwarves as a midnight snack.) NOTE: Vampires may still go insane without any blood. Might be worth considering adding on a 3rd &amp;quot;feeding chamber&amp;quot; where you assign an unfortunate victim to sleep whenever the vampire gets hungry.&lt;br /&gt;
&lt;br /&gt;
===D.O.S.T.N.G.O.S.P.===&lt;br /&gt;
&lt;br /&gt;
Dwarven Organic Switch Toggle, Neutered Gastrectomied Overpersistent Sober Prisoner.  Goblins have several advantages over dwarves in the lever pulling department: they live forever, do not breed or tantrum, and need not eat, drink, or sleep.  Seal one or more goblins in your supercomputer complex, and use their predictable pathing in combination with instantly lockable doors and pressure plates to make dwarven lever pulling a thing of an older, less advanced era.&lt;br /&gt;
&lt;br /&gt;
Also known by several product names:&lt;br /&gt;
*G.O.B.L.I.N.A.T.O.R. - '''G'''oblin '''O'''perated '''B'''astion of '''L'''ogic to '''I'''nfalliably '''N'''eutralize '''A'''ntiquated '''T'''ypes of '''O'''perational '''R'''egimes&lt;br /&gt;
*N.G.O.K.A.N.G. - '''N'''efarious '''G'''oblin '''O'''f '''K'''illing '''A'''nd '''N'''eedless '''G'''riping&lt;br /&gt;
*S.T.O.Z.U. - '''S'''ecret '''T'''echnological '''O'''perative who '''Z'''aps '''U'''nruly Nobles&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium.  While goblin pressure plate runners require more space than dwarven lever pullers, once their room is set up, it's done, and easily copied for the next one.  With only one goblin, you'll need a pressure plate for every possible combination of lever states, but it's easy to add more goblins instead.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' High.  Instant response time (&amp;lt;50 ticks is possible) can make lever worries a thing of the past.  The D.O.S.T.N.G.O.S.P. requires absolutely no maintenance once set up.  Unlike with the U.R.I.S.Ts of the previous generation, modern POW-based computing is never held hostage to eating, drinking, or breaks.  Stay tuned for the next-generation C.A.C.A.M.E.!&lt;br /&gt;
&lt;br /&gt;
==Vomitorium==&lt;br /&gt;
[[Image:Vomit_Trail.png‎|thumb|right|Vomitoria: preventing cave adaptation since [[23a:Vomit|23a]].]]&lt;br /&gt;
&lt;br /&gt;
Prevents [[cave adaptation]]. It's like the greenhouse, only instead of a farm, it's a [[meeting hall]] or [[barracks]]. Since you can't build [[table]]s or [[bed]]s outside, build the room and [[channel]] down to it.  Variant: above-ground statue garden or zoo.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low. Make sure to wall the pit in, or it will become very [[fun]] once [[goblin]] archers become involved.&lt;br /&gt;
&lt;br /&gt;
Bonus: Make an ACTUAL Vomitorium for this - Build a [[meeting hall]] with a [[grate]]d floor. Let [[cave adaptation]] set in, then open the place up for the most extravagant and lavish of parties every 3~4 years! Those will be some Armok grade hangovers though....&lt;br /&gt;
&lt;br /&gt;
==Water tower==&lt;br /&gt;
This functions much like real life:  Lifting water above ground level creates pressure, allowing buried pipes to deliver water to any elevation below the top of the tower.  This is smarter, faster, and cheaper than a map-spanning raised aqueduct.  A pump stack at the river, raising water into a sealed, pressurized U-bend, can deliver large volumes of water to whatever level you want, very quickly.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:'''  Medium.  No harder than any other pump stack to design, but high pressure can amplify minor errors into abandon-worthy disasters.  You could conceivably divert the river into your fort.  Be sure to make an off-switch.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:'''  Medium.  Once the pump stack is operating, you no longer need to be anywhere near your water source.&lt;br /&gt;
&lt;br /&gt;
==Watervator==&lt;br /&gt;
By creating a vertical &amp;quot;'''H'''ydraulic '''E'''levation and '''L'''owering '''P'''latform&amp;quot; chamber, or HELP (so named for the cries of the passenger dwarf) with lever controlled water levels, you can move a dwarf up several z-levels without any stairs. All it takes is the dwarf's ability to swim up to the surface of the water to breathe.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Medium. Moderate possibility of Fun by way of flooding your fortress. Any dwarves that can't swim will instead experience Fun when using the Watervator. The actual construction time and resource usage is very low. Using the Watervator often leads to unhappy thoughts about drowning&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low to Medium. The Watervator requires manual micromanaging, while stairs do not. On the other hand, it can be used to create a pathway that most &amp;lt;s&amp;gt;Dwarves&amp;lt;/s&amp;gt; enemies will simply be unable to use. Those that can would still be doing so at great risk of drowning or falling to their death. It is recommend that with the exception of the entrance you use stairs.&lt;br /&gt;
&lt;br /&gt;
*Bonus: Utilize vampires (who can't drown).&lt;br /&gt;
*MegaDwarfBonus: Utilize trained fish.&lt;br /&gt;
*MegaDwarfBonus: Engineer it so that it performs a full cycle on one activation of a pressure plate and include that pressure plate as a part of the patrol route, then create a reverse Watervator and also include it as a part of same patrol route, so that your militia automatically uses it to get in and out the fortress.&lt;br /&gt;
&lt;br /&gt;
==Werewolf clock==&lt;br /&gt;
The changing of the werewolf is the most reliable indicator of the passing of seasons.  For precisely one day per full moon, he will go berserk and trigger standard pressure plates.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' You will get a were sooner or later.  Getting him pitted in the right spot without havoc is the hard part.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Low/None. As of Premium, the lunar phase is permanently affixed to the user interface, making a werewolf clock frankly redundant.&lt;br /&gt;
&lt;br /&gt;
*Bonus:  Make the werewolf do most of the work himself.&lt;br /&gt;
&lt;br /&gt;
==Zombie thunderdome==&lt;br /&gt;
Embark in a [[surroundings#Evil|reanimating]] biome in the current version (preferably savage as well), find or dig a deep pit, and dump any unused (non-dorf) corpses and butchery products into it. They will animate and begin to walk around, providing you with the endless entertainment afforded by watching horse hair walk. Make sure the pit is deep enough not to scare your dwarves!&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. Keeping your fort safe from the threat of animated beak dog beaks is worth any price. However, [[Defense guide|there may be better things]] [[Mega construction|to do with your time]].&lt;br /&gt;
&lt;br /&gt;
*Bonus: Set up a series of [[bridge|defenses]] that drop invaders into the pit.&lt;br /&gt;
*DwarfBonus: Set up a series of bridges and walls that flings invaders into the pit.&lt;br /&gt;
*MegaDwarfBonus: Drop a Megabeast into the pit and watch it do battle with multiple layers of undead.&lt;br /&gt;
*CavernFunBonus: Channel the bottom into a cavern and let your zombies hunt [[forgotten beast|the wonderful creatures there]].&lt;br /&gt;
**BonusFunBonus: Let them hunt [[Demon|Clowns]] as well.&lt;br /&gt;
*ZombieDwarfBonus: Ignore the suggestion above and dump dwarven corpses in anyway.&lt;br /&gt;
&lt;br /&gt;
==Zombie shooting gallery==&lt;br /&gt;
&lt;br /&gt;
In a reanimating biome, build a holding room for your undead, wall it off with fortifications. In the adjacent (accessible) area, build an archery range and order your archery squads to train there. Your marksdwarves will go to their scheduled archery training and whenever a zombie is raised, they'll switch focus from the boring old archery target and instead shoot down the undead. Once the zombies are dead, they'll return to regular shooting practice until the corpses rise again. The raised corpses cannot attack through fortifications and thus cause no unhappy thoughts from seeing them, but will spook haulers trying to collect errant socks from the shooting range.&lt;br /&gt;
&lt;br /&gt;
A viable (if finicky) alternative to a reanimating biome could be a [[necromancer]]. This has the benefit of being more controllable, but comes with the threat of [[intelligent undead]] and their abilities. Most would be relatively harmless or a minor inconvenience, but some are potentially lethal to your dwarves. Whether or not this is a downside depends on how many corpses you have available to restock the gallery.&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' Low. The difficulty lies in finding a source of permanent undead, the actual construction is trivial.&lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' Medium. This setup significantly increases the skill gain from bolts used by training dwarves, since every bolt shot at a zombie counts as combat action, giving much more experience. The scheme works without any supervision once set up.&lt;br /&gt;
&lt;br /&gt;
{{Category|Design}}&lt;br /&gt;
[[ru:Stupid dwarf trick]]&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
For those who don't notice, these are listed in ALPHABETICAL ORDER, so those trying to remember/find a specific SDT (heh) can. Please attempt to follow that pattern, thanks!&lt;br /&gt;
&lt;br /&gt;
ALSO, be sure to include the following format:&lt;br /&gt;
&lt;br /&gt;
'''Difficulty:''' &lt;br /&gt;
&lt;br /&gt;
'''Usefulness:''' &lt;br /&gt;
&lt;br /&gt;
One (1) blank line between last line of prev subsection and next sub-section title.&lt;br /&gt;
 --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Ambush&amp;diff=315849</id>
		<title>Ambush</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Ambush&amp;diff=315849"/>
		<updated>2026-04-25T04:07:17Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Undo revision 315848 by 121.121.177.59 (talk) - you didn't actually fix it - the problem was the &amp;quot;s&amp;quot; at the end&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior}}&lt;br /&gt;
{{av}}&lt;br /&gt;
&lt;br /&gt;
[[File:ambush_olm_preview.png|thumb|238px|right|An ambush with [[Cave fish man|cave fish men]] in a cavern.]]&lt;br /&gt;
An '''ambush''' is a type of attack in [[fortress mode]] where a small force of enemy {{Catlink|humanoids}} attempts a sneak attack on your [[fortress]]. Smaller in scope than a full [[siege]], ambushes are not related to the number of [[dwarf|dwarves]] in your fortress. Enemies arrive in one or more separate &amp;quot;squads&amp;quot; of maybe 6-10 individuals that (try to) work and move as a team, similar to a dwarf military [[squad]].&lt;br /&gt;
&lt;br /&gt;
Unlike [[siege]]s, ambushes are not [[announcement|announced]] immediately, and the attacking units are only revealed when your fortress becomes aware of the attackers in a way that does trigger an announcement, either when they set off a [[cage trap]] or come sufficiently close to a dwarf, [[caravan]] member, or [[pet]] (they ignore non-hostile wildlife). Ambushes can also be discovered manually if the player happens upon on an invader [[corpse]] and some [[goblinite]] in one of your weapon [[trap]]s (which do not cause announcements when they are triggered). Once an ambush squad is detected visually by a dwarf or pet, an ambush will generate a [[Announcement#Major announcement|major announcement]], the wording of which depends on the invader. There may be more than one enemy squad on the map, and each must be detected separately.&lt;br /&gt;
&lt;br /&gt;
Ambushes, just like [[siege]]s, nearly always happen at the beginning of a season, generally in the first 15 days of the first month, often arriving with [[caravan]]s, but can happen at any time. Note that elves will usually ambush with more than one squad (up to 50+), each of which has to be detected separately and triggers a separate announcement. If ambushers are caught in cage traps, they will be marked as Caged Prisoner in the unit screen. These prisoners can be dragged around between cages (or tossed over tall towers), although there may be a risk of jailbreak. If you abandon your fortress while an ambush is active, you will receive the message &amp;quot;Your strength has been broken.&amp;quot; Finally, when the leader of an ambush is killed (or captured), but not the other units, they will stand around and &amp;quot;wait&amp;quot; for their leader; this is probably a [[bug]].&lt;br /&gt;
&lt;br /&gt;
== Types of ambushes ==&lt;br /&gt;
=== Elves ===&lt;br /&gt;
{{dftext|An ambush! Curse all friends of nature!|4:1}}&lt;br /&gt;
&lt;br /&gt;
[[Elven]] ambushes may occur if your [[civilization]] is at war with a neighboring elven civilization. These ambushes have the same structure as the elven sieges, where their numbers and the nature of an ambush may very well catch an unprepared fortress off-guard. They might also bring exotic beasts as they may do during sieges, as well as [[animal people]] that can fight alongside the elves.&lt;br /&gt;
&lt;br /&gt;
As soon as an ambush is detected, a group of a dozen elves will appear at the map. Be aware that an ambush does not only have one wave of enemies, but detection of several scores of elves is highly possible. But as with elven sieges, the elves themselves are very poorly equipped and carry only [[wood]]en armor and weaponry. [[Clothing]] is also known to be dropped by slain &amp;lt;s&amp;gt;hippies&amp;lt;/s&amp;gt; elves.&lt;br /&gt;
&lt;br /&gt;
=== Kobolds ===&lt;br /&gt;
{{dftext|An ambush! Skulking vermin!|4:1}}&lt;br /&gt;
&lt;br /&gt;
[[Kobold]] ambushes are triggered by a long enough string of successful kobold thievery. This usually only happens when kobold thieves manage to steal from an outdoor cache of some sort that your dwarves cannot access for some reason, possibly fallen [[goblinite]] from or during an ongoing siege. Kobold ambushes are mostly notable for being much more annoying than kobold thieves, and should not be allowed to occur.&lt;br /&gt;
&lt;br /&gt;
It should be noted that the first ambushes from kobolds are full of recruits who have never seen a dwarf in their life, and will almost always scatter and run away instead of fighting.&lt;br /&gt;
&lt;br /&gt;
=== Necromancers ===&lt;br /&gt;
{{dftext|An ambush! Drive them out!|4:1}}&lt;br /&gt;
&lt;br /&gt;
[[Necromancer]]s will also occasionally ambush your fortress, if you are in range of their [[Tower (necromancy)|tower]] and they opt out of a full-on [[siege]].  Necromancer ambushes consist of several necromancers, each one being detected individually; an early warning sign for a necromancer ambush is the presence of [[undead]] in non-evil [[biome|biomes]]. The necromancers themselves are harmless, being regular old unarmed humanoids; however, very bad things will happen if they manage to find their way within sight of any left-over goblin sieges, [[corpse]] or [[refuse]] [[stockpile]]s, or (Armok forbid) last month's [[dragon]] invader. For this reason it is highly recommended that fortresses within sounding range of a tower internalize or [[atom smasher|atom smash]] all of their meat byproducts, and set [[standing orders]] to &amp;quot;gather refuse from outside&amp;quot; and clean up any meaty outdoor bits.&lt;br /&gt;
&lt;br /&gt;
=== Cavern Dwellers ===&lt;br /&gt;
{{dftext|Cavern dwellers! Send them back to the darkness!|4:1}}&lt;br /&gt;
[[File:Olm_People_Invaders.png|thumb|right|125px|They just keep coming!]]&lt;br /&gt;
[[File:Don't be next Bomrek.png|200px|thumb|left|Urist didn't make it out. Don't be next, Bomrek.]]&lt;br /&gt;
&lt;br /&gt;
Upon breaching the [[caverns]], your fortress may occasionally be attacked by a large swarm of underground [[animal people]], such as [[Olm man|olm men]]. As with most ambushes, they often remain hidden until they get close enough to attack, but unlike other ambushes, their numbers can be well into the dozens or more, resulting in alert and notification spam as a new wave of them is discovered, so while these appear to use the mechanics of an ambush, they are somewhere between an ambush and a siege.&lt;br /&gt;
&lt;br /&gt;
Cavern dwellers are typically armed with [[shields]] and [[spears]] made of random military-grade metals, up to and including [[steel]], but no [[armor]]. As such, they are easily dispatched by well-equipped dwarven veterans, but their numbers can quickly overwhelm even your mightiest warriors if one of them is caught alone during a patrol. They can be especially deadly versus your civilians, as well as any inexperienced fighters or [[monster slayer]]s.&lt;br /&gt;
&lt;br /&gt;
They may also bring pets or mounts, at the worst gigantic war [[jabberer|jabberers]] or [[rutherer|rutherers]], which can pose their own set of problems, as either of those is too large to be crushed by a bridge.&lt;br /&gt;
&lt;br /&gt;
They may attempt to relocate to a safer location in the caverns if they begin to lose, but they sometimes don't fully leave the map - amphibians may dive underwater and lie in wait to lick their wounds, which can have [[Fun]] consequences if your ☼Steel-clad☼ dwarves dive in chasing a kill, only to drown when they can't get back out, leaving all of their equipment at the bottom of an infinitely-replenishing lake, potentially forever lost. If this becomes a problem, creating a [[swimming pool]] or other means of teaching your dwarves to swim en masse should become a priority, as should engraved [[slabs]] to prevent [[ghosts]].&lt;br /&gt;
&lt;br /&gt;
As caverns are always &amp;quot;indoors,&amp;quot; massive clouds of [[miasma]] from the rotting corpses can also quickly become an issue for anyone doing work down there, as there are typically far too many to dispose of in a timely fashion.&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
[[Quester]]s seeking an artifact may attempt to sneak in and steal their target from your fortress. If discovered, they may run away or attack, depending on their temperament.&lt;br /&gt;
&lt;br /&gt;
[[Werebeast]]s from the wilds may also attempt to ambush your fortress during a full moon. If discovered, they trigger a message similar to the one that is shown when a Megabeast attacks (&amp;quot;The Were(creature) (name) has come! ... Now you will know why you fear the night.&amp;quot;). At the conclusion of the full moon, they return to their normal form and attempt to leave the site. If discovered in this state, they will still be announced as above, but with the details of their current form (&amp;quot;The Human (name) has come!  A medium size creature prone to great ambition.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* Hidden ambushers do not display combat reports, but their combat actions may be included in other units' combat reports. &lt;br /&gt;
* Upon discovery of an unconscious or otherwise incapacitated ambusher, the game will announce &amp;quot;There is a (creature) hidden away here.&amp;quot; instead of the usual ambush announcement.{{cite forum|35009/581009}}&lt;br /&gt;
* Hidden ambushers are revealed upon death, without any announcement.&lt;br /&gt;
&lt;br /&gt;
== Adventure Mode ==&lt;br /&gt;
&lt;br /&gt;
Ambushes also occur from Fast Travel in [[Adventurer mode]]. When traveling, [[Army|armies]] and other traveling figures are shown as shields/asterisks, and if hostile, then approaching the region tile they occupy will trigger an ambush. Depending on the savagery of the land, you may also be randomly ambushed by the dominant predator(s) of the biome. Traveling alone at night in certain [[evil]] biomes may result in a [[bogeyman]] ambush.&lt;br /&gt;
&lt;br /&gt;
When ambushed, the fast travel map will close and you will appear on the local map with your ambusher(s). If they're in view, they will be identified in a major announcement, but if obscured by terrain, distance, or lighting, then the announcement will inform you &amp;quot;You feel uneasy.&amp;quot; As long as your ambushers can detect you or a party member, you will be unable to fast travel, as &amp;quot;You don't feel safe enough to travel.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Typical ambushes come from roving large predators (including [[giant]]s, giant [[Undead|zombies]], [[night troll]]s, etc) and [[Army|patrols]] from a hostile settlement nearby (such as from enemy civs or [[Bandit|raider]] [[camp]]s.)  Muggers harassing towns also trigger ambushes; though they don't appear hostile at first, they intend to commit crimes against persons and property, including yours. And angered settlements or raider groups may take revenge by sending assassins who will strike even in the safe confines of a city. &lt;br /&gt;
&lt;br /&gt;
If you're unprepared for the ambush, you can evade it successfully by escaping your pursuer's view, using terrain, speed, and stealth, until you're able to fast travel safely. This is easiest against random predators who can't detect you at the time of ambush. When evading [[historical figure]]s, fast traveling to another region tile adjacent to it will trigger another ambush, so you must get sufficient distance from them in order to successfully elude them.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Security design]]&lt;br /&gt;
* [[Siege]]&lt;br /&gt;
* [[Wealth]]&lt;br /&gt;
&lt;br /&gt;
{{Military}}&lt;br /&gt;
{{category|Fortress mode}}&lt;br /&gt;
[[ru:Ambush]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Goblin&amp;diff=315845</id>
		<title>Goblin</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Goblin&amp;diff=315845"/>
		<updated>2026-04-22T00:46:32Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Reverted edits by 71.204.37.122 (talk) to last revision by Cali&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional}}&lt;br /&gt;
&lt;br /&gt;
{{Creaturelookup/0&lt;br /&gt;
|image=Goblin_sprite.png&lt;br /&gt;
|portrait=goblin_portrait_anim.gif&lt;br /&gt;
|wiki=yes&lt;br /&gt;
}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{creaturedesc}}&lt;br /&gt;
&lt;br /&gt;
[[File:Goblin riding beak dog crayon.jpg|thumb|200px|A goblin riding a beak dog, drawn in crayon by [[Main:Bay 12 Games|Bay 12 Games]].]]&lt;br /&gt;
&lt;br /&gt;
'''Goblins''' are intelligent, evil, aggressive humanoid [[creature]]s that live in [[dark pit]]s, and are the main opponent in [[fortress mode]]. They often establish settlements in [[dark fortress]]es within regions touched by evil, though it may be hard for some to imagine that goblins are capable of building those obsidian monoliths. They quickly become a threat to the great majority of fortresses - except some [[island]] or [[mountain]] forts.&lt;br /&gt;
&lt;br /&gt;
Goblins will start harassing a fortress early in its life, first with [[Thief#Goblin snatchers|babysnatchers]], and later with [[siege]]s. Goblin babysnatchers carry a bag for their purpose. Their soldiers are commonly armored with [[copper]] and [[iron]] [[armor]], and armed with copper, iron and [[silver]] [[weapon]]s, generally with no quality levels unless on weaponmasters, and also typically accompanied by other creatures, such as other humanoids they have successfully kidnapped, [[troll]]s and [[beak dog]] [[mount]]s. Their items can be a valuable source of metals for fortresses that embarked in metal-scarce areas (leading some players to refer to the plunder from a defeated goblin attack as [[goblinite]]). Defeating a majority of an attacking force usually sends the rest of them running.&lt;br /&gt;
&lt;br /&gt;
Goblins are [[Immortality|immortal]] beings, dying only to violence and disease. For [[Demon|spoiler]] reasons, they never need to eat or drink, despite being carnivorous. Graphically, goblins can appear with different shades of green skin.&lt;br /&gt;
&lt;br /&gt;
Goblins speak the [[goblin language]].&lt;br /&gt;
&lt;br /&gt;
Some &amp;lt;s&amp;gt;traitors&amp;lt;/s&amp;gt; [[dwarves]] [[Preferences|''like'']] goblins for their ''terrifying features''.&lt;br /&gt;
&lt;br /&gt;
==Ethics and values==&lt;br /&gt;
{{Minorspoiler}}&lt;br /&gt;
Goblins show the least concern for [[ethics]] out of any race in the game, with the sole exception being that treason is punishable by death (which currently has no effect on successful attempts to bump off a leader). It appears that goblins do not enforce punishment, but instead simply ignore crimes and leave any punishment to be determined by the parties involved. It is because of their acceptance of controversial acts that goblins become enemies with nearly every other race. For example, goblins find the torture of animals, the butchering and consuming of sapient beings, oath-breaking, and general malice acceptable or consider it a personal matter.&lt;br /&gt;
&lt;br /&gt;
Goblin civilizations are created when a particularly powerful [[demon]] escapes the [[Underworld]]. Such demons remain in charge until they're killed or otherwise defeated, in which case normal goblins will take their place. This could imply the reason behind their particular (lack of) ethics. Goblin civilizations in fact require these demons to appear in worldgen - should you use [[advanced world generation]] to forbid demons in your world, the goblins will be locked away in the Underworld in their place, and will remain there until they are freed by a civilization digging too deep and too greedily.&lt;br /&gt;
&lt;br /&gt;
Goblins consider power to be of the utmost importance, also valuing cunning, independence and martial prowess. Goblin society dislikes peace, perseverance, hard work, tranquillity, cooperation, tradition, decorum and friendship, while not valuing loyalty, introspection, eloquence, harmony or nature at all. Goblins abhor law, truth, self-control, fairness and sacrifice. All of this means that individual goblins tend to be cruel, hateful, easily angered and immodest, while having a low capacity for altruism and being swayed by emotional appeals. Despite their evil nature, however, they tend to be very tolerant creatures, and indeed, babies taken by goblin-snatchers are raised into fully-fledged citizens who are given the same rights and treatments as the goblins themselves, suffering from no particular kind of prejudice.&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
While aggressive, goblins are notably cowardly. Although they're brutal and sadistic, they will not hold the line against a superior force and are more than willing to sacrifice their wounded comrades in a badly organized retreat. Their strength generally comes from pure numbers, as they're usually weaker than a dwarf one-on-one (a notable exception is their weapon lords and masters, who can be VERY talented in warfare.)&lt;br /&gt;
&lt;br /&gt;
==Community outlook==&lt;br /&gt;
[[File:goblin_preview.jpg|thumb|160px|left|Green and heartless.]]&lt;br /&gt;
Out of the non-player races, the goblins are the ones the player interacts with the most, given the fact they're the ones that are always hostile and eager to attack you. Compared to [[Elf|elves]], goblins can actually be a threat to a fortress, and an unprepared player can easily lose all their dwarves by being overwhelmed by the greenskin tide. However, their tendency to run off when outmatched as well as a general feeling of dwarven superiority has led to the goblins gaining a reputation of being cowardly little bastards who rely on sheer numbers to match the might of a dwarven warrior. As the main enemies of the dwarves, goblins make for perfect target-practice in [[fun]] projects.&lt;br /&gt;
&lt;br /&gt;
The community plays most of their evil acts for laughs (such as implying baby-snatchers are trying to ''save'' dwarven children from their [[Stupid dwarf trick|unhinged]] parents), and generally treats them as being equivalent to ineffectual cartoon villains who can't ''quite'' get anything done properly. A goblin will generally be treated more favorably than an elf, though; despite goblins wanting dwarves dead out of pure malice, the antipathy the community has with the elves comes from their awful, stuck-up attitude, which goblins actually lack entirely. They're evil, but they don't pretend to be good.&lt;br /&gt;
&lt;br /&gt;
{{D for Dwarf}}&lt;br /&gt;
Despite their bloodthirsty, selfish, unsympathetic and cruel nature, goblins are also recognized as a benevolent and merciful race in some aspects. Goblin Baby-Snatchers claim moral superiority by rescuing innocent lives from the slavery of making [[finished goods|rock trumpets]] until they are eaten by a [[giant cave spider]]. Atrocities such as the so-called [http://www.bay12forums.com/smf/index.php?topic=91093.0 dwarven day care] institution also spur snatchers to rescue the children from constant abuse. Goblin [[siege]]s are considered to be a form of mass mercy-killings, as a fort can die in the most horrific of ways, such as [[tantrum spiral|social disagreement]]s, an infestation of [[Cat|parasitic organisms]] (some [[Noble|masquerading as dwarve]]s) or worst of all: a visit from the [[Underworld|circus]]. And goblins who are friendly towards dwarves have been observed after de-transforming from a werebeast.&lt;br /&gt;
&lt;br /&gt;
In addition, dwarven science&amp;lt;sup&amp;gt;[Citation needed]&amp;lt;/sup&amp;gt; has proven that the violence between goblins and dwarves does, in fact, start on a purely instinctual level. Leaving a goblin and dwarven child locked in a room together will result in them kicking, punching, and biting each other to death the moment they notice each other. Whether this natural animosity stems from uncounted centuries of war, or opposing viewpoints on the treatment of children has yet to be determined.&lt;br /&gt;
&lt;br /&gt;
Despite being mortal enemies of the dwarves, goblins are still infinitely better than the despicable [[Elf|tree-hugging hippies]].&lt;br /&gt;
&lt;br /&gt;
== Playing as goblins ==&lt;br /&gt;
&lt;br /&gt;
Goblins are normally not playable in [[adventurer mode]], as the player isn't able to make adventurers from their civilizations. However, you may be able to play as one if populations of goblins have been absorbed into dwarven, human or elven civilizations during worldgen, though as noted, they will not actually ''belong'' to the actual goblin civilizations, meaning your goblin and the others will be hostile to one another. &amp;quot;Goblin&amp;quot; settlements will sometimes be completely goblin-free, having been displaced by the descendants of enslaved children that were captured in ages past. In this respect, whilst they're a goblin ''[[faction]]'', they're populated purely by unfortunate prisoners and other brainwashed humanoids.&lt;br /&gt;
&lt;br /&gt;
By [[modding]], however, goblins can also be played in fortress mode as well. As mentioned above, goblins can also appear as visitors (and then become normal citizens) of a fortress without needing any change to the game.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Siege]]&lt;br /&gt;
&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{gamedata|title=Entity ([[civilization]]) Raws|{{raw|v50:entity_default.txt|ENTITY|EVIL}}}}&lt;br /&gt;
{{Creatures}}&lt;br /&gt;
{{Category|Races}}&lt;br /&gt;
{{Category|Humanoids}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Cacame_Awemedinade&amp;diff=315844</id>
		<title>Cacame Awemedinade</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Cacame_Awemedinade&amp;diff=315844"/>
		<updated>2026-04-22T00:46:26Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Reverted edits by 71.204.37.122 (talk) to last revision by Cali&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{D for Dwarf}}&lt;br /&gt;
{{Translation&lt;br /&gt;
| english = Pelt Apebalded, the Immortal Onslaught&lt;br /&gt;
| dwarven = Rodem Izegroder Kudarmothdast&lt;br /&gt;
| goblin  = Uxo Ozsebor Ostsnotutu&lt;br /&gt;
| human   = Therset Tunemrostfen Athrigencesh&lt;br /&gt;
}}&lt;br /&gt;
[[File:Cacame Fault elfking.jpg|200px|thumb|right|&amp;quot;The Glorious Elf King&amp;quot; by Fault]]&lt;br /&gt;
The [[Elf]] King of the [[Dwarves]], '''Cacame Awemedinade Monípalóthi''' ([[wikipedia:english|English]]: ''Cacame Apebalded, the Immortal Onslaught'') is the world's &amp;lt;s&amp;gt;most&amp;lt;/s&amp;gt; only badass elf.&lt;br /&gt;
&lt;br /&gt;
In one particular slice of the Dwarf Fortress multiverse (generated by Holy Mittens), Cacame ascended to the rank of Elf King of the Dwarves. The story of his rise to glory has been chronicled in an [http://www.bay12forums.com/smf/index.php?topic=39897.0 epic 70+ page thread] on the Bay 12 Games forum that includes original artwork, economic discussions, raw edits, world gen randomness, Chuck Norris jokes, Battletech references, and a Cacame-themed [[Mega construction|megaproject]].&lt;br /&gt;
&lt;br /&gt;
==Brief history==&lt;br /&gt;
&lt;br /&gt;
[[File:Cacame-sarasti.jpg|300px|thumb|right|Artist's rendering of Cacame by Mechlin ([http://www.bay12forums.com/smf/index.php?topic=169691.msg7701761#msg7701761 post])]]&lt;br /&gt;
&lt;br /&gt;
===Relatives===&lt;br /&gt;
Cacame Awemedinade was born in 83 from Fewetha Spokenthundered (a warrior with five kills) and Osime (an adventurer), both of whom were eventually killed and eaten by Gibberlings (modded grotesque creatures that exist to kill, eat, and reproduce) on separate occasions; his maternal great-grandfather had been a King of the Field of Kindling, notorious for killing a megabeast and fighting another one. This both makes him of royal blood even before ascending to the position of King of the Dwarves, and determines his ancestry as worthy warriors.&lt;br /&gt;
&lt;br /&gt;
As for the rest of Cacame's family, they are all living unimportant lives. Most tragically, they are still living in the elf civilization.&lt;br /&gt;
&lt;br /&gt;
===Early life and rise to Sovereignty===&lt;br /&gt;
[[File:Cacame history.jpg|400px|thumb|center|Cacame's early history (by Fault)]]&lt;br /&gt;
[[File:Vester Cacame.png|200px|thumb|left|RIIIIDE CACAME RIIIIIDE! (by Vester)]] &lt;br /&gt;
The Creation of Ferns dwarven civilization and Cacame's former Field of Kindling elven civilization were at war for many years, with the dwarves systematically defeating the elves for decades. In 90, the dwarves conquered his home city of Oily Typhoon and placed a new dwarven governor in charge. Cacame was 7 at the time, and 5 years later, at the ripe old age of 12, he became a [[Guard]]. &lt;br /&gt;
Two years later, an elven attack from the Field of Kindling's city of Fish of Magic injured him in the lower body and killed his wife Nemo Ruyavaiyici (who was then eaten by Amoya Themarifa, the elf who killed her). Maddened with grief, Cacame set off to the nearest front as soon as he healed enough to fight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
During his first combat he took up his fallen commander's legendary warhammer&amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;[name?]&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt; and slew many elves with it, being noted as [[Cacame_Awemedinade#Cacame_joins_the_Army|the battle's fiercest and deadliest warrior]]; for his deeds, the dwarves' second-in-command acknowledged that Cacame would best put the warhammer to use and should keep it.&lt;br /&gt;
&lt;br /&gt;
Two years after that, in 99, the Battle of Both Kings was fought. In this battle Cacame struck down King Nithe of Field of Kindling (who was finished off by another dwarf called Sibrek Handpages, though); however the other king slain was the dwarven king himself. The dwarves decided that Cacame, by now dubbed &amp;quot;The Immortal Onslaught&amp;quot;, should take over as their king.&lt;br /&gt;
&lt;br /&gt;
Once made King, Cacame left in a brief quest to resurrect his wife. He returned riding a [[zombie]] wyvern, but without achieving his goal.&lt;br /&gt;
In 111, at the age of 28, he moved his capital to the Gamildodók (Trustclasps) Fortress.&lt;br /&gt;
&lt;br /&gt;
===Colossus of Cacame===&lt;br /&gt;
[[File:Cacame colossus.jpg|200px|thumb|right|Colossus of Cacame&amp;lt;br/&amp;gt;(by Holy Mittens)]]Due to a courtier's inadvertent slight to his zombie wyvern, King Cacame would go on to defeat a red [[dragon]] called Sokröx Glimmerfair (the Duty of Coloring) with [[Cacame_Awemedinade#King_Cacame_vs._The_Dragon|nothing more than Competent Hammer skill]]. This deed inspired the admiring dwarves to build a [[megaproject|monument]] to their king, the [[Cacame_Awemedinade#King_Cacame_and_the_Colossus|Colossus of Cacame]]. It is told by the bards that there was a large [[goblin]] attack during the inauguration party, and that King Cacame himself stood alone before the Colossus and glared at the goblins until they panicked and routed. Some naysayers&amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;[Who?]&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt;, however, claim that a battle was actually fought and won before King Cacame's arrival.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''His cape is made of solid [[gold]]. It took 949 bars of gold to forge. The vast majority of that gold was home-smelted. The head of his hammer is made of mithril with an [[iron]] band around it, spike at the top, and handle. That's 132 bars of mithril and 37 bars of iron.''&lt;br /&gt;
&lt;br /&gt;
''His armor and helmet are made of [[obsidian]]. I'm not even going to attempt to calculate or count how many stones it took. It was a lot of them. The horns on his helmet are [[cinnabar]]. His flesh is forged of [[platinum]]. 33 bars in total. His eyes are [[clear glass]] [[blocks]]. Behind his eyes are pools of [[magma]] that were pumped from the pipe a fair distance away. Sadly, Visual Fortress doesn't display this as two huge glowing orbs of elf-hating malice.&lt;br /&gt;
The construction took the lives of five workers, who were properly honored and entombed.''&lt;br /&gt;
&lt;br /&gt;
===Questing for revenge===&lt;br /&gt;
[[File:Cacame_vs_Engnun.png|200px|thumb|left|Cacame vs. Egngun (by Vester)]]In time, King Cacame's Royal Guard expanded to other races, coming to include like-minded elves and even a couple of awe-thralled goblins, all fanatically loyal and immensely skilled.&lt;br /&gt;
Hearing of King Cacame's might and the splendor of his kingdom, the Elven King Iwo Lolamaficemi (Barricaded Sever of Flaying), who fought against and ate Amoya Themarifa, found that it would be advantageous to make a [[Cacame_Awemedinade#King_Cacame_and_the_State_Visit|State Visit]] to Gamildodók. This (predictably) turned out to be a mistake, and he left in a hurry with his entourage after a very brief private meeting. While the precise words exchanged are unknown, it isn't hard to guess what happened.&lt;br /&gt;
&lt;br /&gt;
The elven king's visit had, however, the effect of stirring the desire to take direct revenge on his wife's killer, and drove Cacame to leave the fortress incognito. While the king returned more bitter than ever (if that's even possible) and never spoke about what happened, some inquisitive bards managed to [[Cacame_Awemedinade#King_Cacame.27s_quest|find clues to his doings elsewhere]].&lt;br /&gt;
&lt;br /&gt;
===Dissatisfaction and Ennui===&lt;br /&gt;
[[File:Cacame by Fault.jpg|200px|thumb|right|Cacame merrymaking (by Fault)]]Having his deepest desires denied, Cacame started to fall into an apathy-driven lassitude. However, when the [[humans]] decided to besiege his fortress, he recovered some of his spirit, lowered the drawbridge and waited them out alone between the legs of his Colossus [[Cacame_Awemedinade#King_Cacame_merrymaking_with_the_Human_besiegers|to greet and entertain them]].&lt;br /&gt;
&lt;br /&gt;
On this occasion, he taught them to play hammer tag, dodgearrow, head cricket, foegolf, and other contact sports; he also showed them a few parlor tricks such as &amp;quot;punt away the horse from under its rider&amp;quot;. To his great chagrin, the surviving humans quickly decided the party was running late and retired...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After that, he started leaving in short [[Cacame_Awemedinade#King_Cacame_relieving_stress|stress-relieving incognito trips]], and appeared to have regained his old fire.&lt;br /&gt;
&lt;br /&gt;
=== Goblin reaction ===&lt;br /&gt;
[[File:Fault Cacame watercolor.png|200px|thumb|left|Watercolor by Fault]] [[File:Badasselfkingofdwarves.jpg|200px|thumb|right|Pencil by Lord Dakoth]]&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Goblin1:''' ''Man, I heard about these Dwarves. They have an ''Elf'', for their King!''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Goblin2:''' ''You kidding me?''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Goblin1:''' ''I am totally serious, this Elf is so badass the Dwarves accept him as their King!''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Goblin2:''' ''Forget that, lets go raid the Orcs.''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Goblin1:''' ''Probably be safer.''&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Add him to your game!==&lt;br /&gt;
&lt;br /&gt;
===Engraving and decorations===&lt;br /&gt;
&lt;br /&gt;
'''Shima''': ''Add this to descriptor_shape_standard.txt in the raws, and he will show up in other worlds.  He might also appear in the likes of Dwarves, possibly ... will appear in engravings and decorations for all races, that much I can tell you for sure.  There may be some odd syntax &amp;quot;Engraving of an ale-chugging Elf King etcetc&amp;quot; and such, but that's the nature.  Rarely, in a Dwarf's likes, it might show &amp;quot;Elf King Cacame Lastnamey&amp;quot; as a like as well.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SHAPE:ELFKING]&lt;br /&gt;
   [NAME:Elf King Cacame Awemedinade:Elf King Cacame Awemedinade]&lt;br /&gt;
   [ADJ:awe-inspiring]&lt;br /&gt;
   [ADJ:grand]&lt;br /&gt;
   [ADJ:marvelous]&lt;br /&gt;
   [ADJ:kickass]&lt;br /&gt;
   [ADJ:Elf-hating]&lt;br /&gt;
   [ADJ:ale-chugging]&lt;br /&gt;
   [ADJ:great]&lt;br /&gt;
   [ADJ:excellent]&lt;br /&gt;
   [ADJ:fantastic]&lt;br /&gt;
   [ADJ:majestic]&lt;br /&gt;
   [ADJ:extraordinary]&lt;br /&gt;
   [ADJ:tall]&lt;br /&gt;
   [ADJ:magma-loving]&lt;br /&gt;
   [ADJ:hammering]&lt;br /&gt;
   [ADJ:fighting]&lt;br /&gt;
   [ADJ:warring]&lt;br /&gt;
   [ADJ:zombie wyvern-riding]&lt;br /&gt;
   [ADJ:dragon-slaying]&lt;br /&gt;
   [ADJ:hardballing]&lt;br /&gt;
   [ADJ:demon-slaying]&lt;br /&gt;
   [ADJ:siege-breaking]&lt;br /&gt;
   [ADJ:adventuring]&lt;br /&gt;
   [TILE:69]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Awemedinite===&lt;br /&gt;
'''Shima:''' ''I bring you... Awemedinite!''&lt;br /&gt;
&lt;br /&gt;
====Version 0.31 and later====&lt;br /&gt;
''(Update for version 0.40.24 by Ruludos)''&lt;br /&gt;
&lt;br /&gt;
This goes into &amp;lt;tt&amp;gt;raw\objects\inorganic_metal.txt&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[INORGANIC:AWEMEDINITE]&lt;br /&gt;
	[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]&lt;br /&gt;
	[STATE_NAME_ADJ:ALL_SOLID:awemedinite]&lt;br /&gt;
	[STATE_NAME_ADJ:LIQUID:molten awemedinite]&lt;br /&gt;
	[STATE_NAME_ADJ:GAS:boiling awemedinite]&lt;br /&gt;
		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
	[BUILD_COLOR:5:5:0]&lt;br /&gt;
	[MATERIAL_VALUE:1000]&lt;br /&gt;
	[SPEC_HEAT:7500]&lt;br /&gt;
	[MELTING_POINT:50000]&lt;br /&gt;
	[BOILING_POINT:75000]&lt;br /&gt;
	[ITEMS_WEAPON][ITEMS_WEAPON_RANGED][ITEMS_AMMO][ITEMS_DIGGER][ITEMS_ARMOR][ITEMS_HARD][ITEMS_METAL][ITEMS_BARRED][ITEMS_SCALED]&lt;br /&gt;
	[SOLID_DENSITY:8500]&lt;br /&gt;
	[LIQUID_DENSITY:8500]&lt;br /&gt;
	[MOLAR_MASS:60000]&lt;br /&gt;
	[IMPACT_YIELD:700000]&lt;br /&gt;
	[IMPACT_FRACTURE:1500000]&lt;br /&gt;
	[IMPACT_STRAIN_AT_YIELD:500]&lt;br /&gt;
	[COMPRESSIVE_YIELD:800000]&lt;br /&gt;
	[COMPRESSIVE_FRACTURE:1500000]&lt;br /&gt;
	[COMPRESSIVE_STRAIN_AT_YIELD:450]&lt;br /&gt;
	[TENSILE_YIELD:180000]&lt;br /&gt;
	[TENSILE_FRACTURE:500000]&lt;br /&gt;
	[TENSILE_STRAIN_AT_YIELD:100]&lt;br /&gt;
	[TORSION_YIELD:200000]&lt;br /&gt;
	[TORSION_FRACTURE:500000]&lt;br /&gt;
	[TORSION_STRAIN_AT_YIELD:400]&lt;br /&gt;
	[SHEAR_YIELD:300000]&lt;br /&gt;
	[SHEAR_FRACTURE:600000]&lt;br /&gt;
	[SHEAR_STRAIN_AT_YIELD:220]&lt;br /&gt;
	[BENDING_YIELD:800000]&lt;br /&gt;
	[BENDING_FRACTURE:800000]&lt;br /&gt;
	[BENDING_STRAIN_AT_YIELD:150]&lt;br /&gt;
	[MAX_EDGE:1000000]&lt;br /&gt;
	[STATE_COLOR:ALL_SOLID:PURPLE]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this goes into &amp;lt;tt&amp;gt;raw\objects\reaction_smelter.txt&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[REACTION:AWEMEDINITE]&lt;br /&gt;
	[NAME:craft Awemedinite bars]&lt;br /&gt;
	[BUILDING:SMELTER:NONE]&lt;br /&gt;
	[REAGENT:A:2250:BAR:NONE:INORGANIC:IRON]&lt;br /&gt;
	[REAGENT:B:1500:BAR:NONE:INORGANIC:STEEL]&lt;br /&gt;
	[REAGENT:C:750:BAR:NONE:INORGANIC:GOLD]&lt;br /&gt;
	[REAGENT:D:750:BAR:NONE:INORGANIC:SILVER]&lt;br /&gt;
	[REAGENT:E:50:BOULDER:NONE:INORGANIC:MICROCLINE]&lt;br /&gt;
	[REAGENT:F:450:BAR:NONE:INORGANIC:ADAMANTINE]&lt;br /&gt;
	[PRODUCT:100:6:BAR:NONE:INORGANIC:AWEMEDINITE][PRODUCT_DIMENSION:150]&lt;br /&gt;
	[FUEL]&lt;br /&gt;
	[SKILL:SMELT]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Version 0.28.181.40d====&lt;br /&gt;
This goes into &amp;lt;tt&amp;gt;raw\objects\matgloss_metal.txt&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MATGLOSS_METAL:AWEMEDINITE]&lt;br /&gt;
[NAME:Awemedinite]&lt;br /&gt;
[ADJ:Awesome]&lt;br /&gt;
[COLOR:5:5:0]&lt;br /&gt;
[VALUE:1000]&lt;br /&gt;
[SPEC_HEAT:7500]&lt;br /&gt;
[MELTING_POINT:50000]&lt;br /&gt;
[BOILING_POINT:60000]&lt;br /&gt;
[WEAPON]&lt;br /&gt;
[WEAPON_RANGED]&lt;br /&gt;
[ARMOR]&lt;br /&gt;
[DAMAGE_PERC:800]&lt;br /&gt;
[BLOCK_PERC:800]&lt;br /&gt;
[SOLID_DENSITY:200]&lt;br /&gt;
[DEEP]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And this goes into &amp;lt;tt&amp;gt;raw\objects\reaction_standard.txt&amp;lt;tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[REACTION:AWEMEDINITE]&lt;br /&gt;
[NAME:make Awemedinite bars]&lt;br /&gt;
[SMELTER]&lt;br /&gt;
[REAGENT:15:BAR:NO_SUBTYPE:METAL:IRON]&lt;br /&gt;
[REAGENT:10:BAR:NO_SUBTYPE:METAL:STEEL]&lt;br /&gt;
[REAGENT:5:BAR:NO_SUBTYPE:METAL:GOLD]&lt;br /&gt;
[REAGENT:5:BAR:NO_SUBTYPE:METAL:SILVER]&lt;br /&gt;
[REAGENT:50:STONE:NO_SUBTYPE:STONE:MICROCLINE]&lt;br /&gt;
[REAGENT:3:BAR:NO_SUBTYPE:METAL:ADAMANTINE]&lt;br /&gt;
[PRODUCT:100:6:BAR:NO_SUBTYPE:METAL:AWEMEDINITE]&lt;br /&gt;
[FUEL]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
* [http://www.bay12forums.com/smf/index.php?topic=39897.0 Epic DF forum topic]&lt;br /&gt;
===Cacame joins the Army===&lt;br /&gt;
* [http://www.bay12forums.com/smf/index.php?topic=39897.msg798038#msg798038 Scribe's account on how Cacame earned his warhammer]&lt;br /&gt;
===King Cacame vs. The Dragon===&lt;br /&gt;
* [http://mkv25.net/dfma/movie-1611-cacamevsthedragon &amp;quot;Cacame vs. The Dragon&amp;quot; movie]&lt;br /&gt;
* [http://bay12forums.com/smf/index.php?topic=40632.0 &amp;quot;Cacame vs. the Dragon&amp;quot; short story]&lt;br /&gt;
&lt;br /&gt;
===King Cacame and the Colossus===&lt;br /&gt;
* [http://bay12forums.com/smf/index.php?topic=41101.0 &amp;quot;King Cacame and the Colossus&amp;quot; short story]&lt;br /&gt;
&lt;br /&gt;
===King Cacame and the State Visit===&lt;br /&gt;
* [http://www.bay12forums.com/smf/index.php?topic=39897.msg734323#msg734323 Bard's account of the meeting between King Cacame and King Iwo]&lt;br /&gt;
===King Cacame's quest===&lt;br /&gt;
* [http://www.bay12forums.com/smf/index.php?topic=41404.msg744116#msg744116 Fragmentary retelling of King Cacame's doings while incognito]&lt;br /&gt;
===King Cacame merrymaking with the Human besiegers===&lt;br /&gt;
* [http://mkv25.net/dfma/movie-1651-cacamevsthehumanspt1 Part 1][http://mkv25.net/dfma/movie-1652-cacamevsthehumanspt2 Part 2][http://mkv25.net/dfma/movie-1653-cacamevsthehumanspt3 Part 3]&lt;br /&gt;
===King Cacame relieving stress===&lt;br /&gt;
* [http://www.bay12forums.com/smf/index.php?topic=49381.0 &amp;quot;We Would Be Legends&amp;quot;, short story]&lt;br /&gt;
&lt;br /&gt;
[[Category:Humor and stories]]&lt;br /&gt;
[[ru:Cacame Awemedinade]]&lt;br /&gt;
{{unversioned}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Save_version&amp;diff=315832</id>
		<title>Save version</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Save_version&amp;diff=315832"/>
		<updated>2026-04-20T13:22:09Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Every world in ''Dwarf Fortress'' contains an internal '''save version''' ID number to denote the version in which it was last saved, as well as the version in which it was originally generated. When a world is loaded, the game uses this value to determine how to process all of the data it reads - data which didn't exist at the time is generated from scratch (e.g. [[v0.34:minecart|hauling routes]], added in version 0.34.08), and data which is no longer used (e.g. [[DF2014:thought|basic thoughts]], replaced with emotions in version 0.42.01) gets skipped.&lt;br /&gt;
&lt;br /&gt;
Not all ''Dwarf Fortress'' releases actually incremented the save version number (especially those which only fixed bugs), and some releases incremented it multiple times (once for each piece of new data stored).&lt;br /&gt;
&lt;br /&gt;
This number normally isn't visible during gameplay, but various tools (such as [[DFHack]]) can be used to query it.&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
!Version number&lt;br /&gt;
!Save version code&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.12|53.12]]&lt;br /&gt;
| 3544&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.11|53.11]]&lt;br /&gt;
| 3543&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.10|53.10]]&lt;br /&gt;
| 3543&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.09|53.09]]&lt;br /&gt;
| 3543&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.08|53.08]]&lt;br /&gt;
| 3543&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.07|53.07]]&lt;br /&gt;
| 3543&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.06|53.06]]&lt;br /&gt;
| 3537&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.05|53.05]]&lt;br /&gt;
| 3535&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.04|53.04]]&lt;br /&gt;
| 3535&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.03|53.03]]&lt;br /&gt;
| 3535&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.02|53.02]]&lt;br /&gt;
| 3534&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/53.01|53.01]]&lt;br /&gt;
| 3534&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/52.05|52.05]]&lt;br /&gt;
| 3021&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/52.04|52.04]]&lt;br /&gt;
| 3021&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/52.03|52.03]]&lt;br /&gt;
| 3021&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/52.02|52.02]]&lt;br /&gt;
| 3015&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/52.01|52.01]]&lt;br /&gt;
| 3015&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.13|51.13]]&lt;br /&gt;
| 3015&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.12|51.12]]&lt;br /&gt;
| 3015&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.11|51.11]]&lt;br /&gt;
| 3014&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.10|51.10]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.09|51.09]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.08|51.08]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.07|51.07]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.06|51.06]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.05|51.05]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.04|51.04]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.03|51.03]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.02|51.02]]&lt;br /&gt;
| 3013&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/51.01|51.01]]&lt;br /&gt;
| Various (beta)&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.15|50.15]]&lt;br /&gt;
| 2082&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.14|50.14]]&lt;br /&gt;
| 2082&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.13|50.13]]&lt;br /&gt;
| 2082&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.12|50.12]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.11|50.11]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.10|50.10]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.09|50.09]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.08|50.08]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.07|50.07]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.06|50.06]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.05|50.05]]&lt;br /&gt;
| 2081&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.04|50.04]]&lt;br /&gt;
| 2080&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.03|50.03]]&lt;br /&gt;
| 2080&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.02|50.02]]&lt;br /&gt;
| 2079&lt;br /&gt;
|-&lt;br /&gt;
| [[Release information/50.01|50.01]]&lt;br /&gt;
| 2078&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.47.05|0.47.05]]&lt;br /&gt;
| 1716&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.47.04|0.47.04]]&lt;br /&gt;
| 1715&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.47.03|0.47.03]]&lt;br /&gt;
| 1712&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.47.02|0.47.02]]&lt;br /&gt;
| 1711&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.47.01|0.47.01]]&lt;br /&gt;
| 1710&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.12|0.44.12]]&lt;br /&gt;
| 1625&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.11|0.44.11]]&lt;br /&gt;
| 1623&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.10|0.44.10]]&lt;br /&gt;
| 1620&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.09|0.44.09]]&lt;br /&gt;
| 1614&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.08|0.44.08]]&lt;br /&gt;
| 1613&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.07|0.44.07]]&lt;br /&gt;
| 1612&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.06|0.44.06]]&lt;br /&gt;
| 1611&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.05|0.44.05]]&lt;br /&gt;
| 1604&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.04|0.44.04]]&lt;br /&gt;
| 1603&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.03|0.44.03]]&lt;br /&gt;
| 1600&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.02|0.44.02]]&lt;br /&gt;
| 1597&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.44.01|0.44.01]]&lt;br /&gt;
| 1596&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.43.05|0.43.05]]&lt;br /&gt;
| 1556&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.43.04|0.43.04]]&lt;br /&gt;
| 1555&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.43.03|0.43.03]]&lt;br /&gt;
| 1553&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.43.02|0.43.02]]&lt;br /&gt;
| 1552&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.43.01|0.43.01]]&lt;br /&gt;
| 1551&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.06|0.42.06]]&lt;br /&gt;
| 1542&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.05|0.42.05]]&lt;br /&gt;
| 1537&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.04|0.42.04]]&lt;br /&gt;
| 1534&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.03|0.42.03]]&lt;br /&gt;
| 1533&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.02|0.42.02]]&lt;br /&gt;
| 1532&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.42.01|0.42.01]]&lt;br /&gt;
| 1531&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.24|0.40.24]]&lt;br /&gt;
| 1481&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.23|0.40.23]]&lt;br /&gt;
| 1480&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.22|0.40.22]]&lt;br /&gt;
| 1479&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.21|0.40.21]]&lt;br /&gt;
| 1478&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.20|0.40.20]]&lt;br /&gt;
| 1477&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.19|0.40.19]]&lt;br /&gt;
| 1474&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.18|0.40.18]]&lt;br /&gt;
| 1473&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.17|0.40.17]]&lt;br /&gt;
| 1472&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.16|0.40.16]]&lt;br /&gt;
| 1471&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.15|0.40.15]]&lt;br /&gt;
| 1470&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.14|0.40.14]]&lt;br /&gt;
| 1469&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.13|0.40.13]]&lt;br /&gt;
| 1462&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.12|0.40.12]]&lt;br /&gt;
| 1459&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.11|0.40.11]]&lt;br /&gt;
| 1456&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.10|0.40.10]]&lt;br /&gt;
| 1452&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.09|0.40.09]]&lt;br /&gt;
| 1451&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.08|0.40.08]]&lt;br /&gt;
| 1449&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.07|0.40.07]]&lt;br /&gt;
| 1448&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.06|0.40.06]]&lt;br /&gt;
| 1446&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.05|0.40.05]]&lt;br /&gt;
| 1445&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.04|0.40.04]]&lt;br /&gt;
| 1444&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.03|0.40.03]]&lt;br /&gt;
| 1443&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.02|0.40.02]]&lt;br /&gt;
| 1442&lt;br /&gt;
|-&lt;br /&gt;
| [[DF2014:Release information/0.40.01|0.40.01]]&lt;br /&gt;
| 1441&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.11|0.34.11]]&lt;br /&gt;
| 1404&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.10|0.34.10]]&lt;br /&gt;
| 1403&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.09|0.34.09]]&lt;br /&gt;
| 1402&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.08|0.34.08]]&lt;br /&gt;
| 1400&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.07|0.34.07]]&lt;br /&gt;
| 1383&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.06|0.34.06]]&lt;br /&gt;
| 1382&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.05|0.34.05]]&lt;br /&gt;
| 1378&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.04|0.34.04]]&lt;br /&gt;
| 1377&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.03|0.34.03]]&lt;br /&gt;
| 1376&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.02|0.34.02]]&lt;br /&gt;
| 1374&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.34:Release information/0.34.01|0.34.01]]&lt;br /&gt;
| 1372&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.25|0.31.25]]&lt;br /&gt;
| 1362&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.24|0.31.24]]&lt;br /&gt;
| 1361&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.23|0.31.23]]&lt;br /&gt;
| 1360&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.22|0.31.22]]&lt;br /&gt;
| 1359&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.21|0.31.21]]&lt;br /&gt;
| 1354&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.20|0.31.20]]&lt;br /&gt;
| 1353&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.19|0.31.19]]&lt;br /&gt;
| 1351&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.18|0.31.18]]&lt;br /&gt;
| 1341&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.17|0.31.17]]&lt;br /&gt;
| 1340&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.16|0.31.16]]&lt;br /&gt;
| 1327&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.15|0.31.15]]&lt;br /&gt;
| 1326&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.14|0.31.14]]&lt;br /&gt;
| 1325&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.13|0.31.13]]&lt;br /&gt;
| 1323&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.12|0.31.12]]&lt;br /&gt;
| 1311&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.11|0.31.11]]&lt;br /&gt;
| 1310&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.10|0.31.10]]&lt;br /&gt;
| 1305&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.09|0.31.09]]&lt;br /&gt;
| 1304&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.08|0.31.08]]&lt;br /&gt;
| 1300&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.07|0.31.07]]&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.06|0.31.06]]&lt;br /&gt;
| 1297&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.05|0.31.05]]&lt;br /&gt;
| 1295&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.04|0.31.04]]&lt;br /&gt;
| 1292&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.03|0.31.03]]&lt;br /&gt;
| 1289&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.02|0.31.02]]&lt;br /&gt;
| 1288&lt;br /&gt;
|-&lt;br /&gt;
| [[v0.31:Release information/0.31.01|0.31.01]]&lt;br /&gt;
| 1287&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.40d|0.28.181.40d]]&lt;br /&gt;
| 1268&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.40c|0.28.181.40c]]&lt;br /&gt;
| 1267&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.40b|0.28.181.40b]]&lt;br /&gt;
| 1266&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.40a|0.28.181.40a]]&lt;br /&gt;
| 1265&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39f|0.28.181.39f]]&lt;br /&gt;
| 1261&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39e|0.28.181.39e]]&lt;br /&gt;
| 1260&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39d|0.28.181.39d]]&lt;br /&gt;
| 1259&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39c|0.28.181.39c]]&lt;br /&gt;
| 1256&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39b|0.28.181.39b]]&lt;br /&gt;
| 1255&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.28.181.39a|0.28.181.39a]]&lt;br /&gt;
| 1254&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.176.38c|0.27.176.38c]]&lt;br /&gt;
| 1235&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.176.38b|0.27.176.38b]]&lt;br /&gt;
| 1234&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.176.38a|0.27.176.38a]]&lt;br /&gt;
| 1231&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.173.38a|0.27.173.38a]]&lt;br /&gt;
| 1223&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33g|0.27.169.33g]]&lt;br /&gt;
| 1216&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33f|0.27.169.33f]]&lt;br /&gt;
| 1215&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33e|0.27.169.33e]]&lt;br /&gt;
| 1213&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33d|0.27.169.33d]]&lt;br /&gt;
| 1212&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33c|0.27.169.33c]]&lt;br /&gt;
| 1211&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33b|0.27.169.33b]]&lt;br /&gt;
| 1209&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.33a|0.27.169.33a]]&lt;br /&gt;
| 1206&lt;br /&gt;
|-&lt;br /&gt;
| [[40d:Release information/0.27.169.32a|0.27.169.32a]]&lt;br /&gt;
| 1205&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.23.130.23a|0.23.130.23a]]&lt;br /&gt;
| 1169&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.23.125.23b|0.23.125.23b]]&lt;br /&gt;
| 1168&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.23.125.23a|0.23.125.23a]]&lt;br /&gt;
| 1167&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.123.23a|0.22.123.23a]]&lt;br /&gt;
| 1165&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.121.23b|0.22.121.23b]]&lt;br /&gt;
| 1161&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.121.23a|0.22.121.23a]]&lt;br /&gt;
| 1160&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.120.23b|0.22.120.23b]]&lt;br /&gt;
| 1159&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.120.23a|0.22.120.23a]]&lt;br /&gt;
| 1151&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.23c|0.22.110.23c]]&lt;br /&gt;
| 1148&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.23b|0.22.110.23b]]&lt;br /&gt;
| 1148&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.23a|0.22.110.23a]]&lt;br /&gt;
| 1148&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22f|0.22.110.22f]]&lt;br /&gt;
| 1137&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22e|0.22.110.22e]]&lt;br /&gt;
| 1134&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22d|0.22.110.22d]]&lt;br /&gt;
| 1133&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22c|0.22.110.22c]]&lt;br /&gt;
| 1133&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22b|0.22.110.22b]]&lt;br /&gt;
| 1131&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.110.22a|0.22.110.22a]]&lt;br /&gt;
| 1131&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.22.107.21a|0.22.107.21a]]&lt;br /&gt;
| 1128&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.105.21a|0.21.105.21a]]&lt;br /&gt;
| 1128&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.21c|0.21.104.21c]]&lt;br /&gt;
| 1128&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.21b|0.21.104.21b]]&lt;br /&gt;
| 1125&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.21a|0.21.104.21a]]&lt;br /&gt;
| 1123&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.19d|0.21.104.19d]]&lt;br /&gt;
| 1121&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.19c|0.21.104.19c]]&lt;br /&gt;
| 1121&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.19b|0.21.104.19b]]&lt;br /&gt;
| 1119&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.104.19a|0.21.104.19a]]&lt;br /&gt;
| 1119&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.102.19a|0.21.102.19a]]&lt;br /&gt;
| 1117&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.101.19d|0.21.101.19d]]&lt;br /&gt;
| 1114&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.101.19c|0.21.101.19c]]&lt;br /&gt;
| 1114&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.101.19b|0.21.101.19b]]&lt;br /&gt;
| 1114&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.101.19a|0.21.101.19a]]&lt;br /&gt;
| 1113&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.100.19a|0.21.100.19a]]&lt;br /&gt;
| 1110&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.95.19c|0.21.95.19c]]&lt;br /&gt;
| 1110&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.95.19b|0.21.95.19b]]&lt;br /&gt;
| 1108&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.95.19a|0.21.95.19a]]&lt;br /&gt;
| 1108&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.93.19c|0.21.93.19c]]&lt;br /&gt;
| 1108&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.93.19b|0.21.93.19b]]&lt;br /&gt;
| 1108&lt;br /&gt;
|-&lt;br /&gt;
| [[23a:Release information/0.21.93.19a|0.21.93.19a]]&lt;br /&gt;
| 1107&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Game development]]&lt;br /&gt;
[[Category:Release information]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Intro_movie&amp;diff=315814</id>
		<title>Intro movie</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Intro_movie&amp;diff=315814"/>
		<updated>2026-04-16T03:13:41Z</updated>

		<summary type="html">&lt;p&gt;Quietust: /* Fun */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The '''intro movie''' to ''Dwarf Fortress'' played with old versions when the game was opened, unless it was [[DF2014:Technical_tricks#Intro_Movie|disabled]].&lt;br /&gt;
&lt;br /&gt;
==Opening credits==&lt;br /&gt;
First, the [[Bay 12 Games]] logo is displayed. Second, the Bay 12 Games motto (''Beyond Quality'') appears.&lt;br /&gt;
In the next scene ''A [[Toady One]] The Great Production'' is pulled across the screen on a wheeled platform by a dwarf.&lt;br /&gt;
[[File:intro_movie_1.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Title==&lt;br /&gt;
The camera pans down from a blue sky to the entrance to a dwarven mountainhome. The title ''Slaves to Armok: God of Blood Chapter II: Dwarf Fortress'' appears above the entrance. Dwarves can be seen on the ground, and one enters the mountainhome.&lt;br /&gt;
[[File:intro_movie_2.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Blacksmith==&lt;br /&gt;
The camera enters the mountainhome and finds its way to a blacksmith using an anvil and hammer to form a glowing-hot piece of metal.&lt;br /&gt;
[[File:intro_movie_3.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Cave River==&lt;br /&gt;
The camera then pans to the left and enters a door leading to a bridge that crosses the [[23a:cave river|cave river]].&lt;br /&gt;
[[File:intro_movie_4.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Sparring dwarves==&lt;br /&gt;
The camera enters a door at the end of that bridge and focuses on two dwarves [[sparring]] with adamantine weapons.&lt;br /&gt;
[[File:intro_movie_5.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Chasm==&lt;br /&gt;
The camera then goes into the door on the left and goes down several tunnels, including a bridge over the [[23a:chasm|chasm]] until it comes to a dwarf mining. The miner strikes the wall of the cavern, makes a hole, and loses his pickaxe down said hole.&lt;br /&gt;
[[File:intro_movie_6.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Fun==&lt;br /&gt;
The miner looks into the hole and [[23a:magma flow#Initial Flood|bursts into flame]].&lt;br /&gt;
[[File:intro_movie_7.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Game]]&lt;br /&gt;
[[ru:Intro movie]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Intro_movie&amp;diff=315813</id>
		<title>Intro movie</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Intro_movie&amp;diff=315813"/>
		<updated>2026-04-16T03:12:37Z</updated>

		<summary type="html">&lt;p&gt;Quietust: the cavern lake is the 2D Cave River, there's a bridge over the Chasm (with bats flying by), and the miner at the end just breached the Magma Flow and triggered a flood&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The '''intro movie''' to ''Dwarf Fortress'' played with old versions when the game was opened, unless it was [[DF2014:Technical_tricks#Intro_Movie|disabled]].&lt;br /&gt;
&lt;br /&gt;
==Opening credits==&lt;br /&gt;
First, the [[Bay 12 Games]] logo is displayed. Second, the Bay 12 Games motto (''Beyond Quality'') appears.&lt;br /&gt;
In the next scene ''A [[Toady One]] The Great Production'' is pulled across the screen on a wheeled platform by a dwarf.&lt;br /&gt;
[[File:intro_movie_1.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Title==&lt;br /&gt;
The camera pans down from a blue sky to the entrance to a dwarven mountainhome. The title ''Slaves to Armok: God of Blood Chapter II: Dwarf Fortress'' appears above the entrance. Dwarves can be seen on the ground, and one enters the mountainhome.&lt;br /&gt;
[[File:intro_movie_2.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Blacksmith==&lt;br /&gt;
The camera enters the mountainhome and finds its way to a blacksmith using an anvil and hammer to form a glowing-hot piece of metal.&lt;br /&gt;
[[File:intro_movie_3.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Cave River==&lt;br /&gt;
The camera then pans to the left and enters a door leading to a bridge that crosses the [[23a:cave river|cave river]].&lt;br /&gt;
[[File:intro_movie_4.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Sparring dwarves==&lt;br /&gt;
The camera enters a door at the end of that bridge and focuses on two dwarves [[sparring]] with adamantine weapons.&lt;br /&gt;
[[File:intro_movie_5.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Chasm==&lt;br /&gt;
The camera then goes into the door on the left and goes down several tunnels, including a bridge over the [[23a:chasm|chasm]] until it comes to a dwarf mining. The miner strikes the wall of the cavern, makes a hole, and loses his pickaxe down said hole.&lt;br /&gt;
[[File:intro_movie_6.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
==Fun==&lt;br /&gt;
The miner looks into the hole and [[23a:magma flow|bursts into flame]].&lt;br /&gt;
[[File:intro_movie_7.gif|frame|center]]&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Game]]&lt;br /&gt;
[[ru:Intro movie]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315798</id>
		<title>Template:Current/version</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Template:Current/version&amp;diff=315798"/>
		<updated>2026-04-14T22:01:38Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;53.12&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template is the most recent version (hopefully).&lt;br /&gt;
Include it in places that you want to refer to the most recent version.&lt;br /&gt;
&lt;br /&gt;
If this template isn't up to date, feel free to correct it.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{tl|current/version/ns}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Version {{current/version}}]][[category:wiki]][[Category:Version templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Fire&amp;diff=315792</id>
		<title>Fire</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Fire&amp;diff=315792"/>
		<updated>2026-04-12T18:02:24Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional}}&lt;br /&gt;
{{av}}&lt;br /&gt;
[[File:fire_sprite_anim.gif|right]]'''Fire''', like its real-life counterpart, is an immensely [[fun|destructive]] force. Fires can spread and burn dwarves and furniture, generating [[smoke]]. Fire spreads over flammable surfaces, items and creatures. Dwarves caught in the blaze might end up dying, and items will slowly get [[wear|damaged]] until they get destroyed. In-game, entities which are on fire flash red and yellow. In item lists, anything which is on fire will also be surrounded by double exclamation marks, similarly to ‼THIS‼. &lt;br /&gt;
&lt;br /&gt;
== Cause ==&lt;br /&gt;
[[File:megabeast_fire_v50_anim.gif|thumb|303px|right|A [[megabeast]] burning to death.]][[File:Running around on fire.gif|thumb|'''‼'''Dwarves'''‼''' on fire (flashing red/yellow), and trailing [[smoke]].]]A fire can stem from several sources, for example:&lt;br /&gt;
*[[Dragon]]s breathe [[dragonfire]], which can set most organic things on fire and melt fire-safe stone, at anything hostile they see. The dragonfire spreads out in a conical shape and ignites anything it touches. It is not the same as regular fire.&lt;br /&gt;
*[[File:fireball_sprite_anim.gif|thumb|32px|right|Imp fireball.]][[Fire imp]]s can throw fireballs, which may set things alight, while [[magma crab]]s can spit globs of liquid [[basalt]], which may set the [[grass]] or [[cave moss]] alight, causing fires.&lt;br /&gt;
*[[Magma]] will burn anything flammable it touches - however, any item set alight by this method will likely just be doused in magma until it is completely destroyed.&lt;br /&gt;
**[[Magma mist]] burns stuff just as well as magma.&lt;br /&gt;
*Some [[titan]]s, [[forgotten beast]]s, and [[demon]]s can breathe fire/throw fireballs, too.&lt;br /&gt;
*[[Fire man|Fire men]] and [[magma man|magma men]], as well as other procedurally-generated beasts composed of flame (''including some instances of the above''), have high fixed body temperatures, causing them to spread fires (and [[fun]]) in their path.&lt;br /&gt;
&lt;br /&gt;
Note that it is currently difficult to safely start (and then, control) a fire. Fire is most easily started by either [[magma]] or a fire-breathing attack. An area enclosed by [[water]], metal, stone or Z-level difference can be used to start a fire, which can be used as a way of increasing [[FPS]] by removing objects, or as part of a complex trap, though this may lead to [[fun]] when something comes out burning which then sets the rest of the fort on fire.&lt;br /&gt;
&lt;br /&gt;
== Spread &amp;amp; Effect ==&lt;br /&gt;
[[File:magma_spill_anim.gif|thumb|185px|right|Magma spilling in, setting workshops ablaze.]]Fire will spread to adjacent tiles containing flammable materials, including [[grass]], [[shrub]]s, [[log]]s, [[clothes]], [[dwarves]] (and generally all creatures that are not composed of [[fire-safe]] materials), multi-tile trees, wooden [[furniture]], [[building]]s, and [[road]]s, [[lignite]] and [[bituminous coal]] rocks, and bars of [[charcoal]], or [[coke]].  Except for dragonfire, fire won't burn rock or metal. Constructions (wall, floor, etc.) will currently never burn, no matter what.&lt;br /&gt;
&lt;br /&gt;
Fire will not spread across z-levels by itself. Walls with trapped passages block the fire, too. Both shrubs and trees can catch fire, and burning branches can potentially spread fires uphill. When aboveground, spreading fire can cause trees to collapse, and if it spreads too much, this can cause spam as the game repeatedly announces &amp;quot;Something outside has collapsed!&amp;quot; and pauses. Note that these collapses can cause holes in the ceiling of your fortress if it is directly below. Therefore, some forest fires are sadly best left controlled, or not started.&lt;br /&gt;
&lt;br /&gt;
Fires burning in the environment (e.g. burning [[grass]]) start at a temperature of {{ct|10508}} and quickly heat up to {{ct|10708}}, while burning items rapidly heat up to 200 degrees above their ignition point (but stay slightly below that, because the surrounding air cools them a bit). Items experience rapid [[wear]]-based damage while burning, and continue to degrade until entirely destroyed. [[Fire-safe]]ty for any material is defined as being stable at a [[temperature]] of {{ct|11000}}.&lt;br /&gt;
&lt;br /&gt;
=== Artifacts ===&lt;br /&gt;
[[Artifact|Artifacts]] constructed from a flammable base material can burn, but will not experience any [[wear]], potentially leaving them burning forever, including artifacts used as part of a building. If an artifact is not stored in a bin, water will extinguish it. Artifacts with a melting or boiling point can still be destroyed if the items exceed those temperatures (as a result of combustion, [[magma]], or [[dragonfire|other sources]]).&lt;br /&gt;
&lt;br /&gt;
Interestingly, because [[books]] are considered artifacts, they too will burn indefinitely, but because their copies aren't, such copies ''will'' burn up.&lt;br /&gt;
&lt;br /&gt;
=== Ghosts ===&lt;br /&gt;
One thing to note is that dwarves that burn to death do not leave remains, and will produce [[ghost]]s even if buried in a coffin. Be sure to engrave a memorial to all dwarves that burn to ashes, unless, of course, you ''want'' a ghost infestation.&lt;br /&gt;
&lt;br /&gt;
== Dragonfire ==&lt;br /&gt;
{{main|Dragonfire}}&lt;br /&gt;
&lt;br /&gt;
Dragonfire is a very powerful form of fire that is capable of igniting or melting many fire-safe materials. Specifically, organic materials ignite (including [[nether-cap]]), and non-flammable stones and metals melt and boil away. Objects ignited by dragonfire burn at their standard combustion temperature - only the initial blast of dragonfire is able to destroy [[fire-safe]] materials. Dragonfire can only naturally be emitted by [[dragon]]s.&lt;br /&gt;
&lt;br /&gt;
== Dangers ==&lt;br /&gt;
In recent versions of ''Dwarf Fortress'', dwarves (semi-correctly) see fire as a danger to themselves and try to avoid becoming ‼Dwarves‼. However, burning dwarves will carry out typical dwarven activities, despite the fact that the &amp;lt;s&amp;gt;dwarf&amp;lt;/s&amp;gt; fire-swathed fool of an Urist is burning to death, and will spread the fiery destruction to their peers. {{verify}} This may not only kill your dwarves, but more importantly, also incinerate a good many useful items. Dwarves will not path through smoke reliably, so if you see a bunch of job cancellations due to pathing issues, a fiery dwarf is probably running around (or other [[fun]] is afoot).  Alternatively, sometimes the smoke on the burning dwarf's tile prevents them from pathing anywhere, forcing them to be stationary while they burn.  And don't, for Armok's sake, let the flaming dwarves anywhere near the booze. Contrary to popular belief, it doesn't ''explode'' (and never did), but it ''will'' boil away into nothing, which is always [[fun#No_Booze|fun]].&lt;br /&gt;
&lt;br /&gt;
A dwarf catching fire is not an automatic death sentence - dwarves have been observed catching fire, then extinguishing and surviving.&lt;br /&gt;
&lt;br /&gt;
[[File:dwarf_fire_preview.png|thumb|289px|center|‼Punctuation marks have never been so painful‼&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;''Art by Locus''&amp;lt;/small&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
{{Translation&lt;br /&gt;
| dwarven = ziril&lt;br /&gt;
| elvish  = inira&lt;br /&gt;
| goblin  = zedan&lt;br /&gt;
| human   = usmok&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Category|Physics}}&lt;br /&gt;
[[ru:Fire]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Soil&amp;diff=315771</id>
		<title>Soil</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Soil&amp;diff=315771"/>
		<updated>2026-04-09T02:52:50Z</updated>

		<summary type="html">&lt;p&gt;Quietust: fix grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Quality|Fine}}&lt;br /&gt;
[[File:soil_preview.png|thumb|270px|right|Probably not enough for 80 dwarves.]]'''Soil''' is the name for the various kinds of ground that can be [[farming|planted]] on (both above and below ground) without [[irrigation]] using [[water]].  In ''Dwarf Fortress'', the category of &amp;quot;Soil&amp;quot; includes all types of sand, [[clay]], ooze and any &amp;quot;non-stone&amp;quot; layer equally, even if you or I generally don't associate that substance with &amp;quot;growing plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{Translation&lt;br /&gt;
| dwarven = adur&lt;br /&gt;
| elvish  = avi&lt;br /&gt;
| goblin  = snustrok&lt;br /&gt;
| human   = ocul&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;
! Topsoil&lt;br /&gt;
! Tile&lt;br /&gt;
|-&lt;br /&gt;
|[[Loam]]||{{Raw Tile|░|6:7:0}}{{Raw Tile|.|6:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Loamy sand]]||{{Raw Tile|▒|6:6:1}}{{Raw Tile|.|6:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Peat]]||{{Raw Tile|░|0:6:1}}{{Raw Tile|.|0:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Sandy clay loam]]||{{Raw Tile|░|4:6:0}}{{Raw Tile|.|4:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Sandy loam]]||{{Raw Tile|░|6:6:1}}{{Raw Tile|.|6:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Silt]]||{{Raw Tile|▓|6:7:0}}{{Raw Tile|.|6:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Silty clay loam]]||{{Raw Tile|░|4:7:0}}{{Raw Tile|.|4:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Silt loam]]||{{Raw Tile|▒|6:7:0}}{{Raw Tile|.|6:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
! Ocean Floor&lt;br /&gt;
! Tile&lt;br /&gt;
|-&lt;br /&gt;
|[[Pelagic clay]]||{{Raw Tile|░|4:6:0}}{{Raw Tile|.|4:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Siliceous ooze]]||{{Raw Tile|▒|4:7:0}}{{Raw Tile|.|4:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Calcareous ooze]]||{{Raw Tile|▒|4:7:0}}{{Raw Tile|.|4:0}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
! [[Sand]]&lt;br /&gt;
! Tile&lt;br /&gt;
|-&lt;br /&gt;
|[[Sand (tan)]]||{{Raw Tile|░|6:4:1}}{{Raw Tile|≈|6:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Black sand]]||{{Raw Tile|▓|0:6:1}}{{Raw Tile|≈|0:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Red sand]]||{{Raw Tile|░|4:4:1}}{{Raw Tile|≈|4:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[White sand]]||{{Raw Tile|▓|7:6:1}}{{Raw Tile|≈|7:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Yellow sand]]||{{Raw Tile|▓|6:6:1}}{{Raw Tile|≈|6:1}} {{Raw Tile|≈|3:1:1}}&lt;br /&gt;
|-&lt;br /&gt;
! Clay&lt;br /&gt;
! Tile&lt;br /&gt;
|-&lt;br /&gt;
|[[Clay]]||{{Raw Tile|▓|4:6:0}}{{Raw Tile|.|4:0}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Clay loam]]||{{Raw Tile|▒|4:7:0}}{{Raw Tile|.|4:0}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Sandy clay]]||{{Raw Tile|▒|4:6:0}}{{Raw Tile|.|4:0}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Silty clay]]||{{Raw Tile|▓|4:7:0}}{{Raw Tile|.|4:0}}&lt;br /&gt;
|-&lt;br /&gt;
|[[Fire clay]]||{{Raw Tile|▓|4:6:0}}{{Raw Tile|.|4:0}}&lt;br /&gt;
|}&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* The &amp;quot;topsoil&amp;quot; types &amp;quot;Loamy sand&amp;quot;, &amp;quot;Sandy clay loam&amp;quot;, and &amp;quot;Sandy loam&amp;quot; do '''not''' count as [[sand]] for [[glass]]making, even if their names include the word &amp;quot;sand&amp;quot; - only those in the &amp;quot;Sand&amp;quot; section are usable for this purpose.&lt;br /&gt;
* The 3 &amp;quot;ocean floor&amp;quot; layers are only found under deep [[ocean]] tiles, usually far out from any embarkable site. Thus, they can rarely, if ever be encountered, in either [[fortress mode]] or [[adventurer mode]].&lt;br /&gt;
* Soil layers marked with {{Raw Tile|≈|3:1:1}} are capable of supporting an [[aquifer]].&lt;br /&gt;
* The [[clay]] types listed at the bottom can be used for making ceramic items. Fire clay produces [[stoneware]], while the other types produce [[earthenware]].&lt;br /&gt;
&lt;br /&gt;
In previous versions, types and quantities of available soils were listed at the bottom right of the fortress location selection screen; in the current version, however, it will only indicate the presence of soil and whether it can be used as [[clay]].&lt;br /&gt;
&lt;br /&gt;
Digging into soil does not generate any byproduct materials, unlike digging in [[stone|rock]], and also is a much faster process which makes it much easier to create storerooms and other large areas of empty space, and to train [[miner]]s.&lt;br /&gt;
&lt;br /&gt;
Soil cannot be [[Smoothing|smooth]]ed, which makes it more difficult to make high-value rooms or pierce [[aquifer]]s, and impossible to carve [[fortification]]s, [[track]]s, or [[engraving]]s.&lt;br /&gt;
&lt;br /&gt;
Building a [[farm plot]] or [[road]] or removing a [[construction]] on top of soil will cause it to become &amp;quot;furrowed&amp;quot;, making it appear with the {{Tile|≈|6:0}} and {{Tile|~|6:0}} tiles. Furrowed soil — including furrowed subterranean soil — will gradually smooth itself out, at which point grass and other vegetation will begin to grow. Sand always appears as {{Tile|≈|6:0}} and {{Tile|~|6:0}} and cannot become furrowed - as such, sand roads do not last as long as those made on ordinary soil.&lt;br /&gt;
&lt;br /&gt;
===Trees and Shrubs===&lt;br /&gt;
Once you discover any [[cavern]] layer, all subterranean [[grass]], [[shrub]]s, and [[tree]]s growing within that cavern will begin to grow on any subterranean soil. Any kind of vegetation implicitly has some soil under it, even if it grew on [[mud]]dy stone; clearing the growth (such as by building a [[road]]) will thus create a soil floor, even in a stone [[layer]].  It will typically correspond to the lowest soil layer in the local [[biome]]; if that happens to be useful clay or sand, an enterprising player can use [[irrigation]] and some patience to move their sand/clay collection [[zone]]s closer to the [[magma]].&lt;br /&gt;
&lt;br /&gt;
{{materials}}&lt;br /&gt;
{{soil}}&lt;br /&gt;
&lt;br /&gt;
{{Category|Soil Layers|*}}&lt;br /&gt;
[[Ru:Soil]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Inorganic_material_definition_token&amp;diff=315756</id>
		<title>v0.31:Inorganic material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Inorganic_material_definition_token&amp;diff=315756"/>
		<updated>2026-04-04T01:18:11Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:09, 30 March 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used in inorganic material definitions, generally those for stones, gems, and metals. They cannot be used with materials attached to plants or creatures.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WAFERS}}|| ||Used on metals, causes the metal to be made into wafers instead of [[bar]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEEP_SPECIAL}}|| || Causes the stone to form hollow tubes leading to the [[Underworld]]. Used for [[raw adamantine]]. When mined, stone has a 100% yield. If no material with this token exists, hollow veins will instead be made of the first available inorganic, usually [[iron]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_ORE}}|| metal:chance || Allows the ore to be [[smelter|smelted]] into metal in the smelter. Multiple tokens allow multiple types of metal to be smelted from a single ore.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THREAD_METAL}}|| metal:chance ||Allows strands to be extracted from the metal at a [[craftsdwarf's workshop]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEEP_SURFACE}}|| ||Causes the stone to line the landscape of the [[Underworld]]. Used for [[slade]]. When mined (if it's mineable), stone has a 100% yield. If no material with this token exists, other materials will be used in place of slade.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AQUIFER}}|| ||Allows the stone to support an [[aquifer]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAMORPHIC}}|| ||Causes the material to form [[metamorphic layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY}}|| ||Causes the material to form [[sedimentary layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL}}|| ||Causes the material to form [[soil]] layers, allowing it to appear in (almost) any biome. Mining is faster and produces no stones.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL_OCEAN}}|| ||Causes the material to form [[soil|pelagic sediment]] layers beneath deep oceans. Mining is faster and produces no stones.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL_SAND}}|| ||Causes the material to form [[sand]] layers, allowing it to appear in [[sand desert]]s and shallow [[ocean]]s. Mining is faster and produces no stones. Sand layers can also be used for making [[glass]]. Can be combined with [SOIL].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY_OCEAN_SHALLOW}}|| ||Permits an already [SEDIMENTARY] stone layer to appear underneath shallow ocean regions.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY_OCEAN_DEEP}}|| ||Permits an already [SEDIMENTARY] stone layer to appear underneath deep ocean regions.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_INTRUSIVE}}|| || Causes the material to form [[igneous intrusive layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_EXTRUSIVE}}|| || Causes the material to form [[igneous extrusive layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ENVIRONMENT}}|| class:type:freq ||Specifies what types of layers will contain this mineral. Multiple instances of the same token segment will cause the rock type to occur more frequently, but won't increase its abundance in the specified environment. See below.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ENVIRONMENT_SPEC}}|| stone:type:freq ||Specifies which specific minerals will contain this mineral. See below.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAVA}}|| ||Specifies that the stone is created when combining [[water]] and [[magma]], also causing it to line the edges of [[magma]] pools and volcanoes. If multiple minerals are marked as lava stones, a different one will be used in each biome or geological region.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ENVIRONMENT and ENVIRONMENT_SPEC==&lt;br /&gt;
&lt;br /&gt;
Format:&lt;br /&gt;
* [ENVIRONMENT:&amp;lt;class&amp;gt;:&amp;lt;inclusion type&amp;gt;:&amp;lt;frequency&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Possible values for class:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Environment class token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_STONE}}||Will appear in every stone.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_ALL}}, {{text anchor|IGNEOUS_INTRUSIVE}}, {{text anchor|IGNEOUS_EXTRUSIVE}}||Will appear in igneous layers, either [[igneous intrusive]], [[igneous extrusive]], or both.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL}}, {{text anchor|SOIL_OCEAN}}, {{text anchor|SOIL_SAND}}||Will appear in soil. SOIL_OCEAN is oceans specifically and SOIL_SAND is sand specifically.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAMORPHIC}}||Will appear in [[metamorphic]] layers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY}}||Will appear in [[sedimentary]] layers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLUVIAL}}||Will appear in [[alluvial]] layers. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Possible values for inclusion type:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Inclusion type token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER}}||Large ovoids that occupy their entire 48x48 embark tile. [[Microcline]] is an example. When mined, stone has a 25% yield (as with layer stones).&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_SMALL}}||Blobs of 3-9 tiles. Will always be successfully mined. [[Red pyrope]]s are an example. When mined, stone has a 100% yield.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_ONE}}||Single tiles. Will always be successfully mined. [[Clear diamond]]s are an example. When mined, stone has a 100% yield.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VEIN}}||Large streaks of stone. [[Native gold]] is an example. When mined, stone has a 33% yield instead of the usual 25%.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
An inclusion may be contained within a larger inclusion.  For example, diamond small clusters are found within kimberlite veins.&lt;br /&gt;
&lt;br /&gt;
The frequency number varies from 1 to 100 and determines the relative frequency at which the stone will be chosen to appear - if all frequency values are the same, then all stones will be equally likely to appear.&lt;br /&gt;
&lt;br /&gt;
ENVIRONMENT_SPEC follows much the same format, but takes a specific stone material ID where ENVIRONMENT would take a class token. What you can use will depend on what inorganic raws are around.&lt;br /&gt;
&lt;br /&gt;
Due to an error in the raw parsing logic, having multiple ENVIRONMENT_SPEC tokens will cause the inclusion type to be parsed in ''reverse'' order compared to the stone ID and frequency values - in the vanilla raws, this causes [[native platinum]] to appear as veins within [[chromite]] and as small clusters within [[olivine]].{{bug|1429}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Material definition token]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Inorganic_material_definition_token&amp;diff=315755</id>
		<title>v0.34:Inorganic material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Inorganic_material_definition_token&amp;diff=315755"/>
		<updated>2026-04-04T01:17:08Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:09, 30 March 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used in inorganic material definitions, generally those for stones, gems, and metals. They cannot be used with materials attached to plants or creatures.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WAFERS}}|| ||Used on metals, causes the metal to be made into wafers instead of [[bar]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEEP_SPECIAL}}|| || Causes the stone to form hollow tubes leading to the [[Underworld]]. Used for [[raw adamantine]]. When mined, stone has a 100% yield. If no material with this token exists, hollow veins will instead be made of the first available inorganic, usually [[iron]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_ORE}}|| metal:chance || Allows the ore to be [[smelter|smelted]] into metal in the smelter. Multiple tokens allow multiple types of metal to be smelted from a single ore.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THREAD_METAL}}|| metal:chance ||Allows strands to be extracted from the metal at a [[craftsdwarf's workshop]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEEP_SURFACE}}|| ||Causes the stone to line the landscape of the [[Underworld]]. Used for [[slade]]. When mined (if it's mineable), stone has a 100% yield. If no material with this token exists, other materials will be used in place of slade.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AQUIFER}}|| ||Allows the stone to support an [[aquifer]].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAMORPHIC}}|| ||Causes the material to form [[metamorphic layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY}}|| ||Causes the material to form [[sedimentary layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL}}|| ||Causes the material to form [[soil]] layers, allowing it to appear in (almost) any biome. Mining is faster and produces no stones.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL_OCEAN}}|| ||Causes the material to form [[soil|pelagic sediment]] layers beneath deep oceans. Mining is faster and produces no stones.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL_SAND}}|| ||Causes the material to form [[sand]] layers, allowing it to appear in [[sand desert]]s and shallow [[ocean]]s. Mining is faster and produces no stones. Sand layers can also be used for making [[glass]]. Can be combined with [SOIL].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY_OCEAN_SHALLOW}}|| ||Permits an already [SEDIMENTARY] stone layer to appear underneath shallow ocean regions.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY_OCEAN_DEEP}}|| ||Permits an already [SEDIMENTARY] stone layer to appear underneath deep ocean regions.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_INTRUSIVE}}|| || Causes the material to form [[igneous intrusive layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_EXTRUSIVE}}|| || Causes the material to form [[igneous extrusive layer]]s.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ENVIRONMENT}}|| class:type:freq ||Specifies what types of layers will contain this mineral. Multiple instances of the same token segment will cause the rock type to occur more frequently, but won't increase its abundance in the specified environment. See below.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ENVIRONMENT_SPEC}}|| stone:type:freq ||Specifies which specific minerals will contain this mineral. See below.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAVA}}|| ||Specifies that the stone is created when combining [[water]] and [[magma]], also causing it to line the edges of [[magma]] pools and volcanoes. If multiple minerals are marked as lava stones, a different one will be used in each biome or geological region.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL}}|| ||Prevents the material from showing up in certain places. AI-controlled entities won't use the material to make items and don't bring it in caravans, though the player can use it as normal. Also, inorganic generated creatures (forgotten beasts, titans, demons) will never be composed of this material. Explicitly set by all [[evil weather]] materials and implied by [DEEP_SURFACE] and [DEEP_SPECIAL].&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}|| ||Indicates that this is a generated material. Cannot be specified in user-defined raws.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==ENVIRONMENT and ENVIRONMENT_SPEC==&lt;br /&gt;
&lt;br /&gt;
Format:&lt;br /&gt;
* [ENVIRONMENT:&amp;lt;class&amp;gt;:&amp;lt;inclusion type&amp;gt;:&amp;lt;frequency&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Possible values for class:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Environment class token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_STONE}}||Will appear in every stone.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IGNEOUS_ALL}}, {{text anchor|IGNEOUS_INTRUSIVE}}, {{text anchor|IGNEOUS_EXTRUSIVE}}||Will appear in igneous layers, either [[igneous intrusive]], [[igneous extrusive]], or both.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOIL}}, {{text anchor|SOIL_OCEAN}}, {{text anchor|SOIL_SAND}}||Will appear in soil. SOIL_OCEAN is oceans specifically and SOIL_SAND is sand specifically.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAMORPHIC}}||Will appear in [[metamorphic]] layers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEDIMENTARY}}||Will appear in [[sedimentary]] layers.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLUVIAL}}||Will appear in [[alluvial]] layers. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Possible values for inclusion type:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! Inclusion type token&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER}}||Large ovoids that occupy their entire 48x48 embark tile. [[Microcline]] is an example. When mined, stone has a 25% yield (as with layer stones).&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_SMALL}}||Blobs of 3-9 tiles. Will always be successfully mined. [[Red pyrope]]s are an example. When mined, stone has a 100% yield.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTER_ONE}}||Single tiles. Will always be successfully mined. [[Clear diamond]]s are an example. When mined, stone has a 100% yield.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VEIN}}||Large streaks of stone. [[Native gold]] is an example. When mined, stone has a 33% yield instead of the usual 25%.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
An inclusion may be contained within a larger inclusion.  For example, diamond small clusters are found within kimberlite veins.&lt;br /&gt;
&lt;br /&gt;
The frequency number varies from 1 to 100 and determines the relative frequency at which the stone will be chosen to appear - if all frequency values are the same, then all stones will be equally likely to appear.&lt;br /&gt;
&lt;br /&gt;
ENVIRONMENT_SPEC follows much the same format, but takes a specific stone material ID where ENVIRONMENT would take a class token. What you can use will depend on what inorganic raws are around.&lt;br /&gt;
&lt;br /&gt;
Due to an error in the raw parsing logic, having multiple ENVIRONMENT_SPEC tokens will cause the inclusion type to be parsed in ''reverse'' order compared to the stone ID and frequency values - in the vanilla raws, this causes [[native platinum]] to appear as veins within [[chromite]] and as small clusters within [[olivine]].{{bug|1429}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Material definition token]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Material_definition_token&amp;diff=315754</id>
		<title>Material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Material_definition_token&amp;diff=315754"/>
		<updated>2026-04-04T01:14:44Z</updated>

		<summary type="html">&lt;p&gt;Quietust: remove inorganic tokens&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
The following [[token]]s can be used in creating new [[:Category:material template raw pages|material templates]], as well as in [[material]] definitions (whether for inorganics or those within plants and creatures).&lt;br /&gt;
&lt;br /&gt;
Material templates are used to define broad classes of materials (eg. &amp;quot;stone&amp;quot;, or &amp;quot;milk&amp;quot;), the properties of which can be imported into other more specific material definitions (eg. &amp;quot;granite&amp;quot;, or &amp;quot;llama milk&amp;quot;) using the &amp;lt;code&amp;gt;[USE_MATERIAL_TEMPLATE:template_name]&amp;lt;/code&amp;gt; token.  When creating material templates, the &amp;lt;code&amp;gt;[OBJECT:MATERIAL_TEMPLATE]&amp;lt;/code&amp;gt; [[token]] begins the definition of a material template [[raw file]].  Following this, each new material template definition begins with the &amp;lt;code&amp;gt;[MATERIAL_TEMPLATE:template_name]&amp;lt;/code&amp;gt; token, where &amp;lt;code&amp;gt;template_name&amp;lt;/code&amp;gt; is a unique identifier for the template, and that material's properties are then defined using the tokens listed below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Urist asks|q=Materials use specific, often bespoke, units. Are there any tools to help convert from real-world values?|a=&lt;br /&gt;
Here are some web-based [[utilities]] designed for raw authoring.&lt;br /&gt;
&lt;br /&gt;
For [[material science|yield]] and [[strain at yield|elasticity]]: https://putnam3145.github.io/helper&lt;br /&gt;
&lt;br /&gt;
For [[temperature]]: https://jose96xd.github.io/DF_Tools/Modules/TemperatureConverter.html&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Material properties==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;template name&amp;gt;&lt;br /&gt;
| Resets all material tokens back to their default values, then imports the tokens of the specified preexisting material template (overriding any tokens defined prior to itself in the material). This means USE_MATERIAL_TEMPLATE should be the first token present in any material using it. It cannot be used inside of a [MATERIAL_TEMPLATE:X] which prevents the creation of nested material template structures.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PREFIX}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;prefix&amp;gt; or NONE&lt;br /&gt;
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STONE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
| Overrides the name of [[Item token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called &amp;quot;nuggets&amp;quot; instead of &amp;quot;boulders&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GEM}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
* &amp;lt;plural&amp;gt;&lt;br /&gt;
* OVERWRITE_SOLID (optional)&lt;br /&gt;
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be &amp;quot;STP&amp;quot; to automatically append an &amp;quot;s&amp;quot; to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEMP_DIET_INFO}}&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;type&amp;gt;&lt;br /&gt;
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_DYE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color tokens|color token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used as [[dye]], and defines color of dyed items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE}}&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent [[Item token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUILD_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BASIC_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[#Material states|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color tokens|color token]]&amp;gt;&lt;br /&gt;
| Determines the color of the material at the specified state. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material in ASCII and to color items and constructions made from this material with graphics. Example:&lt;br /&gt;
[STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[#Material states|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
| Determines the name of the material at the specified state, as displayed in-game.&lt;br /&gt;
[STATE_NAME:ALL_SOLID:stone]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[#Material states|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Like [[#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[#Material states|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Sets both [[#STATE_NAME|STATE_NAME]] and [[#STATE_ADJ|STATE_ADJ]] at the same time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ABSORPTION}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact (in kPa) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value &amp;gt;= 50000), torn (value between 25000 and 49999), or fractured (value &amp;lt;= 24999)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to latching and shaking (50% chance, with torsion the other 50%). Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to latching and shaking (50% chance). Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to to latching and shaking (50% chance). Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking (50% chance).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking (50% chance).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking (50% chance).  Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;pressure&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Strain at yield|strain]]&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAX_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| How sharp the material is. Used in cutting calculations. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item value]]&amp;gt;&lt;br /&gt;
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a &amp;quot;-&amp;quot; in front, resulting in things that you are paid to buy and must pay to sell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MULTIPLY_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item value]]&amp;gt;&lt;br /&gt;
| Multiplies the value of the material. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPEC_HEAT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;specific heat capacity&amp;gt;&lt;br /&gt;
| Rate at which the material heats up or cools down (in  J⋅kg&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;⋅K&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt;.). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Temperature below which the material takes damage from cold. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Temperature at which the material will catch fire. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Temperature at which the material melts. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Temperature at which the material boils. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Items composed of this material will initially have this temperature. Used in conjunction with &amp;lt;code&amp;gt;[SPEC_HEAT:NONE]&amp;lt;/code&amp;gt; to make material's temperature fixed at the specified value. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[temperature]]&amp;gt;&lt;br /&gt;
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOLID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[density]]&amp;gt;&lt;br /&gt;
| Specifies the density (in kg/m³) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of weak-in-impact-yield blunt attacks to pierce armor. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[density]]&amp;gt;&lt;br /&gt;
| Specifies the density of the material when in liquid form. Defaults to NONE. Also affects combat calculations; affects blunt force damage like SOLID_DENSITY, but only for attacks made by liquids (e.g. forgotten beasts made of water).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MOLAR_MASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies (in kg/mol) the molar mass of the material in gaseous form. Only affects combat calculations like the densities, and only for attacks made by gases (e.g. forgotten beasts made of steam).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EXTRACT_STORAGE}}&lt;br /&gt;
| * BARREL or FLASK&lt;br /&gt;
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUTCHER_SPECIAL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;prefix&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. If this token is not specified, meat objects will be called &amp;quot;chops&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOCK_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;singular&amp;gt;&lt;br /&gt;
*&amp;lt;plural&amp;gt;&lt;br /&gt;
| Specifies the name of [[block]]s made from this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.&lt;br /&gt;
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;item reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a complete item.  The first argument is used by HAS_ITEM_REACTION_PRODUCT and GET_ITEM_DATA_FROM_REAGENT in reaction raws.  The rest refers to the type of item, then its material.&lt;br /&gt;
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|REACTION_CLASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction class name&amp;gt;&lt;br /&gt;
| Used to classify all items made of the material, so that reactions can use them as generic reagents.&lt;br /&gt;
In default raws, the following are used:&lt;br /&gt;
* FAT, TALLOW, SOAP, PARCHMENT, PAPER_PLANT, PAPER_SLURRY, MILK, CHEESE, WAX&lt;br /&gt;
* CAN_GLAZE - items made from this material can be glazed.&lt;br /&gt;
* FLUX - can be used as [[flux]] in pig iron and steel making.&lt;br /&gt;
* GYPSUM - can be processed into [[gypsum plaster]].&lt;br /&gt;
* CALCIUM_CARBONATE - can be used in production of [[quicklime]].&lt;br /&gt;
&lt;br /&gt;
The TALLOW reaction class also flags the material to be stored in &amp;quot;rendered fat&amp;quot; containers. Other default reaction classes might affect storage, too, but testing is needed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HARDENS_WITH_WATER}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used to make [[healthcare|casts]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP_LEVEL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Determines effectiveness of soap - if the amount of grime on a body part is more than 3-SOAP_LEVEL, it sets it to 3-SOAP_LEVEL; as such setting it above 3 is bad. [[Soap]] has [SOAP_LEVEL:2]. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYNDROME}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ANTLER}}&lt;br /&gt;
|&lt;br /&gt;
| Found in the raws of several antler-wielding animals. It is used to show an antler as bodypart.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HAIR}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|FEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SCALE}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HOOF}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHITIN}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CARTILAGE}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NERVOUS_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
| Probably used in graphics.&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_CATEGORY}}&lt;br /&gt;
| category&lt;br /&gt;
| Probably used in graphics. The following values for &amp;quot;category&amp;quot; are used in the vanilla raws: STANDARD, EYE, LUNG, HEART, INTESTINES, LIVER, STOMACH, PANCREAS, SPLEEN, KIDNEY, BRAIN, GIZZARD.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Material states===&lt;br /&gt;
&lt;br /&gt;
The following is a list of valid material states:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
|'''SOLID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''LIQUID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''GAS'''&lt;br /&gt;
|-&lt;br /&gt;
|'''POWDER''' (or '''SOLID_POWDER''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PASTE''' (or '''SOLID_PASTE''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PRESSED''' (or '''SOLID_PRESSED''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following can be specified within tokens such as [[#STATE_NAME|STATE_NAME]], [[#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL'''&lt;br /&gt;
|Denotes all possible material states.&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL_SOLID'''&lt;br /&gt;
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Material usage tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPLIES_ANIMAL_KILL}}&lt;br /&gt;
|&lt;br /&gt;
| Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals ([[elf|Elves]] in vanilla) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based cheese,  allowing its storage in food stockpiles under &amp;quot;Cheese (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based cheese, allowing its storage in food stockpiles under &amp;quot;Cheese (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant powder, allowing its storage in food stockpiles under &amp;quot;Milled Plant&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as creature powder, allowing its storage in food stockpiles under &amp;quot;Bone Meal&amp;quot;. Unlike milled plants, such as sugar and flour, &amp;quot;Bone Meal&amp;quot; barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB}} or {{text_anchor|STOCKPILE_GLOB_SOLID}}&lt;br /&gt;
|&lt;br /&gt;
| Permits globs of the material in solid form to be stored in food stockpiles under &amp;quot;Fat&amp;quot; - without it, dwarves will come by and &amp;quot;clean&amp;quot; the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as milled paste, allowing its storage in food stockpiles under &amp;quot;Paste&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pressed goods, allowing its storage in food stockpiles under &amp;quot;Pressed Material&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_PLANT_GROWTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant growth (e.g. fruits, leaves), allowing its storage in food stockpiles under Plant Growth/Fruit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant extract, allowing its storage in food stockpiles under &amp;quot;Extract (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a creature extract, allowing its storage in food stockpiles under &amp;quot;Extract (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_OTHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a miscellaneous liquid, allowing its storage in food stockpiles under &amp;quot;Misc. Liquid&amp;quot; along with [[lye]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STRUCTURAL_PLANT_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant, allowing its storage in food stockpiles under &amp;quot;Plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SEED_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant seed, allowing its storage in food stockpiles under &amp;quot;Seeds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BONE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. [[Elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Plant)&amp;quot; and &amp;quot;Cloth (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TOOTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HORN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HAIR}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as hair, allowing for its use for spinners and restriction from refuse stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PEARL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHELL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SILK}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Silk)&amp;quot; and &amp;quot;Cloth (Silk)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under &amp;quot;Bars: Other Materials&amp;quot;.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GENERATES_MIASMA}}&lt;br /&gt;
|&lt;br /&gt;
| Material generates miasma when it rots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as edible meat.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ROTS}}&lt;br /&gt;
|&lt;br /&gt;
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NERVOUS_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
| In most living creatures, it controls many bodily functions and movements by sending signals around the body. See: [[Nervous tissue]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOOD_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;blood&amp;quot; in Adventurer mode tile descriptions (&amp;quot;Here we have a Dwarf in a slurry of blood.&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ICHOR_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;ichor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GOO_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;goo&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SLIME_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;slime&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PUS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;pus&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SWEAT_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;sweat&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEARS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;tears&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPIT_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;spit&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EVAPORATES}}&lt;br /&gt;
|&lt;br /&gt;
| Contaminants composed of this material evaporate over time, slowly disappearing from the map. Used internally by water.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ENTERS_BLOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_VERMIN}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_RAW}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_COOKED}}&lt;br /&gt;
|&lt;br /&gt;
| Can be cooked and then eaten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DO_NOT_CLEAN_GLOB}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents globs made of this material from being cleaned up and destroyed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NO_STONE_STOCKPILE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the material from showing up in Stone stockpile settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| The material can be made into minecarts, wheelbarrows, and stepladders at the metalsmith's forge.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_BARRED}}&lt;br /&gt;
|&lt;br /&gt;
| Theoretically allows the item to be made into {{token|BARRED|ar}} armor, but doesn't actually work (game checks for {{token|BONE|md}} instead). Given to [[bone]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SCALED}}&lt;br /&gt;
|&lt;br /&gt;
| Theoretically allows the item to be made into {{token|SCALED|ar}} armor, but doesn't actually work (game checks for {{token|SHELL|md}} instead). Given to [[shell]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Theoretically allows the item to be made into {{token|LEATHER|ar}} armor, but doesn't actually work (game checks for {{token|LEATHER|md}} instead). Given to [[leather]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SOFT}}&lt;br /&gt;
|&lt;br /&gt;
| The material can be made into clothing, amulets, bracelets, earrings, backpacks, and quivers, contingent on which workshops accept the material. Given to [[plant fiber]], [[silk]] and [[wool]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_HARD}}&lt;br /&gt;
|&lt;br /&gt;
| The material can be made into furniture, crafts, mechanisms, and blocks, contingent on which workshops accept the material. Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|UNDIGGABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Used for a stone that cannot be dug into.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_UNGLAZED}}&lt;br /&gt;
|&lt;br /&gt;
| Causes containers made of this material to be prefixed with &amp;quot;unglazed&amp;quot; if they have not yet been [[glaze]]d.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|YARN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under &amp;quot;Thread (Yarn)&amp;quot; and &amp;quot;Cloth (Yarn)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under &amp;quot;Thread (Metal)&amp;quot; and &amp;quot;Cloth (Metal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as being metal, allowing it to be used at forges.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GLASS}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by green glass, clear glass, and crystal glass. Appears to only affect the [[Reaction#GLASS_MATERIAL|[GLASS_MATERIAL]]] reaction token. Does not cause the game to treat the material like glass, i.e being referred to as &amp;quot;raw&amp;quot; instead of &amp;quot;rough&amp;quot; in its raw form or being displayed in the &amp;quot;glass&amp;quot; trade/embark category.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_CERAMIC}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as a ceramic. Examples include CERAMIC_EARTHENWARE, CERAMIC_STONEWARE and CERAMIC_PORCELAIN.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CRYSTAL_GLASSABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Can be used in the production of crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON}}&lt;br /&gt;
| &lt;br /&gt;
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON_RANGED}}&lt;br /&gt;
|&lt;br /&gt;
| Ranged weapons can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ANVIL}}&lt;br /&gt;
|&lt;br /&gt;
| [[Anvil]]s can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_AMMO}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DIGGER}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| [[Armor]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DELICATE}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by amber and coral. Functionally equivalent to ITEMS_HARD.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SIEGE_ENGINE}}&lt;br /&gt;
|&lt;br /&gt;
| Theoretically, siege engine parts can be made out of this material. Does not appear to work (game checks for {{token|WOOD|md}} or {{token|IS_METAL|md}}+{{token|ITEMS_SOFT|md}} instead).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_QUERN}}&lt;br /&gt;
|&lt;br /&gt;
| Theoretically, querns and millstones can be made out of this material. Does not appear to work (game checks for {{token|ITEMS_HARD|md}} instead).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syndrome tokens==&lt;br /&gt;
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_NAME &lt;br /&gt;
| &lt;br /&gt;
* text &lt;br /&gt;
| Defines the name of the syndrome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INJECTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by injection (by a creature)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_CONTACT}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted on contact (e.g. poison dust or liquid)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_INHALED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by inhalation (e.g. poison vapor or gas)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INGESTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by ingestion (when the material is eaten in solid or liquid form)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Makes the class of creatures immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Adds a specific creature to those affected.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Makes the creature immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| CE_PAIN&amp;lt;br /&amp;gt;CE_SWELLING&amp;lt;br /&amp;gt;CE_OOZING&amp;lt;br /&amp;gt;CE_BRUISING&amp;lt;br /&amp;gt;CE_BLISTERS&amp;lt;br /&amp;gt;CE_NUMBNESS&amp;lt;br /&amp;gt;CE_PARALYSIS&amp;lt;br /&amp;gt;CE_FEVER&amp;lt;br /&amp;gt;CE_BLEEDING&amp;lt;br /&amp;gt;CE_COUGH_BLOOD&amp;lt;br /&amp;gt;CE_VOMIT_BLOOD&amp;lt;br /&amp;gt;CE_NAUSEA&amp;lt;br /&amp;gt;CE_UNCONSCIOUSNESS&amp;lt;br /&amp;gt;CE_NECROSIS&amp;lt;br /&amp;gt;CE_IMPAIR_FUNCTION&amp;lt;br /&amp;gt;CE_DROWSINESS&amp;lt;br /&amp;gt;CE_DIZZINESS&lt;br /&gt;
| &lt;br /&gt;
*SEV:&amp;lt;value&amp;gt;  (severity, higher is worse)&lt;br /&gt;
*PROB:&amp;lt;value(1-100)&amp;gt; (probability)&lt;br /&gt;
*RESISTABLE (optional) allows resistance&lt;br /&gt;
*SIZE_DILUTES (optional) lessens effect based on size &lt;br /&gt;
Place affected:&lt;br /&gt;
*LOCALIZED (optional)&lt;br /&gt;
*VASCULAR_ONLY (optional)&lt;br /&gt;
*MUSCULAR_ONLY (optional)&lt;br /&gt;
*BP:BY_CATEGORY:category:tissue (optional)&lt;br /&gt;
*BP:BY_TYPE:type:tissue (optional)&lt;br /&gt;
*BP:BY_TOKEN:token:tissue (optional)&lt;br /&gt;
Timeline:&lt;br /&gt;
*Start:effect start time&lt;br /&gt;
*Peak:effect peak time&lt;br /&gt;
*End:effect end time&lt;br /&gt;
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Inorganic material definition token]]&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
* [[Hardcoded material]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Material definition token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014:Material_definition_token&amp;diff=315753</id>
		<title>DF2014:Material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014:Material_definition_token&amp;diff=315753"/>
		<updated>2026-04-04T01:14:13Z</updated>

		<summary type="html">&lt;p&gt;Quietust: remove inorganic-specific tokens&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Fine|11:11, 18 May 2015 (UTC)}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
&lt;br /&gt;
The following [[token]]s can be used in [[material]] definitions (whether for inorganics or those within plants and creatures) as well as in [[material templates]].&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Material properties==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;template name&amp;gt;&lt;br /&gt;
| Imports the properties of the specified preexisting material template. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PREFIX}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;prefix&amp;gt; or NONE&lt;br /&gt;
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STONE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
| Overrides the name of [[Item_token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called &amp;quot;nuggets&amp;quot; instead of &amp;quot;boulders&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GEM}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
* &amp;lt;plural&amp;gt;&lt;br /&gt;
* OVERWRITE_SOLID (optional)&lt;br /&gt;
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be &amp;quot;STP&amp;quot; to automatically append an &amp;quot;s&amp;quot; to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEMP_DIET_INFO}}&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;type&amp;gt;&lt;br /&gt;
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_DYE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used as [[dye]], and defines color of dyed items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE}}&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent [[Item_token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUILD_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BASIC_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Determines the color of the material at the specified state. See [[Material_definition_token#Material states|below]] for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material. Example:&lt;br /&gt;
[STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
| Determines the name of the material at the specified state, as displayed in-game.&lt;br /&gt;
[STATE_NAME:ALL_SOLID:stone]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Like [[Material_definition_token#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Sets both [[Material_definition_token#STATE_NAME|STATE_NAME]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] at the same time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ABSORPTION}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact (in kilopascals) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value &amp;gt;= 50000), torn (value between 25000 and 49999), or fractured (value &amp;lt;= 24999)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAX_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| How sharp the material is. Used in cutting calculations. Does not allow an inferior metal to penetrate superior armor. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a &amp;quot;-&amp;quot; in front, resulting in things that you are paid to buy and must pay to sell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MULTIPLY_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Multiplies the value of the material. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPEC_HEAT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;specific heat capacity&amp;gt;&lt;br /&gt;
| Rate at which the material heats up or cools down (in joules/kilogram-kelvin). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature below which the material takes damage from cold. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material will catch fire. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material melts. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material boils. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Items composed of this material will initially have this temperature. Used in conjunction with &amp;lt;code&amp;gt;[SPEC_HEAT:NONE]&amp;lt;/code&amp;gt; to make material's temperature fixed at the specified value. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOLID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers{{verify}}. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density of the material when in liquid form. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MOLAR_MASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Supposedly not used{{verify}}. Theoretically, should determine density (at given pressure) in gas state, on which in turn would depend (together with weight of vaporized material) on the volume covered by spreading vapors. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EXTRACT_STORAGE}}&lt;br /&gt;
| * BARREL or FLASK&lt;br /&gt;
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUTCHER_SPECIAL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;prefix&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. If this token is not specified, meat objects will be called &amp;quot;chops&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOCK_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;singular&amp;gt;&lt;br /&gt;
*&amp;lt;plural&amp;gt;&lt;br /&gt;
| Specifies the name of [[block]]s made from this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.&lt;br /&gt;
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;item reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a complete item.  The first argument is used by HAS_ITEM_REACTION_PRODUCT and GET_ITEM_DATA_FROM_REAGENT in reaction raws.  The rest refers to the type of item, then its material.&lt;br /&gt;
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|REACTION_CLASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction class name&amp;gt;&lt;br /&gt;
| Used to classify all items made of the material, so that reactions can use them as generic reagents.&lt;br /&gt;
In default raws, the following are used:&lt;br /&gt;
* FAT, TALLOW, SOAP, PARCHMENT, PAPER_PLANT, PAPER_SLURRY, MILK, CHEESE, WAX&lt;br /&gt;
* CAN_GLAZE - items made from this material can be glazed.&lt;br /&gt;
* FLUX - can be used as [[flux]] in pig iron and steel making.&lt;br /&gt;
* GYPSUM - can be processed into [[gypsum plaster]].&lt;br /&gt;
* CALCIUM_CARBONATE - can be used in production of [[quicklime]].{{version|0.42.01}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HARDENS_WITH_WATER}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used to make [[healthcare|casts]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP_LEVEL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| [[Soap]] has [SOAP_LEVEL:2]. Effects unknown. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYNDROME}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Material states===&lt;br /&gt;
&lt;br /&gt;
The following is a list of valid material states:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
|'''SOLID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''LIQUID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''GAS'''&lt;br /&gt;
|-&lt;br /&gt;
|'''POWDER''' (or '''SOLID_POWDER''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PASTE''' (or '''SOLID_PASTE''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PRESSED''' (or '''SOLID_PRESSED''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following can be specified within tokens such as [[Material_definition_token#STATE_NAME|STATE_NAME]], [[Material_definition_token#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL'''&lt;br /&gt;
|Denotes all possible material states.&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL_SOLID'''&lt;br /&gt;
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Material usage tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPLIES_ANIMAL_KILL}}&lt;br /&gt;
|&lt;br /&gt;
| Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (which currently does '''not''' include [[elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based cheese,  allowing its storage in food stockpiles under &amp;quot;Cheese (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based cheese, allowing its storage in food stockpiles under &amp;quot;Cheese (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant powder, allowing its storage in food stockpiles under &amp;quot;Milled Plant&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as creature powder, allowing its storage in food stockpiles under &amp;quot;Bone Meal&amp;quot;. Unlike milled plants, such as sugar and flour, &amp;quot;Bone Meal&amp;quot; barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB}} or {{text_anchor|STOCKPILE_GLOB_SOLID}}&lt;br /&gt;
|&lt;br /&gt;
| Permits globs of the material in solid form to be stored in food stockpiles under &amp;quot;Fat&amp;quot; - without it, dwarves will come by and &amp;quot;clean&amp;quot; the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as milled paste, allowing its storage in food stockpiles under &amp;quot;Paste&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pressed goods, allowing its storage in food stockpiles under &amp;quot;Pressed Material&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_PLANT_GROWTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant growth (e.g. fruits, leaves), allowing its storage in food stockpiles under Plant Growth/Fruit.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant extract, allowing its storage in food stockpiles under &amp;quot;Extract (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a creature extract, allowing its storage in food stockpiles under &amp;quot;Extract (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_OTHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a miscellaneous liquid, allowing its storage in food stockpiles under &amp;quot;Misc. Liquid&amp;quot; along with lye.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STRUCTURAL_PLANT_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant, allowing its storage in food stockpiles under &amp;quot;Plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SEED_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant seed, allowing its storage in food stockpiles under &amp;quot;Seeds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BONE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. [[Elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Plant)&amp;quot; and &amp;quot;Cloth (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TOOTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HORN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PEARL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHELL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SILK}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Silk)&amp;quot; and &amp;quot;Cloth (Silk)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under &amp;quot;Bars: Other Materials&amp;quot;.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GENERATES_MIASMA}}&lt;br /&gt;
|&lt;br /&gt;
| Material generates miasma when it rots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as edible meat.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ROTS}}&lt;br /&gt;
|&lt;br /&gt;
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOOD_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;blood&amp;quot; in Adventurer mode tile descriptions (&amp;quot;Here we have a Dwarf in a slurry of blood.&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ICHOR_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;ichor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GOO_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;goo&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SLIME_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;slime&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PUS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;pus&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SWEAT_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;sweat&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEARS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;tears&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPIT_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;spit&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EVAPORATES}}&lt;br /&gt;
|&lt;br /&gt;
| Contaminants composed of this material evaporate over time, slowly disappearing from the map. Used internally by water.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ENTERS_BLOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_VERMIN}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_RAW}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_COOKED}}&lt;br /&gt;
|&lt;br /&gt;
| Can be cooked and then eaten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DO_NOT_CLEAN_GLOB}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents globs made of this material from being cleaned up and destroyed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NO_STONE_STOCKPILE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the material from showing up in Stone stockpile settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the creation of metal furniture at the metalsmith's forge.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_BARRED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[bone]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SCALED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[shell]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_SOFT. Given to [[leather]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SOFT}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material cannot be made into rings, crowns, scepters or figurines. Given to [[plant fiber]], [[silk]] and [[wool]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_HARD}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|UNDIGGABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Used for a stone that cannot be dug into.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_UNGLAZED}}&lt;br /&gt;
|&lt;br /&gt;
| Causes containers made of this material to be prefixed with &amp;quot;unglazed&amp;quot; if they have not yet been [[glaze]]d.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|YARN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under &amp;quot;Thread (Yarn)&amp;quot; and &amp;quot;Cloth (Yarn)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under &amp;quot;Thread (Metal)&amp;quot; and &amp;quot;Cloth (Metal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as being metal, allowing it to be used at forges.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GLASS}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by green glass, clear glass, and crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CRYSTAL_GLASSABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Can be used in the production of crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON}}&lt;br /&gt;
| &lt;br /&gt;
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON_RANGED}}&lt;br /&gt;
|&lt;br /&gt;
| Ranged weapons can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ANVIL}}&lt;br /&gt;
|&lt;br /&gt;
| [[Anvil]]s can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_AMMO}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DIGGER}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| [[Armor]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DELICATE}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by amber and coral. Functionally equivalent to ITEMS_HARD.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SIEGE_ENGINE}}&lt;br /&gt;
|&lt;br /&gt;
| Siege engine parts can be made out of this material. Does not appear to work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_QUERN}}&lt;br /&gt;
|&lt;br /&gt;
| Querns and millstones can be made out of this material.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syndrome tokens==&lt;br /&gt;
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_NAME &lt;br /&gt;
| &lt;br /&gt;
* text &lt;br /&gt;
| Defines the name of the syndrome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INJECTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by injection (by a creature)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_CONTACT}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted on contact (e.g. poison dust or liquid)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_INHALED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by inhalation (e.g. poison vapor or gas)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INGESTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by ingestion (when the material is eaten in solid or liquid form)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Makes the class of creatures immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Adds a specific creature to those affected.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Makes the creature immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| CE_PAIN&amp;lt;br /&amp;gt;CE_SWELLING&amp;lt;br /&amp;gt;CE_OOZING&amp;lt;br /&amp;gt;CE_BRUISING&amp;lt;br /&amp;gt;CE_BLISTERS&amp;lt;br /&amp;gt;CE_NUMBNESS&amp;lt;br /&amp;gt;CE_PARALYSIS&amp;lt;br /&amp;gt;CE_FEVER&amp;lt;br /&amp;gt;CE_BLEEDING&amp;lt;br /&amp;gt;CE_COUGH_BLOOD&amp;lt;br /&amp;gt;CE_VOMIT_BLOOD&amp;lt;br /&amp;gt;CE_NAUSEA&amp;lt;br /&amp;gt;CE_UNCONSCIOUSNESS&amp;lt;br /&amp;gt;CE_NECROSIS&amp;lt;br /&amp;gt;CE_IMPAIR_FUNCTION&amp;lt;br /&amp;gt;CE_DROWSINESS&amp;lt;br /&amp;gt;CE_DIZZINESS&lt;br /&gt;
| &lt;br /&gt;
*SEV:&amp;lt;value&amp;gt;  (severity, higher is worse)&lt;br /&gt;
*PROB:&amp;lt;value(1-100)&amp;gt; (probability)&lt;br /&gt;
*RESISTABLE (optional) allows resistance&lt;br /&gt;
*SIZE_DILUTES (optional) lessens effect based on size &lt;br /&gt;
Place affected:&lt;br /&gt;
*LOCALIZED (optional)&lt;br /&gt;
*VASCULAR_ONLY (optional)&lt;br /&gt;
*MUSCULAR_ONLY (optional)&lt;br /&gt;
*BP:BY_CATEGORY:category:tissue (optional)&lt;br /&gt;
*BP:BY_TYPE:type:tissue (optional)&lt;br /&gt;
*BP:BY_TOKEN:token:tissue (optional)&lt;br /&gt;
Timeline:&lt;br /&gt;
*Start:effect start time&lt;br /&gt;
*Peak:effect peak time&lt;br /&gt;
*End:effect end time&lt;br /&gt;
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Inorganic material definition token]]&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
* [[Hardcoded material]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Material definition token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Material_definition_token&amp;diff=315752</id>
		<title>v0.34:Material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Material_definition_token&amp;diff=315752"/>
		<updated>2026-04-04T01:13:51Z</updated>

		<summary type="html">&lt;p&gt;Quietust: remove INORGANIC-specific tokens&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:11, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used in material definitions (whether for inorganics or those within plants and creatures) as well as in material templates.&lt;br /&gt;
&lt;br /&gt;
==Material properties==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;template name&amp;gt;&lt;br /&gt;
| Imports the properties of the specified preexisting material template. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PREFIX}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;prefix&amp;gt; or NONE&lt;br /&gt;
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STONE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
| Overrides the name of [[Item_token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called &amp;quot;nuggets&amp;quot; instead of &amp;quot;boulders&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GEM}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
* &amp;lt;plural&amp;gt;&lt;br /&gt;
* OVERWRITE_SOLID (optional)&lt;br /&gt;
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be &amp;quot;STP&amp;quot; to automatically append an &amp;quot;s&amp;quot; to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEMP_DIET_INFO}}&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;type&amp;gt;&lt;br /&gt;
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_DYE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used as [[dye]], and defines color of dyed items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE}}&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent [[Item_token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUILD_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BASIC_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Determines the color of the material at the specified state. See [[Material_definition_token#Material states|below]] for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material. Example:&lt;br /&gt;
[STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
| Determines the name of the material at the specified state, as displayed in-game.&lt;br /&gt;
[STATE_NAME:ALL_SOLID:stone]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Like [[Material_definition_token#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Sets both [[Material_definition_token#STATE_NAME|STATE_NAME]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] at the same time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ABSORPTION}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact (in kilopascals) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value &amp;gt;= 50000), torn (value between 25000 and 49999), or fractured (value &amp;lt;= 24999)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAX_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| How sharp the material is. Used in cutting calculations. Does not allow an inferior metal to penetrate superior armor. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a &amp;quot;-&amp;quot; in front, resulting in things that you are paid to buy and must pay to sell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MULTIPLY_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Multiplies the value of the material. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPEC_HEAT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;specific heat capacity&amp;gt;&lt;br /&gt;
| Rate at which the material heats up or cools down (in joules/kilogram-kelvin). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature below which the material takes damage from cold. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material will catch fire. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material melts. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material boils. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Items composed of this material will initially have this temperature. Used in conjunction with &amp;lt;code&amp;gt;[SPEC_HEAT:NONE]&amp;lt;/code&amp;gt; to make material's temperature fixed at the specified value. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOLID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers{{verify}}. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density of the material when in liquid form. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MOLAR_MASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Supposedly not used{{verify}}. Theoretically, should determine density (at given pressure) in gas state, on which in turn would depend (together with weight of vaporized material) on the volume covered by spreading vapors. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EXTRACT_STORAGE}}&lt;br /&gt;
| * BARREL or FLASK&lt;br /&gt;
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUTCHER_SPECIAL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;prefix&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. If this token is not specified, meat objects will be called &amp;quot;chops&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOCK_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;singular&amp;gt;&lt;br /&gt;
*&amp;lt;plural&amp;gt;&lt;br /&gt;
| Specifies the name of [[block]]s made from this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.&lt;br /&gt;
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|REACTION_CLASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction class name&amp;gt;&lt;br /&gt;
| Used to classify all items made of the material, so that reactions can use them as generic reagents.&lt;br /&gt;
In default raws, the following are used:&lt;br /&gt;
* FAT, TALLOW, SOAP, MILK, CHEESE, WAX&lt;br /&gt;
* CAN_GLAZE - items made from this material can be glazed.&lt;br /&gt;
* FLUX - can be used as [[flux]] in pig iron and steel making.&lt;br /&gt;
* GYPSUM - can be processed into [[gypsum plaster]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HARDENS_WITH_WATER}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used to make [[healthcare|casts]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP_LEVEL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| [[Soap]] has [SOAP_LEVEL:2]. Effects unknown. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYNDROME}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Material states===&lt;br /&gt;
&lt;br /&gt;
The following is a list of valid material states:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
|'''SOLID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''LIQUID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''GAS'''&lt;br /&gt;
|-&lt;br /&gt;
|'''POWDER''' (or '''SOLID_POWDER''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PASTE''' (or '''SOLID_PASTE''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PRESSED''' (or '''SOLID_PRESSED''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following can be specified within tokens such as [[Material_definition_token#STATE_NAME|STATE_NAME]], [[Material_definition_token#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL'''&lt;br /&gt;
|Denotes all possible material states.&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL_SOLID'''&lt;br /&gt;
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Material usage tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPLIES_ANIMAL_KILL}}&lt;br /&gt;
|&lt;br /&gt;
| Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (which currently does '''not''' include [[elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based cheese,  allowing its storage in food stockpiles under &amp;quot;Cheese (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based cheese, allowing its storage in food stockpiles under &amp;quot;Cheese (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant powder, allowing its storage in food stockpiles under &amp;quot;Milled Plant&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as creature powder, allowing its storage in food stockpiles under &amp;quot;Bone Meal&amp;quot;. Unlike milled plants, such as sugar and flour, &amp;quot;Bone Meal&amp;quot; barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB}} or {{text_anchor|STOCKPILE_GLOB_SOLID}}&lt;br /&gt;
|&lt;br /&gt;
| Permits globs of the material in solid form to be stored in food stockpiles under &amp;quot;Fat&amp;quot; - without it, dwarves will come by and &amp;quot;clean&amp;quot; the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as milled paste, allowing its storage in food stockpiles under &amp;quot;Paste&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pressed goods, allowing its storage in food stockpiles under &amp;quot;Pressed Material&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant extract, allowing its storage in food stockpiles under &amp;quot;Extract (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a creature extract, allowing its storage in food stockpiles under &amp;quot;Extract (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_OTHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a miscellaneous liquid, allowing its storage in food stockpiles under &amp;quot;Misc. Liquid&amp;quot; along with lye.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STRUCTURAL_PLANT_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant, allowing its storage in food stockpiles under &amp;quot;Plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SEED_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant seed, allowing its storage in food stockpiles under &amp;quot;Seeds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEAF_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant leaf, allowing its storage in food stockpiles under &amp;quot;Leaves&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BONE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. [[Elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Plant)&amp;quot; and &amp;quot;Cloth (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TOOTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HORN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PEARL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHELL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SILK}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Silk)&amp;quot; and &amp;quot;Cloth (Silk)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under &amp;quot;Bars: Other Materials&amp;quot;.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GENERATES_MIASMA}}&lt;br /&gt;
|&lt;br /&gt;
| Material generates miasma when it rots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as edible meat.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ROTS}}&lt;br /&gt;
|&lt;br /&gt;
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOOD_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;blood&amp;quot; in Adventurer mode tile descriptions (&amp;quot;Here we have a Dwarf in a slurry of blood.&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ICHOR_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;ichor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GOO_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;goo&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SLIME_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;slime&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PUS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;pus&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ENTERS_BLOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_VERMIN}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_RAW}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_COOKED}}&lt;br /&gt;
|&lt;br /&gt;
| Can be cooked and then eaten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DO_NOT_CLEAN_GLOB}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents globs made of this material from being cleaned up and destroyed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NO_STONE_STOCKPILE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the material from showing up in Stone stockpile settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the creation of metal furniture at the metalsmith's forge.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_BARRED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[bone]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SCALED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[shell]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_SOFT. Given to [[leather]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SOFT}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material cannot be made into rings, crowns, scepters or figurines. Given to [[plant fiber]], [[silk]] and [[wool]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_HARD}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|UNDIGGABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Used for a stone that cannot be dug into.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_UNGLAZED}}&lt;br /&gt;
|&lt;br /&gt;
| Causes containers made of this material to be prefixed with &amp;quot;unglazed&amp;quot; if they have not yet been [[glaze]]d.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|YARN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under &amp;quot;Thread (Yarn)&amp;quot; and &amp;quot;Cloth (Yarn)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under &amp;quot;Thread (Metal)&amp;quot; and &amp;quot;Cloth (Metal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as being metal, allowing it to be used at forges.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GLASS}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by green glass, clear glass, and crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CRYSTAL_GLASSABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Can be used in the production of crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON}}&lt;br /&gt;
| &lt;br /&gt;
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON_RANGED}}&lt;br /&gt;
|&lt;br /&gt;
| Ranged weapons can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ANVIL}}&lt;br /&gt;
|&lt;br /&gt;
| [[Anvil]]s can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_AMMO}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DIGGER}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| [[Armor]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DELICATE}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by amber and coral. Functionally equivalent to ITEMS_HARD.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SIEGE_ENGINE}}&lt;br /&gt;
|&lt;br /&gt;
| Siege engine parts can be made out of this material. Does not appear to work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_QUERN}}&lt;br /&gt;
|&lt;br /&gt;
| Querns and millstones can be made out of this material.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syndrome tokens==&lt;br /&gt;
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_NAME &lt;br /&gt;
| &lt;br /&gt;
* text &lt;br /&gt;
| Defines the name of the syndrome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INJECTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by injection (by a creature)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_CONTACT}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted on contact (e.g. poison dust or liquid)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_INHALED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by inhalation (e.g. poison vapor or gas)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Makes the class of creatures immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Adds a specific creature to those affected.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Makes the creature immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| CE_PAIN&amp;lt;br /&amp;gt;CE_SWELLING&amp;lt;br /&amp;gt;CE_OOZING&amp;lt;br /&amp;gt;CE_BRUISING&amp;lt;br /&amp;gt;CE_BLISTERS&amp;lt;br /&amp;gt;CE_NUMBNESS&amp;lt;br /&amp;gt;CE_PARALYSIS&amp;lt;br /&amp;gt;CE_FEVER&amp;lt;br /&amp;gt;CE_BLEEDING&amp;lt;br /&amp;gt;CE_COUGH_BLOOD&amp;lt;br /&amp;gt;CE_VOMIT_BLOOD&amp;lt;br /&amp;gt;CE_NAUSEA&amp;lt;br /&amp;gt;CE_UNCONSCIOUSNESS&amp;lt;br /&amp;gt;CE_NECROSIS&amp;lt;br /&amp;gt;CE_IMPAIR_FUNCTION&amp;lt;br /&amp;gt;CE_DROWSINESS&amp;lt;br /&amp;gt;CE_DIZZINESS&lt;br /&gt;
| &lt;br /&gt;
*SEV:&amp;lt;value&amp;gt;  (severity, higher is worse)&lt;br /&gt;
*PROB:&amp;lt;value(1-100)&amp;gt; (probability)&lt;br /&gt;
*RESISTABLE (optional) allows resistance&lt;br /&gt;
*SIZE_DILUTES (optional) lessens effect based on size &lt;br /&gt;
Place affected:&lt;br /&gt;
*LOCALIZED (optional)&lt;br /&gt;
*VASCULAR_ONLY (optional)&lt;br /&gt;
*MUSCULAR_ONLY (optional)&lt;br /&gt;
*BP:BY_CATEGORY:category:tissue (optional)&lt;br /&gt;
*BP:BY_TYPE:type:tissue (optional)&lt;br /&gt;
*BP:BY_TOKEN:token:tissue (optional)&lt;br /&gt;
Timeline:&lt;br /&gt;
*Start:effect start time&lt;br /&gt;
*Peak:effect peak time&lt;br /&gt;
*End:effect end time&lt;br /&gt;
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Inorganic material definition token]]&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Material_definition_token&amp;diff=315751</id>
		<title>v0.31:Material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Material_definition_token&amp;diff=315751"/>
		<updated>2026-04-04T01:13:33Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:11, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used in material definitions (whether for inorganics or those within plants and creatures) as well as in material templates.&lt;br /&gt;
&lt;br /&gt;
==Material properties==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;template name&amp;gt;&lt;br /&gt;
| Imports the properties of the specified preexisting material template. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PREFIX}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;prefix&amp;gt; or NONE&lt;br /&gt;
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STONE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
| Overrides the name of [[Item_token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called &amp;quot;nuggets&amp;quot; instead of &amp;quot;boulders&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GEM}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
* &amp;lt;plural&amp;gt;&lt;br /&gt;
* OVERWRITE_SOLID (optional)&lt;br /&gt;
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be &amp;quot;STP&amp;quot; to automatically append an &amp;quot;s&amp;quot; to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEMP_DIET_INFO}}&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;type&amp;gt;&lt;br /&gt;
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_DYE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used as [[dye]], and defines color of dyed items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE}}&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent [[Item_token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUILD_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BASIC_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Determines the color of the material at the specified state. See [[Material_definition_token#Material states|below]] for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material. Example:&lt;br /&gt;
[STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
| Determines the name of the material at the specified state, as displayed in-game.&lt;br /&gt;
[STATE_NAME:ALL_SOLID:stone]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Like [[Material_definition_token#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Sets both [[Material_definition_token#STATE_NAME|STATE_NAME]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] at the same time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ABSORPTION}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact (in kilopascals) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value &amp;gt;= 50000), torn (value between 25000 and 49999), or fractured (value &amp;lt;= 24999)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAX_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| How sharp the material is. Used in cutting calculations. Does not allow an inferior metal to penetrate superior armor. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a &amp;quot;-&amp;quot; in front, resulting in things that you are paid to buy and must pay to sell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MULTIPLY_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Multiplies the value of the material. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPEC_HEAT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;specific heat capacity&amp;gt;&lt;br /&gt;
| Rate at which the material heats up or cools down (in joules/kilogram-kelvin). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature below which the material takes damage from cold. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material will catch fire. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material melts. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material boils. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Items composed of this material will initially have this temperature. Used in conjunction with &amp;lt;code&amp;gt;[SPEC_HEAT:NONE]&amp;lt;/code&amp;gt; to make material's temperature fixed at the specified value. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOLID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers{{verify}}. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density of the material when in liquid form. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MOLAR_MASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Supposedly not used{{verify}}. Theoretically, should determine density (at given pressure) in gas state, on which in turn would depend (together with weight of vaporized material) on the volume covered by spreading vapors. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EXTRACT_STORAGE}}&lt;br /&gt;
| * BARREL or FLASK&lt;br /&gt;
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUTCHER_SPECIAL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;prefix&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. If this token is not specified, meat objects will be called &amp;quot;chops&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOCK_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;singular&amp;gt;&lt;br /&gt;
*&amp;lt;plural&amp;gt;&lt;br /&gt;
| Specifies the name of [[block]]s made from this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.&lt;br /&gt;
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|REACTION_CLASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction class name&amp;gt;&lt;br /&gt;
| Used to classify all items made of the material, so that reactions can use them as generic reagents.&lt;br /&gt;
In default raws, the following are used:&lt;br /&gt;
* FAT, TALLOW, SOAP, MILK, CHEESE, WAX&lt;br /&gt;
* CAN_GLAZE - items made from this material can be glazed.&lt;br /&gt;
* FLUX - can be used as [[flux]] in pig iron and steel making.&lt;br /&gt;
* GYPSUM - can be processed into [[gypsum plaster]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HARDENS_WITH_WATER}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used to make [[healthcare|casts]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP_LEVEL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| [[Soap]] has [SOAP_LEVEL:2]. Effects unknown. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYNDROME}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Material states===&lt;br /&gt;
&lt;br /&gt;
The following is a list of valid material states:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
|'''SOLID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''LIQUID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''GAS'''&lt;br /&gt;
|-&lt;br /&gt;
|'''POWDER''' (or '''SOLID_POWDER''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PASTE''' (or '''SOLID_PASTE''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PRESSED''' (or '''SOLID_PRESSED''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following can be specified within tokens such as [[Material_definition_token#STATE_NAME|STATE_NAME]], [[Material_definition_token#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL'''&lt;br /&gt;
|Denotes all possible material states.&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL_SOLID'''&lt;br /&gt;
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Material usage tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPLIES_ANIMAL_KILL}}&lt;br /&gt;
|&lt;br /&gt;
| Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (which currently does '''not''' include [[elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based cheese,  allowing its storage in food stockpiles under &amp;quot;Cheese (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based cheese, allowing its storage in food stockpiles under &amp;quot;Cheese (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant powder, allowing its storage in food stockpiles under &amp;quot;Milled Plant&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as creature powder, allowing its storage in food stockpiles under &amp;quot;Bone Meal&amp;quot;. Unlike milled plants, such as sugar and flour, &amp;quot;Bone Meal&amp;quot; barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB}} or {{text_anchor|STOCKPILE_GLOB_SOLID}}&lt;br /&gt;
|&lt;br /&gt;
| Permits globs of the material in solid form to be stored in food stockpiles under &amp;quot;Fat&amp;quot; - without it, dwarves will come by and &amp;quot;clean&amp;quot; the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as milled paste, allowing its storage in food stockpiles under &amp;quot;Paste&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pressed goods, allowing its storage in food stockpiles under &amp;quot;Pressed Material&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant extract, allowing its storage in food stockpiles under &amp;quot;Extract (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a creature extract, allowing its storage in food stockpiles under &amp;quot;Extract (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_OTHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a miscellaneous liquid, allowing its storage in food stockpiles under &amp;quot;Misc. Liquid&amp;quot; along with lye.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STRUCTURAL_PLANT_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant, allowing its storage in food stockpiles under &amp;quot;Plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SEED_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant seed, allowing its storage in food stockpiles under &amp;quot;Seeds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEAF_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant leaf, allowing its storage in food stockpiles under &amp;quot;Leaves&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BONE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. [[Elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Plant)&amp;quot; and &amp;quot;Cloth (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TOOTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HORN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PEARL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHELL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SILK}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Silk)&amp;quot; and &amp;quot;Cloth (Silk)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under &amp;quot;Bars: Other Materials&amp;quot;.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GENERATES_MIASMA}}&lt;br /&gt;
|&lt;br /&gt;
| Material generates miasma when it rots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as edible meat.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ROTS}}&lt;br /&gt;
|&lt;br /&gt;
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOOD_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;blood&amp;quot; in Adventurer mode tile descriptions (&amp;quot;Here we have a Dwarf in a slurry of blood.&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ICHOR_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;ichor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GOO_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;goo&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SLIME_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;slime&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PUS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;pus&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ENTERS_BLOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_VERMIN}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_RAW}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_COOKED}}&lt;br /&gt;
|&lt;br /&gt;
| Can be cooked and then eaten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DO_NOT_CLEAN_GLOB}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents globs made of this material from being cleaned up and destroyed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NO_STONE_STOCKPILE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the material from showing up in Stone stockpile settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the creation of metal furniture at the metalsmith's forge.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_BARRED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[bone]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SCALED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[shell]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_SOFT. Given to [[leather]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SOFT}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material cannot be made into rings, crowns, scepters or figurines. Given to [[plant fiber]], [[silk]] and [[wool]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_HARD}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|UNDIGGABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Used for a stone that cannot be dug into.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_UNGLAZED}}&lt;br /&gt;
|&lt;br /&gt;
| Causes containers made of this material to be prefixed with &amp;quot;unglazed&amp;quot; if they have not yet been [[glaze]]d.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|YARN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under &amp;quot;Thread (Yarn)&amp;quot; and &amp;quot;Cloth (Yarn)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under &amp;quot;Thread (Metal)&amp;quot; and &amp;quot;Cloth (Metal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as being metal, allowing it to be used at forges.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GLASS}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by green glass, clear glass, and crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CRYSTAL_GLASSABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Can be used in the production of crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON}}&lt;br /&gt;
| &lt;br /&gt;
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON_RANGED}}&lt;br /&gt;
|&lt;br /&gt;
| Ranged weapons can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ANVIL}}&lt;br /&gt;
|&lt;br /&gt;
| [[Anvil]]s can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_AMMO}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DIGGER}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| [[Armor]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DELICATE}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by amber and coral. Functionally equivalent to ITEMS_HARD.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SIEGE_ENGINE}}&lt;br /&gt;
|&lt;br /&gt;
| Siege engine parts can be made out of this material. Does not appear to work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_QUERN}}&lt;br /&gt;
|&lt;br /&gt;
| Querns and millstones can be made out of this material.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syndrome tokens==&lt;br /&gt;
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_NAME &lt;br /&gt;
| &lt;br /&gt;
* text &lt;br /&gt;
| Defines the name of the syndrome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INJECTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by injection (by a creature)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_CONTACT}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted on contact (e.g. poison dust or liquid)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_INHALED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by inhalation (e.g. poison vapor or gas)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Makes the class of creatures immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Adds a specific creature to those affected.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Makes the creature immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| CE_PAIN&amp;lt;br /&amp;gt;CE_SWELLING&amp;lt;br /&amp;gt;CE_OOZING&amp;lt;br /&amp;gt;CE_BRUISING&amp;lt;br /&amp;gt;CE_BLISTERS&amp;lt;br /&amp;gt;CE_NUMBNESS&amp;lt;br /&amp;gt;CE_PARALYSIS&amp;lt;br /&amp;gt;CE_FEVER&amp;lt;br /&amp;gt;CE_BLEEDING&amp;lt;br /&amp;gt;CE_COUGH_BLOOD&amp;lt;br /&amp;gt;CE_VOMIT_BLOOD&amp;lt;br /&amp;gt;CE_NAUSEA&amp;lt;br /&amp;gt;CE_UNCONSCIOUSNESS&amp;lt;br /&amp;gt;CE_NECROSIS&amp;lt;br /&amp;gt;CE_IMPAIR_FUNCTION&amp;lt;br /&amp;gt;CE_DROWSINESS&amp;lt;br /&amp;gt;CE_DIZZINESS&lt;br /&gt;
| &lt;br /&gt;
*SEV:&amp;lt;value&amp;gt;  (severity, higher is worse)&lt;br /&gt;
*PROB:&amp;lt;value(1-100)&amp;gt; (probability)&lt;br /&gt;
*RESISTABLE (optional) allows resistance&lt;br /&gt;
*SIZE_DILUTES (optional) lessens effect based on size &lt;br /&gt;
Place affected:&lt;br /&gt;
*LOCALIZED (optional)&lt;br /&gt;
*VASCULAR_ONLY (optional)&lt;br /&gt;
*MUSCULAR_ONLY (optional)&lt;br /&gt;
*BP:BY_CATEGORY:category:tissue (optional)&lt;br /&gt;
*BP:BY_TYPE:type:tissue (optional)&lt;br /&gt;
*BP:BY_TOKEN:token:tissue (optional)&lt;br /&gt;
Timeline:&lt;br /&gt;
*Start:effect start time&lt;br /&gt;
*Peak:effect peak time&lt;br /&gt;
*End:effect end time&lt;br /&gt;
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Inorganic material definition token]]&lt;br /&gt;
* [[Tissue definition token]]&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Material_definition_token&amp;diff=315750</id>
		<title>v0.34:Material definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Material_definition_token&amp;diff=315750"/>
		<updated>2026-04-04T01:10:22Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:11, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used in material definitions (whether for inorganics or those within plants and creatures) as well as in material templates.&lt;br /&gt;
&lt;br /&gt;
==Material properties==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;template name&amp;gt;&lt;br /&gt;
| Imports the properties of the specified preexisting material template. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PREFIX}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;prefix&amp;gt; or NONE&lt;br /&gt;
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STONE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
| Overrides the name of [[Item_token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called &amp;quot;nuggets&amp;quot; instead of &amp;quot;boulders&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GEM}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;name&amp;gt;&lt;br /&gt;
* &amp;lt;plural&amp;gt;&lt;br /&gt;
* OVERWRITE_SOLID (optional)&lt;br /&gt;
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be &amp;quot;STP&amp;quot; to automatically append an &amp;quot;s&amp;quot; to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TEMP_DIET_INFO}}&lt;br /&gt;
| &lt;br /&gt;
* &amp;lt;type&amp;gt;&lt;br /&gt;
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_DYE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used as [[dye]], and defines color of dyed items.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE}}&lt;br /&gt;
| &lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEM_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Main:Character table|tile value or character]]&amp;gt;&lt;br /&gt;
| Specifies the tile that will be used to represent [[Item_token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUILD_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TILE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|background color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BASIC_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground color]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_values|foreground brightness]]&amp;gt;&lt;br /&gt;
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_COLOR}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;[[Color#Color_tokens|color token]]&amp;gt;&lt;br /&gt;
| Determines the color of the material at the specified state. See [[Material_definition_token#Material states|below]] for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material. Example:&lt;br /&gt;
[STATE_COLOR:ALL_SOLID:GRAY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
| Determines the name of the material at the specified state, as displayed in-game.&lt;br /&gt;
[STATE_NAME:ALL_SOLID:stone]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Like [[Material_definition_token#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STATE_NAME_ADJ}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[Material_definition_token#Material States|material state]]&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| Sets both [[Material_definition_token#STATE_NAME|STATE_NAME]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] at the same time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ABSORPTION}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact (in kilopascals) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value &amp;gt;= 50000), torn (value between 25000 and 49999), or fractured (value &amp;lt;= 24999)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (no default creature has such an attack, but they can be modded in).  Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_YIELD}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_FRACTURE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAX_EDGE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| How sharp the material is. Used in cutting calculations. Does not allow an inferior metal to penetrate superior armor. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a &amp;quot;-&amp;quot; in front, resulting in things that you are paid to buy and must pay to sell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MULTIPLY_VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Multiplies the value of the material. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SPEC_HEAT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;specific heat capacity&amp;gt;&lt;br /&gt;
| Rate at which the material heats up or cools down (in joules/kilogram-kelvin). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature below which the material takes damage from cold. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material will catch fire. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material melts. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Temperature at which the material boils. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Items composed of this material will initially have this temperature. Used in conjunction with &amp;lt;code&amp;gt;[SPEC_HEAT:NONE]&amp;lt;/code&amp;gt; to make material's temperature fixed at the specified value. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;temperature&amp;gt;&lt;br /&gt;
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOLID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers{{verify}}. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_DENSITY}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;density&amp;gt;&lt;br /&gt;
| Specifies the density of the material when in liquid form. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MOLAR_MASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| Supposedly not used{{verify}}. Theoretically, should determine density (at given pressure) in gas state, on which in turn would depend (together with weight of vaporized material) on the volume covered by spreading vapors. Defaults to NONE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EXTRACT_STORAGE}}&lt;br /&gt;
| * BARREL or FLASK&lt;br /&gt;
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BUTCHER_SPECIAL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;[[item token]]&amp;gt;&lt;br /&gt;
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;prefix&amp;gt;&lt;br /&gt;
*&amp;lt;name&amp;gt;&lt;br /&gt;
*&amp;lt;adjective&amp;gt;&lt;br /&gt;
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. If this token is not specified, meat objects will be called &amp;quot;chops&amp;quot; instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOCK_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;singular&amp;gt;&lt;br /&gt;
*&amp;lt;plural&amp;gt;&lt;br /&gt;
| Specifies the name of [[block]]s made from this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WAFERS}}&lt;br /&gt;
|&lt;br /&gt;
| The material forms &amp;quot;wafers&amp;quot; instead of &amp;quot;[[bar]]s&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MATERIAL_REACTION_PRODUCT}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction reference&amp;gt;&lt;br /&gt;
*&amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.&lt;br /&gt;
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|REACTION_CLASS}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;reaction class name&amp;gt;&lt;br /&gt;
| Used to classify all items made of the material, so that reactions can use them as generic reagents.&lt;br /&gt;
In default raws, the following are used:&lt;br /&gt;
* FAT, TALLOW, SOAP, MILK, CHEESE, WAX&lt;br /&gt;
* CAN_GLAZE - items made from this material can be glazed.&lt;br /&gt;
* FLUX - can be used as [[flux]] in pig iron and steel making.&lt;br /&gt;
* GYPSUM - can be processed into [[gypsum plaster]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|METAL_ORE}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;inorganic material name e.g. [[lead|LEAD]]&amp;gt;&lt;br /&gt;
* &amp;lt;value&amp;gt;&lt;br /&gt;
| Makes BOULDER acceptable as a [[Reactions#Reagents|reagent]] in reactions that require [[Item_token#Related_Tokens|&amp;quot;METAL_ORE:MATERIAL_NAME&amp;quot;]], as well as [[Smelter|smelting]] directly into metal [[bar]]s.&amp;lt;br /&amp;gt; Places the material under &amp;quot;Metal Ores&amp;quot; in Stone stockpiles.&amp;lt;br /&amp;gt; The specified value determines the probability for this product (see [[Tetrahedrite]] or [[Galena]] for details).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;inorganic material name e.g. [[Raw_adamantine|RAW_ADAMANTINE]]&amp;gt;&lt;br /&gt;
* &amp;lt;value&amp;gt;&lt;br /&gt;
| Makes BOULDER items made of the material acceptable for [[Strand extractor|strand extraction]] into threads; see also STOCKPILE_THREAD_METAL. Value presumably determines the probability of this product extracted.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HARDENS_WITH_WATER}}&lt;br /&gt;
|&lt;br /&gt;
* &amp;lt;[[material token]]&amp;gt;&lt;br /&gt;
| Allows the material to be used to make [[healthcare|casts]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP_LEVEL}}&lt;br /&gt;
|&lt;br /&gt;
*&amp;lt;value&amp;gt;&lt;br /&gt;
| [[Soap]] has [SOAP_LEVEL:2]. Effects unknown. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYNDROME}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Material states===&lt;br /&gt;
&lt;br /&gt;
The following is a list of valid material states:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|-&lt;br /&gt;
|'''SOLID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''LIQUID'''&lt;br /&gt;
|-&lt;br /&gt;
|'''GAS'''&lt;br /&gt;
|-&lt;br /&gt;
|'''POWDER''' (or '''SOLID_POWDER''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PASTE''' (or '''SOLID_PASTE''')&lt;br /&gt;
|-&lt;br /&gt;
|'''PRESSED''' (or '''SOLID_PRESSED''')&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following can be specified within tokens such as [[Material_definition_token#STATE_NAME|STATE_NAME]], [[Material_definition_token#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL'''&lt;br /&gt;
|Denotes all possible material states.&lt;br /&gt;
|-&lt;br /&gt;
|'''ALL_SOLID'''&lt;br /&gt;
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Material usage tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IMPLIES_ANIMAL_KILL}}&lt;br /&gt;
|&lt;br /&gt;
| Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (which currently does '''not''' include [[elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under &amp;quot;Drink (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ALCOHOL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant-based cheese,  allowing its storage in food stockpiles under &amp;quot;Cheese (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as animal-based cheese, allowing its storage in food stockpiles under &amp;quot;Cheese (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CHEESE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant powder, allowing its storage in food stockpiles under &amp;quot;Milled Plant&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as creature powder, allowing its storage in food stockpiles under &amp;quot;Bone Meal&amp;quot;. Unlike milled plants, such as sugar and flour, &amp;quot;Bone Meal&amp;quot; barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|POWDER_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB}} or {{text_anchor|STOCKPILE_GLOB_SOLID}}&lt;br /&gt;
|&lt;br /&gt;
| Permits globs of the material in solid form to be stored in food stockpiles under &amp;quot;Fat&amp;quot; - without it, dwarves will come by and &amp;quot;clean&amp;quot; the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PASTE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as milled paste, allowing its storage in food stockpiles under &amp;quot;Paste&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_GLOB_PRESSED}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pressed goods, allowing its storage in food stockpiles under &amp;quot;Pressed Material&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant extract, allowing its storage in food stockpiles under &amp;quot;Extract (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_CREATURE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a creature extract, allowing its storage in food stockpiles under &amp;quot;Extract (Animal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC_OTHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a miscellaneous liquid, allowing its storage in food stockpiles under &amp;quot;Misc. Liquid&amp;quot; along with lye.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LIQUID_MISC}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STRUCTURAL_PLANT_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant, allowing its storage in food stockpiles under &amp;quot;Plants&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SEED_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as a plant seed, allowing its storage in food stockpiles under &amp;quot;Seeds&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEAF_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant leaf, allowing its storage in food stockpiles under &amp;quot;Leaves&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BONE}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. [[Elf|Elves]]) will refuse to accept these items in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|THREAD_PLANT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Plant)&amp;quot; and &amp;quot;Cloth (Plant)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|TOOTH}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|HORN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PEARL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SHELL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SILK}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under &amp;quot;Thread (Silk)&amp;quot; and &amp;quot;Cloth (Silk)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SOAP}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under &amp;quot;Bars: Other Materials&amp;quot;.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GENERATES_MIASMA}}&lt;br /&gt;
|&lt;br /&gt;
| Material generates miasma when it rots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|MEAT}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as edible meat.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ROTS}}&lt;br /&gt;
|&lt;br /&gt;
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|BLOOD_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;blood&amp;quot; in Adventurer mode tile descriptions (&amp;quot;Here we have a Dwarf in a slurry of blood.&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ICHOR_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;ichor&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|GOO_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;goo&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SLIME_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;slime&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|PUS_MAP_DESCRIPTOR}}&lt;br /&gt;
|&lt;br /&gt;
| Tells the game to classify contaminants of this material as being &amp;quot;pus&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ENTERS_BLOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_VERMIN}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten by vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_RAW}}&lt;br /&gt;
|&lt;br /&gt;
| Can be eaten raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|EDIBLE_COOKED}}&lt;br /&gt;
|&lt;br /&gt;
| Can be cooked and then eaten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DO_NOT_CLEAN_GLOB}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents globs made of this material from being cleaned up and destroyed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|NO_STONE_STOCKPILE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the material from showing up in Stone stockpile settings.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the creation of metal furniture at the metalsmith's forge.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_BARRED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[bone]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SCALED}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_HARD. Given to [[shell]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_LEATHER}}&lt;br /&gt;
|&lt;br /&gt;
| Equivalent to ITEMS_SOFT. Given to [[leather]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SOFT}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material cannot be made into rings, crowns, scepters or figurines. Given to [[plant fiber]], [[silk]] and [[wool]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_HARD}}&lt;br /&gt;
|&lt;br /&gt;
| Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|UNDIGGABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Used for a stone that cannot be dug into.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|DISPLAY_UNGLAZED}}&lt;br /&gt;
|&lt;br /&gt;
| Causes containers made of this material to be prefixed with &amp;quot;unglazed&amp;quot; if they have not yet been [[glaze]]d.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|YARN}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under &amp;quot;Thread (Yarn)&amp;quot; and &amp;quot;Cloth (Yarn)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|STOCKPILE_THREAD_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under &amp;quot;Thread (Metal)&amp;quot; and &amp;quot;Cloth (Metal)&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Defines the material as being metal, allowing it to be used at forges.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|IS_GLASS}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by green glass, clear glass, and crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|CRYSTAL_GLASSABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Can be used in the production of crystal glass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON}}&lt;br /&gt;
| &lt;br /&gt;
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_WEAPON_RANGED}}&lt;br /&gt;
|&lt;br /&gt;
| Ranged weapons can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ANVIL}}&lt;br /&gt;
|&lt;br /&gt;
| [[Anvil]]s can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_AMMO}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DIGGER}}&lt;br /&gt;
|&lt;br /&gt;
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| [[Armor]] can be made out of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_DELICATE}}&lt;br /&gt;
|&lt;br /&gt;
| Used internally by amber and coral. Functionally equivalent to ITEMS_HARD.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_SIEGE_ENGINE}}&lt;br /&gt;
|&lt;br /&gt;
| Siege engine parts can be made out of this material. Does not appear to work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|ITEMS_QUERN}}&lt;br /&gt;
|&lt;br /&gt;
| Querns and millstones can be made out of this material.{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Syndrome tokens==&lt;br /&gt;
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_NAME &lt;br /&gt;
| &lt;br /&gt;
* text &lt;br /&gt;
| Defines the name of the syndrome&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text_anchor|SYN_INJECTED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by injection (by a creature)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_CONTACT}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted on contact (e.g. poison dust or liquid)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_INHALED}}&lt;br /&gt;
|  &lt;br /&gt;
| Syndrome can be contracted by inhalation (e.g. poison vapor or gas)&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CLASS}}&lt;br /&gt;
| &lt;br /&gt;
* creature class name&lt;br /&gt;
| Makes the class of creatures immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_AFFECTED_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Adds a specific creature to those affected.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text_anchor|SYN_IMMUNE_CREATURE}}&lt;br /&gt;
| &lt;br /&gt;
* creature name&lt;br /&gt;
* caste name or ALL&lt;br /&gt;
| Makes the creature immune to the syndrome&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| CE_PAIN&amp;lt;br /&amp;gt;CE_SWELLING&amp;lt;br /&amp;gt;CE_OOZING&amp;lt;br /&amp;gt;CE_BRUISING&amp;lt;br /&amp;gt;CE_BLISTERS&amp;lt;br /&amp;gt;CE_NUMBNESS&amp;lt;br /&amp;gt;CE_PARALYSIS&amp;lt;br /&amp;gt;CE_FEVER&amp;lt;br /&amp;gt;CE_BLEEDING&amp;lt;br /&amp;gt;CE_COUGH_BLOOD&amp;lt;br /&amp;gt;CE_VOMIT_BLOOD&amp;lt;br /&amp;gt;CE_NAUSEA&amp;lt;br /&amp;gt;CE_UNCONSCIOUSNESS&amp;lt;br /&amp;gt;CE_NECROSIS&amp;lt;br /&amp;gt;CE_IMPAIR_FUNCTION&amp;lt;br /&amp;gt;CE_DROWSINESS&amp;lt;br /&amp;gt;CE_DIZZINESS&lt;br /&gt;
| &lt;br /&gt;
*SEV:&amp;lt;value&amp;gt;  (severity, higher is worse)&lt;br /&gt;
*PROB:&amp;lt;value(1-100)&amp;gt; (probability)&lt;br /&gt;
*RESISTABLE (optional) allows resistance&lt;br /&gt;
*SIZE_DILUTES (optional) lessens effect based on size &lt;br /&gt;
Place affected:&lt;br /&gt;
*LOCALIZED (optional)&lt;br /&gt;
*VASCULAR_ONLY (optional)&lt;br /&gt;
*MUSCULAR_ONLY (optional)&lt;br /&gt;
*BP:BY_CATEGORY:category:tissue (optional)&lt;br /&gt;
*BP:BY_TYPE:type:tissue (optional)&lt;br /&gt;
*BP:BY_TOKEN:token:tissue (optional)&lt;br /&gt;
Timeline:&lt;br /&gt;
*Start:effect start time&lt;br /&gt;
*Peak:effect peak time&lt;br /&gt;
*End:effect end time&lt;br /&gt;
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Inorganic material definition token]]&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Weapon_token&amp;diff=315749</id>
		<title>v0.31:Weapon token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Weapon_token&amp;diff=315749"/>
		<updated>2026-04-04T01:04:01Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|19:42, 24 August 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
These tokens can only be placed within an ITEM_WEAPON object definition.&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| Name of the weapon. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| Adjective of the weapon, e.g. the &amp;quot;large&amp;quot; in &amp;quot;large copper dagger&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Volume of weapon in mL or cubic cm. Defaults to 100.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_FORCE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The amount of force used when firing projectiles - velocity is presumably determined by the projectile's mass. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_MAXVEL}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The maximum speed a fired projectile can have.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL}}&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
| The skill to determine effectiveness in melee with this weapon. Defaults to MACE. Skill of AXE will allow it to be used to chop down trees.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RANGED}}&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
*Ammo class&lt;br /&gt;
| Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TWO_HANDED}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Creatures under this size (in cm^3) must use the weapon two-handed. Defaults to 50000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINIMUM_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value). Defaults to 40000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the weapon to be made at a [[craftsdwarf's workshop]] from a sharp ([MAX_EDGE:10000] or higher) stone (e.g. [[obsidian]]) plus a wood log.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINING}}&lt;br /&gt;
|&lt;br /&gt;
| Restricts this weapon to being made of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Number of bar units needed for forging. Due to a bug, this does not actually work properly. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
*attacktype:BLUNT or EDGE&lt;br /&gt;
*contact_area:value&lt;br /&gt;
*penetration_size:value&lt;br /&gt;
*verb2nd:string&lt;br /&gt;
*verb3rd:string&lt;br /&gt;
*noun:string&lt;br /&gt;
*velocity_multiplier:value&lt;br /&gt;
| You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. Contact area is usually high for slashing and low for bludgeoning, piercing, and poking. Penetration value tends to be low for slashing and high for stabbing. Penetration is ignored if attack is BLUNT. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Weapon_token&amp;diff=315748</id>
		<title>v0.34:Weapon token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Weapon_token&amp;diff=315748"/>
		<updated>2026-04-04T01:02:56Z</updated>

		<summary type="html">&lt;p&gt;Quietust: get rid of this&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|19:42, 24 August 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
These tokens can only be placed within an ITEM_WEAPON object definition.&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| Name of the weapon. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| Adjective of the weapon, e.g. the &amp;quot;large&amp;quot; in &amp;quot;large copper dagger&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Volume of weapon in mL or cubic cm. Defaults to 100.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_FORCE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The amount of force used when firing projectiles - velocity is presumably determined by the projectile's mass. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_MAXVEL}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The maximum speed a fired projectile can have.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL}}&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
| The skill to determine effectiveness in melee with this weapon. Defaults to MACE. Skill of AXE will allow it to be used to chop down trees.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RANGED}}&lt;br /&gt;
| &lt;br /&gt;
*[[Skill token]]&lt;br /&gt;
*Ammo class&lt;br /&gt;
| Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TWO_HANDED}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Creatures under this size (in cm^3) must use the weapon two-handed. Defaults to 50000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINIMUM_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value). Defaults to 40000.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_STONE}}&lt;br /&gt;
|&lt;br /&gt;
| Allows the weapon to be made at a [[craftsdwarf's workshop]] from a sharp ([MAX_EDGE:10000] or higher) stone (e.g. [[obsidian]]) plus a wood log.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAINING}}&lt;br /&gt;
|&lt;br /&gt;
| Restricts this weapon to being made of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Number of bar units needed for forging, as well as the amount gained from melting. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
*attacktype:BLUNT or EDGE&lt;br /&gt;
*contact_area:value&lt;br /&gt;
*penetration_size:value&lt;br /&gt;
*verb2nd:string&lt;br /&gt;
*verb3rd:string&lt;br /&gt;
*noun:string&lt;br /&gt;
*velocity_multiplier:value&lt;br /&gt;
| You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. Contact area is usually high for slashing and low for bludgeoning, piercing, and poking. Penetration value tends to be low for slashing and high for stabbing. Penetration is ignored if attack is BLUNT. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Trap_component_token&amp;diff=315747</id>
		<title>v0.31:Trap component token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Trap_component_token&amp;diff=315747"/>
		<updated>2026-04-04T01:02:17Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:26, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
For use on trap components.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| What this item will be called in-game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| adjective&lt;br /&gt;
| Appears before the name of the weapon's material. E.g. &amp;quot;menacing steel spike&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}&lt;br /&gt;
| value&lt;br /&gt;
| How large the item is. Defaults to 100.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HITS}}&lt;br /&gt;
| value&lt;br /&gt;
| Number of times it hits. Defaults to 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| value&lt;br /&gt;
| How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text anchor|IS_SCREW}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be installed in a screw pump.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_SPIKE}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be installed in a spike trap.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be made out of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be made out of metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
* attacktype:EDGE (or BLUNT?)&lt;br /&gt;
* contact_area:value&lt;br /&gt;
* penetration_size:value&lt;br /&gt;
* verb2nd:string&lt;br /&gt;
* verb3rd:string&lt;br /&gt;
* noun:string&lt;br /&gt;
* velocity_multiplier:value &lt;br /&gt;
| Sets the attack characteristics of the weapon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Trap_component_token&amp;diff=315746</id>
		<title>v0.34:Trap component token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Trap_component_token&amp;diff=315746"/>
		<updated>2026-04-04T01:02:01Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:26, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
For use on trap components.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| What this item will be called in-game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| adjective&lt;br /&gt;
| Appears before the name of the weapon's material. E.g. &amp;quot;menacing steel spike&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}&lt;br /&gt;
| value&lt;br /&gt;
| How large the item is. Defaults to 100.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HITS}}&lt;br /&gt;
| value&lt;br /&gt;
| Number of times it hits. Defaults to 1&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| value&lt;br /&gt;
| How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| {{text anchor|IS_SCREW}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be installed in a screw pump.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_SPIKE}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be installed in a spike trap.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be made out of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL}}&lt;br /&gt;
|&lt;br /&gt;
| Weapon may be made out of metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
* attacktype:EDGE (or BLUNT?)&lt;br /&gt;
* contact_area:value&lt;br /&gt;
* penetration_size:value&lt;br /&gt;
* verb2nd:string&lt;br /&gt;
* verb3rd:string&lt;br /&gt;
* noun:string&lt;br /&gt;
* velocity_multiplier:value &lt;br /&gt;
| Sets the attack characteristics of the weapon&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Tool_token&amp;diff=315745</id>
		<title>v0.31:Tool token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Tool_token&amp;diff=315745"/>
		<updated>2026-04-04T01:01:25Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:46, 21 November 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| Name of the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HARD_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from anything with the [ITEMS_HARD] token, such as wood, stone or metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from anything with the [IS_METAL] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_WEAPON_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from any metal with the [ITEMS_WEAPON] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNIMPROVABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the tool from being improved.  Used on honeycombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*num&lt;br /&gt;
| Defines the item value of the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TILE}}&lt;br /&gt;
|&lt;br /&gt;
*num&lt;br /&gt;
| Defines the tile used to represent the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL_USE}}&lt;br /&gt;
| &lt;br /&gt;
*tool use, see below&lt;br /&gt;
| Defines the task performed using the tool.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| Adjective preceding the material name (e.g. &amp;quot;large copper dagger&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} // {{text anchor|WEIGHT}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Volume of tool in mL or cubic centimeters. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTAINER_CAPACITY}}&lt;br /&gt;
|&lt;br /&gt;
*amount&lt;br /&gt;
| How much the item can contain. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_FORCE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_MAXVEL}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL}}&lt;br /&gt;
| &lt;br /&gt;
*Skill token&lt;br /&gt;
| The skill to determine effectiveness in melee with this tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RANGED}}&lt;br /&gt;
| &lt;br /&gt;
*Skill token&lt;br /&gt;
*Ammo item token&lt;br /&gt;
| Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TWO_HANDED}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Creatures under this size (in cm^3) must use the tool two-handed. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINIMUM_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Intended to specify number of bar units needed for forging. Does '''not''' work due to a bug.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
*attacktype:BLUNT or EDGE&lt;br /&gt;
*contact_area:value&lt;br /&gt;
*penetration_size:value&lt;br /&gt;
*verb2nd:string&lt;br /&gt;
*verb3rd:string&lt;br /&gt;
*noun:string&lt;br /&gt;
*velocity_multiplier:value&lt;br /&gt;
| You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Valid tool uses (and the default tools used for these tasks) are as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! ID&lt;br /&gt;
! Token&lt;br /&gt;
! Usage&lt;br /&gt;
|-&lt;br /&gt;
| 0 || LIQUID_COOKING || cauldron || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 1 || LIQUID_SCOOP || ladle || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 2 || GRIND_POWDER_RECEPTACLE || mortar || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 3 || GRIND_POWDER_GRINDER || pestle || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 4 || MEAT_CARVING || carving knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 5 || MEAT_BONING || boning knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 6 || MEAT_SLICING || slicing knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 7 || MEAT_CLEAVING || meat cleaver || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HOLD_MEAT_FOR_CARVING || carving fork || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 9 || MEAL_CONTAINER || bowl || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 10 || LIQUID_CONTAINER || [[jug]] || can store honey or oil&lt;br /&gt;
|-&lt;br /&gt;
| 11 || FOOD_STORAGE || [[large pot]] || can store beer&lt;br /&gt;
|-&lt;br /&gt;
| 12 || HIVE || [[hive]] || can make honey&lt;br /&gt;
|-&lt;br /&gt;
| 13 || NEST_BOX || [[nest box]] || for your birds to lay eggs&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Tool_token&amp;diff=315744</id>
		<title>v0.34:Tool token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Tool_token&amp;diff=315744"/>
		<updated>2026-04-04T00:59:07Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:46, 21 November 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*singular&lt;br /&gt;
*plural&lt;br /&gt;
| Name of the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HARD_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from anything with the [ITEMS_HARD] token, such as wood, stone or metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from anything with the [IS_METAL] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_WEAPON_MAT}}&lt;br /&gt;
|&lt;br /&gt;
| Permits the tool to be made from any metal with the [ITEMS_WEAPON] token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNIMPROVABLE}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents the tool from being improved.  Used on honeycombs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
|&lt;br /&gt;
*num&lt;br /&gt;
| Defines the item value of the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TILE}}&lt;br /&gt;
|&lt;br /&gt;
*num&lt;br /&gt;
| Defines the tile used to represent the tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVERTED_TILE}}&lt;br /&gt;
|&lt;br /&gt;
| The background of the tile will be colored, instead of the foreground.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL_USE}}&lt;br /&gt;
| &lt;br /&gt;
*tool use, see below&lt;br /&gt;
| Defines the task performed using the tool.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FURNITURE}}&lt;br /&gt;
|&lt;br /&gt;
| Allows item to be stored in a furniture stockpile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJECTIVE}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| Adjective preceding the material name (e.g. &amp;quot;large copper dagger&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Volume of tool in mL or cubic centimeters. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTAINER_CAPACITY}}&lt;br /&gt;
|&lt;br /&gt;
*amount&lt;br /&gt;
| How much the item can contain. Defaults to 0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_FORCE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOOT_MAXVEL}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKILL}}&lt;br /&gt;
| &lt;br /&gt;
*Skill token&lt;br /&gt;
| The skill to determine effectiveness in melee with this tool. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RANGED}}&lt;br /&gt;
| &lt;br /&gt;
*Skill token&lt;br /&gt;
*Ammo item token&lt;br /&gt;
| Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TWO_HANDED}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Creatures under this size (in cm^3) must use the tool two-handed. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MINIMUM_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Number of bar units needed for forging, as well as the amount gained from melting. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
*attacktype:BLUNT or EDGE&lt;br /&gt;
*contact_area:value&lt;br /&gt;
*penetration_size:value&lt;br /&gt;
*verb2nd:string&lt;br /&gt;
*verb3rd:string&lt;br /&gt;
*noun:string&lt;br /&gt;
*velocity_multiplier:value&lt;br /&gt;
| You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required for weapons.&amp;lt;/font&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Valid tool uses (and the default tools used for these tasks) are as follows:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! ID&lt;br /&gt;
! Token&lt;br /&gt;
! Usage&lt;br /&gt;
|-&lt;br /&gt;
| 0 || LIQUID_COOKING || cauldron || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 1 || LIQUID_SCOOP || ladle || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 2 || GRIND_POWDER_RECEPTACLE || mortar || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 3 || GRIND_POWDER_GRINDER || pestle || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 4 || MEAT_CARVING || carving knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 5 || MEAT_BONING || boning knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 6 || MEAT_SLICING || slicing knife || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 7 || MEAT_CLEAVING || meat cleaver || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HOLD_MEAT_FOR_CARVING || carving fork || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 9 || MEAL_CONTAINER || bowl || adventure mode decoration / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 10 || LIQUID_CONTAINER || [[jug]] || can store honey or oil&lt;br /&gt;
|-&lt;br /&gt;
| 11 || FOOD_STORAGE || [[large pot]] || can store beer&lt;br /&gt;
|-&lt;br /&gt;
| 12 || HIVE || [[hive]] || can make honey&lt;br /&gt;
|-&lt;br /&gt;
| 13 || NEST_BOX || [[nest box]] || for your birds to lay eggs&lt;br /&gt;
|-&lt;br /&gt;
| 14 || SMALL_OBJECT_STORAGE || [[pouch]] || adventure mode coin purse&lt;br /&gt;
|-&lt;br /&gt;
| 15 || TRACK_CART || [[minecart]] || item hauling / weapon&lt;br /&gt;
|-&lt;br /&gt;
| 16 || HEAVY_OBJECT_HAULING || [[wheelbarrow]] || allows hauling items faster&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Armor_token&amp;diff=315743</id>
		<title>v0.31:Armor token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Armor_token&amp;diff=315743"/>
		<updated>2026-04-04T00:53:54Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional|08:43, 9 June 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
The tokens for all types of [[armor]] on all slots, including [[shield]]s. Usage column gives information on what types of '''armor''' the token might be restricted to.&lt;br /&gt;
&lt;br /&gt;
These tokens can only be placed within an ITEM_ARMOR, ITEM_GLOVES, ITEM_SHOES, ITEM_SHIELD, ITEM_HELM, or ITEM_PANTS object definition, most do not function in weapon objects.&lt;br /&gt;
&lt;br /&gt;
==Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Usage&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| {{tc|red|Required}}&lt;br /&gt;
| What this item will be called ingame.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREPLURAL}}&lt;br /&gt;
| &amp;lt;phrase&amp;gt; of&lt;br /&gt;
| ITEM_ARMOR&amp;lt;br /&amp;gt;ITEM_PANTS&lt;br /&gt;
| Changes the plural form of this item to &amp;quot;&amp;lt;phrase of&amp;gt; item&amp;quot;. Primarily pertains to the stock screens. Example, &amp;quot;suits of&amp;quot; platemail, &amp;quot;pairs of&amp;quot; trousers, etc. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_PLACEHOLDER}}&lt;br /&gt;
| adjective&lt;br /&gt;
| ITEM_ARMOR&amp;lt;br /&amp;gt;ITEM_PANTS&lt;br /&gt;
| If the item has no material associated with it (e.g. stockpile menus and trade negotiations), this will be displayed in its place. Used for leather armor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Unused. Defaults to -1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMORLEVEL}}&lt;br /&gt;
|&lt;br /&gt;
0 - clothing&amp;lt;br&amp;gt;&lt;br /&gt;
1 - leather&amp;lt;br&amp;gt;&lt;br /&gt;
2 - chain&amp;lt;br&amp;gt;&lt;br /&gt;
3 - plate&lt;br /&gt;
| All garments and shields&lt;br /&gt;
| The garment's general purpose. Defaults to 1 for shields, 0 for everything else. Class 0 items are claimed and used by civilians as ordinary clothing and are subject to [[wear]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPSTEP}}&lt;br /&gt;
| value, MAX&lt;br /&gt;
| ITEM_GLOVES&amp;lt;br /&amp;gt;ITEM_SHOES&amp;lt;br /&amp;gt;ITEM_SHIELD&lt;br /&gt;
| Length of gloves or footwear, counted in [LIMB] body parts towards the torso. A value of 1 lets gloves cover the lower arms, a value of 2 stretches a boot all the way over the upper leg and so on. Regardless of the value, none of these items can ever extend to cover the upper or lower body. Shields also have this token, but it only seems to affect weight.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UBSTEP}}&lt;br /&gt;
| value, MAX&lt;br /&gt;
| ITEM_ARMOR&lt;br /&gt;
| Length of the sleeves, counted in [LIMB] body parts towards the hands. A value of 0 only protects both halves of the torso, 1 extends over the upper arms and so on. Regardless of the value, body armor can never extend to cover the hands or head.&lt;br /&gt;
&lt;br /&gt;
Currently bugged{{bug|1821}}, high values of UBSTEP will result in the item protecting facial features, fingers, and toes, while leaving those parts that it can not protect unprotected (but still counting them as steps).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LBSTEP}}&lt;br /&gt;
| value or MAX&lt;br /&gt;
| ITEM_ARMOR&amp;lt;br /&amp;gt;ITEM_PANTS&lt;br /&gt;
| Length of the legs/hem, counted in [LIMB] body parts towards the feet. A value of 0 only covers the lower body, 1 extends over the upper legs and so on. Regardless of the value, body armor or pants can never extend to cover the feet. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_ARMOR_LEVELS}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Metal versions of this item count as one ARMORLEVEL higher and thus won't be worn by random peasants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOCKCHANCE}}&lt;br /&gt;
| value&lt;br /&gt;
| ITEM_SHIELD&lt;br /&gt;
| Affects the block chance of the shield. Defaults to 10.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL_SIZE}}&lt;br /&gt;
| value&lt;br /&gt;
| {{tc|red|Required}}&lt;br /&gt;
| How much material is needed to make the item. Most important with bars. The number of bars required to make the item is the value divided by three.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOFT}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Clothiers can make this item from all kinds of cloth. If paired with [LEATHER], the item has an equal chance of being either in randomly generated outfits. Further uses of this tag are unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HARD}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Default state in the absence of a [SOFT] token. Actual effects unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Item can be made from metal. Overrides [SOFT] and [LEATHER] in randomly generated outfits, if the ARMORLEVEL permits. Civilizations with [[Entity_token#WOOD_ARMOR|[WOOD_ARMOR]]] will make this item out of wood instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BARRED}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Craftsmen can make this item from bones. Randomly generated outfits don't include bone armor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCALED}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Craftsmen can make this item from shells. Randomly generated outfits don't include shell armor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LEATHER}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Leatherworkers can make this item from leather. If paired with [SOFT], this item has an equal chance of being either in randomly generated outfits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHAPED}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Only one shaped piece of clothing can be worn on a single body slot at a time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAIN_METAL_TEXT}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Metal versions of this item will have &amp;quot;chain&amp;quot; added between the material and item name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRUCTURAL_ELASTICITY_WOVEN_THREAD}}&lt;br /&gt;
|&lt;br /&gt;
| All garments&lt;br /&gt;
| Reduces the armor material's SHEAR_YIELD to 20000, SHEAR_FRACTURE to 30000 and increases the *_STRAIN_AT_YIELD properties to 50000, but only if the garment is made from cloth. This makes the item very weak against edged attacks, even if the thread material is normally very strong.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRUCTURAL_ELASTICITY_CHAIN_METAL}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Increases the *_STRAIN_AT_YIELD properties of the armor's material to 50000, but only if the garment is made from metal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRUCTURAL_ELASTICITY_CHAIN_ALL}}&lt;br /&gt;
| &lt;br /&gt;
| All garments&lt;br /&gt;
| Increases the *_STRAIN_AT_YIELD properties of the armor's material to 50000, if lower. This makes the garment flex and give way instead of shattering under force. Strong materials that resist cutting will blunt edged attacks into bone-crushing hits instead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_SIZE}}&lt;br /&gt;
| value&lt;br /&gt;
| All garments&lt;br /&gt;
| The item's bulkiness when worn. Aside from the layer limitations, it's a big contributor to the thickness and weight (and therefore price) of the garment. See [[Armor]] for more on item sizes and layering. Defaults to 10. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_PERMIT}}&lt;br /&gt;
| value&lt;br /&gt;
| All garments&lt;br /&gt;
| The maximum amount of crap that can fit underneath the garment. See [[Armor]] for more on item sizes and layering. Defaults to 10.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER}}&lt;br /&gt;
| UNDER&amp;lt;br /&amp;gt;OVER&amp;lt;br /&amp;gt;ARMOR&amp;lt;br /&amp;gt;COVER&lt;br /&gt;
| All garments&lt;br /&gt;
| Where the item goes in relation to other clothes. Socks cannot be worn on top of boots! &lt;br /&gt;
The LAYER_PERMIT of the highest layer is used on a given section of the body - you can fit a lot of shirts and other undergarments underneath a robe, but not if you wear a leather jerkin on top of it, and you can still wear a cloak over the whole ensemble. Defaults to UNDER.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COVERAGE}}&lt;br /&gt;
| % value&lt;br /&gt;
| All garments&lt;br /&gt;
| How often the garment gets in the way of a contaminant or an attack. Armor with a 5% coverage value, for example, will be near useless because 95% of attacks will bypass it completely. Temperature effects and armor thickness are also influenced. Defaults to 100.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Ammo_token&amp;diff=315742</id>
		<title>v0.31:Ammo token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Ammo_token&amp;diff=315742"/>
		<updated>2026-04-04T00:49:15Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior|02:31, 18 April 2013 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| What this item will be called ingame.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLASS}}&lt;br /&gt;
| anything&lt;br /&gt;
| This ammo can be fired from a weapon that is set to fire the same ammo type as this. Defaults to BOLT.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}&lt;br /&gt;
| value&lt;br /&gt;
| How large the ammunition is. &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Required&amp;lt;/font&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK}}&lt;br /&gt;
| &lt;br /&gt;
*attacktype:BLUNT or EDGE&lt;br /&gt;
*contact_area:value&lt;br /&gt;
*penetration_size:value&lt;br /&gt;
*verb2nd:string&lt;br /&gt;
*verb3rd:string&lt;br /&gt;
*noun:string&lt;br /&gt;
*velocity_multiplier:value&lt;br /&gt;
| Specifies the attack characteristics of the ammunition.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Descriptor_pattern_token&amp;diff=315741</id>
		<title>v0.31:Descriptor pattern token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Descriptor_pattern_token&amp;diff=315741"/>
		<updated>2026-04-04T00:48:06Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Created page with &amp;quot;{{Quality|Superior|18:45, 10 February 2022 (UTC)}}{{av}}  Tokens used to define descriptor patterns, that may be used instead of descriptor colors. As a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior|18:45, 10 February 2022 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
Tokens used to define descriptor patterns, that may be used instead of [[Color#Color_tokens|descriptor colors]]. As an example, the descriptor pattern STRIPES_ORANGE_BLACK is what gives tigers their stripes.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Usage&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATTERN}}&lt;br /&gt;
| SPOTS, STRIPES, MOTTLED, IRIS_EYE or PUPIL_EYE&lt;br /&gt;
| {{tc|red|Required}}&lt;br /&gt;
| The type of pattern, deciding the description.&lt;br /&gt;
* SPOTS: Causes a crash if no CP_COLOR is given{{bug|11806}}, otherwise takes any amount.&lt;br /&gt;
* STRIPES: Takes any amount of CP_COLOR tokens.&lt;br /&gt;
* IRIS_EYE: Only shows the third CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one or two CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
* PUPIL_EYE: Only shows the second CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
An undefined pattern type causes the description to simply not show up. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CP_COLOR}}&lt;br /&gt;
| [[Color#Color_tokens|color token]]&lt;br /&gt;
| {{tc|red|Required (mostly)}}&lt;br /&gt;
| A color to be used in the pattern. See [[Descriptor_pattern_token#PATTERN|PATTERN]] for how many CP_COLOR tokens are needed, and how they are used. [[descriptor color token|Modded color tokens]] may be used.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Descriptor pattern token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Descriptor_pattern_token&amp;diff=315740</id>
		<title>v0.34:Descriptor pattern token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Descriptor_pattern_token&amp;diff=315740"/>
		<updated>2026-04-04T00:47:59Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior|18:45, 10 February 2022 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
Tokens used to define descriptor patterns, that may be used instead of [[Color#Color_tokens|descriptor colors]]. As an example, the descriptor pattern STRIPES_ORANGE_BLACK is what gives tigers their stripes.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Usage&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATTERN}}&lt;br /&gt;
| SPOTS, STRIPES, MOTTLED, IRIS_EYE or PUPIL_EYE&lt;br /&gt;
| {{tc|red|Required}}&lt;br /&gt;
| The type of pattern, deciding the description.&lt;br /&gt;
* SPOTS: Causes a crash if no CP_COLOR is given{{bug|11806}}, otherwise takes any amount.&lt;br /&gt;
* STRIPES: Takes any amount of CP_COLOR tokens.&lt;br /&gt;
* MOTTLED: Takes any amount of CP_COLOR tokens.&lt;br /&gt;
* IRIS_EYE: Only shows the third CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one or two CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
* PUPIL_EYE: Only shows the second CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
An undefined pattern type causes the description to simply not show up. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CP_COLOR}}&lt;br /&gt;
| [[Color#Color_tokens|color token]]&lt;br /&gt;
| {{tc|red|Required (mostly)}}&lt;br /&gt;
| A color to be used in the pattern. See [[Descriptor_pattern_token#PATTERN|PATTERN]] for how many CP_COLOR tokens are needed, and how they are used. [[descriptor color token|Modded color tokens]] may be used.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Descriptor pattern token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Descriptor_pattern_token&amp;diff=315739</id>
		<title>v0.34:Descriptor pattern token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Descriptor_pattern_token&amp;diff=315739"/>
		<updated>2026-04-04T00:47:51Z</updated>

		<summary type="html">&lt;p&gt;Quietust: Created page with &amp;quot;{{Quality|Superior|18:45, 10 February 2022 (UTC)}} {{av}} {{Modding}} Tokens used to define descriptor patterns, that may be used instead of Color#Color_tokens|descriptor co...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior|18:45, 10 February 2022 (UTC)}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{Modding}}&lt;br /&gt;
Tokens used to define descriptor patterns, that may be used instead of [[Color#Color_tokens|descriptor colors]]. As an example, the descriptor pattern STRIPES_ORANGE_BLACK is what gives tigers their stripes.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Tokens==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Usage&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATTERN}}&lt;br /&gt;
| SPOTS, STRIPES, MOTTLED, IRIS_EYE or PUPIL_EYE&lt;br /&gt;
| {{tc|red|Required}}&lt;br /&gt;
| The type of pattern, deciding the description.&lt;br /&gt;
* SPOTS: Causes a crash if no CP_COLOR is given{{bug|11806}}, otherwise takes any amount.&lt;br /&gt;
* STRIPES: Takes any amount of CP_COLOR tokens.&lt;br /&gt;
* MOTTLED: Takes any amount of CP_COLOR tokens.&lt;br /&gt;
* IRIS_EYE: Only shows the third CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one or two CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
* PUPIL_EYE: Only shows the second CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is given{{bug|11806}}. If only one CP_COLORs is given, the tissue is described as being &amp;quot;transparent&amp;quot;.&lt;br /&gt;
An undefined pattern type causes the description to simply not show up. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CP_COLOR}}&lt;br /&gt;
| [[Color#Color_tokens|color token]]&lt;br /&gt;
| {{tc|red|Required (mostly)}}&lt;br /&gt;
| A color to be used in the pattern. See [[Descriptor_pattern_token#PATTERN|PATTERN]] for how many CP_COLOR tokens are needed, and how they are used. [[descriptor color token|Modded color tokens]] may be used.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;br /&gt;
[[ru:Descriptor pattern token]]&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Creature_variation_token&amp;diff=315738</id>
		<title>v0.31:Creature variation token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Creature_variation_token&amp;diff=315738"/>
		<updated>2026-04-04T00:46:05Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
Creature variations are used to create creatures which are derived from another already-existing creature without having to duplicate every single token. They are defined as CREATURE_VARIATION objects, and the default variations are defined in c_variation_default.txt&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_NEW_TAG}}&lt;br /&gt;
|&lt;br /&gt;
*token (plus any additional parameters)&lt;br /&gt;
| Adds a new token to the creature's variant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_ADD_TAG}}&lt;br /&gt;
|&lt;br /&gt;
*token&lt;br /&gt;
| Alias for CV_NEW_TAG&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_REMOVE_TAG}}&lt;br /&gt;
|&lt;br /&gt;
*token&lt;br /&gt;
| Removes a token from the creature's variant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CV_CONVERT_TAG}}&lt;br /&gt;
|&lt;br /&gt;
| Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. If a variation template contains multiple CV_CONVERT_TAG blocks for the same CVCT_MASTER, the replacements will be applied [http://bay12games.com/dwarves/mantisbt/view.php?id=6393#c24231 in reverse order].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CVCT_MASTER}}&lt;br /&gt;
|&lt;br /&gt;
*token&lt;br /&gt;
| Specifies the token that will be modified.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CVCT_TARGET}}&lt;br /&gt;
|&lt;br /&gt;
*value&lt;br /&gt;
| Locates the specified parameter within the token specified by CVCT_MASTER.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CVCT_REPLACEMENT}}&lt;br /&gt;
|&lt;br /&gt;
*value&lt;br /&gt;
| Replaces the parameter specified by CVCT_TARGET within the token specified by CVCT_MASTER. If no replacement is specified, the target will simply be removed.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Body_detail_plan_token&amp;diff=315737</id>
		<title>v0.31:Body detail plan token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Body_detail_plan_token&amp;diff=315737"/>
		<updated>2026-04-04T00:44:56Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|17:58, 28 April 2011 (UTC)}}{{av}}&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;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADD_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
* identifier&lt;br /&gt;
* material template&lt;br /&gt;
| Adds a new material to the creature based on the specified template and assigned to the specified identifier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADD_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
* identifier&lt;br /&gt;
* tissue template&lt;br /&gt;
| Adds a new tissue to the creature based on the specified template and assigned to the specified identifier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_DETAIL_PLAN}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a body detail plan for use in creature raws&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part&lt;br /&gt;
*tissue name or tissue ARG# for innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
*tissue name or tissue ARG# for second innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
*tissue name or tissue ARG# for third innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
etc...&lt;br /&gt;
| Defines a series of tissue layers. Alternatively to specifying a tissue, variable arguments can be entered (numbered arbitrarily to a max of 5) to be filled with tissues when the plan is called in the creature entry. The SELECT_TISSUE creature token with TL_RELATIVE_THICKNESS can change tissue thickness, but tissue ''layering'' is hard to do without a new detail plan.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS_OVER}}&lt;br /&gt;
|&lt;br /&gt;
| Works like BP_LAYERS, but defines layers over existing layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS_UNDER}}&lt;br /&gt;
|&lt;br /&gt;
| Works like BP_LAYERS, but defines layers under existing layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_POSITION}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part&lt;br /&gt;
*position token&lt;br /&gt;
| Defines a position for the specified body part (the nose is assigned the position FRONT, as it's on the front of the face). This has some effects on combat, attacks and the like. Valid position tokens are FRONT, BACK, SIDES, TOP and BOTTOM.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_RELATION}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part to be affected&lt;br /&gt;
*relation token&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*parent body part&lt;br /&gt;
*coverage&lt;br /&gt;
| Defines a positional relationship between one body part and another (the right eyelid is AROUND the right eye with coverage 50, as it only partially covers the eye). This has some effects on combat, attacks and the like. Valid relation tokens are AROUND, SURROUNDED_BY, ABOVE, BELOW, IN_FRONT, BEHIND, CLEANS, and CLEANED_BY. The lattermost two tokens are used when specifying parts that clean each other (such as eyelids to eyes).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_RELSIZE}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY (or, presumably, BY_TYPE or BY_TOKEN)&lt;br /&gt;
*body part&lt;br /&gt;
*relsize&lt;br /&gt;
| Defines a relsize for the selected body part for the current body detail plan&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Body_detail_plan_token&amp;diff=315736</id>
		<title>v0.34:Body detail plan token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Body_detail_plan_token&amp;diff=315736"/>
		<updated>2026-04-04T00:44:21Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|17:58, 28 April 2011 (UTC)}}{{av}}&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;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADD_MATERIAL}}&lt;br /&gt;
|&lt;br /&gt;
* identifier&lt;br /&gt;
* material template&lt;br /&gt;
| Adds a new material to the creature based on the specified template and assigned to the specified identifier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADD_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
* identifier&lt;br /&gt;
* tissue template&lt;br /&gt;
| Adds a new tissue to the creature based on the specified template and assigned to the specified identifier.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BODY_DETAIL_PLAN}}&lt;br /&gt;
|&lt;br /&gt;
| Begins defining a body detail plan for use in creature raws&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part&lt;br /&gt;
*tissue name or tissue ARG# for innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
*tissue name or tissue ARG# for second innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
*tissue name or tissue ARG# for third innermost tissue&lt;br /&gt;
*tissue thickness&lt;br /&gt;
etc...&lt;br /&gt;
| Defines a series of tissue layers. Alternatively to specifying a tissue, variable arguments can be entered (numbered arbitrarily to a max of 5) to be filled with tissues when the plan is called in the creature entry. The SELECT_TISSUE creature token with TL_RELATIVE_THICKNESS can change tissue thickness, but tissue ''layering'' is hard to do without a new detail plan.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS_OVER}}&lt;br /&gt;
|&lt;br /&gt;
| Works like BP_LAYERS, but defines layers over existing layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_LAYERS_UNDER}}&lt;br /&gt;
|&lt;br /&gt;
| Works like BP_LAYERS, but defines layers under existing layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_POSITION}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part&lt;br /&gt;
*position token&lt;br /&gt;
| Defines a position for the specified body part (the nose is assigned the position FRONT, as it's on the front of the face). This has some effects on combat, attacks and the like. Valid position tokens are FRONT, BACK, SIDES, TOP and BOTTOM.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_RELATION}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*body part to be affected&lt;br /&gt;
*relation token&lt;br /&gt;
*BY_CATEGORY or BY_TYPE or BY_TOKEN&lt;br /&gt;
*parent body part&lt;br /&gt;
*coverage&lt;br /&gt;
| Defines a positional relationship between one body part and another (the right eyelid is AROUND the right eye with coverage 50, as it only partially covers the eye). This has some effects on combat, attacks and the like. Valid relation tokens are AROUND, SURROUNDED_BY, ABOVE, BELOW, IN_FRONT, BEHIND, CLEANS, and CLEANED_BY. The lattermost two tokens are used when specifying parts that clean each other (such as eyelids to eyes).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_RELSIZE}}&lt;br /&gt;
|&lt;br /&gt;
*BY_CATEGORY (or, presumably, BY_TYPE or BY_TOKEN)&lt;br /&gt;
*body part&lt;br /&gt;
*relsize&lt;br /&gt;
| Defines a relsize for the selected body part for the current body detail plan&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Body_token&amp;diff=315735</id>
		<title>40d:Body token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Body_token&amp;diff=315735"/>
		<updated>2026-04-04T00:43:51Z</updated>

		<summary type="html">&lt;p&gt;Quietust: /* Body Parts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:17, 30 March 2011 (UTC)}}{{av}}&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
&lt;br /&gt;
'''Body tokens''' are one of the fundamental parts of creatures, and determine their bodily structure.  There are two major types of body tokens: ''body templates'' (BODY) and ''body parts'' (BP).&lt;br /&gt;
&lt;br /&gt;
A creature uses the [[creature token#B|BODY creature token]] to list all of the body templates it includes.  Each part listed in each template is then included in the creature.  In other words: a creature lists the ''body templates'' it is made of.  Each ''body template'' contains a set of ''body parts''.  Each ''body part'' specifies which other body part it is attached to.&lt;br /&gt;
&lt;br /&gt;
Body parts can connect specifically to another body part, or generally to any body part of a certain category.  These connections are handled by the CON and CONTYPE body part tokens respectively.&lt;br /&gt;
&lt;br /&gt;
Body parts can be renamed with a ''[[bodygloss]]'', allowing someone to reuse an existing template instead of defining a similar template with only the names of the body parts changed.&lt;br /&gt;
&lt;br /&gt;
== Convention ==&lt;br /&gt;
&lt;br /&gt;
The convention in the unmodded raw object data in Dwarf Fortress is to make the centre of mass the core of the creature.  All other body parts then attach to this central mass, or to those body parts that attach to this central mass.  Creating chains of attachments in this fashion produces limbs. If a part is listed before a part that it is attached to is, this can create strange bugs, such as the creatures instantly suffocating.&lt;br /&gt;
&lt;br /&gt;
While it is possible to use the CON token to connect to a specific body part ID even if it is in another template, it is convention within the default raw object data to use a CONTYPE if the connected part is in another template, for safety.  Otherwise, a creature must have both templates within its BODY token to prevent unpredictable behaviour when the creature is used during world generation or simulated during gameplay.&lt;br /&gt;
&lt;br /&gt;
==Basic Syntax==&lt;br /&gt;
&lt;br /&gt;
 filename&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:BODY]&lt;br /&gt;
 &lt;br /&gt;
 [BODY:TEMPLATE1]&lt;br /&gt;
 [BP:CORE][UPPERBODY][...]&lt;br /&gt;
 [BP:PART1][CONTYPE:UPPERBODY][...]&lt;br /&gt;
 [BP:PART2][CON:CORE][...]&lt;br /&gt;
 &lt;br /&gt;
 [BODYGLOSS:FOOBAR:foo:bar]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Body==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| BODY&lt;br /&gt;
|&lt;br /&gt;
* id&lt;br /&gt;
| The name of the body template.  Each BP token underneath a given Body Token BODY template is added to a creature when the Creature Token BODY specifies this ID.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| BODYGLOSS&lt;br /&gt;
|&lt;br /&gt;
* id&lt;br /&gt;
* match&lt;br /&gt;
* replacement&lt;br /&gt;
| Replaces all occurrences of &amp;quot;match&amp;quot; in the creature's body parts with &amp;quot;replacement&amp;quot;.  E.g., the Body Token [BODYGLOSS:TENTACLE:leg:tentacle], used by the Creature Token [BODYGLOSS:TENTACLE], will cause any &amp;quot;right leg&amp;quot; to appear as &amp;quot;right tentacle&amp;quot;.  Testing required: would &amp;quot;brain legend&amp;quot; appear as &amp;quot;brain tentacleend&amp;quot;?{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Body Parts==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP}}&lt;br /&gt;
|&lt;br /&gt;
* id&lt;br /&gt;
* name&lt;br /&gt;
| The internal object ID of the body part.  Unlike many other tokens in the game, the id of the BP does not need to be unique throughout all of the raw object files, though it does need to be unique within the BODY it is in, as well as within the set of body templates used by any given creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPPERBODY}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is the &amp;quot;core&amp;quot; of the creature; when the upperbody body part is destroyed, the creature is blown apart.&lt;br /&gt;
A creature doesn't die until an UPPERBODY, HEAD, or LOWERBODY is destroyed, so a creature without one or all of these &lt;br /&gt;
can't be killed*.  UPPERBODYs aren't redundant, once one is destroyed the creature dies.  Body parts with [CONTYPE:UPPERBODY] will be connected to these.&lt;br /&gt;
*most creatures can also be killed indirectly by suffocation or blood loss. (or brain damage?).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOWERBODY}}&lt;br /&gt;
|&lt;br /&gt;
| The body part is another part of the &amp;quot;core&amp;quot; of the creature.  When the lowerbody body part is destroyed, the creature is bisected.  A creature doesn't die until an UPPERBODY, HEAD, or LOWERBODY is destroyed, so a creature without one or all of these can't be killed*.  LOWERBODYs aren't redundant, once one is destroyed the creature dies.  Body parts with [CONTYPE:LOWERBODY] will be connected to these.&lt;br /&gt;
*most creatures can also be killed indirectly by suffocation or blood loss. (or brain damage?).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAD}}&lt;br /&gt;
|&lt;br /&gt;
| Vital bodypart. If severed, creature dies.  A creature doesn't die until an UPPERBODY, HEAD, or LOWERBODY is destroyed, so a creature without one or all of these can't be killed*.  HEADs aren't redundant, once one is destroyed the creature dies.  Body parts with [CONTYPE:HEAD] will be connected to these.&lt;br /&gt;
*most creatures can also be killed indirectly by suffocation or blood loss. (or brain damage?).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CON}}&lt;br /&gt;
|&lt;br /&gt;
* id&lt;br /&gt;
| The specific body part ''object ID'' to which this body part attaches.  This tag is optional.  Interesting effects can be created by leaving unconnected body parts.  If an invalid ID is given, the body part is unconnected.  This can lead to interesting bugs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTYPE}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
| The body part ''token type'' to which this body part attaches - valid values are UPPERBODY, LOWERBODY, HEAD, GRASP, and STANCE. Note that if the creature has more than one body part with that token type each of them will get its own additional body part attached.  For example, if a creature has two upper bodies (two torsos) and a lower body, the CONTYPE:UPPERBODY means that the two upper torsos are connected to the lower torso by default.  This tag is optional.  Interesting effects can be created by leaving unconnected body parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIMB}}&lt;br /&gt;
|&lt;br /&gt;
| The body part is usable for [[wrestling]] (i.e. can grab, lock, choke, etc.).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THROAT}}&lt;br /&gt;
| &lt;br /&gt;
| Can be strangled with [[wrestling]] to cause winding, unconsciousness, and eventual death. Strangely, even creatures with the NOBREATHE token can be rendered unconscious (but not dead) by strangulation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JOINT}}&lt;br /&gt;
| &lt;br /&gt;
| Can be broken by [[wrestling]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKELETON}}&lt;br /&gt;
|&lt;br /&gt;
| Prevents game code from removing this bodypart when the creature is converted to skeletal undead.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THOUGHT}}&lt;br /&gt;
| &lt;br /&gt;
| Necessary for the creature to think.  Without a working brain, the creature dies unless it has the NOTHOUGHT Creature Token. Also seems to apply the effects of NERVOUS.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NERVOUS}}&lt;br /&gt;
| &lt;br /&gt;
| Causes pain when destroyed and appears to stop a part from healing over time. However, it will heal normally if creature is NOTHOUGHT. Other effects?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASP}}&lt;br /&gt;
| &lt;br /&gt;
| The body part can be used to hold items (if the creature has the EQUIPS token) or [[wrestling|wrestle]]. Body parts with [CONTYPE:GRASP] will be connected to these.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIER}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is necessary for the creature to fly, and damage to the body part will ground the creature.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANCE}}&lt;br /&gt;
|&lt;br /&gt;
| The body part is used to keep the creature standing; injury to the body part will cause the creature to collapse. It also makes the body part act like a foot, and can be problematic as the body part can be armored by a boot.  STANCE body parts that are unconnected to the root (have no CON tag) do not count towards keeping the creature standing (NOTE: if '''any''' [STANCE] body parts are unconnected to root, the creature may fall over.  Further testing required).  Body parts with [CONTYPE:STANCE] will be connected to these.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIGHT}}&lt;br /&gt;
|&lt;br /&gt;
| Allows creatures to see; creatures without this tag on any part of their bodies cannot see for the purposes of aiming missile weapons (though apparently can find and kill mad adventurers fairly well with melee attacks).  May need more testing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Unknown effect.  Presumably allows the creature to listen. Also makes earrings equippable.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL}}&lt;br /&gt;
| &lt;br /&gt;
| Unknown effect.  Presumably allows creature to smell.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EMBEDDED}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is embedded into the body -- it is external and can be gouged out. This does not make a part invisible.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APERTURE}}&lt;br /&gt;
| &lt;br /&gt;
| An opening in the body. Cannot be destroyed  except by destroying the part is attached to.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMALL}}&lt;br /&gt;
| &lt;br /&gt;
| Unknown effect.  Reduces chance to hit? Also will cloak body parts much like the [INTERNAL] or the [EMBEDDED] tags will. Allows body parts to be pinched.  In 40d it appears that body parts are visible unless [SMALL], even if they are [INTERNAL] or [EMBEDDED].  If the root (first BP) of the creature is [SMALL], it will not be targeted until all other parts have been severed or torn off.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INTERNAL}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is an internal organ and is not visible until injured.  In 40d, it appears that the [SMALL] tag is what actually makes organs invisible, and that non-SMALL internal organs are visible even before being damaged.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BREATHE}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is necessary to breathe.  If the body part is destroyed, the creature can suffocate unless it has the NOBREATHE token. The NOBREATHE token also causes the part to heal normally.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CIRCULATION}}&lt;br /&gt;
| &lt;br /&gt;
| If this body part is destroyed, the creature will bleed to death?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GUTS}}&lt;br /&gt;
| &lt;br /&gt;
| To be thought of like intestines. Can be disemboweled, causing a slow painful death from heavy bleeding.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIGHT}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is on the right side of the creature and is thus vulnerable to attacks from the right side.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LEFT}}&lt;br /&gt;
| &lt;br /&gt;
| The body part is on the left side of the creature and is thus vulnerable to attacks from the left side.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGIT}}&lt;br /&gt;
| &lt;br /&gt;
| Is a finger/toe.  Unknown effect.  DIGITs '''may''' only be damaged when their connected body part is damaged, they do not appear to be valid targets for damage otherwise.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUTH}}&lt;br /&gt;
|&lt;br /&gt;
| Unknown effect. Does not allow creature to eat.  Often tied to a creature's attacks, so this may be the primary use of the tag.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Body Part Types==&lt;br /&gt;
&lt;br /&gt;
Legal token types for use with the Attack Token &amp;quot;BYTYPE&amp;quot; argument:&lt;br /&gt;
&lt;br /&gt;
* APERTURE&lt;br /&gt;
* BREATHE&lt;br /&gt;
* CIRCULATION&lt;br /&gt;
* DIGIT&lt;br /&gt;
* FLIER&lt;br /&gt;
* GRASP&lt;br /&gt;
* GUTS&lt;br /&gt;
* HEAD&lt;br /&gt;
* HEAR&lt;br /&gt;
* JOINT&lt;br /&gt;
* LIMB&lt;br /&gt;
* LOWERBODY&lt;br /&gt;
* MOUTH&lt;br /&gt;
* NERVOUS&lt;br /&gt;
* SMELL&lt;br /&gt;
* STANCE&lt;br /&gt;
* THOUGHT&lt;br /&gt;
* UPPERBODY&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
An [[elephant]] is composed of a large number of body parts, but only includes a small list of templates.  When an elephant asks for the following 15 templates in its CREATURE:ELEPHANT token:&lt;br /&gt;
 [BODY:QUADRUPED:TAIL:2EYES:2EARS:TRUNK:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH:2TUSKS]&lt;br /&gt;
&lt;br /&gt;
...it gets all of the following 35 body parts:&lt;br /&gt;
&lt;br /&gt;
 QUADRUPED:&lt;br /&gt;
   - upper body&lt;br /&gt;
   - lower body&lt;br /&gt;
   - head&lt;br /&gt;
   - right front leg&lt;br /&gt;
   - left front leg&lt;br /&gt;
   - right front foot&lt;br /&gt;
   - left front foot&lt;br /&gt;
   - right rear leg&lt;br /&gt;
   - left rear leg&lt;br /&gt;
   - right rear foot&lt;br /&gt;
   - left rear foot&lt;br /&gt;
 TAIL:&lt;br /&gt;
   - tail&lt;br /&gt;
 2EYES:&lt;br /&gt;
   - right eye&lt;br /&gt;
   - left eye&lt;br /&gt;
 2EARS:&lt;br /&gt;
   - right ear&lt;br /&gt;
   - left ear&lt;br /&gt;
 TRUNK:&lt;br /&gt;
   - trunk&lt;br /&gt;
 2LUNGS:&lt;br /&gt;
   - right lung&lt;br /&gt;
   - left lung&lt;br /&gt;
 HEART:&lt;br /&gt;
   - heart&lt;br /&gt;
 GUTS:&lt;br /&gt;
   - guts&lt;br /&gt;
 ORGANS:&lt;br /&gt;
   - liver&lt;br /&gt;
   - stomach&lt;br /&gt;
   - pancreas&lt;br /&gt;
   - spleen&lt;br /&gt;
   - right kidney&lt;br /&gt;
   - left kidney&lt;br /&gt;
 THROAT:&lt;br /&gt;
   - throat&lt;br /&gt;
 NECK:&lt;br /&gt;
   - neck&lt;br /&gt;
 SPINE:&lt;br /&gt;
   - upper spine&lt;br /&gt;
   - lower spine&lt;br /&gt;
 BRAIN:&lt;br /&gt;
   - brain&lt;br /&gt;
 MOUTH:&lt;br /&gt;
   - mouth&lt;br /&gt;
 2TUSKS:&lt;br /&gt;
   - right tusk&lt;br /&gt;
   - left tusk&lt;br /&gt;
&lt;br /&gt;
The body part tree of the elephant, after connections are made, is as follows:&lt;br /&gt;
&lt;br /&gt;
 + upper body&lt;br /&gt;
   - heart&lt;br /&gt;
   - upper spine&lt;br /&gt;
   - right lung&lt;br /&gt;
   - left lung&lt;br /&gt;
   + head&lt;br /&gt;
     - brain&lt;br /&gt;
     - mouth&lt;br /&gt;
     - trunk&lt;br /&gt;
     - right tusk&lt;br /&gt;
     - left tusk&lt;br /&gt;
     - right eye&lt;br /&gt;
     - left eye&lt;br /&gt;
     - right ear&lt;br /&gt;
     - left ear&lt;br /&gt;
     - neck&lt;br /&gt;
     - throat&lt;br /&gt;
   + right front leg&lt;br /&gt;
     - right front foot&lt;br /&gt;
   + left front leg&lt;br /&gt;
     - left front foot&lt;br /&gt;
   + lower body&lt;br /&gt;
     - lower spine&lt;br /&gt;
     - guts&lt;br /&gt;
     - tail&lt;br /&gt;
     - liver&lt;br /&gt;
     - stomach&lt;br /&gt;
     - pancreas&lt;br /&gt;
     - spleen&lt;br /&gt;
     - right kidney&lt;br /&gt;
     - left kidney&lt;br /&gt;
     + right rear leg&lt;br /&gt;
       - right rear foot&lt;br /&gt;
     + left rear leg&lt;br /&gt;
       - left rear foot&lt;br /&gt;
&lt;br /&gt;
To understand how the above connections are determined (for example, why &amp;quot;lower spine&amp;quot; knows that it goes in &amp;quot;lower body&amp;quot;, why &amp;quot;heart&amp;quot; knows that it goes in &amp;quot;upper body&amp;quot;, etc.) refer to the CONTYPE tag.&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Body_token&amp;diff=315734</id>
		<title>v0.31:Body token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Body_token&amp;diff=315734"/>
		<updated>2026-04-04T00:42:30Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|00:14, 23 November 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
'''Body tokens''' are one of the fundamental parts of creatures, and determine their bodily structure.  There are two major types of body tokens: ''body templates'' (BODY) and ''body parts'' (BP).&lt;br /&gt;
&lt;br /&gt;
A creature uses the [[creature token#B|BODY creature token]] to list all of the body templates it includes.  Each part listed in each template is then included in the creature.  In other words: a creature lists the ''body templates'' it is made of.  Each ''body template'' contains a set of ''body parts''.  Each ''body part'' specifies which other body part it is attached to.&lt;br /&gt;
&lt;br /&gt;
Body parts can connect specifically to another body part, or generally to any body part of a certain category.  These connections are handled by the CON and CONTYPE body part tokens respectively.&lt;br /&gt;
&lt;br /&gt;
Body parts can be renamed with a bodygloss, allowing someone to reuse an existing template instead of defining a similar template with only the names of the body parts changed.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP}}&lt;br /&gt;
|&lt;br /&gt;
*ID&lt;br /&gt;
*name&lt;br /&gt;
*pluralized name&lt;br /&gt;
| &amp;quot;STP stands for &amp;quot;Standard Plural&amp;quot; and it just adds an 's' to the singular word to save some typing.  If you don't add something in that slot, the body part won't even load.&amp;quot; --Toady.  Note that this can cause confusing issues when porting from 40d to 2010.  Make sure you add your pluralizations!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPPERBODY}}&lt;br /&gt;
| None&lt;br /&gt;
| Flags the body part as being able to wear upper body clothing like coats, breastplates etc.  If an upper body is chopped off, the creature dies.  Multiple upperbody parts aren't redundant.  All default creatures with bodies have the upperbody as the root of the body tree, making it impossible to chop off.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOWERBODY}}&lt;br /&gt;
| None&lt;br /&gt;
| Flags the body part as being able to wear lower body clothing like skirts, pants, etc.  If a lower body is chopped off, the creature dies.  Multiple lowerbody parts aren't redundant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAD}}&lt;br /&gt;
| None&lt;br /&gt;
| Flags the body part as being able to wear head clothing like hats, helms, etc. If all heads are chopped off, the creature dies. Multiple heads '''are''' redundant - for example, [[hydra]]s can survive with several missing heads.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CON}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Connects the body part to a specific other body part&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CON_CAT}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Connects the body part to all other body parts having the specified CATEGORY&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONTYPE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Connects the body part to all other body parts having the specified type token. Valid values are UPPERBODY, LOWERBODY, HEAD, GRASP, or STANCE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIMB}}&lt;br /&gt;
| None&lt;br /&gt;
| Body part is a limb.  It can be used to initiate certain types of wrestling moves.  If it is located between an UPPERBODY part and a GRASP body part, it is eligible to be covered by certain types of armor (body armors and gauntlets).  If it is located between a LOWERBODY part and a STANCE body part, it is eligible to be covered by other types of armor (Leg armors like pants, etc; trailing body armors like mail shirts and robes; and high boots).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THROAT}}&lt;br /&gt;
| &lt;br /&gt;
| Body part can be strangled.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|JOINT}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is a joint that may be broken by wrestling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKELETON}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is part of the creature's skeleton.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THOUGHT}}&lt;br /&gt;
| None&lt;br /&gt;
| Most creatures die if all bodyparts with this tag have sustained damage to a FUNCTIONAL tissue or been outright destroyed (chopped off).  Creatures will not die if they have NO_THOUGHT_CENTER_FOR_MOVEMENT (and/or NOTHOUGHT?)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NERVOUS}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is necessary for motor function. Damage will impair movement and also disallow creature from sparring in Fortress mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASP}}&lt;br /&gt;
| None&lt;br /&gt;
| Creature can wield a picked-up weapon with body part, and can use the part to initiate a wider variety of wrestling moves. When creatures are spawned with a weapon and shield, one GRASP part will hold a weapon while '''all others''' will hold shields.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIER}}&lt;br /&gt;
| None&lt;br /&gt;
| Flags the body part as being need for flight.  Damage to a certain number of FLIER body parts will prevent the creature from flying.  Note that a creature can only fly if the creature has the FLIER tag in its creature definition, and that a flying creature does not actually need any FLIER body parts.  This tags only purpose is to identify body parts which will cause a creature to '''lose''' the ability to fly, if they are damaged.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDER_PRESSURE}}&lt;br /&gt;
| None&lt;br /&gt;
| Makes the body part pop out of edge attack wounds. Used on guts. Body part shows up as &amp;quot;~&amp;quot; when spilled/popped out.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOTEMABLE}}&lt;br /&gt;
| None&lt;br /&gt;
| Makes the body part makeable into totems at a craftsdwarf's workshop.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERMIN_BUTCHER_ITEM}}&lt;br /&gt;
| None&lt;br /&gt;
| Allows the item to be obtained from butchered or rotted vermin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STANCE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows the creature to stand. Damage or loss of these body parts will cause creature to fall over.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIGHT}}&lt;br /&gt;
| None&lt;br /&gt;
| Body part is used to see with.  If the creature has no SIGHT body parts, or if all its sight body parts are damaged or destroyed, it can't see unless it has the EXTRAVISION tag in its creature def.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is used to hear. No known effects.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL}}&lt;br /&gt;
| None&lt;br /&gt;
| Body part is used to smell. No known function.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EMBEDDED}}&lt;br /&gt;
| None&lt;br /&gt;
| Body part with this tag is on the surface of parent body part. ie: eye and mouth on head. It can be gouged.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APERTURE}}&lt;br /&gt;
| &lt;br /&gt;
| Marks body part as an opening in the body. This body part cannot be destroyed except by destroying the part it is attached to.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMALL}}&lt;br /&gt;
| None&lt;br /&gt;
| &amp;quot;SMALL means that the part isn't displayed as part of the overall displayed body part lists.  They can't be splinted.  They are more often targeted for torture (although those situations might not occur anymore).  They are removed in skeletons if they aren't specifically skeletons/joints/digits/apertures.  They are more easily lost in world gen duels.  They are the only gougable/pinchable parts.  SMALL is an old tag, so it has accumulated some weird functions which'll get split off over time. &amp;quot; --Toady&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INTERNAL}}&lt;br /&gt;
|&lt;br /&gt;
| Marks the body part as inside the body. Needs [SMALL] tag as well to not be targetable by attacks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BREATHE}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is used to breathe. If all body parts with [BREATHE] are damaged or destroyed, the creature will suffocate unless it has the NOBREATHE tag in its creature def.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CIRCULATION}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is responsible for blood circulation. Exact effects not known.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GUTS}}&lt;br /&gt;
| None&lt;br /&gt;
| Body parts marked with this tag make the creature nauseous and vomit when hit. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIGHT}}&lt;br /&gt;
| None&lt;br /&gt;
| Marks body part as on the right side of the body and vulnerable to attacks from the right. Used in conjunction with tags in the b_detail_plan_default raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LEFT}}&lt;br /&gt;
| None&lt;br /&gt;
| Marks body part as on the left side of the body and vulnerable to attacks from the left. Used in conjunction with tags in the b_detail_plan_default raw.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGIT}}&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONNECTOR}}&lt;br /&gt;
| &lt;br /&gt;
| Body part is used to connect other body parts together. Used for the neck and lower spine.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SOCKET}}&lt;br /&gt;
| &lt;br /&gt;
| Allows the body part to be easily knocked out. Used on teeth. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MOUTH}}&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CATEGORY}}&lt;br /&gt;
| &lt;br /&gt;
*ID&lt;br /&gt;
| Assigns the body part to a user-defined category. Used by CON_CAT to attach to other body parts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_RELSIZE}}&lt;br /&gt;
| &lt;br /&gt;
*Size&lt;br /&gt;
| This command establishes the relative size of body parts within a creature.  The numbers have no absolute meaning or units.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| In theory, the number lets you stack identical body parts.  These can be individually damaged by wounds, but you don't have to define them explicitly one by one.  If you don't give them individual names (see teeth) they'll be preceded by ordinal numbers (first, second, etc).  &lt;br /&gt;
HOWEVER, this tag appears to be non-functional.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDIVIDUAL_NAME}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*plural&lt;br /&gt;
| Adding individual names tells the game what to call each individual part in a NUMBERed bodypart.  This command replaces &amp;quot;first upper front tooth&amp;quot; for example.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Tissue_definition_token&amp;diff=315733</id>
		<title>v0.31:Tissue definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Tissue_definition_token&amp;diff=315733"/>
		<updated>2026-04-04T00:39:15Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|21:41, 22 February 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*name&lt;br /&gt;
*plural&lt;br /&gt;
|plural can alternatively be NP (No Plural) or STP (Standard Plural, adds an 's' on the end).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Defines the tissue material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELATIVE_THICKNESS}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The relative thickness of the tissue. A higher thickness is harder to penetrate, but raising a tissue's relative thickness decreases the thickness of all other tissues.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALING_RATE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Lower is faster. Omitting the token will result in a tissue that never heals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VASCULAR}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Related to how much said tissue bleeds. Higher = More bleeding (Which is why the heart has the highest value.)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PAIN_RECEPTORS}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Related to how much pain your character will suffer when said tissue is damaged. Higher = More pain when damaged (Which is why the bone tissue has a much higher value than other tissues. A broken bone hurts a lot more than a flesh cut.)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKENS_ON_STRENGTH}}&lt;br /&gt;
|&lt;br /&gt;
| The thickness of the tissue increases when character strength increases.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKENS_ON_ENERGY_STORAGE}}&lt;br /&gt;
|&lt;br /&gt;
| Thickness of said tissue increases when the character eats and doesn't exercise sufficiently.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue contains arteries. Edged attacks have the chance to break an artery, increasing blood loss.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCARS}}&lt;br /&gt;
|&lt;br /&gt;
| Simply, whether or not the tissue will be scarred once healed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRUCTURAL}}&lt;br /&gt;
|&lt;br /&gt;
| Holds the body part together. A cut or a fracture disables the body part it's in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONNECTIVE_TISSUE_ANCHOR}}&lt;br /&gt;
|&lt;br /&gt;
| Any ligaments or tendons are part of this tissue. Vulnerable to edged attacks, damage disables the limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue will not heal, or heals slower, until it is set by a bone doctor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPLINTABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The broken tissue can be fixed with a cast or a splint to restore function while it heals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FUNCTIONAL}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue performs some sort of special function (e.g. sight, hearing, breathing, etc.)  An organ with such a function will stop working if a sufficient amount of damage is sustained by its FUNCTIONAL tissues. If an organ has no FUNCTIONAL tissues, it will stop working only if it is severed or destroyed entirely by heat or cold.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NERVOUS}}&lt;br /&gt;
|&lt;br /&gt;
| Nervous function - not used. This token is used in [[Body_token#NERVOUS|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THOUGHT}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has no functioning parts with the THOUGHT token, it will be unable to move or breathe.  NO_THOUGHT_CENTER_FOR_MOVEMENT bypasses this limitation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MUSCULAR}}&lt;br /&gt;
|&lt;br /&gt;
| Seems to affect where sensory or motor nerves are located, and whether damage to this tissue will render a limb useless.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL}}&lt;br /&gt;
|&lt;br /&gt;
| Used to smell - not used. This token is used in [[Body_token#SMELL|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAR}}&lt;br /&gt;
|&lt;br /&gt;
| Used to hearing - not used. This token is used in [[Body_token#HEAR|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIGHT}}&lt;br /&gt;
|&lt;br /&gt;
| Unknown - not used. Most likely related to flying, see [[Body_token#FLIER|[FLIER] in [OBJECT:BODY]]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BREATHE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to breathing - not used. This token is used in [[Body_token#BREATHE|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIGHT}}&lt;br /&gt;
|&lt;br /&gt;
| Used to seeing - not used. This token is used in [[Body_token#SIGHT|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONNECTS}}&lt;br /&gt;
|&lt;br /&gt;
| Holds body parts together.  A body part will not be severed unless all of its component tissues with the CONNECTS tag are severed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAJOR_ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| Causes tissue to sometimes severely bleed when damaged.  This is independent of its VASCULAR value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSULATION}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Tissue supplies the creature with heat insulation. Higher values result in more insulation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COSMETIC}}&lt;br /&gt;
|&lt;br /&gt;
| ?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STYLEABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue can be styled as per a tissue style (defined in an [[Entity_token|entity]] entry)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_SHAPE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Value can be one of the following:&lt;br /&gt;
;LAYER&lt;br /&gt;
:Regular layer tissue.&lt;br /&gt;
;STRANDS&lt;br /&gt;
:Can be spun into thread at a farmer's workshop. Edge attacks will pass right through the tissue.&lt;br /&gt;
;FEATHERS&lt;br /&gt;
:Edge attacks will pass right through the tissue.&lt;br /&gt;
;SCALES&lt;br /&gt;
:?&lt;br /&gt;
;CUSTOM&lt;br /&gt;
:?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBORDINATE_TO_TISSUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Tissue is implicitly attached to another tissue and will fall off if that tissue layer is destroyed. Used for hair and feathers, which are subordinate to skin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_MAT_STATE}}&lt;br /&gt;
|&lt;br /&gt;
*SOLID, SOLID_POWDER, LIQUID, or GAS&amp;lt;br&amp;gt;&lt;br /&gt;
(possibly others, as well. Needs testing.)&lt;br /&gt;
| Sets/forces a default material state for the selected tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LEAKS}}&lt;br /&gt;
|&lt;br /&gt;
| The selected tissue leaks out of the creature when the layers above it are pierced.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue layer tokens ==&lt;br /&gt;
&lt;br /&gt;
These are used in creature raws to override the above for whatever reason.&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;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_LAYER_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
* tissue&lt;br /&gt;
| Sets a tissue layer to be made of a different tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_RELATIVE_THICKNESS}}&lt;br /&gt;
|&lt;br /&gt;
* value&lt;br /&gt;
| Sets a new relative thickness for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_CONNECTS}}&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_MAJOR_ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| Gives Major Artery attribute to selected layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_HEALING_RATE}}&lt;br /&gt;
|&lt;br /&gt;
* value&lt;br /&gt;
| Sets a new HEALING_RATE of the selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_VASCULAR}}&lt;br /&gt;
|&lt;br /&gt;
| Sets a new VASCULAR value (which modulates bleeding) for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_PAIN_RECEPTORS}}&lt;br /&gt;
|&lt;br /&gt;
| Sets a new number of pain receptors for selected tissue layers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Defaults==&lt;br /&gt;
Default values (as of 0.31.21):&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}  style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 70%;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! TISSUE_NAME !! TISSUE_MATERIAL !! TISSUE_MAT_STATE !! RELATIVE_THICKNESS !! HEALING_RATE !! VASCULAR !! PAIN_RECEPTORS !! SUBORDINATE_TO_TISSUE !! INSULATION !! TISSUE_SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| SKIN_TEMPLATE || skin:NP || LOCAL_CREATURE_MAT:SKIN || || 1 || 100 || 1 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| FAT_TEMPLATE || fat:NP || LOCAL_CREATURE_MAT:FAT || || 1 || 100 || 3 || 5 || || 100 || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| MUSCLE_TEMPLATE || muscle:muscles || LOCAL_CREATURE_MAT:MUSCLE || || 3 || 100 || 5 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| BONE_TEMPLATE || bone:NP || LOCAL_CREATURE_MAT:BONE || || 2 || 1000 || 3 || 50 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SHELL_TEMPLATE || shell:NP || LOCAL_CREATURE_MAT:SHELL || || 2 || 1000 || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HORN_TEMPLATE || horn:NP || LOCAL_CREATURE_MAT:HORN || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HOOF_TEMPLATE || hoof:NP || LOCAL_CREATURE_MAT:HOOF || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CARTILAGE_TEMPLATE || cartilage:NP || LOCAL_CREATURE_MAT:CARTILAGE || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HAIR_TEMPLATE || hair:NP || LOCAL_CREATURE_MAT:HAIR || || 1 || || || || SKIN || 100 || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| CHEEK_WHISKERS_TEMPLATE || cheek whisker:STP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| CHIN_WHISKERS_TEMPLATE || chin whisker:STP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| MOUSTACHE_TEMPLATE || moustache:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| SIDEBURNS_TEMPLATE || sideburns:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| EYEBROW_TEMPLATE || eyebrow:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| EYELASH_TEMPLATE || eyelash:eyelashes || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| FEATHER_TEMPLATE || feather:STP || LOCAL_CREATURE_MAT:FEATHER || || 2 || || || || SKIN || 100 || FEATHERS&lt;br /&gt;
|-&lt;br /&gt;
| SCALE_TEMPLATE || scale:STP || LOCAL_CREATURE_MAT:SCALE || || 1 || 100 || 1 || 5 || || || SCALES&lt;br /&gt;
|-&lt;br /&gt;
| NAIL_TEMPLATE || nail:NP || LOCAL_CREATURE_MAT:NAIL || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CLAW_TEMPLATE || claw:NP || LOCAL_CREATURE_MAT:CLAW || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| TALON_TEMPLATE || talon:NP || LOCAL_CREATURE_MAT:TALON || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| TOOTH_TEMPLATE || tooth:NP || LOCAL_CREATURE_MAT:TOOTH || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| IVORY_TEMPLATE || ivory:NP || LOCAL_CREATURE_MAT:IVORY || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| EYE_TEMPLATE || eye tissue:NP || LOCAL_CREATURE_MAT:EYE || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| NERVE_TEMPLATE || nervous tissue:NP || LOCAL_CREATURE_MAT:NERVE || || 1 || || 3 || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| BRAIN_TEMPLATE || brain tissue:NP || LOCAL_CREATURE_MAT:BRAIN || || 1 || || 3 || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| LUNG_TEMPLATE || lung tissue:NP || LOCAL_CREATURE_MAT:LUNG || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HEART_TEMPLATE || heart tissue:NP || LOCAL_CREATURE_MAT:HEART || || 1 || 100 || 10 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| LIVER_TEMPLATE || liver tissue:NP || LOCAL_CREATURE_MAT:LIVER || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| GUT_TEMPLATE || gut:NP || LOCAL_CREATURE_MAT:GUT || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| STOMACH_TEMPLATE || stomach tissue:NP || LOCAL_CREATURE_MAT:STOMACH || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| PANCREAS_TEMPLATE || pancreatic tissue:NP || LOCAL_CREATURE_MAT:PANCREAS || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SPLEEN_TEMPLATE || spleen tissue:NP || LOCAL_CREATURE_MAT:SPLEEN || || 1 || 100 || 5 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| KIDNEY_TEMPLATE || kidney tissue:NP || LOCAL_CREATURE_MAT:KIDNEY || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| FLAME_TEMPLATE || flames:NP || LOCAL_CREATURE_MAT:FLAME || GAS || 1 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CHITIN_TEMPLATE || chitin:NP || LOCAL_CREATURE_MAT:CHITIN || || 1 || 100 || 1 || 5 || || || LAYER&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! TISSUE_NAME !! TISSUE_MATERIAL !! TISSUE_MAT_STATE !! RELATIVE_THICKNESS !! HEALING_RATE !! VASCULAR !! PAIN_RECEPTORS !! SUBORDINATE_TO_TISSUE !! INSULATION !! TISSUE_SHAPE&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Default flags (as of 0.31.21):&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}  style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 70%;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;  style=&amp;quot;font-size: 70%;&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! THICKENS_ON_ENERGY_STORAGE !! THICKENS_ON_STRENGTH !! ARTERIES !! SCARS !! MUSCULAR !! FUNCTIONAL !!  STRUCTURAL !! CONNECTIVE_TISSUE_ANCHOR !! CONNECTS !! SETTABLE !! SPLINTABLE !! COSMETIC !! STYLEABLE &lt;br /&gt;
|-&lt;br /&gt;
| SKIN_TEMPLATE || || || || X || || || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| FAT_TEMPLATE || X || || || X || ||  || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| MUSCLE_TEMPLATE || || X || X || X || X || || || || X || || || &lt;br /&gt;
|-&lt;br /&gt;
| BONE_TEMPLATE || || || || || || || X || X || X || X || X  || || &lt;br /&gt;
|-&lt;br /&gt;
| SHELL_TEMPLATE || || || || || || || X || || X || X || X || || &lt;br /&gt;
|-&lt;br /&gt;
| HORN_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HOOF_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CARTILAGE_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HAIR_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| CHEEK_WHISKERS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| CHIN_WHISKERS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| MOUSTACHE_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| SIDEBURNS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| EYEBROW_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| EYELASH_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| FEATHER_TEMPLATE || || || || || || || || || || || || &lt;br /&gt;
|-&lt;br /&gt;
| SCALE_TEMPLATE || || || || X || || || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| NAIL_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CLAW_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| TALON_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| TOOTH_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| IVORY_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| EYE_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| NERVE_TEMPLATE || || || || X || || X || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| BRAIN_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| LUNG_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HEART_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| LIVER_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| GUT_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| STOMACH_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| PANCREAS_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| SPLEEN_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| KIDNEY_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| FLAME_TEMPLATE || || || || || X || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CHITIN_TEMPLATE || || || || X || || || X || X || X || X || X || || &lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;  style=&amp;quot;font-size: 70%;&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! THICKENS_ON_ENERGY_STORAGE !! THICKENS_ON_STRENGTH !! ARTERIES !! SCARS !! MUSCULAR !! FUNCTIONAL !!  STRUCTURAL !! CONNECTIVE_TISSUE_ANCHOR !! CONNECTS !! SETTABLE !! SPLINTABLE !! COSMETIC !! STYLEABLE &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Material definition token]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Tissue_definition_token&amp;diff=315732</id>
		<title>v0.34:Tissue definition token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Tissue_definition_token&amp;diff=315732"/>
		<updated>2026-04-04T00:35:37Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Superior}}{{av}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_NAME}}&lt;br /&gt;
|&lt;br /&gt;
*name&lt;br /&gt;
*plural&lt;br /&gt;
|plural can alternatively be NP (No Plural) or STP (Standard Plural, adds an 's' on the end).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Defines the tissue material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELATIVE_THICKNESS}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| The relative thickness of the tissue. A higher thickness is harder to penetrate, but raising a tissue's relative thickness decreases the thickness of all other tissues.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALING_RATE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Lower is faster. Omitting the token will result in a tissue that never heals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VASCULAR}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Related to how much said tissue bleeds. Higher = More bleeding (Which is why the heart has the highest value.)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PAIN_RECEPTORS}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Related to how much pain your character will suffer when said tissue is damaged. Higher = More pain when damaged (Which is why the bone tissue has a much higher value than other tissues. A broken bone hurts a lot more than a flesh cut.)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKENS_ON_STRENGTH}}&lt;br /&gt;
|&lt;br /&gt;
| The thickness of the tissue increases when character strength increases.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THICKENS_ON_ENERGY_STORAGE}}&lt;br /&gt;
|&lt;br /&gt;
| Thickness of said tissue increases when the character eats and doesn't exercise sufficiently.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue contains arteries. Edged attacks have the chance to break an artery, increasing blood loss.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SCARS}}&lt;br /&gt;
|&lt;br /&gt;
| Simply, whether or not the tissue will be scarred once healed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STRUCTURAL}}&lt;br /&gt;
|&lt;br /&gt;
| Holds the body part together. A cut or a fracture disables the body part it's in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONNECTIVE_TISSUE_ANCHOR}}&lt;br /&gt;
|&lt;br /&gt;
| Any ligaments or tendons are part of this tissue. Vulnerable to edged attacks, damage disables the limb.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SETTABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue will not heal, or heals slower, until it is set by a bone doctor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPLINTABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The broken tissue can be fixed with a cast or a splint to restore function while it heals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FUNCTIONAL}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue performs some sort of special function (e.g. sight, hearing, breathing, etc.)  An organ with such a function will stop working if a sufficient amount of damage is sustained by its FUNCTIONAL tissues. If an organ has no FUNCTIONAL tissues, it will stop working only if it is severed or destroyed entirely by heat or cold.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NERVOUS}}&lt;br /&gt;
|&lt;br /&gt;
| Nervous function - not used. This token is used in [[Body_token#NERVOUS|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THOUGHT}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has no functioning parts with the THOUGHT token, it will be unable to move or breathe.  NO_THOUGHT_CENTER_FOR_MOVEMENT bypasses this limitation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MUSCULAR}}&lt;br /&gt;
|&lt;br /&gt;
| Seems to affect where sensory or motor nerves are located, and whether damage to this tissue will render a limb useless.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SMELL}}&lt;br /&gt;
|&lt;br /&gt;
| Used to smell - not used. This token is used in [[Body_token#SMELL|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEAR}}&lt;br /&gt;
|&lt;br /&gt;
| Used to hearing - not used. This token is used in [[Body_token#HEAR|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLIGHT}}&lt;br /&gt;
|&lt;br /&gt;
| Unknown - not used. Most likely related to flying, see [[Body_token#FLIER|[FLIER] in [OBJECT:BODY]]]. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BREATHE}}&lt;br /&gt;
|&lt;br /&gt;
| Used to breathing - not used. This token is used in [[Body_token#BREATHE|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIGHT}}&lt;br /&gt;
|&lt;br /&gt;
| Used to seeing - not used. This token is used in [[Body_token#SIGHT|[OBJECT:BODY]]] tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONNECTS}}&lt;br /&gt;
|&lt;br /&gt;
| Holds body parts together.  A body part will not be severed unless all of its component tissues with the CONNECTS tag are severed.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAJOR_ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| Causes tissue to sometimes severely bleed when damaged.  This is independent of its VASCULAR value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSULATION}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Tissue supplies the creature with heat insulation. Higher values result in more insulation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COSMETIC}}&lt;br /&gt;
|&lt;br /&gt;
| ?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STYLEABLE}}&lt;br /&gt;
|&lt;br /&gt;
| The tissue can be styled as per a tissue style (defined in an [[Entity_token|entity]] entry)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_SHAPE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Value can be one of the following:&lt;br /&gt;
;LAYER&lt;br /&gt;
:Regular layer tissue.&lt;br /&gt;
;STRANDS&lt;br /&gt;
:Can be spun into thread at a farmer's workshop. Edge attacks will pass right through the tissue.&lt;br /&gt;
;FEATHERS&lt;br /&gt;
:Edge attacks will pass right through the tissue.&lt;br /&gt;
;SCALES&lt;br /&gt;
:?&lt;br /&gt;
;CUSTOM&lt;br /&gt;
:?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBORDINATE_TO_TISSUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Tissue is implicitly attached to another tissue and will fall off if that tissue layer is destroyed. Used for hair and feathers, which are subordinate to skin.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_MAT_STATE}}&lt;br /&gt;
|&lt;br /&gt;
*SOLID, SOLID_POWDER, LIQUID, or GAS&amp;lt;br&amp;gt;&lt;br /&gt;
(possibly others, as well. Needs testing.)&lt;br /&gt;
| Sets/forces a default material state for the selected tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_LEAKS}}&lt;br /&gt;
|&lt;br /&gt;
| The selected tissue leaks out of the creature when the layers above it are pierced.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue layer tokens ==&lt;br /&gt;
&lt;br /&gt;
These are used in creature raws to override the above for whatever reason.&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;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SET_LAYER_TISSUE}}&lt;br /&gt;
|&lt;br /&gt;
* tissue&lt;br /&gt;
| Sets a tissue layer to be made of a different tissue.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_RELATIVE_THICKNESS}}&lt;br /&gt;
|&lt;br /&gt;
* value&lt;br /&gt;
| Sets a new relative thickness for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_CONNECTS}}&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_MAJOR_ARTERIES}}&lt;br /&gt;
|&lt;br /&gt;
| Gives Major Artery attribute to selected layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_HEALING_RATE}}&lt;br /&gt;
|&lt;br /&gt;
* value&lt;br /&gt;
| Sets a new HEALING_RATE of the selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_VASCULAR}}&lt;br /&gt;
|&lt;br /&gt;
| Sets a new VASCULAR value (which modulates bleeding) for selected tissue layers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TL_PAIN_RECEPTORS}}&lt;br /&gt;
|&lt;br /&gt;
| Sets a new number of pain receptors for selected tissue layers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Defaults==&lt;br /&gt;
Default values (as of 0.34.11):&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}  style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 70%;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! TISSUE_NAME !! TISSUE_MATERIAL !! TISSUE_MAT_STATE !! RELATIVE_THICKNESS !! HEALING_RATE !! VASCULAR !! PAIN_RECEPTORS !! SUBORDINATE_TO_TISSUE !! INSULATION !! TISSUE_SHAPE&lt;br /&gt;
|-&lt;br /&gt;
| SKIN_TEMPLATE || skin:NP || LOCAL_CREATURE_MAT:SKIN || || 1 || 100 || 1 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| FAT_TEMPLATE || fat:NP || LOCAL_CREATURE_MAT:FAT || || 1 || 100 || 3 || 5 || || 100 || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| MUSCLE_TEMPLATE || muscle:muscles || LOCAL_CREATURE_MAT:MUSCLE || || 3 || 100 || 5 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| BONE_TEMPLATE || bone:NP || LOCAL_CREATURE_MAT:BONE || || 2 || 1000 || 3 || 50 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SHELL_TEMPLATE || shell:NP || LOCAL_CREATURE_MAT:SHELL || || 2 || 1000 || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HORN_TEMPLATE || horn:NP || LOCAL_CREATURE_MAT:HORN || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HOOF_TEMPLATE || hoof:NP || LOCAL_CREATURE_MAT:HOOF || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CARTILAGE_TEMPLATE || cartilage:NP || LOCAL_CREATURE_MAT:CARTILAGE || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HAIR_TEMPLATE || hair:NP || LOCAL_CREATURE_MAT:HAIR || || 1 || || || || SKIN || 100 || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| CHEEK_WHISKERS_TEMPLATE || cheek whisker:STP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| CHIN_WHISKERS_TEMPLATE || chin whisker:STP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| MOUSTACHE_TEMPLATE || moustache:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| SIDEBURNS_TEMPLATE || sideburns:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| EYEBROW_TEMPLATE || eyebrow:NP || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| EYELASH_TEMPLATE || eyelash:eyelashes || LOCAL_CREATURE_MAT:HAIR || || 2 || || || || SKIN || || STRANDS&lt;br /&gt;
|-&lt;br /&gt;
| FEATHER_TEMPLATE || feather:STP || LOCAL_CREATURE_MAT:FEATHER || || 2 || || || || SKIN || 100 || FEATHERS&lt;br /&gt;
|-&lt;br /&gt;
| SCALE_TEMPLATE || scale:STP || LOCAL_CREATURE_MAT:SCALE || || 1 || 100 || 1 || 5 || || || SCALES&lt;br /&gt;
|-&lt;br /&gt;
| NAIL_TEMPLATE || nail:NP || LOCAL_CREATURE_MAT:NAIL || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CLAW_TEMPLATE || claw:NP || LOCAL_CREATURE_MAT:CLAW || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| TALON_TEMPLATE || talon:NP || LOCAL_CREATURE_MAT:TALON || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| TOOTH_TEMPLATE || tooth:NP || LOCAL_CREATURE_MAT:TOOTH || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| IVORY_TEMPLATE || ivory:NP || LOCAL_CREATURE_MAT:IVORY || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| EYE_TEMPLATE || eye tissue:NP || LOCAL_CREATURE_MAT:EYE || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| NERVE_TEMPLATE || nervous tissue:NP || LOCAL_CREATURE_MAT:NERVE || || 1 || || 3 || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| BRAIN_TEMPLATE || brain tissue:NP || LOCAL_CREATURE_MAT:BRAIN || || 1 || || 3 || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| LUNG_TEMPLATE || lung tissue:NP || LOCAL_CREATURE_MAT:LUNG || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| HEART_TEMPLATE || heart tissue:NP || LOCAL_CREATURE_MAT:HEART || || 1 || 100 || 10 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| LIVER_TEMPLATE || liver tissue:NP || LOCAL_CREATURE_MAT:LIVER || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| GUT_TEMPLATE || gut:NP || LOCAL_CREATURE_MAT:GUT || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| STOMACH_TEMPLATE || stomach tissue:NP || LOCAL_CREATURE_MAT:STOMACH || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| PANCREAS_TEMPLATE || pancreatic tissue:NP || LOCAL_CREATURE_MAT:PANCREAS || || 1 || 100 || 3 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SPLEEN_TEMPLATE || spleen tissue:NP || LOCAL_CREATURE_MAT:SPLEEN || || 1 || 100 || 5 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| KIDNEY_TEMPLATE || kidney tissue:NP || LOCAL_CREATURE_MAT:KIDNEY || || 1 || 100 || 8 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| FLAME_TEMPLATE || flames:NP || LOCAL_CREATURE_MAT:FLAME || GAS || 1 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| CHITIN_TEMPLATE || chitin:NP || LOCAL_CREATURE_MAT:CHITIN || || 1 || 100 || 1 || 5 || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SPINE_TEMPLATE || spine:NP || LOCAL_CREATURE_MAT:SPINE || || 2 || || || || || || LAYER&lt;br /&gt;
|-&lt;br /&gt;
| SPONGE_TEMPLATE || sponge:NP || LOCAL_CREATURE_MAT:SPONGE || || 1 || 100 || 3 || 5 || || 100 || LAYER&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! TISSUE_NAME !! TISSUE_MATERIAL !! TISSUE_MAT_STATE !! RELATIVE_THICKNESS !! HEALING_RATE !! VASCULAR !! PAIN_RECEPTORS !! SUBORDINATE_TO_TISSUE !! INSULATION !! TISSUE_SHAPE&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Default flags (as of 0.34.11):&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}  style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 70%;&amp;quot;&lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;  style=&amp;quot;font-size: 70%;&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! THICKENS_ON_ENERGY_STORAGE !! THICKENS_ON_STRENGTH !! ARTERIES !! SCARS !! MUSCULAR !! FUNCTIONAL !!  STRUCTURAL !! CONNECTIVE_TISSUE_ANCHOR !! CONNECTS !! SETTABLE !! SPLINTABLE !! COSMETIC !! STYLEABLE &lt;br /&gt;
|-&lt;br /&gt;
| SKIN_TEMPLATE || || || || X || || || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| FAT_TEMPLATE || X || || || X || ||  || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| MUSCLE_TEMPLATE || || X || X || X || X || || || || X || || || &lt;br /&gt;
|-&lt;br /&gt;
| BONE_TEMPLATE || || || || || || || X || X || X || X || X  || || &lt;br /&gt;
|-&lt;br /&gt;
| SHELL_TEMPLATE || || || || || || || X || || X || X || X || || &lt;br /&gt;
|-&lt;br /&gt;
| HORN_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HOOF_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CARTILAGE_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HAIR_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| CHEEK_WHISKERS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| CHIN_WHISKERS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| MOUSTACHE_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| SIDEBURNS_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| EYEBROW_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| EYELASH_TEMPLATE || || || || || || || || || || || || X || X &lt;br /&gt;
|-&lt;br /&gt;
| FEATHER_TEMPLATE || || || || || || || || || || || || &lt;br /&gt;
|-&lt;br /&gt;
| SCALE_TEMPLATE || || || || X || || || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| NAIL_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CLAW_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| TALON_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| TOOTH_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| IVORY_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| EYE_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| NERVE_TEMPLATE || || || || X || || X || || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| BRAIN_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| LUNG_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| HEART_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| LIVER_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| GUT_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| STOMACH_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| PANCREAS_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| SPLEEN_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| KIDNEY_TEMPLATE || || || || X || || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| FLAME_TEMPLATE || || || || || X || X || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| CHITIN_TEMPLATE || || || || X || || || X || X || X || X || X || || &lt;br /&gt;
|-&lt;br /&gt;
| SPINE_TEMPLATE || || || || || || || X || || X || || || || &lt;br /&gt;
|-&lt;br /&gt;
| SPONGE_TEMPLATE || || || || X || || || || || X || || || || &lt;br /&gt;
|- bgcolor=&amp;quot;#999999&amp;quot;  style=&amp;quot;font-size: 70%;&amp;quot;&lt;br /&gt;
! style=&amp;quot;font-size: 150%;&amp;quot;| TISSUE_TEMPLATE !! THICKENS_ON_ENERGY_STORAGE !! THICKENS_ON_STRENGTH !! ARTERIES !! SCARS !! MUSCULAR !! FUNCTIONAL !!  STRUCTURAL !! CONNECTIVE_TISSUE_ANCHOR !! CONNECTS !! SETTABLE !! SPLINTABLE !! COSMETIC !! STYLEABLE &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Material definition token]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Plant_token&amp;diff=315731</id>
		<title>v0.31:Plant token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Plant_token&amp;diff=315731"/>
		<updated>2026-04-04T00:33:05Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:01, 30 March 2011 (UTC)}}{{av}} &lt;br /&gt;
The default plants are stored in the plant_standard.txt file, while grasses are stored in plant_grasses.txt.&lt;br /&gt;
&lt;br /&gt;
==Basic Tokens==&lt;br /&gt;
These tokens are specified for all plants and define their most basic characteristics.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| The singular form of the plants name as seen in game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_PLURAL}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| The plural form of the plants name as seen in game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJ}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| The word or phrase used to describe items made from this plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_NAMES}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| Sets the NAME, NAME_PLURAL, and ADJ to the specified string.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREFSTRING}}&lt;br /&gt;
| &lt;br /&gt;
*reason&lt;br /&gt;
| What dwarves can like this object for (e.g. &amp;quot;Urist likes plump helmets for their rounded tops.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
| Starts defining a new local plant material with the given name and '''no''' properties. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
*old_material&lt;br /&gt;
| Starts defining a new local plant material with the given name and using the properties of another local plant material. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
*template_name&lt;br /&gt;
| Starts defining a new local plant material with the given name and using the properties of the specified material template. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BASIC_MAT}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Sets the basic material of the plant. According to Toady, you can use other materials (for instance, iron) but the game may hiccup on plants that aren't structurally plants. For crops, said material should have [STRUCTURAL_PLANT_MAT] to permit proper stockpiling. Generally, this should be &amp;quot;LOCAL_PLANT_MAT:material_name&amp;quot;, using a material defined using MATERIAL, USE_MATERIAL, or USE_MATERIAL_TEMPLATE.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Environment Tokens==&lt;br /&gt;
These tokens, also applicable to all plants, specify where the plants grow.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERGROUND_DEPTH}}&lt;br /&gt;
| &lt;br /&gt;
*minimum&lt;br /&gt;
*maximum&lt;br /&gt;
| Designates the highest and lowest cavern levels that the plant can appear in if its [[biome token|biome]] is subterranean.  Dwarven civilizations will only export (via the embark screen or caravans) things that available at depth 1. Defaults to 0:0 (surface only).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOOD}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Good regions. Cannot be combined with [EVIL].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVIL}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Evil regions. Cannot be combined with [GOOD].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Savage regions (regardless of alignment).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
| &lt;br /&gt;
*freq (0-100)&lt;br /&gt;
| How frequently this plant is generated in a particular area. Defaults to 50.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WET}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow near water features.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DRY}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow away from water features.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME}}&lt;br /&gt;
| &lt;br /&gt;
*biome&lt;br /&gt;
| What [[biome token|biome]] this plant appears in.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tree Tokens==&lt;br /&gt;
These tokens are used only for trees.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Makes the plant into a [[tree]]. Cutting down the tree will yield logs made of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMNCOLOR}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the tree turn yellow, orange, and red in Autumn, then lose its leaves in Winter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for the tree on the map. May be a number or a character inside apostrophes. Defaults to 24 (↑).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_TREE_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for (un)dead trees of this type. Defaults to 198 (╞).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for saplings of this tree. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SAPLING_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for dead saplings of this tree. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the tree on the map. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_TREE_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the tree on the map when (un)dead. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of saplings of this tree. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SAPLING_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of dead saplings of this tree. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which saplings of this tree will drown. Exact behavior is unknown. Defaults to 4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which this tree will drown. Exact behavior is unknown. Defaults to 7.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING}}&lt;br /&gt;
|  &lt;br /&gt;
| Makes young versions of the tree be called &amp;quot;[tree name] sapling&amp;quot;; otherwise, they are called &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Crop Tokens==&lt;br /&gt;
These tokens are used only for plantable crops and harvestable shrubs.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPRING}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during spring.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUMMER}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during summer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMN}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during autumn.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WINTER}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during winter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GROWDUR}}&lt;br /&gt;
| &lt;br /&gt;
*time&lt;br /&gt;
| How long the plant takes to grow. Unit hundreds of ticks, See [[Time]]. There are 1008 GROWDUR units in a season. Defaults to 300.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Appears to have no effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PICKED_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used when harvested. May either be a number or letter within apostrophes(confirm?). See [[Main:character table|character table]]. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_PICKED_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used when a harvested plant has wilted. Defaults to 169 (⌐).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| What tile is used for shrubs bearing this plant. Can be either a number or a character inside apostrophes. Defaults to 34 (&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SHRUB_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| What tile is used for dead shrubs that once bore this plant. Can be either a number or a character inside apostrophes. Defaults to 34 (&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTERSIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| The maximum stack size collected when gathered via herbalism. Defaults to 5.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PICKED_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the plant in farms. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_PICKED_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the plant when wilted. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of shrubs bearing this plant. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SHRUB_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
|The [[color]] of dead shrubs that bore this plant. Defaults to 6:0:0 (brown).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which shrubs of this plant will drown. Exact behavior is unknown. Defaults to 4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DRINK}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits brewing the plant into [[alcohol]] made of this material. Said material should have [ALCOHOL_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits milling the plant at a [[quern]] or [[millstone]] into a powder made of this material. Said material should have [POWDER_MISC_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THREAD}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant at a [[farmer's workshop]] to yield threads made of this material. Said material should have [THREAD_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEED}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*name_plural&lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Causes the plant to yield plantable seeds made of this material and having these properties. Said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LEAVES}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*name_plural&lt;br /&gt;
*tile&lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
*wilt_foreground&lt;br /&gt;
*wilt_background&lt;br /&gt;
*wilt_bright&lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[bag]] at a [[farmer's workshop]] to yield leaves made of this material and having these properties. Said material should have [LEAF_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_STILL_VIAL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[vial]] at a [[still]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:FLASK].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_VIAL}}&lt;br /&gt;
| &lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[vial]] at a [[farmer's workshop]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:FLASK].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_BARREL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[barrel]] at a [[farmer's workshop]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:BARREL].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Grass Tokens==&lt;br /&gt;
These tokens are used only for [[grass]]es.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the plant behave as a type of grass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS_TILES}}&lt;br /&gt;
|&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
| Specifies the 4 tiles used to represent grass of this type. If VARIED_GROUND_TILES is disabled in d_init.txt, these are seemingly ignored. Defaults to 46:44:96:39 (.,`').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALT_PERIOD}}&lt;br /&gt;
|&lt;br /&gt;
*period&lt;br /&gt;
*offset&lt;br /&gt;
| How often the grass switches between its main tiles and alternate tiles. The &amp;quot;period&amp;quot; value determines how quickly (in frames) the grass animates, and the &amp;quot;offset&amp;quot; value specifies how much of that time is spent displaying the alternate tiles.  If the &amp;quot;offset&amp;quot; value is greater than or equal to the &amp;quot;period&amp;quot; value, the grass will only display using the alternate tiles.{{verify}} Defaults to 0:0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALT_GRASS_TILES}}&lt;br /&gt;
|&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
| When used with ALT_PERIOD, specifies the 4 alternate tiles used to represent grass of this type. Defaults to 46:44:96:39 (.,`'). Dead grass does not animate.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS_COLORS}}&lt;br /&gt;
|&lt;br /&gt;
*color 1 (fore:back:bright)&lt;br /&gt;
*color 2 (fore:back:bright)&lt;br /&gt;
*dry color (fore:back:bright)&lt;br /&gt;
*dead color (fore:back:bright)&lt;br /&gt;
| Specifies the color of this grass. Defaults to 2:0:1:2:0:0:6:0:1:6:0:0 (light green, dark green, yellow, brown).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Plant_token&amp;diff=315730</id>
		<title>v0.34:Plant token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Plant_token&amp;diff=315730"/>
		<updated>2026-04-04T00:32:07Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:01, 30 March 2011 (UTC)}}{{av}} &lt;br /&gt;
The default plants are stored in the plant_standard.txt file, while grasses are stored in plant_grasses.txt.&lt;br /&gt;
&lt;br /&gt;
==Basic Tokens==&lt;br /&gt;
These tokens are specified for all plants and define their most basic characteristics.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| The singular form of the plants name as seen in game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_PLURAL}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| The plural form of the plants name as seen in game.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADJ}}&lt;br /&gt;
| &lt;br /&gt;
*adjective&lt;br /&gt;
| The word or phrase used to describe items made from this plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALL_NAMES}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
| Sets the NAME, NAME_PLURAL, and ADJ to the specified string.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PREFSTRING}}&lt;br /&gt;
| &lt;br /&gt;
*reason&lt;br /&gt;
| What dwarves can like this object for (e.g. &amp;quot;Urist likes plump helmets for their rounded tops.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
| Starts defining a new local plant material with the given name and '''no''' properties. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
*old_material&lt;br /&gt;
| Starts defining a new local plant material with the given name and using the properties of another local plant material. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MATERIAL_TEMPLATE}}&lt;br /&gt;
| &lt;br /&gt;
*material_name&lt;br /&gt;
*template_name&lt;br /&gt;
| Starts defining a new local plant material with the given name and using the properties of the specified material template. A maximum of 200 materials can be defined on any given plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BASIC_MAT}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Sets the basic material of the plant. According to Toady, you can use other materials (for instance, iron) but the game may hiccup on plants that aren't structurally plants. For crops, said material should have [STRUCTURAL_PLANT_MAT] to permit proper stockpiling. Generally, this should be &amp;quot;LOCAL_PLANT_MAT:material_name&amp;quot;, using a material defined using MATERIAL, USE_MATERIAL, or USE_MATERIAL_TEMPLATE.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Environment Tokens==&lt;br /&gt;
These tokens, also applicable to all plants, specify where the plants grow.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDERGROUND_DEPTH}}&lt;br /&gt;
| &lt;br /&gt;
*minimum&lt;br /&gt;
*maximum&lt;br /&gt;
| Designates the highest and lowest cavern levels that the plant can appear in if its [[biome token|biome]] is subterranean.  Dwarven civilizations will only export (via the embark screen or caravans) things that available at depth 1. Defaults to 0:0 (surface only).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GOOD}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Good regions. Cannot be combined with [EVIL].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EVIL}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Evil regions. Cannot be combined with [GOOD].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAVAGE}}&lt;br /&gt;
|  &lt;br /&gt;
| Restricts the plant to growing in Savage regions (regardless of alignment).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREQUENCY}}&lt;br /&gt;
| &lt;br /&gt;
*freq (0-100)&lt;br /&gt;
| How frequently this plant is generated in a particular area. Defaults to 50.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WET}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow near water features.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DRY}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow away from water features.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME}}&lt;br /&gt;
| &lt;br /&gt;
*biome&lt;br /&gt;
| What [[biome token|biome]] this plant appears in.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Tree Tokens==&lt;br /&gt;
These tokens are used only for trees.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Makes the plant into a [[tree]]. Cutting down the tree will yield logs made of this material.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMNCOLOR}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the tree turn yellow, orange, and red in Autumn, then lose its leaves in Winter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for the tree on the map. May be a number or a character inside apostrophes. Defaults to 24 (↑).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_TREE_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for (un)dead trees of this type. Defaults to 198 (╞).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for saplings of this tree. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SAPLING_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used for dead saplings of this tree. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the tree on the map. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_TREE_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the tree on the map when (un)dead. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of saplings of this tree. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SAPLING_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of dead saplings of this tree. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which saplings of this tree will drown. Exact behavior is unknown. Defaults to 4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which this tree will drown. Exact behavior is unknown. Defaults to 7.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SAPLING}}&lt;br /&gt;
|  &lt;br /&gt;
| Makes young versions of the tree be called &amp;quot;[tree name] sapling&amp;quot;; otherwise, they are called &amp;quot;young [tree name]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Crop Tokens==&lt;br /&gt;
These tokens are used only for plantable crops and harvestable shrubs.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPRING}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during spring.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUMMER}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during summer.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AUTUMN}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during autumn.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WINTER}}&lt;br /&gt;
|  &lt;br /&gt;
| Allows the plant to grow during winter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GROWDUR}}&lt;br /&gt;
| &lt;br /&gt;
*time&lt;br /&gt;
| How long the plant takes to grow. Unit hundreds of ticks, See [[Time]]. There are 1008 GROWDUR units in a season. Defaults to 300.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VALUE}}&lt;br /&gt;
| &lt;br /&gt;
*value&lt;br /&gt;
| Has no effect as of version 0.34.11. Previously set the value of the harvested plant.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PICKED_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used when harvested. May either be a number or letter within apostrophes(confirm?). See [[Main:character table|character table]]. Defaults to 231 (τ).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_PICKED_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| The tile used when a harvested plant has wilted. Defaults to 169 (⌐).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| What tile is used for shrubs bearing this plant. Can be either a number or a character inside apostrophes. Defaults to 34 (&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SHRUB_TILE}}&lt;br /&gt;
| &lt;br /&gt;
*tile&lt;br /&gt;
| What tile is used for dead shrubs that once bore this plant. Can be either a number or a character inside apostrophes. Defaults to 34 (&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLUSTERSIZE}}&lt;br /&gt;
| &lt;br /&gt;
*size&lt;br /&gt;
| The maximum stack size collected when gathered via herbalism. Defaults to 5.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PICKED_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the plant in farms. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_PICKED_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of the plant when wilted. Defaults to 0:0:1 (dark gray).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
| The [[color]] of shrubs bearing this plant. Defaults to 2:0:0 (dark green).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEAD_SHRUB_COLOR}}&lt;br /&gt;
| &lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
|The [[color]] of dead shrubs that bore this plant. Defaults to 6:0:0 (brown).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHRUB_DROWN_LEVEL}}&lt;br /&gt;
| &lt;br /&gt;
*depth&lt;br /&gt;
| The water depth at which shrubs of this plant will drown. Exact behavior is unknown. Defaults to 4.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DRINK}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits brewing the plant into [[alcohol]] made of this material. Said material should have [ALCOHOL_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits milling the plant at a [[quern]] or [[millstone]] into a powder made of this material. Said material should have [POWDER_MISC_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|THREAD}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant at a [[farmer's workshop]] to yield threads made of this material. Said material should have [THREAD_PLANT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SEED}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*name_plural&lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Causes the plant to yield plantable seeds made of this material and having these properties. Said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LEAVES}}&lt;br /&gt;
| &lt;br /&gt;
*name&lt;br /&gt;
*name_plural&lt;br /&gt;
*tile&lt;br /&gt;
*foreground&lt;br /&gt;
*background&lt;br /&gt;
*bright&lt;br /&gt;
*wilt_foreground&lt;br /&gt;
*wilt_background&lt;br /&gt;
*wilt_bright&lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[bag]] at a [[farmer's workshop]] to yield leaves made of this material and having these properties. Said material should have [LEAF_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_STILL_VIAL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[vial]] at a [[still]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:FLASK].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_VIAL}}&lt;br /&gt;
| &lt;br /&gt;
*[[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[vial]] at a [[farmer's workshop]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:FLASK].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXTRACT_BARREL}}&lt;br /&gt;
| &lt;br /&gt;
* [[Material token|material]]&lt;br /&gt;
| Permits processing the plant into a [[barrel]] at a [[farmer's workshop]] to yield extract made of this material. Said material should have [EXTRACT_STORAGE:BARREL].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Grass Tokens==&lt;br /&gt;
These tokens are used only for [[grass]]es.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Token&lt;br /&gt;
! width=&amp;quot;20%&amp;quot; | Arguments&lt;br /&gt;
! width=&amp;quot;60%&amp;quot; | Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the plant behave as a type of grass.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS_TILES}}&lt;br /&gt;
|&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
| Specifies the 4 tiles used to represent grass of this type. If VARIED_GROUND_TILES is disabled in d_init.txt, these are seemingly ignored. Defaults to 46:44:96:39 (.,`').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALT_PERIOD}}&lt;br /&gt;
|&lt;br /&gt;
*period&lt;br /&gt;
*offset&lt;br /&gt;
| How often the grass switches between its main tiles and alternate tiles. The &amp;quot;period&amp;quot; value determines how quickly (in frames) the grass animates, and the &amp;quot;offset&amp;quot; value specifies how much of that time is spent displaying the alternate tiles.  If the &amp;quot;offset&amp;quot; value is greater than or equal to the &amp;quot;period&amp;quot; value, the grass will only display using the alternate tiles.{{verify}} Defaults to 0:0.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALT_GRASS_TILES}}&lt;br /&gt;
|&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
*tile&lt;br /&gt;
| When used with ALT_PERIOD, specifies the 4 alternate tiles used to represent grass of this type. Defaults to 46:44:96:39 (.,`'). Dead grass does not animate.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GRASS_COLORS}}&lt;br /&gt;
|&lt;br /&gt;
*color 1 (fore:back:bright)&lt;br /&gt;
*color 2 (fore:back:bright)&lt;br /&gt;
*dry color (fore:back:bright)&lt;br /&gt;
*dead color (fore:back:bright)&lt;br /&gt;
| Specifies the color of this grass. Defaults to 2:0:1:2:0:0:6:0:1:6:0:0 (light green, dark green, yellow, brown).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Labor_token&amp;diff=315729</id>
		<title>v0.31:Labor token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Labor_token&amp;diff=315729"/>
		<updated>2026-04-04T00:29:05Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:10, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
A list of all labor tokens, mainly used in custom buildings.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}} class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! # !! Token !! Labor&lt;br /&gt;
|-&lt;br /&gt;
|  0 || {{text anchor|MINE}} || [[Mining]]&lt;br /&gt;
|-&lt;br /&gt;
|  1 || {{text anchor|HAUL_STONE}} || [[Stone hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  2 || {{text anchor|HAUL_WOOD}} || [[Wood hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  3 || {{text anchor|HAUL_BODY}} || [[Burial]]&lt;br /&gt;
|-&lt;br /&gt;
|  4 || {{text anchor|HAUL_FOOD}} || [[Food hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  5 || {{text anchor|HAUL_REFUSE}} || [[Refuse hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  6 || {{text anchor|HAUL_ITEM}} || [[Item hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  7 || {{text anchor|HAUL_FURNITURE}} || [[Furniture hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  8 || {{text anchor|HAUL_ANIMALS}} || [[Animal hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  9 || {{text anchor|CLEAN}} || [[Cleaning]]&lt;br /&gt;
|-&lt;br /&gt;
| 10 || {{text anchor|CUTWOOD}} || [[Wood cutting]]&lt;br /&gt;
|-&lt;br /&gt;
| 11 || {{text anchor|CARPENTER}} || [[Carpentry]]&lt;br /&gt;
|-&lt;br /&gt;
| 12 || {{text anchor|DETAIL}} || [[Stone detailing]]&lt;br /&gt;
|-&lt;br /&gt;
| 13 || {{text anchor|MASON}} || [[Masonry]]&lt;br /&gt;
|-&lt;br /&gt;
| 14 || {{text anchor|ARCHITECT}} || [[Architecture]]&lt;br /&gt;
|-&lt;br /&gt;
| 15 || {{text anchor|ANIMALTRAIN}} || [[Animal training]]&lt;br /&gt;
|-&lt;br /&gt;
| 16 || {{text anchor|ANIMALCARE}} || [[Animal care]]&lt;br /&gt;
|-&lt;br /&gt;
| 17 || {{text anchor|DIAGNOSE}} || [[Diagnosis]]&lt;br /&gt;
|-&lt;br /&gt;
| 18 || {{text anchor|SURGERY}} || [[Surgery]]&lt;br /&gt;
|-&lt;br /&gt;
| 19 || {{text anchor|BONE_SETTING}} || [[Setting bones]]&lt;br /&gt;
|-&lt;br /&gt;
| 20 || {{text anchor|SUTURING}} || [[Suturing]]&lt;br /&gt;
|-&lt;br /&gt;
| 21 || {{text anchor|DRESSING_WOUNDS}} || [[Dressing wounds]]&lt;br /&gt;
|-&lt;br /&gt;
| 22 || {{text anchor|FEED_WATER_CIVILIANS}} || [[Feed patients/prisoners]]&lt;br /&gt;
|-&lt;br /&gt;
| 23 || {{text anchor|RECOVER_WOUNDED}} || [[Recovering wounded]]&lt;br /&gt;
|-&lt;br /&gt;
| 24 || {{text anchor|BUTCHER}} || [[Butchery]]&lt;br /&gt;
|-&lt;br /&gt;
| 25 || {{text anchor|TRAPPER}} || [[Trapper]]&lt;br /&gt;
|-&lt;br /&gt;
| 26 || {{text anchor|DISSECT_VERMIN}} || [[Small animal dissection]]&lt;br /&gt;
|-&lt;br /&gt;
| 27 || {{text anchor|LEATHER}} || [[Leatherworking]]&lt;br /&gt;
|-&lt;br /&gt;
| 28 || {{text anchor|TANNER}} || [[Tanning]]&lt;br /&gt;
|-&lt;br /&gt;
| 29 || {{text anchor|BREWER}} || [[Brewing]]&lt;br /&gt;
|-&lt;br /&gt;
| 30 || {{text anchor|ALCHEMIST}} || [[Alchemy]]&lt;br /&gt;
|-&lt;br /&gt;
| 31 || {{text anchor|SOAP_MAKER}} || [[Soap making]]&lt;br /&gt;
|-&lt;br /&gt;
| 32 || {{text anchor|WEAVER}} || [[Weaving]]&lt;br /&gt;
|-&lt;br /&gt;
| 33 || {{text anchor|CLOTHESMAKER}} || [[Clothesmaking]]&lt;br /&gt;
|-&lt;br /&gt;
| 34 || {{text anchor|MILLER}} || [[Milling]]&lt;br /&gt;
|-&lt;br /&gt;
| 35 || {{text anchor|PROCESS_PLANT}} || [[Plant processing]]&lt;br /&gt;
|-&lt;br /&gt;
| 36 || {{text anchor|MAKE_CHEESE}} || [[Cheese making]]&lt;br /&gt;
|-&lt;br /&gt;
| 37 || {{text anchor|MILK}} || [[Milking]]&lt;br /&gt;
|-&lt;br /&gt;
| 38 || {{text anchor|COOK}} || [[Cooking]]&lt;br /&gt;
|-&lt;br /&gt;
| 39 || {{text anchor|PLANT}} || [[Farming (fields)]]&lt;br /&gt;
|-&lt;br /&gt;
| 40 || {{text anchor|HERBALIST}} || [[Plant gathering]]&lt;br /&gt;
|-&lt;br /&gt;
| 41 || {{text anchor|FISH}} || [[Fishing]]&lt;br /&gt;
|-&lt;br /&gt;
| 42 || {{text anchor|CLEAN_FISH}} || [[Fish cleaning]]&lt;br /&gt;
|-&lt;br /&gt;
| 43 || {{text anchor|DISSECT_FISH}} || [[Fish dissection]]&lt;br /&gt;
|-&lt;br /&gt;
| 44 || {{text anchor|HUNT}} || [[Hunting]]&lt;br /&gt;
|-&lt;br /&gt;
| 45 || {{text anchor|SMELT}} || [[Furnace operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 46 || {{text anchor|FORGE_WEAPON}} || [[Weaponsmithing]]&lt;br /&gt;
|-&lt;br /&gt;
| 47 || {{text anchor|FORGE_ARMOR}} || [[Armoring]]&lt;br /&gt;
|-&lt;br /&gt;
| 48 || {{text anchor|FORGE_FURNITURE}} || [[Blacksmithing]]&lt;br /&gt;
|-&lt;br /&gt;
| 49 || {{text anchor|METAL_CRAFT}} || [[Metalcrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 50 || {{text anchor|CUT_GEM}} || [[Gem cutting]]&lt;br /&gt;
|-&lt;br /&gt;
| 51 || {{text anchor|ENCRUST_GEM}} || [[Gem setting]]&lt;br /&gt;
|-&lt;br /&gt;
| 52 || {{text anchor|WOOD_CRAFT}} || [[Woodcrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 53 || {{text anchor|STONE_CRAFT}} || [[Stonecrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 54 || {{text anchor|BONE_CARVE}} || [[Bone carving]]&lt;br /&gt;
|-&lt;br /&gt;
| 55 || {{text anchor|GLASSMAKER}} || [[Glassmaking]]&lt;br /&gt;
|-&lt;br /&gt;
| 56 || {{text anchor|EXTRACT_STRAND}} || [[Strand extraction]]&lt;br /&gt;
|-&lt;br /&gt;
| 57 || {{text anchor|SIEGECRAFT}} || [[Siege engineering]]&lt;br /&gt;
|-&lt;br /&gt;
| 58 || {{text anchor|SIEGEOPERATE}} || [[Siege operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 59 || {{text anchor|BOWYER}} || [[Crossbow-making]]&lt;br /&gt;
|-&lt;br /&gt;
| 60 || {{text anchor|MECHANIC}} || [[Mechanics]]&lt;br /&gt;
|-&lt;br /&gt;
| 61 || {{text anchor|POTASH_MAKING}} || [[Potash making]]&lt;br /&gt;
|-&lt;br /&gt;
| 62 || {{text anchor|LYE_MAKING}} || [[Lye making]]&lt;br /&gt;
|-&lt;br /&gt;
| 63 || {{text anchor|DYER}} || [[Dyeing]]&lt;br /&gt;
|-&lt;br /&gt;
| 64 || {{text anchor|BURN_WOOD}} || [[Wood burning]]&lt;br /&gt;
|-&lt;br /&gt;
| 65 || {{text anchor|OPERATE_PUMP}} || [[Pump operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 66 || {{text anchor|SHEARER}} || [[Shearing]]&lt;br /&gt;
|-&lt;br /&gt;
| 67 || {{text anchor|SPINNER}} || [[Spinning]]&lt;br /&gt;
|-&lt;br /&gt;
| 68 || {{text anchor|POTTERY}} || [[Pottery]]&lt;br /&gt;
|-&lt;br /&gt;
| 69 || {{text anchor|GLAZING}} || [[Glazing]]&lt;br /&gt;
|-&lt;br /&gt;
| 70 || {{text anchor|PRESSING}} || [[Pressing]]&lt;br /&gt;
|-&lt;br /&gt;
| 71 || {{text anchor|BEEKEEPING}} || [[Beekeeping]]&lt;br /&gt;
|-&lt;br /&gt;
| 72 || {{text anchor|WAX_WORKING}} || [[Wax working]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Labor_token&amp;diff=315728</id>
		<title>v0.34:Labor token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Labor_token&amp;diff=315728"/>
		<updated>2026-04-04T00:28:41Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Superior|21:42, 17 May 2015 (UTC)}}&lt;br /&gt;
{{av}}&lt;br /&gt;
&lt;br /&gt;
A list of all labor tokens, mainly used in custom buildings.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}} class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
|- style='background-color:#ddd'&lt;br /&gt;
! # !! Token !! Labor&lt;br /&gt;
|-&lt;br /&gt;
|  0 || {{text anchor|MINE}} || [[Mining]]&lt;br /&gt;
|-&lt;br /&gt;
|  1 || {{text anchor|HAUL_STONE}} || [[Stone hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  2 || {{text anchor|HAUL_WOOD}} || [[Wood hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  3 || {{text anchor|HAUL_BODY}} || [[Burial]]&lt;br /&gt;
|-&lt;br /&gt;
|  4 || {{text anchor|HAUL_FOOD}} || [[Food hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  5 || {{text anchor|HAUL_REFUSE}} || [[Refuse hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  6 || {{text anchor|HAUL_ITEM}} || [[Item hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  7 || {{text anchor|HAUL_FURNITURE}} || [[Furniture hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  8 || {{text anchor|HAUL_ANIMALS}} || [[Animal hauling]]&lt;br /&gt;
|-&lt;br /&gt;
|  9 || {{text anchor|CLEAN}} || [[Cleaning]]&lt;br /&gt;
|-&lt;br /&gt;
| 10 || {{text anchor|CUTWOOD}} || [[Wood cutting]]&lt;br /&gt;
|-&lt;br /&gt;
| 11 || {{text anchor|CARPENTER}} || [[Carpentry]]&lt;br /&gt;
|-&lt;br /&gt;
| 12 || {{text anchor|DETAIL}} || [[Stone detailing]]&lt;br /&gt;
|-&lt;br /&gt;
| 13 || {{text anchor|MASON}} || [[Masonry]]&lt;br /&gt;
|-&lt;br /&gt;
| 14 || {{text anchor|ARCHITECT}} || [[Architecture]]&lt;br /&gt;
|-&lt;br /&gt;
| 15 || {{text anchor|ANIMALTRAIN}} || [[Animal training]]&lt;br /&gt;
|-&lt;br /&gt;
| 16 || {{text anchor|ANIMALCARE}} || [[Animal care]]&lt;br /&gt;
|-&lt;br /&gt;
| 17 || {{text anchor|DIAGNOSE}} || [[Diagnosis]]&lt;br /&gt;
|-&lt;br /&gt;
| 18 || {{text anchor|SURGERY}} || [[Surgery]]&lt;br /&gt;
|-&lt;br /&gt;
| 19 || {{text anchor|BONE_SETTING}} || [[Setting bones]]&lt;br /&gt;
|-&lt;br /&gt;
| 20 || {{text anchor|SUTURING}} || [[Suturing]]&lt;br /&gt;
|-&lt;br /&gt;
| 21 || {{text anchor|DRESSING_WOUNDS}} || [[Dressing wounds]]&lt;br /&gt;
|-&lt;br /&gt;
| 22 || {{text anchor|FEED_WATER_CIVILIANS}} || [[Feed patients/prisoners]]&lt;br /&gt;
|-&lt;br /&gt;
| 23 || {{text anchor|RECOVER_WOUNDED}} || [[Recovering wounded]]&lt;br /&gt;
|-&lt;br /&gt;
| 24 || {{text anchor|BUTCHER}} || [[Butchery]]&lt;br /&gt;
|-&lt;br /&gt;
| 25 || {{text anchor|TRAPPER}} || [[Trapper]]&lt;br /&gt;
|-&lt;br /&gt;
| 26 || {{text anchor|DISSECT_VERMIN}} || [[Small animal dissection]]&lt;br /&gt;
|-&lt;br /&gt;
| 27 || {{text anchor|LEATHER}} || [[Leatherworking]]&lt;br /&gt;
|-&lt;br /&gt;
| 28 || {{text anchor|TANNER}} || [[Tanning]]&lt;br /&gt;
|-&lt;br /&gt;
| 29 || {{text anchor|BREWER}} || [[Brewing]]&lt;br /&gt;
|-&lt;br /&gt;
| 30 || {{text anchor|ALCHEMIST}} || [[Alchemy]]&lt;br /&gt;
|-&lt;br /&gt;
| 31 || {{text anchor|SOAP_MAKER}} || [[Soap making]]&lt;br /&gt;
|-&lt;br /&gt;
| 32 || {{text anchor|WEAVER}} || [[Weaving]]&lt;br /&gt;
|-&lt;br /&gt;
| 33 || {{text anchor|CLOTHESMAKER}} || [[Clothesmaking]]&lt;br /&gt;
|-&lt;br /&gt;
| 34 || {{text anchor|MILLER}} || [[Milling]]&lt;br /&gt;
|-&lt;br /&gt;
| 35 || {{text anchor|PROCESS_PLANT}} || [[Plant processing]]&lt;br /&gt;
|-&lt;br /&gt;
| 36 || {{text anchor|MAKE_CHEESE}} || [[Cheese making]]&lt;br /&gt;
|-&lt;br /&gt;
| 37 || {{text anchor|MILK}} || [[Milking]]&lt;br /&gt;
|-&lt;br /&gt;
| 38 || {{text anchor|COOK}} || [[Cooking]]&lt;br /&gt;
|-&lt;br /&gt;
| 39 || {{text anchor|PLANT}} || [[Farming (fields)]]&lt;br /&gt;
|-&lt;br /&gt;
| 40 || {{text anchor|HERBALIST}} || [[Plant gathering]]&lt;br /&gt;
|-&lt;br /&gt;
| 41 || {{text anchor|FISH}} || [[Fishing]]&lt;br /&gt;
|-&lt;br /&gt;
| 42 || {{text anchor|CLEAN_FISH}} || [[Fish cleaning]]&lt;br /&gt;
|-&lt;br /&gt;
| 43 || {{text anchor|DISSECT_FISH}} || [[Fish dissection]]&lt;br /&gt;
|-&lt;br /&gt;
| 44 || {{text anchor|HUNT}} || [[Hunting]]&lt;br /&gt;
|-&lt;br /&gt;
| 45 || {{text anchor|SMELT}} || [[Furnace operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 46 || {{text anchor|FORGE_WEAPON}} || [[Weaponsmithing]]&lt;br /&gt;
|-&lt;br /&gt;
| 47 || {{text anchor|FORGE_ARMOR}} || [[Armoring]]&lt;br /&gt;
|-&lt;br /&gt;
| 48 || {{text anchor|FORGE_FURNITURE}} || [[Blacksmithing]]&lt;br /&gt;
|-&lt;br /&gt;
| 49 || {{text anchor|METAL_CRAFT}} || [[Metalcrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 50 || {{text anchor|CUT_GEM}} || [[Gem cutting]]&lt;br /&gt;
|-&lt;br /&gt;
| 51 || {{text anchor|ENCRUST_GEM}} || [[Gem setting]]&lt;br /&gt;
|-&lt;br /&gt;
| 52 || {{text anchor|WOOD_CRAFT}} || [[Woodcrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 53 || {{text anchor|STONE_CRAFT}} || [[Stonecrafting]]&lt;br /&gt;
|-&lt;br /&gt;
| 54 || {{text anchor|BONE_CARVE}} || [[Bone carving]]&lt;br /&gt;
|-&lt;br /&gt;
| 55 || {{text anchor|GLASSMAKER}} || [[Glassmaking]]&lt;br /&gt;
|-&lt;br /&gt;
| 56 || {{text anchor|EXTRACT_STRAND}} || [[Strand extraction]]&lt;br /&gt;
|-&lt;br /&gt;
| 57 || {{text anchor|SIEGECRAFT}} || [[Siege engineering]]&lt;br /&gt;
|-&lt;br /&gt;
| 58 || {{text anchor|SIEGEOPERATE}} || [[Siege operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 59 || {{text anchor|BOWYER}} || [[Crossbow-making]]&lt;br /&gt;
|-&lt;br /&gt;
| 60 || {{text anchor|MECHANIC}} || [[Mechanics]]&lt;br /&gt;
|-&lt;br /&gt;
| 61 || {{text anchor|POTASH_MAKING}} || [[Potash making]]&lt;br /&gt;
|-&lt;br /&gt;
| 62 || {{text anchor|LYE_MAKING}} || [[Lye making]]&lt;br /&gt;
|-&lt;br /&gt;
| 63 || {{text anchor|DYER}} || [[Dyeing]]&lt;br /&gt;
|-&lt;br /&gt;
| 64 || {{text anchor|BURN_WOOD}} || [[Wood burning]]&lt;br /&gt;
|-&lt;br /&gt;
| 65 || {{text anchor|OPERATE_PUMP}} || [[Pump operating]]&lt;br /&gt;
|-&lt;br /&gt;
| 66 || {{text anchor|SHEARER}} || [[Shearing]]&lt;br /&gt;
|-&lt;br /&gt;
| 67 || {{text anchor|SPINNER}} || [[Spinning]]&lt;br /&gt;
|-&lt;br /&gt;
| 68 || {{text anchor|POTTERY}} || [[Pottery]]&lt;br /&gt;
|-&lt;br /&gt;
| 69 || {{text anchor|GLAZING}} || [[Glazing]]&lt;br /&gt;
|-&lt;br /&gt;
| 70 || {{text anchor|PRESSING}} || [[Pressing]]&lt;br /&gt;
|-&lt;br /&gt;
| 71 || {{text anchor|BEEKEEPING}} || [[Beekeeping]]&lt;br /&gt;
|-&lt;br /&gt;
| 72 || {{text anchor|WAX_WORKING}} || [[Wax working]]&lt;br /&gt;
|-&lt;br /&gt;
| 73 || {{text anchor|HANDLE_VEHICLES}} || [[Push/haul vehicles]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Interaction_token&amp;diff=315727</id>
		<title>v0.34:Interaction token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Interaction_token&amp;diff=315727"/>
		<updated>2026-04-04T00:27:35Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
&lt;br /&gt;
The following tokens can be used to define and use interactions.&lt;br /&gt;
&lt;br /&gt;
==Interaction Definitions==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Context&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|I_SOURCE}}&lt;br /&gt;
| Global&lt;br /&gt;
| type&lt;br /&gt;
| Defines what things are capable of triggering this interaction. Can be specified multiple times. Valid values:&lt;br /&gt;
* REGION - The interaction takes place in particular types of regions in the world.&lt;br /&gt;
* UNDERGROUND_SPECIAL - The interaction takes place in [[Demonic fortress|curious underground structure]]s.&lt;br /&gt;
* SECRET - The interaction is a secret that can be learned by particular individuals.&lt;br /&gt;
* DISTURBANCE - The interaction is triggered when disturbing a [[tomb]].&lt;br /&gt;
* DEITY - The interaction is inflicted upon mortals by the gods.&lt;br /&gt;
* ATTACK - The interaction is triggered by an attack during combat.&lt;br /&gt;
* INGESTION - The interaction is triggered by eating or drinking something.&lt;br /&gt;
* CREATURE_ACTION - The interaction is triggered by an explicit action.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_HIST_STRING_1}}&lt;br /&gt;
| Within I_SOURCE&lt;br /&gt;
| text&lt;br /&gt;
| Describes what the interaction did to a historical figure. Displayed after the name of the historical figure that performed the interaction.&lt;br /&gt;
&lt;br /&gt;
[IS_HIST_STRING_1: cursed ]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_HIST_STRING_2}}&lt;br /&gt;
| Within I_SOURCE&lt;br /&gt;
| text&lt;br /&gt;
| Describes what the interaction did to a historical figure. Displayed after the name of the historical figure that was targeted by the interaction.&lt;br /&gt;
&lt;br /&gt;
[IS_HIST_STRING_2: to assume the form of a lizard-like monster every full moon]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_FREQUENCY}}&lt;br /&gt;
| Within I_SOURCE&lt;br /&gt;
| Number&lt;br /&gt;
| Presumably, the probability of biome specified by [IS_REGION] to have this interaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_NAME}}&lt;br /&gt;
| Within I_SOURCE&lt;br /&gt;
| string&lt;br /&gt;
| Generally used with secrets, describes what the secret is about.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_REGION}}&lt;br /&gt;
| Within I_SOURCE:REGION&lt;br /&gt;
| Region type&lt;br /&gt;
| Indicates what types regions are capable of performing this interaction. Can be specified multiple times. Valid values:&lt;br /&gt;
* ANY&lt;br /&gt;
* ANY_TERRAIN&lt;br /&gt;
* NORMAL_ALLOWED&lt;br /&gt;
* EVIL_ALLOWED&lt;br /&gt;
* GOOD_ALLOWED&lt;br /&gt;
* SAVAGE_ALLOWED&lt;br /&gt;
* EVIL_ONLY&lt;br /&gt;
* GOOD_ONLY&lt;br /&gt;
* SAVAGE_ONLY&lt;br /&gt;
* Region type - SWAMP, DESERT, FOREST, MOUNTAINS, OCEAN, LAKE, GLACIER, TUNDRA, GRASSLAND, HILLS&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_SPHERE}}&lt;br /&gt;
| Within I_SOURCE:SECRET&lt;br /&gt;
| [[Sphere]]&lt;br /&gt;
| Indicates the sphere to which this secret pertains. Only one sphere can be defined for each [I_SOURCE:SECRET] token, thus several [I_SOURCE:SECRET] tokens required to create a valid custom secret, which belongs to several different spheres&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_SECRET_GOAL}}&lt;br /&gt;
| Within I_SOURCE:SECRET&lt;br /&gt;
| Secret Goal token&lt;br /&gt;
| Indicates why somebody would want to learn the secret. Valid values:&lt;br /&gt;
* IMMORTALITY&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_SECRET}}&lt;br /&gt;
| Within I_SOURCE:SECRET&lt;br /&gt;
| Secret Flag&lt;br /&gt;
| Indicates how the secret can be learned. Valid values:&lt;br /&gt;
* SUPERNATURAL_LEARNING_POSSIBLE - the secret can be learned by supernatural means&lt;br /&gt;
* MUNDANE_RESEARCH_POSSIBLE - the secret can be researched by mundane means&lt;br /&gt;
* MUNDANE_TEACHING_POSSIBLE - the secret can be taught to apprentices&lt;br /&gt;
* MUNDANE_RECORDING_POSSIBLE:objects/text/(book_title).txt:objects/text/(book_topic).txt - the secret can be written in books with the specified title. If this tag is present, a slab will be created upon learning the secret by supernatural means.&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IS_USAGE_HINT}}&lt;br /&gt;
| Within I_SOURCE:DEITY&lt;br /&gt;
| Usage Hint token&lt;br /&gt;
| Indicates why a deity would choose to perform this interaction. See CDI:USAGE_HINT below for valid values - in this context, MAJOR_CURSE is the only value that makes sense.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|I_TARGET}}&lt;br /&gt;
| Global&lt;br /&gt;
| id, type&lt;br /&gt;
| Specifies what things this interaction acts upon. Can be specified multiple times. Valid values:&lt;br /&gt;
* CORPSE - Also includes pieces of corpses&lt;br /&gt;
* CREATURE&lt;br /&gt;
* MATERIAL&lt;br /&gt;
* LOCATION&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_LOCATION}}&lt;br /&gt;
| Within I_TARGET&lt;br /&gt;
| Location&lt;br /&gt;
| Narrows down exactly what the interaction targets. Valid values:&lt;br /&gt;
* CONTEXT_REGION - Can only be used by IS_REGION interactions.&lt;br /&gt;
* CONTEXT_CREATURE&lt;br /&gt;
* CONTEXT_ITEM - Used when the target is a CORPSE.&lt;br /&gt;
* CONTEXT_BP - Use body part from CDI:BP_REQUIRED token (below).&lt;br /&gt;
* CONTEXT_LOCATION&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_MANUAL_INPUT}}&lt;br /&gt;
| Within I_TARGET&lt;br /&gt;
| text&lt;br /&gt;
| Tells the player what they should be selecting.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_AFFECTED_CREATURE}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Specifies specific creatures the interaction can target.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_AFFECTED_CLASS}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| Creature class&lt;br /&gt;
| Specifies creature classes the interaction can target.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_IMMUNE_CREATURE}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Specifies specific creatures the interaction cannot target.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_IMMUNE_CLASS}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| Creature class&lt;br /&gt;
| Specifies creature classes the interaction cannot target.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_REQUIRES}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| Creature token or property&lt;br /&gt;
| Indicates that the target must have the specified property. Valid values:&lt;br /&gt;
* FIT_FOR_ANIMATION - Any corpse or body part that can become a zombie (heads, hands, etc.)&lt;br /&gt;
* FIT_FOR_RESURRECTION - The target corpse's UPPERBODY must be attached.&lt;br /&gt;
* HAS_BLOOD&lt;br /&gt;
* MORTAL&lt;br /&gt;
* NO_AGING&lt;br /&gt;
* STERILE&lt;br /&gt;
* Creature token: BLOODSUCKER, CAN_LEARN, CAN_SPEAK, CRAZED, EXTRAVISION, LIKES_FIGHTING (or LIKESFIGHTING), MISCHIEVOUS (or MISCHIEVIOUS), NO_CONNECTIONS_FOR_MOVEMENT, NO_DIZZINESS, NO_DRINK, NO_EAT, NO_FEVERS, NO_PHYS_ATT_GAIN, NO_PHYS_ATT_RUST, NO_SLEEP, NO_THOUGHT_CENTER_FOR_MOVEMENT, NOBREATHE, NOEMOTION, NOEXERT, NOFEAR, NONAUSEA, NOPAIN, NOSTUN, NOT_LIVING, NOTHOUGHT, OPPOSED_TO_LIFE, PARALYZEIMMUNE, SUPERNATURAL, TRANCES, UTTERANCES&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_FORBIDDEN}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| Creature token or property&lt;br /&gt;
| Indicates that the target must not have the specified property. Valid values are the same as for IT_REQUIRES.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_CANNOT_TARGET_IF_ALREADY_AFFECTED}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| &lt;br /&gt;
| Prevents the interaction from targeting a creature that's already under the effect of the same interaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_CANNOT_HAVE_SYNDROME_CLASS}}&lt;br /&gt;
| Within I_TARGET:CORPSE or I_TARGET:CREATURE&lt;br /&gt;
| [[Syndrome]] class&lt;br /&gt;
| Prevents the interaction from targeting a creature under the effects of a syndrome having the specified SYN_CLASS value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IT_MATERIAL}}&lt;br /&gt;
| Within I_TARGET:MATERIAL&lt;br /&gt;
| Type&lt;br /&gt;
| Specifies the type of material the interaction targets. Valid values:&lt;br /&gt;
* FLOW:Breath attack token - Specifies an attack not made of any material.&lt;br /&gt;
* MATERIAL:[[Material token]]:Breath attack token - Specifies an attack made of a specific material.&lt;br /&gt;
* CONTEXT_MATERIAL - Use material from CDI:MATERIAL token (below).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|I_EFFECT}}&lt;br /&gt;
| Global&lt;br /&gt;
| type&lt;br /&gt;
| Specifies what the interaction does to the targets. Can be specified multiple times. Valid values:&lt;br /&gt;
* ANIMATE - Raises the target corpse/bodypart as a zombie.  The zombie will always be hostile to life and will retain no information about its original personality/loyalties.  Syndromes can also be specified within this tag.&lt;br /&gt;
* RESURRECT - Returns the creature to life.  This can be used on parts that are not FIT_FOR_RESURRECTION, but only the main part (with an UPPERBODY attached) will remain loyal to its original faction.  Syndromes can also be specified within this tag.&lt;br /&gt;
* ADD_SYNDROME - Adds one or more syndromes.  The actual syndrome is specified with the [SYNDROME] tag.&lt;br /&gt;
* CLEAN - Cleans off most liquids/dust covering the creature.&lt;br /&gt;
* HIDE - Allows the creature to hide even if another creature can see it.&lt;br /&gt;
* CONTACT - Causes the creatures to touch.  The interaction's range must be TOUCHABLE.&lt;br /&gt;
* MATERIAL_EMISSION - Used within the MATERIAL_EMISSION interaction.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_TARGET}}&lt;br /&gt;
| Within I_EFFECT&lt;br /&gt;
| ID&lt;br /&gt;
| Specifies which I_TARGET this effect will be applied to&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_INTERMITTENT}}&lt;br /&gt;
| Within I_EFFECT&lt;br /&gt;
| Frequency&lt;br /&gt;
| Indicates that the effect happens intermittently and specifies roughly how often. Valid values:&lt;br /&gt;
* WEEKLY&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_IMMEDIATE}}&lt;br /&gt;
| Within I_EFFECT&lt;br /&gt;
|&lt;br /&gt;
| Indicates that the effect happens immediately.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_LOCATION}}&lt;br /&gt;
| Within I_EFFECT&lt;br /&gt;
| Location Hint&lt;br /&gt;
| Indicates where the effect can take place. Valid values:&lt;br /&gt;
* IN_WATER&lt;br /&gt;
* IN_MAGMA&lt;br /&gt;
* NO_WATER&lt;br /&gt;
* NO_MAGMA&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_ARENA_NAME}}&lt;br /&gt;
| Within I_EFFECT&lt;br /&gt;
| text&lt;br /&gt;
| Allows the interaction to be applied to newly spawned creatures in Arena mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_GRIME_LEVEL}}&lt;br /&gt;
| Within I_EFFECT:CLEAN&lt;br /&gt;
| amount?&lt;br /&gt;
| [IE_GRIME_LEVEL:2] appears in the default cleaning interaction, and may indicate amount of grime cleaned.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IE_SYNDROME_TAG}}&lt;br /&gt;
| Within I_EFFECT:CLEAN&lt;br /&gt;
| Syndrome flag&lt;br /&gt;
| Indicates that cleaning off materials will activate their syndromes if they have this flag.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENERATED}}&lt;br /&gt;
| Global&lt;br /&gt;
| &lt;br /&gt;
| Indicates that this is a generated interaction. Cannot be specified in user-defined raws.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Interaction Usage==&lt;br /&gt;
In order to actually use an interaction, add the [[creature token]] [CAN_DO_INTERACTION:NAME] followed by a series of [CDI:...] tokens. Interactions can also be granted through [[syndrome]]s using the token [CE_CAN_DO_INTERACTION] (plus the same series of CDI tokens).&lt;br /&gt;
&lt;br /&gt;
The following CDI tokens can be specified:&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#C0C0C0&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INTERACTION}}&lt;br /&gt;
| id&lt;br /&gt;
| Specifies which interaction can be performed. Only to be used with syndromes, since CE_CAN_DO_INTERACTION does not allow specifying the interaction ID directly.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TARGET}}&lt;br /&gt;
| target ID, target types&lt;br /&gt;
| Specifies how the creature chooses what to . Target ID refers to an I_TARGET defined in the interaction itself. Multiple target types can be specified. If no target is specified, creature will target any available target within range, even through walls.  Valid target types:&lt;br /&gt;
* LINE_OF_SIGHT - the source needs to be able to see the target&lt;br /&gt;
* TOUCHABLE - the source needs to be able to touch the target&lt;br /&gt;
* DISTURBER_ONLY - the target must be whoever disturbed the source&lt;br /&gt;
* SELF_ALLOWED - the target can be the source&lt;br /&gt;
* SELF_ONLY - the target '''must''' be the source&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TARGET_RANGE}}&lt;br /&gt;
| target ID, range&lt;br /&gt;
| Specifies how far away the target can be, in tiles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCATION_HINT}}&lt;br /&gt;
| Location Hint (see above)&lt;br /&gt;
| ?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USAGE_HINT}}&lt;br /&gt;
| Usage hint token&lt;br /&gt;
| Indicates when and how CPU-controlled creatures will use the interaction. If no hint is specified, the interaction will be used whenever a valid target is available.  Valid values:&lt;br /&gt;
* MAJOR_CURSE - Used in disturbance curses and deity curses.  Targets the tomb disturber/temple defiler.&lt;br /&gt;
* GREETING - Creatures will target 'friendly' creatures, usually at random.&lt;br /&gt;
* CLEAN_SELF - Creature targets itself when covered in liquids or dust.&lt;br /&gt;
* CLEAN_FRIEND - Same, but targets other friendly units.&lt;br /&gt;
* ATTACK - Targets enemy creatures in combat.  If the interaction specifies SELF_ONLY, CPU-controlled creatures will never use it.&lt;br /&gt;
* FLEEING - Used when fleeing an enemy.  Creature will target itself.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADV_NAME}}&lt;br /&gt;
| text&lt;br /&gt;
| Specifies the interaction's name when used in Adventurer mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_TARGET_NUMBER}}&lt;br /&gt;
| ID, number&lt;br /&gt;
| Specifies the maximum number of things that can be selected for a particular I_TARGET.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WAIT_PERIOD}}&lt;br /&gt;
| number&lt;br /&gt;
| Controls how often the interaction can be used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERBAL}}&lt;br /&gt;
| &lt;br /&gt;
| Only creatures that can speak will be able to use the interaction.  Might also be needed for VERBAL_SPEECH.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERBAL_SPEECH}}&lt;br /&gt;
| filename&lt;br /&gt;
| Specifies what the creature says when they perform the interaction. Filename path is relative to /data/speech.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CAN_BE_MUTUAL}}&lt;br /&gt;
| &lt;br /&gt;
| Presumably, allows two creatures with this same interaction to use it on each other simultaneously, for example cats cleaning each other.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FREE_ACTION}}&lt;br /&gt;
|&lt;br /&gt;
| Indicates that performing the interaction doesn't take any time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERB}}&lt;br /&gt;
| self:other:mutual&lt;br /&gt;
| When a creature uses the interaction, a message will display, describing the source as doing this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VERB_REVERSE}}&lt;br /&gt;
| ?&lt;br /&gt;
| ?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TARGET_VERB}}&lt;br /&gt;
| self:other&lt;br /&gt;
| When a creature uses the interaction, a message will display, describing the target as doing this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BP_REQUIRED}}&lt;br /&gt;
| Body part criteria&lt;br /&gt;
| Indicates that a particular body part must be present in order to perform the interaction. Criteria are BY_CATEGORY:category, BY_TYPE:type, or BY_TOKEN:token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLOW}}&lt;br /&gt;
| [[Syndrome#Breath Attack Types|Breath attack token]]&lt;br /&gt;
| Causes the interaction to create an effect not made of any material. Only makes sense for FIREBALL, FIREJET, or DRAGONFIRE.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MATERIAL}}&lt;br /&gt;
| [[Material token]]:Breath attack token&lt;br /&gt;
| Causes the interaction to create an effect made of a specific material. Doesn't make sense for FIREBALL, FIREJET, or DRAGONFIRE.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Syndrome]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Ethic&amp;diff=315726</id>
		<title>40d:Ethic</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Ethic&amp;diff=315726"/>
		<updated>2026-04-04T00:24:58Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|21:18, 30 March 2011 (UTC)}}{{av}}&lt;br /&gt;
== List of acceptable ethics tags==&lt;br /&gt;
&lt;br /&gt;
Ethics tags are used in the entity_default file to determine how races feel about various issues. Example usage: [ETHIC:ASSAULT:PUNISH_SERIOUS]&lt;br /&gt;
&lt;br /&gt;
Entities will start [[war|wars]] with each other over ethical differences during [[World generation|world gen]].  Ongoing wars may influence fortress mode, causing early [[siege|sieges]].&lt;br /&gt;
&lt;br /&gt;
== Ethics types ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|ASSAULT}}&lt;br /&gt;
| Determines punishments for the &amp;quot;Assault&amp;quot; and &amp;quot;Disorderly Conduct&amp;quot; [[justice|crime]]s.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|EAT_SAPIENT_KILL}}&lt;br /&gt;
| Civilizations that accept this type of cannibalism and civilizations that do not may go to war over &amp;quot;the devouring of the bodies of sapient beings&amp;quot; in world-gen. Members of civilizations that accept this type of cannibalism will devour the bodies of creatures they kill in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|EAT_SAPIENT_OTHER}}&lt;br /&gt;
| Civilizations that accept this type of cannibalism and civilizations that do not may go to war over &amp;quot;the devouring of the bodies of sapient beings&amp;quot; in world-gen. Adds meat and other materials from creatures who can learn into trade.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ANIMAL}}&lt;br /&gt;
| Civilizations that accept killing animals and civilizations that do not may go to war over &amp;quot;the treatment of animals.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ENEMY}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ENTITY_MEMBER}}&lt;br /&gt;
| Determines punishments for the &amp;quot;Murder&amp;quot; [[justice|crime]]. Members of a civilization that accepts murder may kill other entity members in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_NEUTRAL}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_PLANT}}&lt;br /&gt;
| This includes a race's position towards wood - a response between MISGUIDED and UNTHINKABLE (see below) causes the entity to refuse wooden objects in trade and also prohibits them from bringing caravan [[wagon]]s.&lt;br /&gt;
&lt;br /&gt;
Civilizations that accept killing plants and civilizations that do not may go to war in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|LYING}}&lt;br /&gt;
| Civilizations that accept lying and civilizations that do not may go to war over &amp;quot;truthfulness&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_ANIMAL}}&lt;br /&gt;
| Civilizations that accept making this type of trophy and civilizations that do not may go to war over &amp;quot;the display of war and hunting trophies&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_SAME_RACE}}&lt;br /&gt;
| Civilizations that accept making this type of trophy and civilizations that do not may go to war over &amp;quot;the display of war and hunting trophies&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_SAPIENT}}&lt;br /&gt;
| Civilizations that accept making this type of trophy and civilizations that do not may go to war over &amp;quot;the display of war and hunting trophies&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|OATH_BREAKING}}&lt;br /&gt;
| Civilizations that accept oath-breaking and civilizations that do not may go to war over &amp;quot;a formalized agreement&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|SLAVERY}}&lt;br /&gt;
| Civilizations that accept slavery will take the former population of sites they conquer as slaves in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|THEFT}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_ANIMALS}}&lt;br /&gt;
| Civilizations that accept this type of torture and civilizations that do not may go to war in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_AS_EXAMPLE}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_FOR_FUN}}&lt;br /&gt;
| Civilizations that accept this type of torture and civilizations that do not may go to war over &amp;quot;torture&amp;quot; in world-gen.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_FOR_INFORMATION}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TREASON}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TRESPASSING}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|VANDALISM}}&lt;br /&gt;
|Determines punishments for the &amp;quot;Building Destruction&amp;quot; [[justice|crime]]s.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ethic value numbers in relation to each other==&lt;br /&gt;
The following table describes how entities respond to other cultures, with the observer on the vertical axis and their target on the horizontal axis.&lt;br /&gt;
If an entity's accumulated animosity towards another passes a certain threshold (determined by the ruler's personality) then it will run a risk-assessment check. If passed, this will lead to a declaration of war.&lt;br /&gt;
&lt;br /&gt;
In general, entities react much more strongly to actions that violate ''their'' taboos than to the outlawing of their customs in other civilisations.&lt;br /&gt;
For example, Civ A finds slavery Acceptable, but Civ B considers it a Capital Offence.&lt;br /&gt;
* Civ A will consider Civ B most unreasonable (&amp;amp;minus;5) for executing people over such a non-issue.&lt;br /&gt;
* Civ B will be shocked and disgusted (&amp;amp;minus;15) that Civ A engages in such a debased activity.&lt;br /&gt;
* The end result is mutual negativity. However, Civ B is 3&amp;amp;times; ''more'' offended, and much more likely to go to war over the issue &amp;amp;mdash; assuming, of course, they think they have a chance of winning.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! rowspan=2 colspan=2 | &amp;amp;nbsp;&lt;br /&gt;
! colspan=16  | TARGET&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!width=6%| Accept. ||width=6%| Personal ||width=6%| Reperc. ||width=6%| Good ||width=6%| Extreme ||width=6%| Self-Def. ||width=6%| Sanct. ||width=6%| Misguid. ||width=6%| Shun ||width=6%| Appall. ||width=6%| Reprim. ||width=6%| Serious ||width=6%| Exile ||width=6%| Capital ||width=6%| Unthink.&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=16 | {{rotate|OBSERVER}} &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
! Acceptable || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−3}} || {{tc|red|−5}} || {{tc|red|−5}} || {{tc|red|−2}}&lt;br /&gt;
|-&lt;br /&gt;
! Personal || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−3}} || {{tc|red|−5}} || {{tc|red|−5}} || {{tc|red|−2}}&lt;br /&gt;
|-&lt;br /&gt;
! No Reperc. || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−3}} || {{tc|red|−5}} || {{tc|red|−5}} || {{tc|red|−2}}&lt;br /&gt;
|-&lt;br /&gt;
! Good Reas. || 0 || 0 || 0 || {{tc|blue|+2}} || {{tc|blue|+1}} || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}}&lt;br /&gt;
|-&lt;br /&gt;
! Extreme Rs. || {{tc|red|−1}} || {{tc|red|−1}} || 0 || {{tc|blue|+1}} || {{tc|blue|+2}} || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}}&lt;br /&gt;
|-&lt;br /&gt;
! Self-Defence || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−1}} || 0 || {{tc|blue|+1}} || {{tc|blue|+2}} || 0 || 0 || 0 || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}}&lt;br /&gt;
|-&lt;br /&gt;
! Sanctioned || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−1}} || 0 || {{tc|blue|+1}} || 0 || {{tc|blue|+2}} || 0 || 0 || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−1}}&lt;br /&gt;
|-&lt;br /&gt;
! Misguided || {{tc|red|−1}} || {{tc|red|−1}} || 0 || 0 || 0 || 0 || 0 || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || 0 || {{tc|red|−1}} || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Shun || {{tc|red|−1}} || {{tc|red|−1}} || 0 || 0 || 0 || 0 || 0 || {{tc|blue|+1}} || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || 0 || {{tc|red|−1}} || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Appalling || {{tc|red|−5}} || {{tc|red|−5}} || {{tc|red|−3}} || {{tc|red|−2}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Reprimand || {{tc|red|−5}} || {{tc|red|−5}} || {{tc|red|−3}} || {{tc|red|−2}} || {{tc|red|−1}} || {{tc|red|−1}} || {{tc|red|−2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Serious || {{tc|red|−10}} || {{tc|red|−10}} || {{tc|red|−7}} || {{tc|red|−3}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−3}} || 0 || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Exile || {{tc|red|−10}} || {{tc|red|−10}} || {{tc|red|−7}} || {{tc|red|−3}} || {{tc|red|−2}} || {{tc|red|−2}} || {{tc|red|−3}} || 0 || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || {{tc|blue|+1}} || {{tc|blue|+2}} || {{tc|blue|+1}} || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Capital || {{tc|red|−15}} || {{tc|red|−15}} || {{tc|red|−10}} || {{tc|red|−5}} || {{tc|red|−3}} || {{tc|red|−3}} || {{tc|red|−5}} || 0 || 0 || {{tc|blue|+1}} || 0 || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+2}} || {{tc|blue|+1}}&lt;br /&gt;
|-&lt;br /&gt;
! Unthinkable || {{tc|red|−15}} || {{tc|red|−15}} || {{tc|red|−10}} || {{tc|red|−5}} || {{tc|red|−3}} || {{tc|red|−3}} || {{tc|red|−5}} || 0 || {{tc|blue|+1}} || {{tc|blue|+1}} || 0 || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+1}} || {{tc|blue|+2}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
All above info was collected and interpreted from the data given by Toady himself at [http://www.bay12forums.com/smf/index.php?topic=22151.msg239689] and confirmed against a disassembly.&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Ethic&amp;diff=315725</id>
		<title>v0.31:Ethic</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Ethic&amp;diff=315725"/>
		<updated>2026-04-04T00:23:55Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:03, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
== List of acceptable ethics tags==&lt;br /&gt;
&lt;br /&gt;
Ethics tags are used in the entity_default raw file to determine how races feel about various issues. Relationships between civs are based on their ethics value numbers in relation to each other; Some yield favourable positive numbers or unfavourable negative numbers that result in ethic/civ conflict. Civs with UNTHINKABLE in a specific ethic will happily go to war with a different civ that has ACCEPTABLE in that same ethic type. &lt;br /&gt;
&lt;br /&gt;
Example usage: [ETHIC:ASSAULT:PUNISH_SERIOUS]&lt;br /&gt;
&lt;br /&gt;
In un-modded DF, this corresponds to wars over eating sapients and elves declaring war on everybody for harming plants and hunting/displaying trophies.&lt;br /&gt;
&lt;br /&gt;
== Ethics types ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
!Extra Information&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|ASSAULT}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|EAT_SAPIENT_KILL}}&lt;br /&gt;
| This determines if the race will sometimes devour dead enemy combatants.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|EAT_SAPIENT_OTHER}}&lt;br /&gt;
| This also determines whatever or not a race is willing to butcher other sapients. &lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ENEMY}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_ENTITY_MEMBER}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_NEUTRAL}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|KILL_PLANT}}&lt;br /&gt;
| This determines a race's position towards wood as well. Setting this ethic's response to MISGUIDED, SHUN, APPALLING, PUNISH_*, or UNTHINKABLE (see below) prohibits the entity from using [[wagon]]s in trade.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|LYING}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_ANIMAL}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_SAME_RACE}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MAKE_TROPHY_SAPIENT}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|OATH_BREAKING}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|SLAVERY}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|THEFT}}&lt;br /&gt;
| This determines whether the race will try to steal goods.&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_AS_EXAMPLE}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_FOR_FUN}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TORTURE_FOR_INFORMATION}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TREASON}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|TRESPASSING}}&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|VANDALISM}}&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ethics values==&lt;br /&gt;
In order of acceptability:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|NOT_APPLICABLE}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|ACCEPTABLE}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|PERSONAL_MATTER}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|JUSTIFIED_IF_NO_REPERCUSSIONS}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|JUSTIFIED_IF_GOOD_REASON}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|JUSTIFIED_IF_EXTREME_REASON}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|JUSTIFIED_IF_SELF_DEFENSE}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|ONLY_IF_SANCTIONED}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|MISGUIDED}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|SHUN}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|APPALLING}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|PUNISH_REPRIMAND}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|PUNISH_SERIOUS}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|PUNISH_EXILE}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|PUNISH_CAPITAL}}&lt;br /&gt;
|-&lt;br /&gt;
|{{text anchor|UNTHINKABLE}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Ethics value numbers in relation to each other==&lt;br /&gt;
&lt;br /&gt;
Note: These were given by Toady himself [http://www.bay12forums.com/smf/index.php?topic=22151.msg239689]. Anything above listed value indicator is counted for same value difference.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
!Token&lt;br /&gt;
|-&lt;br /&gt;
|JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
|&amp;lt;pre&amp;gt;JUSTIFIED_IF_GOOD_REASON +2&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON +1&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
|&amp;lt;pre&amp;gt;JUSTIFIED_IF_GOOD_REASON +1&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON +2&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
|&amp;lt;pre&amp;gt;JUSTIFIED_IF_EXTREME_REASON +1&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE +2&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
   -1&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|ONLY_IF_SANCTIONED&lt;br /&gt;
|&amp;lt;pre&amp;gt;ONLY_IF_SANCTIONED +2&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON +1&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
   -1&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|MISGUIDED&lt;br /&gt;
|&amp;lt;pre&amp;gt;MISGUIDED +2&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   +1&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|SHUN&lt;br /&gt;
|&amp;lt;pre&amp;gt;SHUN +2&lt;br /&gt;
MISGUIDED&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   +1&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|APPALLING&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -5&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS -3&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
   -2&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -1&lt;br /&gt;
SHUN&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
MISGUIDED&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   +1&lt;br /&gt;
APPALLING +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|PUNISH_REPRIMAND&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -5&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS -3&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
   -2&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -1&lt;br /&gt;
SHUN&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
APPALLING&lt;br /&gt;
MISGUIDED&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   +1&lt;br /&gt;
PUNISH_REPRIMAND +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|PUNISH_SERIOUS&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
      -10&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
      -7&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
      -3&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -2&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
   1&lt;br /&gt;
PUNISH_SERIOUS +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|PUNISH_EXILE&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -10&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
   -7&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
   -3&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -2&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
   +1&lt;br /&gt;
PUNISH_EXILE +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|PUNISH_CAPITAL&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -15&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
   -10&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
   -5&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -3&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
   +1&lt;br /&gt;
PUNISH_CAPITAL +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|UNTHINKABLE&lt;br /&gt;
|&amp;lt;pre&amp;gt;PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   -15&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
   -10&lt;br /&gt;
JUSTIFIED_IF_GOOD_REASON&lt;br /&gt;
ONLY_IF_SANCTIONED&lt;br /&gt;
   -5&lt;br /&gt;
JUSTIFIED_IF_EXTREME_REASON&lt;br /&gt;
JUSTIFIED_IF_SELF_DEFENSE&lt;br /&gt;
   -3&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_SERIOUS&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
   +1&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   +2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|JUSTIFIED_IF_NO_REPERCUSSIONS&amp;lt;br&amp;gt;PERSONAL_MATTER&amp;lt;br&amp;gt;ACCEPTABLE&lt;br /&gt;
|&amp;lt;pre&amp;gt;MISGUIDED -1&lt;br /&gt;
SHUN&lt;br /&gt;
APPALLING&lt;br /&gt;
PUNISH_REPRIMAND&lt;br /&gt;
UNTHINKABLE&lt;br /&gt;
   -2&lt;br /&gt;
PUNISH_SERIOUS -3&lt;br /&gt;
PUNISH_EXILE&lt;br /&gt;
PUNISH_CAPITAL&lt;br /&gt;
   -5&lt;br /&gt;
JUSTIFIED_IF_NO_REPERCUSSIONS&lt;br /&gt;
PERSONAL_MATTER&lt;br /&gt;
ACCEPTABLE&lt;br /&gt;
   +1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Entity_token&amp;diff=315724</id>
		<title>v0.31:Entity token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Entity_token&amp;diff=315724"/>
		<updated>2026-04-04T00:22:23Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:03, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
These tokens define entities, or civilizations, in entity_*.txt files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gameplay ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ADVENTURE_TIER}}&lt;br /&gt;
| order&lt;br /&gt;
| Allows adventure mode.  Dwarves, Elves, and Humans take up tier 3, 2, and 1 respectively.  It seems that the best way to use this is to put your entity in the same order as the other tiers. The tiers are in descending order.  So you should put a new adventure entity above the Dwarves.  Not at the end of the file. &lt;br /&gt;
[ADVENTURE_TIER:4]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDIV_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows the race to be played as an &amp;quot;outsider&amp;quot; in adventure mode. Not having this specified in one of the entities will cause the Adventure mode option to disappear.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CIV_CONTROLLABLE}}&lt;br /&gt;
| &lt;br /&gt;
| Allows fortress mode. If multiple entities have the CIV_CONTROLLABLE token, than in embark mode the specific civs can be chosen by + or - on the civ list screen (by pressing tab), though it will not state what entity the civs belong to. To check which one, tab to the neighbors screen: the entity's race will be at the top. At least one civilization must have this token.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CREATURE}}&lt;br /&gt;
| creature&lt;br /&gt;
|The type of creature that will inhabit the civilization. Multiple entries will be chosen from at random for each civilization.&lt;br /&gt;
[CREATURE:DWARF]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Placement ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BIOME_SUPPORT}}&lt;br /&gt;
|&lt;br /&gt;
* [[Biome token|biome]]&lt;br /&gt;
* frequency&lt;br /&gt;
| Frequency goes from 0 to 10.  Higher numbers make the entity more likely to settle there.&lt;br /&gt;
[BIOME_SUPPORT:ANY_GRASSLAND:4]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_BIOME}}&lt;br /&gt;
| [[Biome token|biome]]&lt;br /&gt;
| Birth of the civilization can be performed on this biome.&lt;br /&gt;
[START_BIOME:MOUNTAIN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEFAULT_SITE_TYPE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Valid site types are DARK_FORTRESS (π), CAVE (•), CAVE_DETAILED (Ω), TREE_CITY (î), and CITY (#). Also recognizes PLAYER_FORTRESS and FORTRESS, though these likely will not work. Defaults to CITY. As of version 0.31.13, dark fortresses, detailed caves, and tree cities can no longer be visited in Adventurer mode.&lt;br /&gt;
[DEFAULT_SITE_TYPE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LIKES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Most residents will try to move to this site type, unless already at one.&lt;br /&gt;
[LIKES_SITE:CAVE_DETAILED]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOLERATES_SITE}}&lt;br /&gt;
| site type&lt;br /&gt;
| Some residents will try to move to this site type, unless already at one.&lt;br /&gt;
[TOLERATES_SITE:CITY]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORLD_CONSTRUCTION}}&lt;br /&gt;
| construction&lt;br /&gt;
| Controls which constructions the civ will build on the world map. Valid constructions are ROAD, TUNNEL, BRIDGE, and WALL.&lt;br /&gt;
[WORLD_CONSTRUCTION:BRIDGE]&lt;br /&gt;
[WORLD_CONSTRUCTION:ROAD]&lt;br /&gt;
[WORLD_CONSTRUCTION:TUNNEL]&lt;br /&gt;
[WORLD_CONSTRUCTION:WALL]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Population ==&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|START_GROUP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Number of breeding couples to start with per entity. Helps give a boost to weaker civs by giving them more cannon fodder at the beginning of their histories, and better genetic diversity (if that's modeled for that particular creature). Note that single-gender (eg. [FEMALE], [MALE], [NO_GENDER]) creatures will not have breeding couples, so a civilization with only these creatures will not be very likely to survive. As of 40d, although many had problems getting such civilizations to survive, there are those who have demonstrably and repeatedly done so. Presumably if the civ-starting code can't place breeding couples, it doesn't start the civ. However, because the children never grow up, the civ is limited to its original individuals).&lt;br /&gt;
[START_GROUP_NUMBER:10]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_POP_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max population '''per entity'''. Multiply this by max starting civ to get the total population of the species. Defaults to 500.&lt;br /&gt;
[MAX_POP_NUMBER:500]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_SITE_POP_NUMBER}}&lt;br /&gt;
| number &lt;br /&gt;
| Max population per individual site. Generic site types will not hold any more than this number of entities - must be at least 80 for towns to be generated.  In general, lower pop numbers mean more sprawl, and higher numbers mean more needing to crawl when entering town stores, which are not affected by this cap. Defaults to 50.&lt;br /&gt;
[MAX_SITE_POP_NUMBER:200]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAX_STARTING_CIV_NUMBER}}&lt;br /&gt;
| number&lt;br /&gt;
| Max number of entities to spawn at world generation. Worldgen picks civs in some sequential order from the raws.  Once it reaches the end of the list, it will begin again at the top.  Setting this number lower than 100, like say, 7, will cause worldgen to skip over this civ for placement if there are already 7 civs of this type.  Note that if all civs are set to lower numbers, and the number of starting civs is set higher than the maximum possible amount of civs in total, it will gracefully stop placing civs and get down to the history aspect of worldgen. Defaults to 3.&lt;br /&gt;
[MAX_STARTING_CIV_NUMBER:3]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Flavor ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_BUILDING}}&lt;br /&gt;
| building name &lt;br /&gt;
| The named, custom building can be built by a civilization in Fortress Mode.&lt;br /&gt;
[PERMITTED_BUILDING:SOAP_MAKER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_JOB}}&lt;br /&gt;
| [[Unit type token|profession]]&lt;br /&gt;
| Allows this job type to be selected. This applies to worldgen creatures, in the embark screen, and in play.&lt;br /&gt;
[PERMITTED_JOB:MINER]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PERMITTED_REACTION}}&lt;br /&gt;
| reaction name &lt;br /&gt;
| Allows this reaction to be used by a civilization. It is used primarily in Fortress Mode. When creating custom reactions, this token MUST be present or the player will not be able to use the reaction in Fortress Mode.&lt;br /&gt;
[PERMITTED_REACTION:TAN_A_HIDE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY_BY_YEAR}}&lt;br /&gt;
| &lt;br /&gt;
| Causes the civ's currency to be numbered with the year it was minted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CURRENCY}}&lt;br /&gt;
|&lt;br /&gt;
* inorganic material&lt;br /&gt;
* value&lt;br /&gt;
| What kind of metals the civ uses for coin minting as well as the value of the coin. Only effective in Adventurer mode due to lack of [[dwarven economy]].&lt;br /&gt;
[CURRENCY:SILVER:5]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_FACET_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| OWN_RACE, FANCIFUL, EVIL, GOOD&lt;br /&gt;
Number goes from 0 to 25600 where 256 is the default.&lt;br /&gt;
[ART_FACET_MODIFIER:OWN_RACE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ART_IMAGE_ELEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| CREATURE, PLANT, TREE, SHAPE, ITEM&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of each image occurring in that entity's artwork, such as engravings and on artifacts, for default (non-historical) artwork.&lt;br /&gt;
&lt;br /&gt;
[ART_IMAGE_ELEMENT_MODIFIER:TREE:512]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_IMPROVEMENT_MODIFIER}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
| ART_IMAGE, COVERED or GLAZED, RINGS_HANGING, BANDS, SPIKES, ITEMSPECIFIC, THREAD, CLOTH, SEWN_IMAGE&amp;lt;br /&amp;gt;0-25600&lt;br /&gt;
&lt;br /&gt;
Determines the chance of the entity using that particular artwork method, such as &amp;quot;encircled with bands&amp;quot; or &amp;quot;menaces with spikes&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:0]&lt;br /&gt;
&lt;br /&gt;
This also seems to change the amount that the entity will pay for items that are improved in the ways in their tokens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRANSLATION}}&lt;br /&gt;
| language&lt;br /&gt;
| What language raw the entity uses.&lt;br /&gt;
* If an entity lacks this tag, translations appear to be drawn randomly from all translation files{{verify}}.&lt;br /&gt;
[TRANSLATION:DWARF]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* noun&lt;br /&gt;
* symbol&lt;br /&gt;
| ALL, REMAINING, CIV, SITE, VESSEL, RELIGION, MILITARY_UNIT, TEMPLE, WAR, BATTLE, SIEGE, ROAD, BRIDGE, TUNNEL, WALL&lt;br /&gt;
Causes the entity to more often use these symbols in the particular SYM set.&lt;br /&gt;
[SELECT_SYMBOL:ALL:PEACE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBSELECT_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* noun&lt;br /&gt;
* symbol&lt;br /&gt;
| Unknown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CULL_SYMBOL}}&lt;br /&gt;
|&lt;br /&gt;
* noun&lt;br /&gt;
* symbol&lt;br /&gt;
| Causes the entity to not use the words in these SYM sets.&lt;br /&gt;
[CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FRIENDLY_COLOR}}&lt;br /&gt;
| see [[color]]&lt;br /&gt;
|&lt;br /&gt;
The color of this entity's civilization settlements in the world gen and embark screens. Defaults to 7:0:1.&lt;br /&gt;
[FRIENDLY_COLOR:1:0:1]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Religion ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| type&lt;br /&gt;
|&lt;br /&gt;
* REGIONAL_FORCE: The creatures will worship a single force associated with their spheres. Currently hardcoded to only be associated with rivers and nature.&lt;br /&gt;
* PANTHEON: The creatures will worship a group of gods, each aligned with their spheres and other appropriate ones as well.&lt;br /&gt;
&lt;br /&gt;
[RELIGION:PANTHEON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION_SPHERE}}&lt;br /&gt;
| sphere&lt;br /&gt;
| Can be any available [[Sphere]]. Multiple entries are possible. Choosing a religious sphere will automatically make its opposing sphere not possible for the species to have: adding WATER, for example, means the species will never get FIRE as a religious sphere.&lt;br /&gt;
&lt;br /&gt;
[RELIGION_SPHERE:FORTRESSES]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPHERE_ALIGNMENT}}&lt;br /&gt;
|&lt;br /&gt;
* type&lt;br /&gt;
* number&lt;br /&gt;
|&lt;br /&gt;
This token forces an entity to favor or disfavor particular religious spheres, causing them to acquire those spheres more often when generating a pantheon.&lt;br /&gt;
&lt;br /&gt;
[SPHERE_ALIGNMENT:TREES:512]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Leadership ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|POSITION}}&lt;br /&gt;
| string&lt;br /&gt;
| Defines a leader/noble position for a civilization. These replace previous tags such as [MAYOR] and [CAN_HAVE_SITE_LEADER] and so on. To define a position further, see [[Position token]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER_TRIGGER}}&lt;br /&gt;
|&lt;br /&gt;
* land holder number&lt;br /&gt;
* population&lt;br /&gt;
* wealth exported&lt;br /&gt;
* created wealth&lt;br /&gt;
| Defines when a particular land-holding noble (baron, count, duke in vanilla) will arrive at a fortress.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Behavior ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ETHIC}}&lt;br /&gt;
| &lt;br /&gt;
*[[ethic]]&lt;br /&gt;
*response&lt;br /&gt;
| Sets the civ's view of certain behaviors, from capital punishment to completely acceptable. This also causes the civ to look upon opposing ethics with disfavor, if their reaction to it is opposing, and when at extremes (one ACCEPTABLE, another civ UNTHINKABLE for example) they will often go to war over it.&lt;br /&gt;
Ex: [ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WILL_ACCEPT_TRIBUTE}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civ's traders accept offered goods.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WANDERER}}, {{text anchor|BEAST_HUNTER}}, {{text anchor|SCOUT}}&lt;br /&gt;
| &lt;br /&gt;
| The civ will send out these sorts of adventurers in worldgen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ABUSE_BODIES}}&lt;br /&gt;
| &lt;br /&gt;
| The civilization will mutilate bodies when they are the victors in history-gen warfare, such as hanging bodies from trees, putting them on spikes, and so forth. Adventurers killed in Adventurer mode will sometimes be impaled on spikes wherever they died, with or without this token, and regardless of whether they actually antagonized the townspeople.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACTIVE_SEASON}}&lt;br /&gt;
| season&lt;br /&gt;
| the season when the civ is most active: when they will trade, interact with you via diplomats, and/or invade you. Civs can have multiple season entries. Note: If multiple caravans arrive at the same time, you are able to select which civ to trade with at the depot menu. ACTIVE_SEASON tags may be changed for a currently active fort.&lt;br /&gt;
[ACTIVE_SEASON:AUTUMN]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMBUSHER}}&lt;br /&gt;
| &lt;br /&gt;
| When invading sneaks around and shoots at straggling members of your society. They will spawn on the edge of the map and will only be visible when one of their party are spotted; this can be quite dangerous to undefended trade depots.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AT_PEACE_WITH_WILDLIFE}}&lt;br /&gt;
|&lt;br /&gt;
| Will not attack wildlife, and will not be attacked by them, even if you have them in your party. This can be somewhat disconcerting when attacked by bears in the forest and your elven ally sits back and does nothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BABYSNATCHER}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal babies. Also sends ambush parties to harass your civilization. Without this tag, enemy civs will only siege, and will siege as early as they would otherwise babysnatch. This can happen as early as the first year of the fort! In addition, babysnatcher civs will snatch children during worldgen, allowing them to become part of the civ if they do not escape.&lt;br /&gt;
&lt;br /&gt;
Note: If the playable civ in Fortress Mode has this tag (ie. you add BABYSNATCHER to the Dwarf entity) then the roles will be reversed and elves and humans will siege and ambush and goblins will trade with you.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILDS_OUTDOOR_FORTIFICATIONS}}&lt;br /&gt;
| &lt;br /&gt;
| Makes the civilization build castles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BANDITRY}}&lt;br /&gt;
| percentage&lt;br /&gt;
| Sets a percentage of the entity population to be used as bandits.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIPLOMAT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Intended to cause visiting diplomats to be accompanied by a pair of soldiers. Does not work due to a long-standing bug.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INVADERS_IGNORE_NEUTRALS}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ITEM_THIEF}}&lt;br /&gt;
|&lt;br /&gt;
| Sends thieves to steal items. This will also occur in history generation, and thieves will have the &amp;quot;thief&amp;quot; profession. Items stolen in history gen will be scattered around that creature's home.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LOCAL_BANDITRY}}&lt;br /&gt;
|&lt;br /&gt;
| Causes the entity to send out patrols that can ambush adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_BODYGUARDS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes merchants to be accompanied by soldiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MERCHANT_NOBILITY}}&lt;br /&gt;
|&lt;br /&gt;
| No known effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POPULATION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once population at site has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. 0 means that no population requirement is needed for interaction, but only appears to apply to diplomacy and trade and is ignored by sieges. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. Progress triggers may be changed, added, or deleted for a currently active fort. Note: hostile civs require that the population trigger be fulfilled as well as at least one other trigger before attacking.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PRODUCTION}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once created wealth has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will come to site once exported goods has reached that level. If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. Progress triggers may be changed, added, or deleted for a currently active fort.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_POP_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
If multiple progress triggers exist for a civ, it will come when any one of them is fulfilled instead of waiting for all of them to be reached. 0 corresponds to no population requirement capable of causing interaction; i.e. population changes do not cause sieges to come. 1 corresponds to 20 dwarves, 2 to 50 dwarves, 3 to 80, 4 to 110, and 5 to 140. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_PROD_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PROGRESS_TRIGGER_TRADE_SIEGE}}&lt;br /&gt;
| level&lt;br /&gt;
| 0 to 5, civ will begin to send sieges against the player civ when this level is reached if it is hostile.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGER}}&lt;br /&gt;
|&lt;br /&gt;
| Will start campfires and wait around at the edge of your map for a month or two before rushing in to attack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SKULKING}}&lt;br /&gt;
|&lt;br /&gt;
| This makes the severity of attacks depend on the extent of item/baby thievery rather than the passage of time.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TREE_CAP_DIPLOMACY}}&lt;br /&gt;
|&lt;br /&gt;
| Makes the entity angry if you cut down too many trees. They will send a warning first.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAYER_LINKED}}&lt;br /&gt;
| &lt;br /&gt;
| Defines if a civilization is a hidden subterranean entity, such as batman civilizations.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UNDEAD_CANDIDATE}}&lt;br /&gt;
|&lt;br /&gt;
| Unknown.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Items and Animals Used ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|AMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[AMMO:ITEM_AMMO_BOLTS]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
|Rarity is optional.  Permitted rarity values are RARE, UNCOMMON, FORCED (anything else is treated as COMMON).&lt;br /&gt;
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIGGER}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[DIGGER:ITEM_WEAPON_PICK]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GLOVES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional.  Permitted rarity values are RARE, UNCOMMON, FORCED (anything else is treated as COMMON).&lt;br /&gt;
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HELM}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional.  Permitted rarity values are RARE, UNCOMMON, FORCED (anything else is treated as COMMON).&lt;br /&gt;
[HELM:ITEM_HELM_HELM:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INSTRUMENT}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PANTS}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional.  Permitted rarity values are RARE, UNCOMMON, FORCED (anything else is treated as COMMON).&lt;br /&gt;
[PANTS:ITEM_PANTS_PANTS:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHIELD}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[SHIELD:ITEM_SHIELD_SHIELD]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SHOES}}&lt;br /&gt;
|&lt;br /&gt;
* item token&lt;br /&gt;
* rarity&lt;br /&gt;
| Rarity is optional.  Permitted rarity values are RARE, UNCOMMON, FORCED (anything else is treated as COMMON).&lt;br /&gt;
[SHOES:ITEM_SHOES_SHOES:COMMON]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SIEGEAMMO}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOOL}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[TOOL:ITEM_TOOL_NEST_BOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TOY}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[TOY:ITEM_TOY_PUZZLEBOX]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRAPCOMP}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WEAPON}}&lt;br /&gt;
| item token&lt;br /&gt;
| &lt;br /&gt;
[WEAPON:ITEM_WEAPON_AXE_BATTLE]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANIMAL_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_ANY_PET_RACE}}&lt;br /&gt;
| &lt;br /&gt;
| Assuming it passes other checks, any creature in their list of usables (from common domestic if they have that or from the surrounding 7x7 or so of squares and map features in those squares) which has PET or PET_EXOTIC will be available as a pet (next time, it'll let them use mounts/pullers/pack animals of any kind as well, but I'm not sure this matters in the stock raws).  This notion of the initial usable creature list, which then gets pared down or otherwise considered, applies below as well.  All common domestic and equipment creatures are also added to the initial list.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_CAVE_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| If they don't have it, creatures with exclusively subterranean biomes are skipped.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Don't have it -&amp;gt; EVIL creatures skipped.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| As EVIL creatures for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_EVIL_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| As EVIL creatures for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_ANIMALS}}&lt;br /&gt;
|&lt;br /&gt;
| Don't have it -&amp;gt; GOOD creatures skipped.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_PLANTS}}&lt;br /&gt;
|&lt;br /&gt;
| As GOOD creatures for all uses of plants.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_GOOD_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| As GOOD creatures for all uses of wood.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|USE_MISC_PROCESSED_WOOD_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| If wood is available locally, and the relevant professions are permitted, controls availability of lye, charcoal, potash and pearlash.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_MOUNT}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has MOUNT and the relevant COMMON_DOMESTIC_x tag (or COMMON_DOMESTIC for pets), it will be allowed if it passes the other checks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PACK}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has PACK_ANIMAL and the relevant COMMON_DOMESTIC_x tag (or COMMON_DOMESTIC for pets), it will be allowed if it passes the other checks. Also seems to be required currently for trading to occur.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PET}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has PET and the relevant COMMON_DOMESTIC_x tag (or COMMON_DOMESTIC for pets), it will be allowed if it passes the other checks. Also seems to be required to have any animals at all, including those used in trading.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMON_DOMESTIC_PULL}}&lt;br /&gt;
|&lt;br /&gt;
| If a creature has WAGON_PULLER and the relevant COMMON_DOMESTIC_x tag (or COMMON_DOMESTIC for pets), it will be allowed if it passes the other checks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RIVER_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow civ to use river products in the goods it has available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OCEAN_PRODUCTS}}&lt;br /&gt;
|&lt;br /&gt;
| Allow civ to use ocean products (including [[amber]] and [[coral]]) in the goods it has available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_FARMING}}&lt;br /&gt;
| &lt;br /&gt;
| Allow civ to use underground plant products in the goods it has available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_FARMING}}&lt;br /&gt;
|&lt;br /&gt;
| Allow civ to use outdoor plant products in the goods it has available for trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Civ members will attempt to wear clothing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUBTERRANEAN_CLOTHING}}&lt;br /&gt;
|&lt;br /&gt;
| Will wear things made of spider silk and other subterranean materials. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_IMPROVEMENTS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to equipment based on the level of the generated unit.  Also improves item quality.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|IMPROVED_BOWS}}&lt;br /&gt;
|&lt;br /&gt;
| Adds decorations to weapons generated for bowman and master bowman.  An elf hack.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|METAL_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Needs testing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|STONE_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring stones in trade. Also seems to enable the use of metals smelted from ore, such as iron or copper.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_WEAPONS}}&lt;br /&gt;
|&lt;br /&gt;
| Causes members to be able to use wooden weapons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WOOD_ARMOR}}&lt;br /&gt;
|&lt;br /&gt;
| Causes members to be able to use wooden armor.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GEM_PREF}}&lt;br /&gt;
|&lt;br /&gt;
| Enables creatures of this entity to bring gems in trade.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|INDOOR_WOOD}}&lt;br /&gt;
| &lt;br /&gt;
| Allow civ to trade subterranean wood types, such as tower-cap and fungiwood logs.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|OUTDOOR_WOOD}}&lt;br /&gt;
|&lt;br /&gt;
| Allow civ to use outdoor wood types, such as mangrove and oak.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tissue Styling Related Tokens ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TISSUE_STYLE}}&lt;br /&gt;
|&lt;br /&gt;
*tissue???&lt;br /&gt;
|  Presumably selects tissue to set cultural style parameters for. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_MAINTAIN_LENGTH}}&lt;br /&gt;
|&lt;br /&gt;
*length?&lt;br /&gt;
*???&lt;br /&gt;
| Presumably sets culturally preferred tissue length for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TS_PREFERRED_SHAPING}}&lt;br /&gt;
| ???&lt;br /&gt;
| Presumably sets culturally preferred tissue shapings for selected tissue. Needs testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Building_token&amp;diff=315723</id>
		<title>v0.31:Building token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Building_token&amp;diff=315723"/>
		<updated>2026-04-04T00:16:02Z</updated>

		<summary type="html">&lt;p&gt;Quietust: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|22:04, 2 March 2011 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
'''Building tokens''' control the functionality of custom buildings.&lt;br /&gt;
&lt;br /&gt;
All custom buildings are defined as objects of type BUILDING_WORKSHOP or BUILDING_FURNACE; workshops show up in the {{K|b}}-{{K|w}} menu, while furnaces show up in the {{K|b}}-{{K|e}} menu.&lt;br /&gt;
&lt;br /&gt;
You also must add any new custom buildings to the [[Entity token|civilization]] that you want to use it.&lt;br /&gt;
&lt;br /&gt;
Additionally, furnaces must be designed by an [[architect]] before being constructed (and will gain [[quality]] accordingly), though they will always use the labor(s) specified in the building definition rather than ones based on the materials being used.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#ddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| name&lt;br /&gt;
| The name of the custom building.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_COLOR}}&lt;br /&gt;
| [[Color#Modding_color|fg:bg:bright]]&lt;br /&gt;
| The color of the building's name when {{K|q}}uerying it. Seemingly ignored for furnaces, which are hardcoded to 4:0:1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DIM}}&lt;br /&gt;
| width:height&lt;br /&gt;
| The size of the custom building, in number of tiles. Defaults to 3:3. Maximum possible size is 31x31.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|WORK_LOCATION}}&lt;br /&gt;
| x:y&lt;br /&gt;
| The tile (1:1 for upper-left) in which dwarves will stand when they are performing tasks. Defaults to 3:3 (bottom-right).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_LABOR}}&lt;br /&gt;
| [[labor token]]&lt;br /&gt;
| The labor required to construct the custom building. If multiple BUILD_LABOR tokens are specified, then any of the indicated labors can be used to construct the building; if none are specified, then no labors are required.&amp;lt;br /&amp;gt;For furnaces, this labor does not come into play until after the workshop has been designed by an [[architect]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_KEY}}&lt;br /&gt;
| key token&lt;br /&gt;
| The shortcut key used in the Build menu for selecting the custom building.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BLOCK}}&lt;br /&gt;
|&lt;br /&gt;
* row&lt;br /&gt;
* tiles...&lt;br /&gt;
| Specifies whether or not each workshop tile blocks movement. The first parameter is the row (1 = top), and each subsequent parameter is a 0 (nonblocking) or 1 (blocking) for each column, left to right.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TILE}}&lt;br /&gt;
|&lt;br /&gt;
* stage&lt;br /&gt;
* row&lt;br /&gt;
* tiles...&lt;br /&gt;
| Specifies the characters used to represent the custom building. The first parameter is the building stage, varying from 0 (awaiting construction) to N (completed) where N is between 1 and 3, the 2nd parameter is the row number, and each subsequent parameter is a character number (or literal character enclosed in 'quotes').&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
|&lt;br /&gt;
* stage&lt;br /&gt;
* row&lt;br /&gt;
* colors...&lt;br /&gt;
| Specifies the colors in which the custom building's tiles will be displayed. The first parameter is the building stage, the 2nd parameter is the row number, and subsequent parameters are either sets of 3 numbers (foreground:background:brightness) or the token &amp;quot;MAT&amp;quot; to use the color of the primary building material. MAT may not be available on BUILDING_FURNACEs.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_ITEM}}&lt;br /&gt;
|&lt;br /&gt;
* quantity&lt;br /&gt;
* [[item token]]&lt;br /&gt;
* [[material token]]&lt;br /&gt;
| Specifies one of the objects necessary to construct the custom building. Each BUILD_ITEM can be followed by zero or more modifiers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NEEDS_MAGMA}}&lt;br /&gt;
|&lt;br /&gt;
| Specifies that one of the building's tiles (other than the WORK_LOCATION) must be hanging over [[magma]] in order for the building to function. Buildings with this token also ignore the [FUEL] token in their reactions.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Item Modifiers==&lt;br /&gt;
Building items have many of the same modifiers as [[Reactions#Modifiers|reagents]] in custom reactions.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|REACTION_CLASS}}:X]&lt;br /&gt;
| Item's material has a [REACTION_CLASS] token with the appropriate ID.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|HAS_MATERIAL_REACTION_PRODUCT}}:X]&lt;br /&gt;
| Item's material has a [MATERIAL_REACTION_PRODUCT] token with the appropriate ID.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|UNROTTEN}}]&lt;br /&gt;
| Item must not be rotten, mainly for organic materials.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|CONTAINS_LYE}}]&lt;br /&gt;
| Item must be a BARREL or TOOL which contains at least one item of type LIQUID_MISC made of LYE.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|POTASHABLE}}]&lt;br /&gt;
| Alias for [CONTAINS_LYE].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_WEB}}]&lt;br /&gt;
| Item must be collected (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|WEB_ONLY}}]&lt;br /&gt;
| Item must be undisturbed (to distinguish silk thread from webs). Only makes sense for items of type THREAD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|EMPTY}}]&lt;br /&gt;
| If the item is a container, it must be empty.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_CONTAIN_BARREL_ITEM}}]&lt;br /&gt;
| If the item is a container, it must not contain [[lye]] or [[milk]]. Not necessary if specifying [EMPTY].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|BAG}}]&lt;br /&gt;
| Item must be a bag - that is, a BOX made of plant fiber, silk, yarn, or leather.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|GLASS_MATERIAL}}] &lt;br /&gt;
| Item material must have the [IS_GLASS] token. All 3 types of [[glass]] have this token hardcoded.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|BUILDMAT}}]&lt;br /&gt;
| Item must be a general [[building material]] - BAR, BLOCKS, BOULDER, or WOOD.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|FIRE_BUILD_SAFE}}]&lt;br /&gt;
| Item material must be [[fire-safe]]. Only works with building materials (see above) and anvils - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|MAGMA_BUILD_SAFE}}]&lt;br /&gt;
| Item material must be [[magma-safe]]. Only works with building materials (see above) and anvils - all others are considered unsafe.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|CAN_USE_ARTIFACT}}]&lt;br /&gt;
| Item can be an Artifact.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|WORTHLESS_STONE_ONLY}}]&lt;br /&gt;
| Item material must be non-[[economic]].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_PLANT_MATERIAL}}] &lt;br /&gt;
| Item material must be subordinate to a PLANT object.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SILK_MATERIAL}}] &lt;br /&gt;
| Item material must have the [SILK] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_YARN_MATERIAL}}] &lt;br /&gt;
| Item material must have the [YARN] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SOAP_MATERIAL}}]&lt;br /&gt;
| Item material must have the [SOAP] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_LEATHER_MATERIAL}}]&lt;br /&gt;
| Item material must have the [LEATHER] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_BONE_MATERIAL}}]&lt;br /&gt;
| Item material must have the [BONE] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_STRAND_TISSUE}}]&lt;br /&gt;
| Item is made of a tissue having [TISSUE_SHAPE:STRANDS], intended for matching hair and wool. Must be used with [USE_BODY_COMPONENT].&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_SHELL_MATERIAL}}]&lt;br /&gt;
| Item material must have the [SHELL] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_TOOTH_MATERIAL}}]&lt;br /&gt;
| Item material must have the [TOOTH] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_HORN_MATERIAL}}]&lt;br /&gt;
| Item material must have the [HORN] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|ANY_PEARL_MATERIAL}}]&lt;br /&gt;
| Item material must have the [PEARL] token.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|USE_BODY_COMPONENT}}]&lt;br /&gt;
| Item must be a body part (CORPSE or CORPSEPIECE).&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NO_EDGE_ALLOWED}}]&lt;br /&gt;
| Item must not have an edge - excludes sharp stones (produced using knapping) and most types of weapon/ammo.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|NOT_ENGRAVED}}]&lt;br /&gt;
| Item has not been engraved (excludes memorial slabs).&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|METAL_ORE}}:X]&lt;br /&gt;
| Item material must be an ore of the specified metal.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|MIN_DIMENSION}}:X]&lt;br /&gt;
| Item's dimension must be at least this large. The item type must be BAR, POWDER_MISC, LIQUID_MISC, DRINK, THREAD, or CLOTH for this to work.&lt;br /&gt;
|-&lt;br /&gt;
| [{{text anchor|HAS_TOOL_USE}}:X]&lt;br /&gt;
| Item must be a [[tool]] with the specific TOOL_USE value. The item type must be TOOL:NONE for this to make any sense.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.34:Position_token&amp;diff=315716</id>
		<title>v0.34:Position token</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.34:Position_token&amp;diff=315716"/>
		<updated>2026-04-03T14:51:08Z</updated>

		<summary type="html">&lt;p&gt;Quietust: /* Responsibilities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|18:14, 28 April 2011 (UTC)}}{{av}}&lt;br /&gt;
These tokens define positions in entity_*.txt files. See [[Entity token]].&lt;br /&gt;
==Position Tokens==&lt;br /&gt;
These tokens belong in an entity definition. These tokens apply to a position (such as monarch) and should follow the [POSITION:POSITION_NAME] token.&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNT_EXEMPT}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder is not subjected to the economy. Less than relevant right now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} Token&lt;br /&gt;
| Only creatures with the specified class token can be appointed to this position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ALLOWED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts the position to only the defined caste. Only works with a caste of the entity's current race (If the entity had multiple CREATURE: tokens)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|APPOINTED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position can only be chosen to the task from the nobles screen, and is available only if there is an *argument* present. For example, the GENERAL is [APPOINTED_BY:MONARCH]. Contrast [ELECTED]. Being appointed by a MONARCH seems to handle a lot of worldgen stuff and interferes with fort mode titles.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BRAG_ON_KILL}}&lt;br /&gt;
| &lt;br /&gt;
| A creature that kills this position will be sure to talk about it a lot.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CHAT_WORTHY}}&lt;br /&gt;
| &lt;br /&gt;
| In adventure mode, when referencing locations an NPC may mention this position holder living there or having done some deed there.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLOR}}&lt;br /&gt;
| color&lt;br /&gt;
| Creatures of this position will have this color, instead of their profession color. e.g. [COLOR:5:0:1]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COMMANDER}}&lt;br /&gt;
| position:ALL&lt;br /&gt;
| This position will act as a commander of the specified position{{verify}}. E.g. GENERAL is [COMMANDER:LIEUTENANT:ALL]. Unknown if values other than ALL work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|CONQUERED_SITE}}&lt;br /&gt;
| &lt;br /&gt;
| This position is the puppet ruler left behind at a conquered site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DEMAND_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| How many [[demand]]s at one time the position can make of the population.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DETERMINES_COIN_DESIGN}}&lt;br /&gt;
| &lt;br /&gt;
| Minted [[coin]]s will have images that reflect the personality of this position holder.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DO_NOT_CULL}}&lt;br /&gt;
| &lt;br /&gt;
| The position won't be culled from Legends as &amp;quot;unimportant&amp;quot; during world generation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|DUTY_BOUND}}&lt;br /&gt;
| &lt;br /&gt;
| Members of this position will never agree to 'join' your character during adventure mode.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ELECTED}}&lt;br /&gt;
| &lt;br /&gt;
| The population will periodically select the most skill-eligible creature to fill this position. Contrast [APPOINTED_BY].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTION_SKILL}}&lt;br /&gt;
| weapon skill&lt;br /&gt;
| A mandatory subtag of [RESPONSIBILITY:EXECUTIONS]. Determines the weapon chosen by the executioner for his work.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXPORTED_IN_LEGENDS}}&lt;br /&gt;
| &lt;br /&gt;
| The various members who have filled this role will be listed in the civilisation's history.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|FLASHES}}&lt;br /&gt;
| &lt;br /&gt;
| The creature holding this position will visibly flash, like legendary citizens. Represents a properly noble station by default.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|GENDER}}&lt;br /&gt;
| male/female&lt;br /&gt;
| The position can only be held by specified gender.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|KILL_QUEST}}&lt;br /&gt;
| &lt;br /&gt;
| The position can assign quests to adventurers.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER}}&lt;br /&gt;
| importance tier (1-10)&lt;br /&gt;
| The position is a title bestowed by the King. The outpost liaison may offer to appoint a citizen to this position once the wealth requirements given in the LAND_HOLDER_TRIGGER in the entity definition has been met.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_NAME}}&lt;br /&gt;
| string&lt;br /&gt;
| The name the area takes on when under the control of a LAND_HOLDER. E.g. for the DUKE, [LAND_NAME:a duchy]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANDATE_MAX}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The maximum number of [[mandate]]s the position can make at once.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position cannot be assigned labours, and will generally just lounge around like nobles do. Currently does not actually work. {{bug|3721}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MENIAL_WORK_EXEMPTION_SPOUSE}}&lt;br /&gt;
| &lt;br /&gt;
| The spouse of the position holder doesn't have to work, either. Also doesn't work either. {{bug|3721}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_SCREEN_ONLY}}&lt;br /&gt;
|&lt;br /&gt;
| This position can not be appointed from the nobles screen. Intended for militia captains and other squad leaders to reduce clutter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| The name of the position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_MALE}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| If the creature holding the position is male, this is the position's name. E.g. for MONARCH, [NAME_MALE:king:kings]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NAME_FEMALE}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| If the creature holding the position is female, this is the position's name. E.g. for MONARCH, [NAME_FEMALE:queen:queens]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|NUMBER}}&lt;br /&gt;
| &lt;br /&gt;
* number/AS_NEEDED&lt;br /&gt;
| How many of the position there should be. If the [SITE] token exists, this is per site, otherwise this is per civilisation.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PRECEDENCE}}&lt;br /&gt;
| number (0-30000)&lt;br /&gt;
| How important the position is in society; a lower number is more important and displayed higher in the Nobles menu. For MONARCH it's 1, for MILITIA_CAPTAIN it's 200.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PUNISHMENT_EXEMPTION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will not be held accountable for his or her crimes. Does not appear to work. {{bug|4589}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|QUEST_GIVER}}&lt;br /&gt;
|&lt;br /&gt;
| The position holder can give quests in Adventurer mode. Functionality in 0.31.13 and later is uncertain.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CLASS}}&lt;br /&gt;
| {{token|CREATURE_CLASS|creature}} Token&lt;br /&gt;
| Creatures of the specified class cannot be appointed to this position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REJECTED_CREATURE}}&lt;br /&gt;
| CREATURE:CASTE&lt;br /&gt;
| Restricts position holders by CREATURE type.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REPLACED_BY}}&lt;br /&gt;
| position&lt;br /&gt;
| This position is absorbed by another down the line. For example, expedition leader is [REPLACED_BY:MAYOR].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BEDROOM}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a bedroom with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_BOXES}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many [[box]]es (i.e. chests or coffers).&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_CABINETS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many [[cabinet]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_DINING}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a dining room with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_OFFICE}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires an office with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_RACKS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many [[weapon rack]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_STANDS}}&lt;br /&gt;
| number (0-100)&lt;br /&gt;
| The position holder requires at least this many [[armor stand]]s.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRED_TOMB}}&lt;br /&gt;
| number (0-1000000)&lt;br /&gt;
| The position holder requires a tomb with at least this value.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|REQUIRES_POPULATION}}&lt;br /&gt;
| number&lt;br /&gt;
| The position requires the population to be at least this number before it becomes available or before the position holder will move in.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RESPONSIBILITY}}&lt;br /&gt;
| responsibility&lt;br /&gt;
| The position holder does a thing. See the table below for suitable arguments.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RULES_FROM_LOCATION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder is the main ruler of his site and tends to stay there. {{verify}} This token is also required for custom position to appear in fortresses and town keeps in adventure mode, like randomly generated lords/ladies.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SITE}}&lt;br /&gt;
| &lt;br /&gt;
| The civilisation will attempt to have this position separate for each site.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SLEEP_PRETENSION}}&lt;br /&gt;
| &lt;br /&gt;
| The position holder will get upset if someone with a higher PRECEDENCE holds quarters with a greater value than their own.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPECIAL_BURIAL}}&lt;br /&gt;
| &lt;br /&gt;
| The civilisation will inter the corpse of the position holder in a special grave, either in catacombs or in monuments. If that grave is disturbed, the position holder can return as a mummy. {{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| The name of the position holder's spouse.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_FEMALE}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| If the spouse of the creature holding the position is female, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SPOUSE_MALE}}&lt;br /&gt;
| singular:plural&lt;br /&gt;
| If the spouse of the creature holding the position is male, this is the spouse's position name.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SQUAD}}&lt;br /&gt;
| number:singular:plural&lt;br /&gt;
| The position holder is authorized to form a military squad, led by themselves. The number denotes the maximum headcount. The noun used to describe the subordinates (e.g. royal guard) may be a relic from the 40d era.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SUCCESSION}}&lt;br /&gt;
| &lt;br /&gt;
* BY_HEIR / BY_POSITION:position&lt;br /&gt;
| How a new position holder is chosen. A single position can have multiple BY_POSITION tokens.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Responsibilities ==&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Argument&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ACCOUNTING}}&lt;br /&gt;
| Found on bookkeeper. Position will use Record Keeper skill to keep track of stocks.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ATTACK_ENEMIES}}&lt;br /&gt;
| Found on elven ranger captain and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|BUILD_MORALE}}&lt;br /&gt;
| Found on [[champion]]. Citizens get a special thought for &amp;quot;talking to a pillar of society&amp;quot; when speaking to this noble.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|COLLECT_TAXES}}&lt;br /&gt;
| Found on tax collector. Position goes around and collects the tax money from the populace, under armed escort. Only functions if the dwarven [[economy]] is active, which never happens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EQUIPMENT_MANIFESTS}}&lt;br /&gt;
| Has no effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESCORT_TAX_COLLECTOR}}&lt;br /&gt;
| Found on hammerer. Position serves as one of the tax collector's bodyguards during his rounds. Only functions if the dwarven [[economy]] is active, which never happens.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|ESTABLISH_COLONY_TRADE_AGREEMENTS}}&lt;br /&gt;
| Found on outpost liaison. Position will live in the civilization capital and travels to make trade agreements with its colonies.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|EXECUTIONS}}&lt;br /&gt;
| Found on hammerer. Position executes death penalties with a weapon of the appropriate skill.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|HEALTH_MANAGEMENT}}&lt;br /&gt;
| Found on chief medical dwarf. Position will use Diagnostician skill enable the {{key|z}}-menu health screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_ENFORCEMENT}}&lt;br /&gt;
| Found on sheriff/captain of the guard. Position and its subordinates are in charge of punishing criminals.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAW_MAKING}}&lt;br /&gt;
| Found on monarch/landholders. Seems to allow position to receive elf and human diplomats.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_INTRODUCTIONS}}&lt;br /&gt;
| Found on diplomat. Allows Elves to make &amp;quot;first contact&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_PEACE_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates peace treaties in order to end wars.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MAKE_TOPIC_AGREEMENTS}}&lt;br /&gt;
| Found on diplomat. Position negotiates special agreements such as tree cutting quotas.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MANAGE_PRODUCTION}}&lt;br /&gt;
| Found on manager. Position enables the use of workshop profiles and uses the Organizer skill to process work orders entered in the job manager after the fortress population reaches 20.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MEET_WORKERS}}&lt;br /&gt;
| Found on expedition leader/mayor. Position holds meetings with unhappy citizens and tries to pacify them with happy thoughts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_GOALS}}&lt;br /&gt;
| Found on monarch/landholder/leaders. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|MILITARY_STRATEGY}}&lt;br /&gt;
| Found on general/militia commander. During worldgen, position will go on expeditions to tame exotic creatures.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|PATROL_TERRITORY}}&lt;br /&gt;
| Found on elven ranger captain and human warrior. Effect unknown.{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RECEIVE_DIPLOMATS}}&lt;br /&gt;
| Found on monarch/landholder/leaders. Position will hold meetings with incoming diplomats and liaisons.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|RELIGION}}&lt;br /&gt;
| Found on elven druid. Position informs you about worship cults{{verify}}&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|SORT_AMMUNITION}}&lt;br /&gt;
| Has no effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TAME_EXOTICS}}&lt;br /&gt;
| Has no effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|TRADE}}&lt;br /&gt;
| Found on broker. Position will use Appraisal skill to display value estimates and trade at the depot when set to broker only. When applied to other civilizations, the position will arrive with the caravan to make trade agreements.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|UPGRADE_SQUAD_EQUIPMENT}}&lt;br /&gt;
| Has no effect.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Related Tokens ==&lt;br /&gt;
The following two ENTITY tokens are not actually position tokens, but bear mentioning on this page because they can modify the way that a civilization's positions behave:&lt;br /&gt;
&lt;br /&gt;
{| {{prettytable}}&lt;br /&gt;
|- bgcolor=&amp;quot;#dddddd&amp;quot;&lt;br /&gt;
! Token&lt;br /&gt;
! Arguments&lt;br /&gt;
! Description&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|LAND_HOLDER_TRIGGER}}&lt;br /&gt;
|&lt;br /&gt;
* landholder tier&lt;br /&gt;
* population&lt;br /&gt;
* wealth exported&lt;br /&gt;
* created wealth&lt;br /&gt;
| Defines the requirements for the noble ruler promotions. The tier numbers determine which position is used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| {{text anchor|VARIABLE_POSITIONS}}&lt;br /&gt;
| Position responsibility or ALL&lt;br /&gt;
| Allows a responsibility to be taken up by a dynamically generated position (such as Law-maker).&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Why Won't My Positions Appear? ==&lt;br /&gt;
The way DF determines what positions will actually ''appear'' in your fortress is somewhat counterintuitive and fairly limiting. This guide should help you understand what you can do to actually get your positions working properly.&lt;br /&gt;
&lt;br /&gt;
There are five tokens governing which positions appear in your fortress - LAND_HOLDER, REQUIRES_POPULATION, APPOINTED_BY, ELECTED, and REPLACED_BY. The first two determine when your fortress is eligible for a new position, the next two determine how a new position for which your fortress is eligible can be added, and the fifth allows you to clear up obsolete positions. Unfortunately, they also interact in some strange ways that makes creating interesting position structures difficult.&lt;br /&gt;
&lt;br /&gt;
When you start a new fortress, DF compiles a list of your initial positions. To do this, it looks at the requirements for each position - any position whose only requirement is less than seven dwarves (either because they have no requirement tokens, or because their only requirement tokens are [REQUIRES_POPULATION: =&amp;lt; 7] or [LAND_HOLDER:some trigger whose only requirement is some number of dwarves equal to or less than 7]). Most importantly, ''any'' position whose only requirement is a LAND_HOLDER requirement, regardless of what the trigger for that requirement is, will be added if another eligible starting position is REPLACED_BY it. '''A non-LAND_HOLDER position that is REPLACED_BY a LAND_HOLDER position will never appear.''' With this list compiled, the game culls all positions that are REPLACED_BY another eligible position, and then culls all positions that have the APPOINTED_BY token. '''You may not embark with any appointed positions.''' Any remaining positions are then filled by a dwarf chosen at random.&lt;br /&gt;
&lt;br /&gt;
'''Positions do not automatically appear when you reach their requirements.''' For example, if you remove the ELECTED token from the Mayor, then the Mayor will never appear, even once you reach his required number of dwarves. '''For a position that does not appear at embark to appear in your fortress, it must be APPOINTED_BY another position or ELECTED.'''&lt;br /&gt;
&lt;br /&gt;
Naturally, this is more complicated than it looks. '''APPOINTED_BY positions must be appointed by another position already in your fortress, or a civ-level position. Only LAND_HOLDER positions may be appointed by civ-level positions.''' LAND_HOLDER positions that are APPOINTED_BY civ-level positions are inherently tied to civ-level tokens with the ESTABLISH_COLONY_TRADE_AGREEMENTS responsibility. If a fortress meets the LAND_HOLDER_TRIGGER for a new LAND_HOLDER tier when a caravan leaves, then the next time the outpost liaison or equivalent arrives, he will offer to make you an official colony, which will allow you to select all positions for that LAND_HOLDER level. '''Each time he appears, the outpost liaison will only promote your fortress one tier up the LAND_HOLDER track.''' The biggest problem with this system is that you may set your LAND_HOLDER_TRIGGERS such that you are eligible for the first tier of LAND_HOLDER positions at embark. '''If you are eligible for the first tier of LAND_HOLDER positions at embark, then all first-tier positions will appear twice - once at embark, and again when the outpost liaison comes to appoint you to the first tier.'''&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Tokens}}&lt;/div&gt;</summary>
		<author><name>Quietust</name></author>
	</entry>
</feed>