<?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=StrikaAmaru</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=StrikaAmaru"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/StrikaAmaru"/>
	<updated>2026-04-09T15:55:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=225019</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=225019"/>
		<updated>2016-05-23T13:19:30Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: actually fix link.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional|14:13, 7 November 2013 (UTC)}}&lt;br /&gt;
{{av}}&lt;br /&gt;
This is intended to be a guide to inform those new to DF modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
'''See also:''' [[:Category:DF2014:Modding]]&lt;br /&gt;
&lt;br /&gt;
= Modding Guide =&lt;br /&gt;
&lt;br /&gt;
== Token reference ==&lt;br /&gt;
&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [http://dwarffortresswiki.org/index.php/Token here].&lt;br /&gt;
&lt;br /&gt;
== Basics of DF modding ==&lt;br /&gt;
&lt;br /&gt;
All the base data that can be edited by prospective modders can be found in the \raw\ folder. This folder contains two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for generally everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
Within the \raw\objects folder are a large number of text files - these are the [[raw file|raw files]], and editing them is quite easy - you can also create your own if you wish. For now, take a look at one of the existing files. For example if you open creature_standard.txt it should look something like this:&lt;br /&gt;
&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file won't be parsed correctly by the game. You may have also noticed the file naming scheme - this is also important; files containing creatures have names starting with &amp;quot;creature_&amp;quot;, entity file names must begin with &amp;quot;entity_&amp;quot;, etc..&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when adding objects. It makes removing mods far easier.&lt;br /&gt;
* When adding files, all you need to include to ensure proper references are maintained is the token identifiers.  The game will load up all *.txt files in the raw folder, and searches through them by tokens.  For example, you can add a new pair of leather boots and not even have to add it to the item_shoes.txt file, but rather make your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* If you want to edit an already-existing creature, always back up the files you plan on editing to a different location. Since v0.31.22, the game no longer loads backup files with an extension other than &amp;quot;.txt&amp;quot;, but duplicate entries are still a very bad thing.&lt;br /&gt;
* When a new world is generated, all the raw files get copied into a \raw\ folder within the applicable save folder. If you want to change something within a world that's already been generated, you'll have to edit those files, not the ones in ~DF\raw\objects.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities... which are coincidentally what we'll be talking about next.&lt;br /&gt;
&lt;br /&gt;
== Modding civilizations (entities) ==&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in entity_default.txt (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and will therefore be the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology and language and names and so forth.&lt;br /&gt;
&lt;br /&gt;
Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. Besides those mentioned, some fundamental ones are the CIV_CONTROLLABLE token, which lets you control the civ in fortress mode, the INDIV_CONTROLLABLE token, which allows you to play the civ in adventure mode as an outsider, and the ADVENTURE_TIER token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the CIV_CONTROLLABLE token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little obfuscating at first, so I'll run through it. Let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
Here we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that the dwarf entity is told to cull all innapropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
== Modding the creatures ==&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun. You can change nearly any aspect of a creature or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
=== Creature materials and tissues ===&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of bodyparts. These parts are defined in their own file, and we'll talk about them later. As a specific aspect of how creatures work which throws off a lot of prospective modders is the relationship between bodyparts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of bodyparts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues. And those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by bodypart category (BY_CATEGORY), bodypart type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every bodypart). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all bodyparts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot;. And you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans come in. Detail plans, of course, have their own file, and they are designed to help automate some of the more common processes in creature creation. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by muscle, ARG4 by bone, and ARG5 by CARTILAGE. Hence, our creature's bodypart designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We declare the body stuff normally:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
We then select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
=== Creature castes ===&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexual creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body stuctures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
== Modding items ==&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, item tokens don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
== Modding language files ==&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
== Modding body parts ==&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each bodypart will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a bodypart definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the bodypart in question is connected to a certain ''type'' of bodypart, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the bodypart's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of bodypart tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
== Modding plants ==&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of harvested plant (default 1). Appears to have no effect in version 0.31.&lt;br /&gt;
&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
== Workshops ==&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
 [BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
 	[BLOCK:1:0:0:1]&lt;br /&gt;
 	[BLOCK:2:0:0:1]&lt;br /&gt;
 	[BLOCK:3:0:0:0]&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
 	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
 	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
 	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
 	[TILE:1:2:'-':' ':8]&lt;br /&gt;
 	[TILE:1:3:' ':' ':150]&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[TILE:2:1:'-':' ':8]&lt;br /&gt;
 	[TILE:2:2:' ':' ':8]&lt;br /&gt;
 	[TILE:2:3:' ':150:' ']&lt;br /&gt;
 	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
 	[TILE:3:1:150:' ':8]&lt;br /&gt;
 	[TILE:3:2:' ':' ':8]&lt;br /&gt;
 	[TILE:3:3:' ':240:' ']&lt;br /&gt;
 	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
 	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
 	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  	[BLOCK:1:0:0:1]&lt;br /&gt;
 	...&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:1 means that, on the first row, the first two tiles will be unblocked and the last will be blocked.&lt;br /&gt;
&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
== Reactions ==&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
== Materials ==&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
The Hydling by Mysteryguye (annotated, updated and separated into blocks by Putnam)&lt;br /&gt;
&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:78][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LIKES_FIGHTING] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what have you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
&lt;br /&gt;
= Modding utilities =&lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=28829.0 A list of many mods and community-developed utilities]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=225018</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Modding&amp;diff=225018"/>
		<updated>2016-05-23T13:18:33Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: fix link.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional|14:13, 7 November 2013 (UTC)}}&lt;br /&gt;
{{av}}&lt;br /&gt;
This is intended to be a guide to inform those new to DF modding on what elements of the game can be modified, and how. After reading through this guide, a user should be capable of editing creatures, entities, materials ''et al'', and creating their own.&lt;br /&gt;
&lt;br /&gt;
Generally, breaking stuff is fine - nothing that can be changed will affect the DF executable, and new additions can be easily removed.&lt;br /&gt;
&lt;br /&gt;
This guide is based on [[40d:Modding guide|Teldin's guide]], originally created for version 0.27.176.39c. Per wiki tradition, it has been updated through all the major releases since then; hopefully it reflects current knowledge.&lt;br /&gt;
&lt;br /&gt;
'''See also:''' [[:Category:DF2014:Modding]]&lt;br /&gt;
&lt;br /&gt;
= Modding Guide =&lt;br /&gt;
&lt;br /&gt;
== Token reference ==&lt;br /&gt;
&lt;br /&gt;
It's always good to refer to tokens on the wiki. Even experienced modders have to look up tokens! A list of articles about tokens can be found [[http://dwarffortresswiki.org/index.php/Token|here]].&lt;br /&gt;
&lt;br /&gt;
== Basics of DF modding ==&lt;br /&gt;
&lt;br /&gt;
All the base data that can be edited by prospective modders can be found in the \raw\ folder. This folder contains two subfolders: &amp;quot;graphics&amp;quot; (where you insert [[Graphics set repository|graphics sets]]), and &amp;quot;objects&amp;quot;, which contains all the data for generally everything in the game that is not hardcoded.&lt;br /&gt;
&lt;br /&gt;
Within the \raw\objects folder are a large number of text files - these are the [[raw file|raw files]], and editing them is quite easy - you can also create your own if you wish. For now, take a look at one of the existing files. For example if you open creature_standard.txt it should look something like this:&lt;br /&gt;
&lt;br /&gt;
 creature_standard&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:CREATURE]&lt;br /&gt;
 &lt;br /&gt;
 [CREATURE:DWARF]&lt;br /&gt;
     [DESCRIPTION:A short, sturdy creature fond of drink and industry.]&lt;br /&gt;
     [NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CASTE_NAME:dwarf:dwarves:dwarven]&lt;br /&gt;
     [CREATURE_TILE:1][COLOR:3:0:0]&lt;br /&gt;
     [CREATURE_SOLDIER_TILE:2]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
As you can see, each file comprises a header string stating the file name, a second header stating the type of object data it contains, followed by the contents of the file itself. These are all necessary elements of the file, and without them, the file won't be parsed correctly by the game. You may have also noticed the file naming scheme - this is also important; files containing creatures have names starting with &amp;quot;creature_&amp;quot;, entity file names must begin with &amp;quot;entity_&amp;quot;, etc..&lt;br /&gt;
&lt;br /&gt;
Below the headers, there begins a list of entries. Each entry is made up of its own header (in this case, &amp;quot;[CREATURE:DWARF]&amp;quot;), again stating the type of object, and then the object's unique identifier - if an identifier isn't unique, the game will mess up and you'll get some serious, and potentially very trippy, errors. Below that, we have the body of the entry, which determines the entry's specific properties.&lt;br /&gt;
&lt;br /&gt;
The body of an entry is made up of a series of &amp;quot;tokens&amp;quot;, which are essentially flags that can be added or removed to affect the entry's attributes. Most of these effects are hardcoded: for example, it's possible to make a creature only eat meat with the [CARNIVOROUS] token, but it's impossible to create your own token detailing a specific diet for the creature.&lt;br /&gt;
&lt;br /&gt;
Before we continue, a few key things to remember when modding the raw files:&lt;br /&gt;
&lt;br /&gt;
* Try to avoid modifying the existing raw files when adding objects. It makes removing mods far easier.&lt;br /&gt;
* When adding files, all you need to include to ensure proper references are maintained is the token identifiers.  The game will load up all *.txt files in the raw folder, and searches through them by tokens.  For example, you can add a new pair of leather boots and not even have to add it to the item_shoes.txt file, but rather make your own file, say item_shoes_new.txt and ensure you have the token listed, ex. [ITEM_SHOES:ITEM_SHOES_BOOTS_NEW].&lt;br /&gt;
&lt;br /&gt;
* If you want to edit an already-existing creature, always back up the files you plan on editing to a different location. Since v0.31.22, the game no longer loads backup files with an extension other than &amp;quot;.txt&amp;quot;, but duplicate entries are still a very bad thing.&lt;br /&gt;
* When a new world is generated, all the raw files get copied into a \raw\ folder within the applicable save folder. If you want to change something within a world that's already been generated, you'll have to edit those files, not the ones in ~DF\raw\objects.&lt;br /&gt;
* There's nothing stopping you from just copying an existing creature/entity/whatever, changing the identifier, and modifying it. This can save you a lot of time, especially when it comes to entities... which are coincidentally what we'll be talking about next.&lt;br /&gt;
&lt;br /&gt;
== Modding civilizations (entities) ==&lt;br /&gt;
&lt;br /&gt;
Entities - the objects that determine how civilizations work - are stored in entity_default.txt (though, like all other files, you may add more). They follow the same format as any other raw file:&lt;br /&gt;
&lt;br /&gt;
 entity_default&lt;br /&gt;
 &lt;br /&gt;
 [OBJECT:ENTITY]&lt;br /&gt;
 &lt;br /&gt;
 [ENTITY:ENTITYNAME]&lt;br /&gt;
     [CREATURE:CREATURETYPE]&lt;br /&gt;
     [TRANSLATION:LANGUAGETYPE]&lt;br /&gt;
     [BIOME_SUPPORT:BIOMETOKEN:FREQENCY]&lt;br /&gt;
     ...[OTHER TAGS]...&lt;br /&gt;
&lt;br /&gt;
Most of the time, it doesn't matter which order these tokens are in or where they're placed so long as they're below the &amp;quot;ENTITY:&amp;quot; identifier, but there are some important exceptions in the case of other files, especially creatures, which can contain a lot of &amp;quot;nested&amp;quot; tokens.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[CREATURE:]&amp;quot; links the civilization with a specific creature defined in a creature file. This is the creature that'll be making up the entity's population, and will therefore be the creature you'll be playing as in fortress or adventure mode if the entity is a playable one. For example, if you wanted to do something silly, you could switch the &amp;quot;CREATURE:DWARF&amp;quot; entry in entity_default.txt with &amp;quot;CREATURE:ELF&amp;quot; and you would be marching elves around in fortress mode, although they would still use dwarven technology and language and names and so forth.&lt;br /&gt;
&lt;br /&gt;
Oh, and before you get any funny ideas - it ''is'' possible to define more than one creature for a civ, but that won't work in quite the way you probably expect; later on, in the creature section, you'll learn about castes, which will provide a much more viable alternative, so try to bear with us until then.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[TRANSLATION:]&amp;quot; defines the language file that the entity will be using, which will determine what their untranslated words are for things. This doesn't determine which words they use for naming things, only the way those words are spelled. The default language files are HUMAN, DWARF, ELF, and GOBLIN.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[BIOME_SUPPORT:]&amp;quot; defines the biomes that civs will attempt to settle in. The &amp;quot;FREQUENCY&amp;quot; value determines the likelihood of them building there, but also raises an important point: most of the values you'll be setting for things are relative to each other. If one were to type:&lt;br /&gt;
&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:1]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:2]&lt;br /&gt;
&lt;br /&gt;
This would have very much the same effect as:&lt;br /&gt;
&lt;br /&gt;
 [BIOME_SUPPORT:ANY_FOREST:5]&lt;br /&gt;
 [BIOME_SUPPORT:SAVANNA:10]&lt;br /&gt;
&lt;br /&gt;
This holds true for a lot of values throughout the files, excluding when it simply doesn't make sense, such as in materials.&lt;br /&gt;
&lt;br /&gt;
You can find many details about the rest of the civilization tokens [[entity token|here]]. Besides those mentioned, some fundamental ones are the CIV_CONTROLLABLE token, which lets you control the civ in fortress mode, the INDIV_CONTROLLABLE token, which allows you to play the civ in adventure mode as an outsider, and the ADVENTURE_TIER token, which allows you to play a civ native (non-outsider) in adventure mode. Other tokens that you should pay attention to are START_BIOME and the ones regarding sites, but in general, you can just run through the aforementioned list and add or remove what you want.&lt;br /&gt;
&lt;br /&gt;
If you have more than one civ with the CIV_CONTROLLABLE token, all the available civs from those entities will appear in the group selection section on the embark screen. It may not be immediately obvious from which species each civ may be - while this can be determined from legends mode, the topmost species in the &amp;quot;neighbors&amp;quot; display in the embark screen is always the same as the currently selected species; if your group is dwarven, dwarves will be topmost, whilst (say) elves will be topmost if your chosen group is elven. By default, the game seems to choose a civ (and therefore a species if there is more than one) at random.&lt;br /&gt;
&lt;br /&gt;
You can also attempt to discern the civ yourself by the names it uses - this is the realm of &amp;quot;symbols&amp;quot;, collections of words centered around a specific concept. The civ will use the words comprising whatever symbols are applicable to it for various things. This association might be a little obfuscating at first, so I'll run through it. Let's refer to the DWARF entity:&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:WAR:NAME_WAR]&lt;br /&gt;
 [SUBSELECT_SYMBOL:WAR:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:BATTLE:NAME_BATTLE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:BATTLE:VIOLENT]&lt;br /&gt;
 [SELECT_SYMBOL:SIEGE:NAME_SIEGE]&lt;br /&gt;
 [SUBSELECT_SYMBOL:SIEGE:VIOLENT]&lt;br /&gt;
&lt;br /&gt;
Here we can see that dwarves will generally name their wars first after words in the &amp;quot;NAME_WAR&amp;quot; symbol group, and then after words in the &amp;quot;VIOLENT&amp;quot; symbol group. This might, for example, result in a war being named &amp;quot;The War of Carnage&amp;quot;. The symbols used for the other types of conflict are arrayed in a similar fashion. It would be trivial to replace the instances of VIOLENT with, say, PEACE and end up with a battle called &amp;quot;The Clash of Calm&amp;quot; or something.&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:ROAD:NAME_ROAD]&lt;br /&gt;
 [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]&lt;br /&gt;
 [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]&lt;br /&gt;
 [SELECT_SYMBOL:WALL:NAME_WALL]&lt;br /&gt;
&lt;br /&gt;
The above applies here. Dwarves are fond of naming their roads and tunnels after roads and tunnels.&lt;br /&gt;
&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:ARTIFICE]&lt;br /&gt;
 [SELECT_SYMBOL:REMAINING:EARTH]&lt;br /&gt;
 [CULL_SYMBOL:ALL:DOMESTIC]&lt;br /&gt;
 [CULL_SYMBOL:ALL:SUBORDINATE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:EVIL]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UNTOWARD]&lt;br /&gt;
 [CULL_SYMBOL:ALL:FLOWERY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATIVE]&lt;br /&gt;
 [CULL_SYMBOL:ALL:UGLY]&lt;br /&gt;
 [CULL_SYMBOL:ALL:NEGATOR]&lt;br /&gt;
&lt;br /&gt;
This section deals with everything else. The things that haven't already been dealt with (hence the &amp;quot;REMAINING&amp;quot;) - such as site names, kingdom names, the names of individuals, and such - will have names from the ARTIFICE and EARTH symbol groups. After that the dwarf entity is told to cull all innapropriate symbols - this applies to everything (hence the &amp;quot;ALL&amp;quot;) so if the game happens to choose a symbol associated with, say, EVIL for one of the battles, it'll scrap that name and try again. This sort of thing adds a lot of flavour to DF's entities and can account for a lot of a civ's perceived personality.&lt;br /&gt;
&lt;br /&gt;
Another basic thing to note: any entity token that's dealing with weapons, armor, clothing, etc., will state the items that the civ can build natively, not necessarily the ones they can wear or use. For example, you could create a species with no clothes specified, but then rob a clothes shop in adventurer mode and wear everything you want, or give them weapons that are too large to wield and they could sell them, but not use them. &lt;br /&gt;
&lt;br /&gt;
An easy method of creating a civilization is just to copy-paste a similar one to the bottom of the entity_default.txt file and edit things to your liking. Remember to always change the civ's &amp;quot;ENTITY:&amp;quot; identifier! This can be anything so long as it's not already existing.&lt;br /&gt;
&lt;br /&gt;
At the end of some of the default entries you'll find a list of positions, both ones that'll directly affect you in fort mode (such as nobles) and ones that'll primarily affect worldgen and adventure mode. A list of the tokens applicable to positions can be found [[position token|here]]; they don't require a great deal of explanation.&lt;br /&gt;
&lt;br /&gt;
== Modding the creatures ==&lt;br /&gt;
&lt;br /&gt;
Creature modding is great fun. You can change nearly any aspect of a creature or make your own completely from scratch.&lt;br /&gt;
&lt;br /&gt;
Modding creatures is very similar to modding civs: it's just a matter of editing, adding, or removing tokens, enclosed in square brackets underneath the creature's [CREATURE:] header. The creature entries contain all of the information about each and every non-random creature in the game, from animals to dwarves to goblins to even caravan wagons. A lot of the creature tokens are fairly self-explanatory; you can find a list of such tokens [[creature token|here]]. But before you start creating your own creatures, you'll want to learn how the tissues system works.&lt;br /&gt;
&lt;br /&gt;
=== Creature materials and tissues ===&lt;br /&gt;
&lt;br /&gt;
In the most basic sense, a creature is a series of bodyparts. These parts are defined in their own file, and we'll talk about them later. As a specific aspect of how creatures work which throws off a lot of prospective modders is the relationship between bodyparts, tissues, and materials. We're going to show you part of the creature entry for a bronze colossus (bear with us):&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [TISSUE:BRONZE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
At the top, we can see the &amp;quot;BODY:&amp;quot; token, followed by a list of bodyparts. As you've probably guessed, these parts make up the physical form of the colossus. But the colossus has to be made out of something - it has to have tissues. And those tissues also have to be made out of something - in this case, bronze.&lt;br /&gt;
&lt;br /&gt;
Below the BODY token you'll see a TISSUE token, followed by an identifier, much like the others we've seen. The TISSUE block is determining how the tissue works, and which purposes it'll serve. As the colossus is just going to be made out of this one tissue, this tissue needs to act like bone, muscle, and everything else combined, hence the MUSCULAR, FUNCTIONAL and STRUCTURAL tokens. The tissue also references a material - INORGANIC:BRONZE - the properties of which are declared in the inorganic materials file, and the tissue is subsequently made out of this material. With us so far?&lt;br /&gt;
&lt;br /&gt;
Below the tissue definition is the TISSUE_LAYER line. TISSUE_LAYER allows you to control where each tissue is applied. Its first argument defines if it's to search by bodypart category (BY_CATEGORY), bodypart type (BY_TYPE), or look for a specific part (BY_TOKEN). That's followed by the parts argument itself, which is in this case ALL (so the game's looking for parts in all categories, which is to say, every bodypart). This is followed by the tissue to be applied, BRONZE. So the TISSUE_LAYER token is telling the game to select all bodyparts in every category and make them out of the tissue &amp;quot;BRONZE&amp;quot;. The colossus is now made of bronze.&lt;br /&gt;
&lt;br /&gt;
By now you're probably thinking &amp;quot;Wow, if this was for a creature made out of however many tissues, this would be amazingly longwinded&amp;quot;. And you're right. Luckily, there are two methods by which we can speed things up a lot.&lt;br /&gt;
&lt;br /&gt;
Firstly, there are material and tissue templates. Let's say you were going to make a lot of creatures out of bronze, and you didn't want to have to copy and paste the bronze tissue all over the place. Instead, you create a tissue template. This goes, as you've probably guessed, in a tissue template file.&lt;br /&gt;
&lt;br /&gt;
 [TISSUE_TEMPLATE:BRONZE_TEMPLATE]&lt;br /&gt;
     [TISSUE_NAME:bronze:bronze]&lt;br /&gt;
     [TISSUE_MATERIAL:INORGANIC:BRONZE]&lt;br /&gt;
     [MUSCULAR]&lt;br /&gt;
     [FUNCTIONAL]&lt;br /&gt;
     [STRUCTURAL]&lt;br /&gt;
     [RELATIVE_THICKNESS:1]&lt;br /&gt;
     [CONNECTS]&lt;br /&gt;
     [TISSUE_SHAPE:LAYER]&lt;br /&gt;
&lt;br /&gt;
Now, instead of applying the tissue to each and every bronze creature you're making, you can just refer to the template:&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 [BODY:HUMANOID:2EYES:2EARS:NOSE:HUMANOID_JOINTS:5FINGERS:5TOES]&lt;br /&gt;
 [NO_THOUGHT_CENTER_FOR_MOVEMENT]&lt;br /&gt;
 [USE_TISSUE_TEMPLATE:BRONZE:BRONZE_TEMPLATE]&lt;br /&gt;
 [TISSUE_LAYER:BY_CATEGORY:ALL:BRONZE]&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
Material templates work in the same way, but refer to materials instead of tissues.&lt;br /&gt;
&lt;br /&gt;
However, if we're looking at something like a dwarf, even with the templates, editing can get very slow indeed:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BONE:BONE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:CARTILAGE:CARTILAGE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HAIR:HAIR_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:TOOTH:TOOTH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:NERVE:NERVE_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LUNG:LUNG_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:LIVER:LIVER_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:GUT:GUT_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:STOMACH:STOMACH_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:PANCREAS:PANCREAS_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:SPLEEN:SPLEEN_TEMPLATE]&lt;br /&gt;
     [USE_MATERIAL_TEMPLATE:KIDNEY:KIDNEY_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:SKIN:SKIN_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:FAT:FAT_TEMPLATE]&lt;br /&gt;
     [USE_TISSUE_TEMPLATE:MUSCLE:MUSCLE_TEMPLATE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
This is where body detail plans come in. Detail plans, of course, have their own file, and they are designed to help automate some of the more common processes in creature creation. The first entry in b_detail_plan_default.txt does exactly what we've been trying to do above: it takes all the common materials and shoves them into one plan, which can be referenced with a single token.&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
Much easier. But what about the TISSUE_LAYER tokens? Will we have to type out all of those manually?&lt;br /&gt;
&lt;br /&gt;
Nope, detail plans have that covered as well. It's possible to place variable arguments into a detail plan. For example:&lt;br /&gt;
&lt;br /&gt;
 [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:5:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
     [BP_LAYERS:BY_CATEGORY:NOSE:ARG5:4:ARG1:1]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
First an argument is placed in the plan (ARG1, ARG2 etc.), followed by the thickness of the tissue that will be inserted in place of the argument. So when we reference the VERTEBRATE_TISSUE_LAYERS plan, we'll be able to do something like this:&lt;br /&gt;
&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
&lt;br /&gt;
ARG1 in the detail plan is replaced by SKIN, the first tissue we entered. ARG2 is replaced by FAT, ARG3 by muscle, ARG4 by bone, and ARG5 by CARTILAGE. Hence, our creature's bodypart designated as BODY is made up of SKIN with thickness 1, FAT with thickness 5, and MUSCLE with thickness 50. Its nose is made up of SKIN (thickness 1) and CARTILAGE (thickness 4).&lt;br /&gt;
&lt;br /&gt;
Things left out of the body plans aside, our dwarf's entire body, material, tissue and tissue layer tokens have been boiled down to this:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
This can save you a lot of time and space if you're making lots of changes common to many creatures. In general, if you're making a creature that's fleshy or chitinous, there are detail plans already included in the game to help you out. You should only have to resort to declaring tissues individually (like our bronze colossus) if you're doing something really out-of-the-ordinary.&lt;br /&gt;
&lt;br /&gt;
Another great thing about templates (and so, detail plans) is that they can be modified after being declared. Let's say we wanted our dwarves to be perpetually on fire (don't ask). We declare the body stuff normally:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
We then select the appropriate material:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
We don't want them burning to death, so we'll need to stop that from happening:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:&lt;br /&gt;
     THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_MATERIALS]&lt;br /&gt;
     [BODY_DETAIL_PLAN:STANDARD_TISSUES]&lt;br /&gt;
     [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]&lt;br /&gt;
     [SELECT_MATERIAL:SKIN]&lt;br /&gt;
         [MAT_FIXED_TEMP:10600]&lt;br /&gt;
     [SELECT_MATERIAL:ALL]&lt;br /&gt;
         [HEATDAM_POINT:NONE]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
Note that this makes use of DF's built-in temperature scale. You can read more about that [[Temperature|on this page]]. We're also referencing material tokens, which we haven't gone over yet - we'll talk about making your own materials later.&lt;br /&gt;
&lt;br /&gt;
=== Creature castes ===&lt;br /&gt;
&lt;br /&gt;
Another potentially extremely powerful part of the creature raws is the caste system. The caste system handles both true biological castes and lesser variations, such as sexes.&lt;br /&gt;
&lt;br /&gt;
To understand the true potential of the caste system, we only need to take a look at the raws for antmen, found in creature_subterrenean.txt:&lt;br /&gt;
&lt;br /&gt;
     ...&lt;br /&gt;
     [CASTE:WORKER]&lt;br /&gt;
         [CASTE_NAME:worker ant woman:worker ant women:worker ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:10000]&lt;br /&gt;
     [CASTE:SOLDIER]&lt;br /&gt;
         [CASTE_NAME:soldier ant woman:soldier ant women:soldier ant woman]&lt;br /&gt;
         Female, but non-breeding.&lt;br /&gt;
         [POP_RATIO:1000]&lt;br /&gt;
     [CASTE:DRONE]&lt;br /&gt;
         [MALE]&lt;br /&gt;
         [CASTE_NAME:drone ant man:drone ant men:drone ant man]&lt;br /&gt;
         [POP_RATIO:5]&lt;br /&gt;
     [CASTE:QUEEN]&lt;br /&gt;
         [FEMALE]&lt;br /&gt;
         [CASTE_NAME:queen ant woman:queen ant women:queen ant woman]&lt;br /&gt;
         [POP_RATIO:1]&lt;br /&gt;
     [SELECT_CASTE:WORKER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:SOLDIER]&lt;br /&gt;
      [SELECT_ADDITIONAL_CASTE:QUEEN]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
     [SELECT_CASTE:DRONE]&lt;br /&gt;
         [BODY:HUMANOID_4ARMS:2EYES:HEART:GUTS:BRAIN:MOUTH:2WINGS]&lt;br /&gt;
         [BODYGLOSS:INSECT_UPPERBODY:INSECT_LOWERBODY]&lt;br /&gt;
         [FLIER]&lt;br /&gt;
     [SELECT_CASTE:ALL]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_MATERIALS]&lt;br /&gt;
         [BODY_DETAIL_PLAN:CHITIN_TISSUES]&lt;br /&gt;
         [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]&lt;br /&gt;
         [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]&lt;br /&gt;
         [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]&lt;br /&gt;
             [ATTACK_SKILL:GRASP_STRIKE]&lt;br /&gt;
             [ATTACK_VERB:punch:punches]&lt;br /&gt;
     ...&lt;br /&gt;
&lt;br /&gt;
It's evident that the process of creating and editing castes is comparable to the modifications we were making to tissues and materials earlier: A caste is declared, and modifications to the base creature are made. Declared castes can be selected and subsequently modified, again, just like tissues and materials.&lt;br /&gt;
&lt;br /&gt;
In this case, each caste is declared, given its own name, and a POP_RATIO, which determines how commonly a birth results in that caste - for every 10000 workers born, there'll be an average of 1000 soldiers, 5 drones and one queen. You've probably also noticed that the DRONE and QUEEN castes have the MALE and FEMALE tokens respectively - these tokens determine how breeding works. A creature without both a MALE caste and a FEMALE caste will be unable to breed (no asexual creatures yet, unfortunately). As they lack FEMALE, the workers and soldiers are unable to breed with the male drones.&lt;br /&gt;
&lt;br /&gt;
After this, there are some modifications to bodyparts. In this case, the drones have wings and the FLIER token, which the other castes lack. It's entirely possible for creatures of different castes to have completely different body stuctures, even to the extent that they don't resemble each other at all. If you read the section of this guide that dealt with entities, you may remember a passing mention of multi-creature civilisations and how they don't quite work as you may think they would. The castes system is your workaround. You could create a caste that is, for all intents and purposes, a human, and another caste of the same creature that acts exactly like a giant cave spider, put the creature in a civ, and get a human-spider civ. The only flaw in this approach is that the castes will interbreed.&lt;br /&gt;
&lt;br /&gt;
That's the most complex components of creature creation out of the way. You should find the rest trivial by comparison.&lt;br /&gt;
&lt;br /&gt;
== Modding items ==&lt;br /&gt;
&lt;br /&gt;
Items are fairly simple to deal with. By default, each item type is contained in its own file; this may help make browsing for a specific item easier, but from a purely technical point of view, it's possible to throw all items into one file. Unfortunately, item tokens don't seem to be especially well-documented (at least not as well as the other object types), but you should be able to figure out most things by way of our explanations and your assumptions.&lt;br /&gt;
&lt;br /&gt;
Let's look at the entry for, of course, the thong:&lt;br /&gt;
&lt;br /&gt;
 [ITEM_PANTS:ITEM_PANTS_THONG]&lt;br /&gt;
 [NAME:thong:thongs]&lt;br /&gt;
 [LAYER:UNDER]&lt;br /&gt;
 [COVERAGE:25]&lt;br /&gt;
 [LAYER_SIZE:10]&lt;br /&gt;
 [LAYER_PERMIT:30]&lt;br /&gt;
 [MATERIAL_SIZE:1]&lt;br /&gt;
 [SOFT]&lt;br /&gt;
 [LEATHER]&lt;br /&gt;
 [STRUCTURAL_ELASTICITY_WOVEN_THREAD]&lt;br /&gt;
&lt;br /&gt;
Most of these are pretty obvious if one compares them to the other entries in the file. There's a layer for the item, determining where it's worn; a coverage value to determine how well it protects you from cold and other things; a size token to determine how much it counts for when it's under something else; a layer permit token to determine how much can be worn under it; and a material size token to determine how much raw material it takes to make it.&lt;br /&gt;
&lt;br /&gt;
Now, if you wanted to mod these to turn them into metal thongs (ouch!), you would simply have to add [METAL] to it somewhere. Simple! These tokens work by tying into material properties - some materials are designated as suitable for making hard items, some for soft, etc..&lt;br /&gt;
&lt;br /&gt;
Weapons involve a little more detail:&lt;br /&gt;
&lt;br /&gt;
 [ITEM_WEAPON:ITEM_WEAPON_SWORD_2H]&lt;br /&gt;
 [NAME:two-handed sword:two-handed swords]&lt;br /&gt;
 [SIZE:900]&lt;br /&gt;
 [SKILL:SWORD]&lt;br /&gt;
 [TWO_HANDED:67500]&lt;br /&gt;
 [MINIMUM_SIZE:62500]&lt;br /&gt;
 [MATERIAL_SIZE:5]&lt;br /&gt;
 [ATTACK:EDGE:100000:8000:slash:slashes:NO_SUB:1250]&lt;br /&gt;
 [ATTACK:EDGE:50:4000:stab:stabs:NO_SUB:1000]&lt;br /&gt;
 [ATTACK:BLUNT:100000:8000:slap:slaps:flat:1250]&lt;br /&gt;
 [ATTACK:BLUNT:100:1000:strike:strikes:pommel:1000]&lt;br /&gt;
&lt;br /&gt;
SIZE determines how heavy the weapon is. This has a substantial effect on weapon effectiveness. SKILL determines which skill is used in using the weapon; a list of skills can be found [[skill token|on this page]]. MINIMUM_SIZE determines the minimum size a creature must be before the weapon can be wielded, while TWO_HANDED determines how large a creature must be in order to wield the weapon with one hand.&lt;br /&gt;
&lt;br /&gt;
Attacks take a little more explanation. The first value determines the contact area of the weapon's attack; this should be high for slashing weapons and low for bludgeoning, piercing and poking ones. The second value determines how deep the weapon penetrates - for BLUNT attacks this value is ignored as they're not supposed to penetrate anyway, but in the case of EDGE attacks it should generally be lower for slashing attacks and higher for stabbing attacks.&lt;br /&gt;
&lt;br /&gt;
Following these are the nouns and verb used; they should be self-explanatory. Finally, we have the velocity modifier, which has a multiplying effect on the weapon's size for the purposes of determining how powerful it is in combat.&lt;br /&gt;
&lt;br /&gt;
Other, more miscellaneous items are generally simple and shouldn't require any further explanation.&lt;br /&gt;
&lt;br /&gt;
Once you've made an item, you just add it to the civ entry so a civilization can actually craft it, and it's done.&lt;br /&gt;
&lt;br /&gt;
== Modding language files ==&lt;br /&gt;
&lt;br /&gt;
Let's say you added a whole new species.  Sure, you could just swipe one of the existing translation files and steal their language for your species, but that's the lazy way!  If you want to create a whole new language, it is very simple.&lt;br /&gt;
&lt;br /&gt;
First, you'd need a whole new language_RACE file, such as language_LIZARDMAN.txt, along with &amp;quot;language_LIZARDMAN&amp;quot; at the top of the file proceeded by [OBJECT:LANGUAGE] and [TRANSLATION:LIZARDMAN].  After that, it's just a matter of copy-pasting one of the existing language lists and editing the finished 'translated' word.  That's it! Then just add the translation link to your civ in entity_default.txt and it'll be added to the game on worldgen.&lt;br /&gt;
&lt;br /&gt;
(Note that the name of the file doesn't actually matter; however, it's good form to name the file after a creature if only that creature speaks the language.)&lt;br /&gt;
&lt;br /&gt;
== Modding body parts ==&lt;br /&gt;
&lt;br /&gt;
Imagine you have this fantastic idea for a multi-tentacled winged spider-monster. Sounds great! But in order to make this a reality you may need to create a new set of body parts for it. That's no problem! Making body parts is easy, though it may look complicated at first. &lt;br /&gt;
&lt;br /&gt;
All of the default body definitions are located in body_default.txt and then linked to a creature in the creature's entry. We've talked about how bodyparts make up creatures earlier, in the creature section. You can mix and match them in the creature entry and it makes no difference, as long as they're there: each bodypart will link itself to the appropriate connection automatically when the creature is first created.&lt;br /&gt;
&lt;br /&gt;
Body parts work by sections: you can add as many sections as you want to a bodypart definition, but generally you should keep it fairly low for ease of use. Each body section entry is in the, very simple, format:&lt;br /&gt;
&lt;br /&gt;
 [BODY:BODYNAME]&lt;br /&gt;
 [BP:TOKENID:name][TOKENSGOHERE][DEFAULT_RELSIZE:][CATEGORY:WHATEVER]&lt;br /&gt;
&lt;br /&gt;
The most important tokens are &amp;quot;CONTYPE&amp;quot; and &amp;quot;CON&amp;quot;: CONTYPE means the bodypart in question is connected to a certain ''type'' of bodypart, while CON means it's connected to a ''specific'' one. TOKENID is yet another identifier, which should be unique, as it's referenced every time something uses CON or BY_TOKEN. DEFAULT_RELSIZE defines, of course, what the bodypart's size is in relation to the other parts. CATEGORY defines a category for the part, which can be unique or shared with other parts. This is referenced whenever BY_CATEGORY is used.&lt;br /&gt;
&lt;br /&gt;
A list of bodypart tokens can be found [[body token|here]].&lt;br /&gt;
&lt;br /&gt;
Let's take a simple example, a head:&lt;br /&gt;
&lt;br /&gt;
 [BODY:BASIC_HEAD]&lt;br /&gt;
 [BP:HD:head:STP][CONTYPE:UPPERBODY][HEAD][CATEGORY:HEAD]&lt;br /&gt;
 [DEFAULT_RELSIZE:300]&lt;br /&gt;
&lt;br /&gt;
It connects directly to an upper body.&lt;br /&gt;
&lt;br /&gt;
 [BODY:2EYES]&lt;br /&gt;
     [BP:REYE:right eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
     [BP:LEYE:left eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT][CATEGORY:EYE]&lt;br /&gt;
         [DEFAULT_RELSIZE:5]&lt;br /&gt;
&lt;br /&gt;
These are a pair of eyes, connecting to the head.&lt;br /&gt;
&lt;br /&gt;
 [BODY:HUMANOID]&lt;br /&gt;
     [BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:1000]&lt;br /&gt;
     [BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]&lt;br /&gt;
         [DEFAULT_RELSIZE:300]&lt;br /&gt;
     [BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:200]&lt;br /&gt;
     [BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]&lt;br /&gt;
         [DEFAULT_RELSIZE:80]&lt;br /&gt;
     [BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]&lt;br /&gt;
         [DEFAULT_RELSIZE:500]&lt;br /&gt;
     [BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]&lt;br /&gt;
         [DEFAULT_RELSIZE:400]&lt;br /&gt;
     [BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
     [BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]&lt;br /&gt;
         [DEFAULT_RELSIZE:120]&lt;br /&gt;
&lt;br /&gt;
An entire humanoid body. The foot bone's connected to the ankle bone...&lt;br /&gt;
&lt;br /&gt;
&amp;quot;BODYGLOSS&amp;quot; entries, which you can sometimes find applied to creature entries, are simply replacement words for specific part name strings in a creature. For example, you'll find the bodygloss [BODYGLOSS:CLAW_HAND:hand:claw] in body_default.txt; you can then use this in a creature via &amp;quot;[BODYGLOSS:CLAW_HAND]&amp;quot; and it'll replace all instances of &amp;quot;hand&amp;quot; with &amp;quot;claw&amp;quot; in that creature. Be warned, however—if you were to, say make a bodygloss [BODYGLOSS:EARSTALK:ear:stalk:ears:stalk], it would not only change &amp;quot;ear&amp;quot; and &amp;quot;ears&amp;quot; to &amp;quot;stalk&amp;quot; and &amp;quot;stalks&amp;quot;, it would also change &amp;quot;h'''ear'''t&amp;quot; to &amp;quot;h'''stalk'''t&amp;quot;! For all intents and purposes the body part will still function as the proper part, though.&lt;br /&gt;
&lt;br /&gt;
== Modding plants ==&lt;br /&gt;
&lt;br /&gt;
Plants are, again, not unlike creatures. With what you've learned so far in regard to tokens and the materials system, running through the notes included in plant_standard.txt should explain most things. [[Plant token|Here's the list of plant-specific tokens]].&lt;br /&gt;
&lt;br /&gt;
Below is the [[plump helmet]] raw description:&lt;br /&gt;
&lt;br /&gt;
 [PLANT:MUSHROOM_HELMET_PLUMP]&lt;br /&gt;
 	[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
 &lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
&lt;br /&gt;
Let's look at this line by line:&amp;lt;br&amp;gt;&lt;br /&gt;
First, we define its file name. In this case it's MUSHROOM_HELMET_PLUMP. Next we define its in-game name (plump helmet) and its adjective for if you were to craft with it (e.g. plump helmet earrings).&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 	[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]&lt;br /&gt;
&lt;br /&gt;
This defines the structure and material of the plant. It references STRUCTURAL_PLANT_TEMPLATE in the first line, so if you were to say, add wings to the template, the plump helmet plant would be winged. This is for the plant itself, not the end plump helmets.&lt;br /&gt;
&lt;br /&gt;
After that we get our edible tokens. These say that vermin can eat the plant, and it can be eaten raw or cooked by your dwarves. So if you wanted a plant vermin would leave alone, you'd remove the [EDIBLE_VERMIN] token.&lt;br /&gt;
&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
&lt;br /&gt;
Next, [PICKED_TILE:161] is the character (161 in this case) shown when the crop is harvested. See [[Main:Character table|character table]] for a table of usable tiles. [PICKED_COLOR:6:13:0] is the color used for the crop's tile when harvested. It's in a foreground:background:brightness format. See [[color]] for the colors usable.&lt;br /&gt;
&lt;br /&gt;
 	[PICKED_TILE:161][PICKED_COLOR:6:13:0]&lt;br /&gt;
&lt;br /&gt;
[GROWDUR:300] is how long it takes for your crop to grow. There are 1008 growdur units in a season.&amp;lt;br&amp;gt;&lt;br /&gt;
[VALUE:2] Is the value of harvested plant (default 1). Appears to have no effect in version 0.31.&lt;br /&gt;
&lt;br /&gt;
 	[GROWDUR:300][VALUE:2]&lt;br /&gt;
&lt;br /&gt;
This defines the plant's alcohol states. [STATE_NAME_ADJ:ALL_SOLID:] is the frozen name, followed is the actual drink name, and then its boiling name. These are achieved by either Scorching or Freezing climates. [DISPLAY_COLOR] is, of course, color, and [EDIBLE_RAW] and [EDIBLE_COOKED] are saying you can drink the alcohol raw or cooked.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]&lt;br /&gt;
 		[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:LIQUID:dwarven wine]&lt;br /&gt;
 		[STATE_NAME_ADJ:GAS:boiling dwarven wine]&lt;br /&gt;
 		[MATERIAL_VALUE:2]&lt;br /&gt;
 		[DISPLAY_COLOR:5:0:0]&lt;br /&gt;
 		[EDIBLE_RAW]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 		[PREFIX:NONE]&lt;br /&gt;
 	[DRINK:LOCAL_PLANT_MAT:DRINK]&lt;br /&gt;
&lt;br /&gt;
After that we get our seed template:&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]&lt;br /&gt;
 		[MATERIAL_VALUE:1]&lt;br /&gt;
 		[EDIBLE_VERMIN]&lt;br /&gt;
 		[EDIBLE_COOKED]&lt;br /&gt;
 	[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]&lt;br /&gt;
&lt;br /&gt;
And all this says is that the seeds may be eaten by vermin or cooked. Then it gives the name of our plant's seed, its plural name, its foreground, background, and brightness colors, followed by its seed material; said material should have [SEED_MAT] to permit proper stockpiling.&lt;br /&gt;
&lt;br /&gt;
And finally for the last chunk we have this:&lt;br /&gt;
&lt;br /&gt;
 	[SPRING][SUMMER][AUTUMN][WINTER]&lt;br /&gt;
 	[FREQUENCY:100]&lt;br /&gt;
 	[CLUSTERSIZE:5]&lt;br /&gt;
 	[PREFSTRING:rounded tops]&lt;br /&gt;
 	[WET][DRY]&lt;br /&gt;
 	[BIOME:SUBTERRANEAN_WATER]&lt;br /&gt;
 	[UNDERGROUND_DEPTH:1:3]&lt;br /&gt;
 	[SHRUB_TILE:142]&lt;br /&gt;
 	[DEAD_SHRUB_TILE:28]&lt;br /&gt;
 	[SHRUB_COLOR:5:13:0]&lt;br /&gt;
 	[DEAD_SHRUB_COLOR:5:6:0]&lt;br /&gt;
&lt;br /&gt;
First we define what season(s) the plant may grow in, then we define how frequently this plant is generated in a particular area, followed by how many harvested crop items may come from 1 plant. [PREFSTRING:] is what your dwarves like about the plant, which in this case is the rounded tops. [WET][DRY] are the conditions under which the plant can grow. Wet means it can grow close to water, dry means it can grow away from water. This does not mean you can grow the plant on dry stone however. It is just for natural spawning of the plant.&amp;lt;br&amp;gt;&lt;br /&gt;
[BIOME] Is what biome the plant grows in. [UNDERGROUND_DEPTH:Minimum:Maximum] Is the highest and lowest cavern levels that the plant can appear in if its biome is subterranean. Dwarven civilizations will only export (via the embark screen or caravans) things that available at depth 1. Defaults to 0:0 (surface only).&amp;lt;br&amp;gt;&lt;br /&gt;
Lastly, [SHRUB_TILE] is the character used for the naturally spawning shrub of this plant, [DEAD_SHRUB] is the dead shrub character. [SHRUB_COLOR] Is the shrub's color, and [DEAD_SHRUB_COLOR] is, of course, the dead shrub's color.&lt;br /&gt;
&lt;br /&gt;
While this may or may not look like a lot of tokens, it's very easy. Just copy an existing plant and edit it to your new plant.&amp;lt;br&amp;gt;&lt;br /&gt;
For the rest of the tokens, see [[plant token]].&lt;br /&gt;
&lt;br /&gt;
== Workshops ==&lt;br /&gt;
&lt;br /&gt;
Workshops are raw-designed pretty differently from everything else in the game, being buildable structures rather than items or methods to gain items. However, they are fairly simple. For example, here's the raw for the [[soap maker's workshop]]:&lt;br /&gt;
&lt;br /&gt;
 [BUILDING_WORKSHOP:SOAP_MAKER]&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
 	[BLOCK:1:0:0:1]&lt;br /&gt;
 	[BLOCK:2:0:0:1]&lt;br /&gt;
 	[BLOCK:3:0:0:0]&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	[TILE:0:2:' ':' ':'/']&lt;br /&gt;
 	[TILE:0:3:'-':' ':' ']&lt;br /&gt;
 	[COLOR:0:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:0:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:0:3:6:0:0:0:0:0:0:0:0]&lt;br /&gt;
 	[TILE:1:1:' ':' ':'=']&lt;br /&gt;
 	[TILE:1:2:'-':' ':8]&lt;br /&gt;
 	[TILE:1:3:' ':' ':150]&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:1:2:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:1:3:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[TILE:2:1:'-':' ':8]&lt;br /&gt;
 	[TILE:2:2:' ':' ':8]&lt;br /&gt;
 	[TILE:2:3:' ':150:' ']&lt;br /&gt;
 	[COLOR:2:1:6:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:2:2:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	[COLOR:2:3:0:0:0:6:0:0:0:0:0]&lt;br /&gt;
 	[TILE:3:1:150:' ':8]&lt;br /&gt;
 	[TILE:3:2:' ':' ':8]&lt;br /&gt;
 	[TILE:3:3:' ':240:' ']&lt;br /&gt;
 	[COLOR:3:1:6:0:0:0:0:0:6:7:0]&lt;br /&gt;
 	[COLOR:3:2:0:0:0:0:0:0:6:7:0]&lt;br /&gt;
 	[COLOR:3:3:0:0:0:7:0:1:0:0:0]&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
&lt;br /&gt;
A line-by-line breakdown:&lt;br /&gt;
&lt;br /&gt;
 	[NAME:Soap Maker's Workshop]&lt;br /&gt;
 	[NAME_COLOR:7:0:1]&lt;br /&gt;
&lt;br /&gt;
These are the name of the workshop (&amp;quot;Soap Maker's Workshop&amp;quot;) and [[color]] of the workshop's name when examined with 'q' (White with a black background).&lt;br /&gt;
&lt;br /&gt;
 	[DIM:3:3]&lt;br /&gt;
 	[WORK_LOCATION:2:2]&lt;br /&gt;
&lt;br /&gt;
DIM refers to how large the workshop will be, in this case 3 wide, 3 tall. WORK_LOCATION tells where the creature using it (usually a dwarf) will work, numbered from the top right--in this case, 2:2, or the middle. Multiple work locations can be defined, even outside the dim.&lt;br /&gt;
&lt;br /&gt;
 	[BUILD_LABOR:SOAP_MAKER]&lt;br /&gt;
 	[BUILD_KEY:CUSTOM_SHIFT_S]&lt;br /&gt;
&lt;br /&gt;
These refer to the worker required to build it (soap maker) and the key used to build it in the workshop menu (capital S).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  	[BLOCK:1:0:0:1]&lt;br /&gt;
 	...&lt;br /&gt;
This is a bit more complex, and is where we get to the meaty part of workshop making--the tiles' properties. BLOCK refers to which tiles will be untraversable--1 means blocked, 0 means unblocked. The first number refers to row, and the next 3 refer to column, so 1:0:0:1 means that, on the first row, the first two tiles will be unblocked and the last will be blocked.&lt;br /&gt;
&lt;br /&gt;
 	[TILE:0:1:' ':' ':150]&lt;br /&gt;
 	...&lt;br /&gt;
The TILE token tells which tile will go where. note, however, that there are 5 entries here instead of 4. The first number, in this case, refers to build stage, numbered from 0 to 3; 3 or 1 is fully built (depending on whether there are stages), 0 is just placed, and 2 is always an intermediate stage, while 1 is usually an intermediate stage. Whether 1 is an intermediate stage or not depends on if there are a 2 and 3 stage; if 2 and 3 exist, 1 will be intermediate. The second number and beyond are similar to BLOCK; however, instead of 1s and 0s, you must input tiles. The tiles themselves can be given in quotes (as in ' ') or given as a number, which can be looked up [[Tilesets|here]]. Here, we have 150, which is û.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 	[COLOR:1:1:0:0:0:0:0:0:6:0:0]&lt;br /&gt;
 	...&lt;br /&gt;
Color is as TILE, but with colors instead of tiles; however, colors are made up of 3 numbers each or MAT. MAT refers to the color of the material used to make it; the 3 numbers refer to foreground:background:foreground brightness, and can be looked up [[Color|here]]. For example, 4:2:1 will give you bright red with a dark green background.&lt;br /&gt;
&lt;br /&gt;
 	[BUILD_ITEM:1:BUCKET:NONE:NONE:NONE][EMPTY][CAN_USE_ARTIFACT]&lt;br /&gt;
 	[BUILD_ITEM:1:NONE:NONE:NONE:NONE][BUILDMAT][WORTHLESS_STONE_ONLY][CAN_USE_ARTIFACT]&lt;br /&gt;
These refer to items required to build the building. These are in the same format as [[Reaction|reaction reagents and products]]--quantity:[[Item token|item]]:[[Material token|material]]. You'll learn more about those on the article about [[Reaction|reactions]], though. The second BUILD_ITEM is special-- it uses modifiers exclusively to determine its requirements. BUILDMAT refers to wood logs, wood blocks, stone boulders, and stone blocks; WORTHLESS_STONE_ONLY means it can't use economic stone; CAN_USE_ARTIFACT means that it... can use artifacts. EMPTY, in the bucket's case, means that the bucket must be empty.&lt;br /&gt;
&lt;br /&gt;
More can be seen at the [[Building token|building tokens]] article.&lt;br /&gt;
&lt;br /&gt;
== Reactions ==&lt;br /&gt;
&lt;br /&gt;
An in-depth guide for reactions is available [[Reactions|here]].&lt;br /&gt;
&lt;br /&gt;
== Materials ==&lt;br /&gt;
&lt;br /&gt;
As we've seen when talking about creatures, materials are vital. Materials show up in two forms: material templates, which generally show up in creatures, and specific materials (designated as &amp;quot;inorganic&amp;quot;), which are (by default, at least) consigned purely to metal and stone types.&lt;br /&gt;
&lt;br /&gt;
Let's take a look at METAL_TEMPLATE in material_template_default.txt. It's evident that most of the basic properties of metals are already defined in the template - it goes red and melts at a high enough temperature, it's heavy, and (as noted by the very bottom token) is a metal. We already know just how useful templates can be to creatures, and the same applies to other materials.&lt;br /&gt;
&lt;br /&gt;
Now let's take a look at inorganic_metal.txt. You can see that the metals here refer to the templates, and, just like we did with creatures, then modify the properties of that template and expand upon it.&lt;br /&gt;
&lt;br /&gt;
Finally, let's look at inorganic_stone_mineral.txt. Here we can see that in addition to the changes made to the template, there are also ENVIRONMENT tokens - these tell the game where to place these minerals during worldgen.&lt;br /&gt;
&lt;br /&gt;
[[material definition token|Here's a list of material tokens]]. It should also help you out with any modifications you want to make regarding those creature modifications we were making a while back. See, it all ties together in the end. The beauty of the current materials system is that there's actually very little difference between, say, leather and iron - they're fundamentally the same thing, just with different properties, which is how things really should be.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
The Hydling by Mysteryguye (annotated, updated and separated into blocks by Putnam)&lt;br /&gt;
&lt;br /&gt;
 [CREATURE:HYDLING]&lt;br /&gt;
 	[DESCRIPTION:A seven-headed small hairy thing, about the size of a dog. It is very loyal to its masters, and will promptly disembowel any enemy straying too close.]&lt;br /&gt;
 This is the description that shows up in-game when viewing the creature.&lt;br /&gt;
&lt;br /&gt;
 	[NAME:hydling:hydlings:hydlish] If there were a civ made of hydlings, it would appear as &amp;quot;hydlings&amp;quot; in the neighbors screen.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE_NAME:hydling:hydlings:hydlish]&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_TILE:'='][COLOR:2:0:1] Will appear as a light green &amp;quot;=&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[PETVALUE:78][NATURAL] Creature is known to be naturally occurring by the game. Will cost 40 embark points to buy.&lt;br /&gt;
&lt;br /&gt;
 	[LARGE_ROAMING] Will spawn outdoors, wandering around.&lt;br /&gt;
&lt;br /&gt;
 	[COMMON_DOMESTIC][TRAINABLE][PET] Can be bought on embark as a pet, war animal, or hunting animal.&lt;br /&gt;
&lt;br /&gt;
 	[BONECARN] Can eat meat and bones only--no vegetables.&lt;br /&gt;
&lt;br /&gt;
 	[PREFSTRING:loyalty] Dwarves will like it for its loyalty.&lt;br /&gt;
&lt;br /&gt;
 	[LIKES_FIGHTING] Will attack rather than flee.&lt;br /&gt;
&lt;br /&gt;
 	[BODY:BASIC_2PARTBODY:7HEADNECKS:BASIC_FRONTLEGS:BASIC_REARLEGS:TAIL:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:SPINE:BRAIN:SKULL:3TOES_FQ_REG:3TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_FANGS:RIBCAGE]&lt;br /&gt;
&lt;br /&gt;
 Has a lower body, upper body, 4 legs, a tail, ten eyes, ten ears, five noses, two lungs, a heart, guts, a pancreas etc., and 5 heads with all that goes with those.&lt;br /&gt;
&lt;br /&gt;
 	[BODYGLOSS:PAW] Feet will be called &amp;quot;paws&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_MATERIALS] Declares the standard materials that most creatures' tissues are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_TISSUES] This declares the tissues that the creature's tissue layers are made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] And this describes the tissue layers that the creature is made of.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR] Creature will be covered with a layer of fur.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE] And it'll have nails.&lt;br /&gt;
&lt;br /&gt;
 	[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]&lt;br /&gt;
&lt;br /&gt;
 	[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT] On the toe, specifically.&lt;br /&gt;
&lt;br /&gt;
 	[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]&lt;br /&gt;
 	 [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]&lt;br /&gt;
 		[TL_MAJOR_ARTERIES] Heart and throat--called above--will cause heavy bleeding if ruptured.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS] Places eyes, ears and what have you into their correct placement, so that you don't have people punching out eyes from behind.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] Sets the ribcage as being around lungs and heart.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE] Defines sinew so that...&lt;br /&gt;
 	[TENDONS:LOCAL_CREATURE_MAT:SINEW:200] Tendons&lt;br /&gt;
 	[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200] And ligaments can be defined.&lt;br /&gt;
&lt;br /&gt;
 	[HAS_NERVES] Creature has nerves, and as such can be disabled by severing them.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE] Defines the material BLOOD using the template BLOOD_TEMPLATE.&lt;br /&gt;
 	[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] Defines the creature's BLOOD as being made of the above-defined BLOOD material in a LIQUID state.&lt;br /&gt;
&lt;br /&gt;
 	[CREATURE_CLASS:GENERAL_POISON] Creature can be affected by syndromes that affect GENERAL_POISON.&lt;br /&gt;
&lt;br /&gt;
 	[GETS_WOUND_INFECTIONS] Pretty much self-explanatory. Creature can get infected from wounds.&lt;br /&gt;
 	[GETS_INFECTIONS_FROM_ROT] And from necrosis.&lt;br /&gt;
&lt;br /&gt;
 	[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE] Defines PUS using PUS_TEMPLATE.&lt;br /&gt;
 	[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID] Defines PUS as being made of PUS.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_SIZE:0:0:1000] Creature will be 1000 cubic centimeters at birth...&lt;br /&gt;
 	[BODY_SIZE:1:0:12500] 12500 cubic centimeters at 1 year old...&lt;br /&gt;
 	[BODY_SIZE:2:0:30000] and 30000 cubic centimeters at 2.&lt;br /&gt;
&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110] Creature can be anywhere from 90% to 110% as long as others.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110] As above, but with height.&lt;br /&gt;
 	[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110] As above, but with broadness. This puts the minimum size of the creature (when fully grown) at 21870 and the maximum size at 39930.&lt;br /&gt;
&lt;br /&gt;
 	[MAXAGE:20:30] Creature will die of old age between the ages of 20 and 30, no later than 30, no sooner than 20.&lt;br /&gt;
&lt;br /&gt;
 	[CAN_DO_INTERACTION:MATERIAL_EMISSION] Creature can use the MATERIAL_EMISSION interaction.&lt;br /&gt;
 		[CDI:ADV_NAME:Hurl fireball] In adventurer mode, the MATERIAL_EMISSION interaction will appear as &amp;quot;Hurl fireball&amp;quot;.&lt;br /&gt;
 		[CDI:USAGE_HINT:ATTACK] Creature will use MATERIAL_EMISSION when it's attacking, on creatures that it's attacking.&lt;br /&gt;
 		[CDI:BP_REQUIRED:BY_CATEGORY:HEAD] Creature must have at least one HEAD to use MATERIAL_EMISSION.&lt;br /&gt;
 		[CDI:FLOW:FIREBALL] The MATERIAL_EMISSION will shoot a fireball.&lt;br /&gt;
 		[CDI:TARGET:C:LINE_OF_SIGHT] The target for the emission--a location--must be within the line of sight of the Hydling.&lt;br /&gt;
 		[CDI:TARGET_RANGE:C:15] And must be, at most, 15 tiles away.&lt;br /&gt;
 		[CDI:MAX_TARGET_NUMBER:C:1] The hydling can only shoot at one target at a time...&lt;br /&gt;
 		[CDI:WAIT_PERIOD:30] and only every 30 ticks (3 tenths of a second at 100 FPS)&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH] Defines a BITE attack that uses teeth.&lt;br /&gt;
 		[ATTACK_SKILL:BITE] Attack uses the BITE skill.&lt;br /&gt;
 		[ATTACK_VERB:nom:noms] &amp;quot;The Hydling noms the Elf in the left first toe, tearing the muscle!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Will use all of the tooth. Note that this can be more than 100.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] Will sink the tooth all the way in. This can also be more than 100.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an EDGE attack.&lt;br /&gt;
 		[ATTACK_PRIORITY:MAIN] Attack is of priority MAIN. Other option is SECOND.&lt;br /&gt;
 		[ATTACK_FLAG_CANLATCH] Attack can latch.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3] Takes 3 ticks to wind up attack and 3 to recover from it.&lt;br /&gt;
                [ATTACK_FLAG_INDEPENDENT_MULTIATTACK] Can use each head independently.&lt;br /&gt;
&lt;br /&gt;
 	[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL] As above, but for nail instead of teeth.&lt;br /&gt;
 		[ATTACK_SKILL:STANCE_STRIKE] Uses the kicking skill.&lt;br /&gt;
 		[ATTACK_VERB:slice:slices] &amp;quot;You slice the Elf in the left foot and the severed part sails off in an arc!&amp;quot;&lt;br /&gt;
 		[ATTACK_CONTACT_PERC:100] Uses the whole nail.&lt;br /&gt;
 		[ATTACK_PENETRATION_PERC:100] The whole nail goes in.&lt;br /&gt;
 		[ATTACK_FLAG_EDGE] Attack is an edge attack.&lt;br /&gt;
                [ATTACK_PREPARE_AND_RECOVER:3:3]&lt;br /&gt;
 		[ATTACK_PRIORITY:SECOND]&lt;br /&gt;
&lt;br /&gt;
 	[CHILD:1] Hydling will become an adult at 1 year old.&lt;br /&gt;
&lt;br /&gt;
 	[GENERAL_CHILD_NAME:hydie:hydies] Children will appear as &amp;quot;hydies&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 	[DIURNAL] Is active during the daytime.&lt;br /&gt;
&lt;br /&gt;
 	[HOMEOTHERM:10070] Has a body temperature of 102 Fahrenheit.&lt;br /&gt;
&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:730:561:351:1900:2900] Can run at 25 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:3512:2634:1756:878:4900:6900] Can swim at 10 kph&lt;br /&gt;
 	[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:6561:6115:5683:1755:7456:8567] Can crawl at 5 kph&lt;br /&gt;
 	[SWIMS_INNATE]Swims innately.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:FEMALE] Defines a caste called FEMALE.&lt;br /&gt;
 		[FEMALE] FEMALE caste is female.&lt;br /&gt;
&lt;br /&gt;
 	[CASTE:MALE] As above, but with male.&lt;br /&gt;
 		[MALE] See above.&lt;br /&gt;
&lt;br /&gt;
= Modding utilities =&lt;br /&gt;
&lt;br /&gt;
[http://www.bay12forums.com/smf/index.php?topic=28829.0 A list of many mods and community-developed utilities]&lt;br /&gt;
&lt;br /&gt;
{{Category|Modding}}&lt;br /&gt;
{{Category|Guides}}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Masterwork:Shrine_of_Armok&amp;diff=211841</id>
		<title>Masterwork:Shrine of Armok</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Masterwork:Shrine_of_Armok&amp;diff=211841"/>
		<updated>2014-10-24T08:21:14Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: Added quality rating &amp;quot;Exceptional&amp;quot; using the rating script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Exceptional|08:21, 24 October 2014 (UTC)}}&lt;br /&gt;
{{workshop|name=Shrine of Armok|key=alt-H&lt;br /&gt;
|construction=&lt;br /&gt;
* 2 [[cv:block|block]]&lt;br /&gt;
|construction_job= [[Prayer]]&lt;br /&gt;
|use=&lt;br /&gt;
*various&lt;br /&gt;
|production=&lt;br /&gt;
*various}}&lt;br /&gt;
{{av}}&lt;br /&gt;
This building is part of the dwarven [[religion]] system.&lt;br /&gt;
&lt;br /&gt;
Shrines are the most basic of religious buildings. Any dwarf can pray at them to receive a small gift from Armok with a success rate of around 3-6% for most things. There is no cost to this praying, which makes it a good way to train your apostles while still retaining a chance to get items (which wouldn't be the case with the [[monastery]]).&lt;br /&gt;
&lt;br /&gt;
If you have a strange mood that can't be fulfilled, you may be able to pray at a shrine for the item(s) you need.&lt;br /&gt;
&lt;br /&gt;
== Build Requirements ==&lt;br /&gt;
* 2 blocks&lt;br /&gt;
* A space of 3x3&lt;br /&gt;
* Praying&lt;br /&gt;
&lt;br /&gt;
== Reactions ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Reaction &lt;br /&gt;
! Reagents&lt;br /&gt;
! Possible Products&lt;br /&gt;
|-&lt;br /&gt;
| Pray for booze&lt;br /&gt;
| Empty food storage item&lt;br /&gt;
| Dwarven Wine&lt;br /&gt;
|-&lt;br /&gt;
| Pray for food&lt;br /&gt;
| Empty food storage item&lt;br /&gt;
| Plump helmets&lt;br /&gt;
|-&lt;br /&gt;
| Pray for soft metal&lt;br /&gt;
| Nothing&lt;br /&gt;
| Platinum, silver or gold bar&lt;br /&gt;
|-&lt;br /&gt;
| Pray for hard metal&lt;br /&gt;
| Nothing&lt;br /&gt;
| Iron, bronze or steel bar&lt;br /&gt;
|-&lt;br /&gt;
| Pray for gem&lt;br /&gt;
| Nothing&lt;br /&gt;
| Rough aquamarine, black opal or topaz&lt;br /&gt;
|-&lt;br /&gt;
| Pray for silk&lt;br /&gt;
| Nothing&lt;br /&gt;
| Silk thread, rare silk thread or silk cloth&lt;br /&gt;
|- &lt;br /&gt;
| Pray for wool&lt;br /&gt;
| Nothing&lt;br /&gt;
| Wool thread or wool cloth&lt;br /&gt;
|-&lt;br /&gt;
| Pray for cotton&lt;br /&gt;
| Nothing&lt;br /&gt;
| Cotton fibre thread or cotton fibre cloth&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;br /&gt;
{{category|Temples}}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Masterwork:Vermin&amp;diff=211766</id>
		<title>Masterwork:Vermin</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Masterwork:Vermin&amp;diff=211766"/>
		<updated>2014-10-16T09:32:58Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: Added quality rating &amp;quot;Tattered&amp;quot; using the rating script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Quality|Tattered|09:32, 16 October 2014 (UTC)}}&lt;br /&gt;
{{av}}{{stub}}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=206503</id>
		<title>Crop</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=206503"/>
		<updated>2014-07-15T06:36:22Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: reformulated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Migrated_article}}&lt;br /&gt;
{{quality|unrated}}&lt;br /&gt;
&lt;br /&gt;
{{av}}&lt;br /&gt;
:''(This article is about plants. If you want information about trees, see [[Tree]].)''&lt;br /&gt;
&lt;br /&gt;
'''Crops''' (or more accurately '''plants''') can either be [[farming|farmed]], traded for, or acquired by plant gathering. Farming happens at farm plots. There are two types of crops: above ground and subterranean. The [[seed]]s of subterranean crops may be brought from the starting embark screen or, with some small luck, purchased from dwarven caravans. Above ground crops and [[seed]]s may be purchased from human or elven caravans or gathered by dwarves with the [[plant gathering]] labor enabled. Seeds may also be collected by processing the plants or eating them (but not by cooking!).  There is a limit of 200 seeds of a given type at a time, after which no more will be produced.&lt;br /&gt;
&lt;br /&gt;
A few of the plants listed below are not strictly crops, as they have no seeds and can't be planted (see note &amp;quot;4&amp;quot;, below.) &lt;br /&gt;
&lt;br /&gt;
Most plants can be brewed into alcohols, each plant type producing a different variation, and dwarves do prefer some variety in their drink. Some plants may be eaten raw, others must be cooked first, others must be processed first (by milling or plant processing) before they are edible, and still others are inedible, producing only non-food products (their seeds can be cooked anyway, however). Drinks may be cooked as ingredients in prepared meals, but at least one of the ingredients must be a non-liquid.&lt;br /&gt;
&lt;br /&gt;
All drinks require a spare [[barrel]] or [[large pot]] for storage, and some other products also require specific containers for storage. Plants can be stored in barrels or without a container; seeds are stored individually or in [[bag]]s which can then be put into barrels. It may be advisable to have a small stockpile that accepts only seeds next to your farm(s), since dwarves will happily carry entire pots of seeds across the map to pick up a single seed, leading to cancellation spam and irregular planting.  &lt;br /&gt;
&lt;br /&gt;
Plump helmets and pig tails can be harvested 25 days after sowing. All other subterranean crops need about 42 days.&lt;br /&gt;
&lt;br /&gt;
Standard plants have been changed very little from the previous version; tiles and colors have been upgaded, and brewing, pressing and processing plants to bags have been reimplemented as reactions, which means these options will be unavailable in the workshop if materials are missing.&lt;br /&gt;
&lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Pig tail|tile=τ|color=7:0|seasons={{seasons3||1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; ale|drinkv=10|prod=Pig tail thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Cave wheat|tile=τ|color=7:1|seasons={{seasons3||1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; beer|drinkv=10|cook=p|prod=Dwarven wheat flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sweet pod|tile=Φ|color=4:1|seasons={{seasons3|1|1||}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; rum|drinkv=10|cook=p|prod=Dwarven sugar (m)&amp;lt;br /&amp;gt;Dwarven syrup (l)|prodv=20☼&amp;lt;br /&amp;gt;100&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}&lt;br /&gt;
{{plant table row|name=Quarry bush|tile=♣|color=7:0|seasons={{seasons3|1|1|1|}}|biome=Wet cavern|value=4|cook=p|prod=Quarry bush leaves (b)&amp;lt;br /&amp;gt;Rock nut paste (m)&amp;lt;br /&amp;gt;Rock nut press cake (s)&amp;lt;br /&amp;gt;Rock nut oil (s)|prodv=50&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;5}}&lt;br /&gt;
{{plant table row|name=Dimple cup|tile=♥|color=1:1|biome=Wet cavern|value=4|prod=Dimple [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Muck root/4|tile=τ|color=0:1|biome=Wetland/Wet|value=1|drink=Swamp&amp;lt;br /&amp;gt;whiskey|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Bloated tuber/4|tile=Φ|color=6:0|biome=Wetland/Dry|value=2|drink=Tuber&amp;lt;br /&amp;gt; beer|drinv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Kobold bulb/4|tile=Φ|color=0:1|biome=Wetland/Wet|value=5|prod=[[Gnomeblight]] (e)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Prickle berry|tile=:|color=2:0|biome=Not freezing/Dry|value=1|drink=Prickle&amp;lt;br /&amp;gt;berry wine|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Strawberry|tile=:|color=4:0|biome=Not freezing/Dry|value=4|drink=Strawberry&amp;lt;br /&amp;gt;wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Longland grass|tile=τ|color=6:1|biome=Not freezing/Dry|value=4|drink=Longland&amp;lt;br /&amp;gt;beer|drinkv=10|cook=p|prod=Longland flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Valley herb/4|tile=ÿ|color=2:1|seasons={{seasons3|1|||}}|biome=Temperate grassland/Dry|value=10|cook=y|prod=[[Golden salve]] (v)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Rat weed|tile=τ|color=2:0|biome=Not freezing/Wet|value=1|drink=Sewer&amp;lt;br /&amp;gt; brew|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Fisher berry|tile=:|color=7:0|biome=Not freezing/Wet|value=4|drink=Fisher&amp;lt;br /&amp;gt;berry wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Rope reed|tile=ƒ|color=2:0|biome=Not freezing/Wet|value=4|drink=River&amp;lt;br /&amp;gt; spirits|prod=Rope reed thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Blade weed|tile=τ|color=2:0|biome=Not freezing/Dry|value=4|prod=Emerald [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Hide root|tile=τ|color=6:0|biome=Not freezing/Dry|value=1|prod=Redroot [[dye]] (m)|prodv=10}}&lt;br /&gt;
{{plant table row|name=Sliver barb|tile=τ|color=0:1|biome=Not freezing/Dry|align=Evil|value=1|drink=Gutter&amp;lt;br /&amp;gt; cruor|drinkv=5|prod=Sliver [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sun berry|tile=:|color=6:1|biome=Not freezing/Wet|align=Good|value=9|drink=Sunshine|drinkv=25|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Whip vine|tile=§|color=3:1|biome=Not freezing/Dry|align=Savage|value=1|drink=Whip wine|drinkv=15|cook=p|prod=Whip vine flour (m)|prodv=25}}&lt;br /&gt;
|}&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
:&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; This is the value for a stack of 5 units, which is the number rendered from a single plant.&lt;br /&gt;
:&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Anything that can be cooked is edible afterwards. [[v0.31_Talk:Cook#No_Seeds|Cooking leaves no seeds for re-planting.]]&lt;br /&gt;
:&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; These plants cannot be eaten/cooked until they are further processed, either by milling or extracting; see &amp;quot;products&amp;quot; column for process product.&lt;br /&gt;
:&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; These plants cannot be grown on a farm plot as they have no seeds. They can only be acquired through plant gathering (in season only) or trade.&lt;br /&gt;
:&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; To get the products/extracts from the plants they have to be processed, in the following [[workshop]]s, using the following [[labor]]s:&lt;br /&gt;
::*'''m''': mill ([[cave wheat]], [[sweet pod]], [[longland grass]], [[whip vine]], [[dimple cup]], [[blade weed]], [[hide root]], [[sliver barb]]): At [[quern]] or [[millstone]], using [[milling]].&lt;br /&gt;
::*'''b''': process to bag ([[quarry bush]]): At [[farmer's workshop]], using [[plant processing]]. In 0.40.01 this reaction neglected to produce any seeds; this bug was fixed in 0.40.02.&lt;br /&gt;
::*'''s''': press paste into oil ([[quarry bush]]): At [[screw press]].&lt;br /&gt;
::*'''l''': process to barrel ([[sweet pod]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''p''': process plant ([[pig tail]], [[rope reed]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''v''': process to vial ([[valley herb]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''e''': extract plant essence ([[kobold bulb]]): At [[still]], using [[plant gathering]].&lt;br /&gt;
&lt;br /&gt;
== Garden Plants ==&lt;br /&gt;
All garden plants are above-ground, and can grow year-round. Garden plants are defined in a separate file from standard plants, named, somewhat predictably, plant_garden.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
Unlike standard plants, garden plants will also produce growths - leaves, buds, flowers, pods and fruits.&lt;br /&gt;
As a general rule, leaves can be only cooked, buds can be both cooked and brewed. // todo: fill in rest; didn't get that far.&lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Artichoke|tile=:(58)|color=6:0|biome=dry temperate|value=2&lt;br /&gt;
  |drink=artichoke&amp;lt;br /&amp;gt; wine|drinkv=2|eat=y|cook=y&lt;br /&gt;
  |prod=leaves (green)&amp;lt;br /&amp;gt;heart (purple)&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Asparagus|tile=:(58)|color=2:0|biome=dry grassland|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves (yellowish-green)&amp;lt;br /&amp;gt;flowers (green)&amp;lt;br /&amp;gt;fruits (poisonous)&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Bambara groundnut|tile=:|color=2:0|biome=tropical dry broadleaf forest, tropical grassland, tropical savanna, tropical shrubland/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruits&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=String bean|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;pod&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Broad bean|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;pod&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br ?&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Beet|tile=:|color=4:0:1|biome=Temperate grassland/Dry|value=2&lt;br /&gt;
  |drink=beetroot wine|drinkv=2|eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&amp;lt;br /&amp;gt;&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Bitter melon|tile=:|color=2:0:1|biome=Tropical/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruit&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Cabbage|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Caper|tile=:|color=2:0|biome=Desert, Grassland/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;buds&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruits&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crop Plants ==&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Farming]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Crops| }}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Crop&amp;diff=206500</id>
		<title>DF2014 Talk:Crop</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Crop&amp;diff=206500"/>
		<updated>2014-07-15T06:22:51Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: answer&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- DELETE THIS LINE --&amp;gt;{{newpage|type=cp|Carch}}&lt;br /&gt;
&lt;br /&gt;
== list of new crops ==&lt;br /&gt;
&lt;br /&gt;
since the main page would just get messy, I thought maybe this'd be a good place to add the new garden crops. I'll pull the list here from the raws, but don't know how to make a table (and I could look at the main page, but afraid I'd mess it up beyond my ability to repair)&lt;br /&gt;
&lt;br /&gt;
crops: (name / drink / millable)&lt;br /&gt;
&lt;br /&gt;
single-grain Wheat / Single-grain wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
two-grain wheat / two-grain wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
soft wheat / soft wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
hard wheat / hard wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
spelt / spelt beer / yes&lt;br /&gt;
&lt;br /&gt;
barley / barley whine / yes&lt;br /&gt;
&lt;br /&gt;
buckwheat / buckwheat beer / yes &lt;br /&gt;
&lt;br /&gt;
oats / no drink / yes&lt;br /&gt;
&lt;br /&gt;
Alfalfa / no drink / no&lt;br /&gt;
&lt;br /&gt;
rye / rye beer / yes&lt;br /&gt;
&lt;br /&gt;
sorghum / sorghum beer / yes&lt;br /&gt;
&lt;br /&gt;
rice / rice beer / yes&lt;br /&gt;
&lt;br /&gt;
maize / maize beer / yes&lt;br /&gt;
&lt;br /&gt;
quinoa / quinoa beer / yes&lt;br /&gt;
&lt;br /&gt;
Kaniwa / Kaniwa beer / yes&lt;br /&gt;
&lt;br /&gt;
bitter vetch / no drink / no&lt;br /&gt;
&lt;br /&gt;
pendant amaranth / pendant amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
blood amaranth / blood amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
purple amaranth / purple amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
red spinach / no drink / no&lt;br /&gt;
&lt;br /&gt;
Elephant-head amaranth / no drink / no&lt;br /&gt;
&lt;br /&gt;
pearl millet / pearl millet beer / yes&lt;br /&gt;
&lt;br /&gt;
white millet / white millet beer / yes &lt;br /&gt;
&lt;br /&gt;
finger millet / finger millet beer / yes&lt;br /&gt;
&lt;br /&gt;
foxtail millet / foxtail millet beer / yes&lt;br /&gt;
&lt;br /&gt;
didn't get any further yet. but I think this is about half of the crops raw file&lt;br /&gt;
done. after this only the garden stuff to do.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
* Shouldn't plants be split by standard / garden / crop? They seem to have different properties - no standard plant has any growths, for instance.&lt;br /&gt;
** Beets are in the plant_garden.txt file - they have [GROWTH:LEAVES] and [GROWTH:FLOWERS], and we have Jute in the plant_crops.txt file - also with just [GROWTH:LEAVES] and [GROWTH:FLOWERS]&lt;br /&gt;
::: Yes, garden and crop plants have growths; standard plants don't. Plus, crop plants seem to either be inedible to dwarves (excepting various beers) or to require double processing in order to obtain a cookable product.&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=206498</id>
		<title>Crop</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=206498"/>
		<updated>2014-07-15T06:12:54Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: add the 0.40.01 seedless bagging bug.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Migrated_article}}&lt;br /&gt;
{{quality|unrated}}&lt;br /&gt;
&lt;br /&gt;
{{av}}&lt;br /&gt;
:''(This article is about plants. If you want information about trees, see [[Tree]].)''&lt;br /&gt;
&lt;br /&gt;
'''Crops''' (or more accurately '''plants''') can either be [[farming|farmed]], traded for, or acquired by plant gathering. Farming happens at farm plots. There are two types of crops: above ground and subterranean. The [[seed]]s of subterranean crops may be brought from the starting embark screen or, with some small luck, purchased from dwarven caravans. Above ground crops and [[seed]]s may be purchased from human or elven caravans or gathered by dwarves with the [[plant gathering]] labor enabled. Seeds may also be collected by processing the plants or eating them (but not by cooking!).  There is a limit of 200 seeds of a given type at a time, after which no more will be produced.&lt;br /&gt;
&lt;br /&gt;
A few of the plants listed below are not strictly crops, as they have no seeds and can't be planted (see note &amp;quot;4&amp;quot;, below.) &lt;br /&gt;
&lt;br /&gt;
Most plants can be brewed into alcohols, each plant type producing a different variation, and dwarves do prefer some variety in their drink. Some plants may be eaten raw, others must be cooked first, others must be processed first (by milling or plant processing) before they are edible, and still others are inedible, producing only non-food products (their seeds can be cooked anyway, however). Drinks may be cooked as ingredients in prepared meals, but at least one of the ingredients must be a non-liquid.&lt;br /&gt;
&lt;br /&gt;
All drinks require a spare [[barrel]] or [[large pot]] for storage, and some other products also require specific containers for storage. Plants can be stored in barrels or without a container; seeds are stored individually or in [[bag]]s which can then be put into barrels. It may be advisable to have a small stockpile that accepts only seeds next to your farm(s), since dwarves will happily carry entire pots of seeds across the map to pick up a single seed, leading to cancellation spam and irregular planting.  &lt;br /&gt;
&lt;br /&gt;
Plump helmets and pig tails can be harvested 25 days after sowing. All other subterranean crops need about 42 days.&lt;br /&gt;
 &lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Pig tail|tile=τ|color=7:0|seasons={{seasons3||1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; ale|drinkv=10|prod=Pig tail thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Cave wheat|tile=τ|color=7:1|seasons={{seasons3||1|1|1}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; beer|drinkv=10|cook=p|prod=Dwarven wheat flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sweet pod|tile=Φ|color=4:1|seasons={{seasons3|1|1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; rum|drinkv=10|cook=p|prod=Dwarven sugar (m)&amp;lt;br /&amp;gt;Dwarven syrup (l)|prodv=20☼&amp;lt;br /&amp;gt;100&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}&lt;br /&gt;
{{plant table row|name=Quarry bush|tile=♣|color=7:0|seasons={{seasons3|1|1|1|}}|biome=Wet cavern|value=4|cook=p|prod=Quarry bush leaves (b)&amp;lt;br /&amp;gt;Rock nut paste (m)&amp;lt;br /&amp;gt;Rock nut press cake (s)&amp;lt;br /&amp;gt;Rock nut oil (s)|prodv=50&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;5}}&lt;br /&gt;
{{plant table row|name=Dimple cup|tile=♥|color=1:1|biome=Wet cavern|value=4|prod=Dimple [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Muck root/4|tile=τ|color=0:1|biome=Wetland/Wet|value=1|drink=Swamp&amp;lt;br /&amp;gt;whiskey|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Bloated tuber/4|tile=Φ|color=6:0|biome=Wetland/Dry|value=2|drink=Tuber&amp;lt;br /&amp;gt; beer|drinv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Kobold bulb/4|tile=Φ|color=0:1|biome=Wetland/Wet|value=5|prod=[[Gnomeblight]] (e)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Prickle berry|tile=:|color=2:0|biome=Not freezing/Dry|value=1|drink=Prickle&amp;lt;br /&amp;gt;berry wine|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Strawberry|tile=:|color=4:0|biome=Not freezing/Dry|value=4|drink=Strawberry&amp;lt;br /&amp;gt;wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Longland grass|tile=τ|color=6:1|biome=Not freezing/Dry|value=4|drink=Longland&amp;lt;br /&amp;gt;beer|drinkv=10|cook=p|prod=Longland flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Valley herb/4|tile=ÿ|color=2:1|seasons={{seasons3|1|||}}|biome=Temperate grassland/Dry|value=10|cook=y|prod=[[Golden salve]] (v)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Rat weed|tile=τ|color=2:0|biome=Not freezing/Wet|value=1|drink=Sewer&amp;lt;br /&amp;gt; brew|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Fisher berry|tile=:|color=7:0|biome=Not freezing/Wet|value=4|drink=Fisher&amp;lt;br /&amp;gt;berry wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Rope reed|tile=ƒ|color=2:0|biome=Not freezing/Wet|value=4|drink=River&amp;lt;br /&amp;gt; spirits|prod=Rope reed thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Blade weed|tile=τ|color=2:0|biome=Not freezing/Dry|value=4|prod=Emerald [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Hide root|tile=τ|color=6:0|biome=Not freezing/Dry|value=1|prod=Redroot [[dye]] (m)|prodv=10}}&lt;br /&gt;
{{plant table row|name=Sliver barb|tile=τ|color=0:1|biome=Not freezing/Dry|align=Evil|value=1|drink=Gutter&amp;lt;br /&amp;gt; cruor|drinkv=5|prod=Sliver [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sun berry|tile=:|color=6:1|biome=Not freezing/Wet|align=Good|value=9|drink=Sunshine|drinkv=25|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Whip vine|tile=§|color=3:1|biome=Not freezing/Dry|align=Savage|value=1|drink=Whip wine|drinkv=15|cook=p|prod=Whip vine flour (m)|prodv=25}}&lt;br /&gt;
|}&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
:&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; This is the value for a stack of 5 units, which is the number rendered from a single plant.&lt;br /&gt;
:&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Anything that can be cooked is edible afterwards. [[v0.31_Talk:Cook#No_Seeds|Cooking leaves no seeds for re-planting.]]&lt;br /&gt;
:&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; These plants cannot be eaten/cooked until they are further processed, either by milling or extracting; see &amp;quot;products&amp;quot; column for process product.&lt;br /&gt;
:&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; These plants cannot be grown on a farm plot as they have no seeds. They can only be acquired through plant gathering (in season only) or trade.&lt;br /&gt;
:&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; To get the products/extracts from the plants they have to be processed, in the following [[workshop]]s, using the following [[labor]]s:&lt;br /&gt;
::*'''m''': mill ([[cave wheat]], [[sweet pod]], [[longland grass]], [[whip vine]], [[dimple cup]], [[blade weed]], [[hide root]], [[sliver barb]]): At [[quern]] or [[millstone]], using [[milling]].&lt;br /&gt;
::*'''b''': process to bag ([[quarry bush]]): At [[farmer's workshop]], using [[plant processing]]. In Df2014, processing plants to bag was reimplemented as a reaction. In 0.40.01 this reaction neglected to produce any seeds; this bug was fixed in 0.40.02.&lt;br /&gt;
::*'''s''': press paste into oil ([[quarry bush]]): At [[screw press]].&lt;br /&gt;
::*'''l''': process to barrel ([[sweet pod]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''p''': process plant ([[pig tail]], [[rope reed]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''v''': process to vial ([[valley herb]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''e''': extract plant essence ([[kobold bulb]]): At [[still]], using [[plant gathering]].&lt;br /&gt;
&lt;br /&gt;
== Garden Plants ==&lt;br /&gt;
All garden plants are above-ground, and can grow year-round. Garden plants are defined in a separate file from standard plants, named, somewhat predictably, plant_garden.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
Unlike standard plants, garden plants will also produce growths - leaves, buds, flowers, pods and fruits.&lt;br /&gt;
As a general rule, leaves can be only cooked, buds can be both cooked and brewed. // todo: fill in rest; didn't get that far.&lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Artichoke|tile=:(58)|color=6:0|biome=dry temperate|value=2&lt;br /&gt;
  |drink=artichoke&amp;lt;br /&amp;gt; wine|drinkv=2|eat=y|cook=y&lt;br /&gt;
  |prod=leaves (green)&amp;lt;br /&amp;gt;heart (purple)&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Asparagus|tile=:(58)|color=2:0|biome=dry grassland|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves (yellowish-green)&amp;lt;br /&amp;gt;flowers (green)&amp;lt;br /&amp;gt;fruits (poisonous)&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Bambara groundnut|tile=:|color=2:0|biome=tropical dry broadleaf forest, tropical grassland, tropical savanna, tropical shrubland/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruits&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=String bean|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;pod&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Broad bean|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;pod&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br ?&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Beet|tile=:|color=4:0:1|biome=Temperate grassland/Dry|value=2&lt;br /&gt;
  |drink=beetroot wine|drinkv=2|eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&amp;lt;br /&amp;gt;&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Bitter melon|tile=:|color=2:0:1|biome=Tropical/Dry|value=2&lt;br /&gt;
  |eat=n|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruit&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Cabbage|tile=:|color=2:0:1|biome=Temperate/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
{{plant table row|name=Caper|tile=:|color=2:0|biome=Desert, Grassland/Dry|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves&amp;lt;br /&amp;gt;buds&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;fruits&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Crop Plants ==&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Farming]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Crops| }}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205770</id>
		<title>DF2014 Talk:Tree</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205770"/>
		<updated>2014-07-13T17:20:05Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: fix paragraph order&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, before anyone works on the tree page here, what should we do? Do we need gifs of new trees since I could make some but I dont feel like writing an article. -- I suggest setting up the tree part as a cross section, showing what the roots are and such. Also, we could change the current tree icon(spades or clubs) to the 1/4 signs since its the leaf colours that matter &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:209.197.142.167|209.197.142.167]]&amp;lt;/small&amp;gt; 02:56, 9 July 2014 (UTC)&lt;br /&gt;
:I suggest making a new version of the table template that shows all tiles for each species, though I'm not sure what would be the best way to organize it.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 13:12, 12 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
What the current way of organising it, with the root trunk, leavs is fairly good. I approve of it. also praise Amena Ralikema! The tree page is looking quite better- oddstranger&lt;br /&gt;
&lt;br /&gt;
== Burning trees ==&lt;br /&gt;
Burning trees collapse, and forest fires cause immense pause+recenter spam of trees collapsing.&lt;br /&gt;
Perhaps something to mention(and warn for forest fires, aside from the obvious dangers). [[Special:Contributions/83.83.21.167|83.83.21.167]] 15:18, 9 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Fruit ==&lt;br /&gt;
How do you get the fruits the new trees drop? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:66.177.96.41|66.177.96.41]]&amp;lt;/small&amp;gt; 14:52, 10 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
In adventurer mode i believe you can eat directly from the tree with e or use g to pick up the fruit form the tree. I dont think it's in fortress mode since he mentioned hes still working on harvesting.-stranger &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:72.38.18.124|72.38.18.124]]&amp;lt;/small&amp;gt; 13:09, 11 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Cutting Trees in Fortress Mode  ==&lt;br /&gt;
&lt;br /&gt;
I'd like to put this bit of page for discussing and confirming... well, what's in the title.&lt;br /&gt;
&lt;br /&gt;
Some things I've noticed so far:&lt;br /&gt;
&lt;br /&gt;
* when cutting a tree at a trunk tile '''above''' the ground level ( = the lowest z-level the tree occupies), it's possible to produce some sort of a cave-in; presumably, the woodcutter chops the trunk that s/he's standing on.&lt;br /&gt;
** Can anyone replicate this behavior?&lt;br /&gt;
** Has anyone received any quasi-cave-ins by cutting trees at ground level? --[[User:StrikaAmaru|StrikaAmaru]] 15:25, 12 July 2014‎ (UTC)&lt;br /&gt;
:What do you mean by &amp;quot;cave in&amp;quot;? A message about something collapsing? I remember seeing something like that on the bug tracker. --[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 15:31, 12 July 2014 (UTC)&lt;br /&gt;
:: Yes, exactly like a cave-in; my woodcutter was happily chopping a branch, then I get the message, the game re-centers, and the dorf is on the ground, stunned but uninjured. Actually, when considering that cutting a branch cuts down the whole tree, a cave-in is exactly what happened: she was sitting on the tree, then the tree stopped existing. Cue one dropping dwarf. I'm inclined to think this is normal behavior, but still something that we need to take into account. BTW: the bug about cave-ins is probably about the completely unrelated, and definitely buggy, random &amp;quot;Something has collapsed on the surface!&amp;quot; messages that keep popping up with no rhyme or reason. --[[User:StrikaAmaru|StrikaAmaru]] 17:15, 13 July 2014‎ (UTC)&lt;br /&gt;
&lt;br /&gt;
* Trees grow every year; a freshly-matured tree only extends 2 z-levels, and produces comparatively little wood (7 in my case). Still has fruit, even though it was a sapling when flowering season passed.--[[User:StrikaAmaru|StrikaAmaru]] 15:25, 12 July 2014‎ (UTC)&lt;br /&gt;
:As for the fruiting, I don't think pollination is implemented yet. :) Fruit just grows at a set time.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 15:31, 12 July 2014 (UTC)&lt;br /&gt;
::More interested in verifying tree growth across multiple years; the fruit thing was a minor quirk, seeing how fruits are useless now :( --[[User:StrikaAmaru|StrikaAmaru]] 17:20, 13 July 2014‎ (UTC)&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205769</id>
		<title>DF2014 Talk:Tree</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205769"/>
		<updated>2014-07-13T17:13:35Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: Answer question&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, before anyone works on the tree page here, what should we do? Do we need gifs of new trees since I could make some but I dont feel like writing an article. -- I suggest setting up the tree part as a cross section, showing what the roots are and such. Also, we could change the current tree icon(spades or clubs) to the 1/4 signs since its the leaf colours that matter &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:209.197.142.167|209.197.142.167]]&amp;lt;/small&amp;gt; 02:56, 9 July 2014 (UTC)&lt;br /&gt;
:I suggest making a new version of the table template that shows all tiles for each species, though I'm not sure what would be the best way to organize it.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 13:12, 12 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
What the current way of organising it, with the root trunk, leavs is fairly good. I approve of it. also praise Amena Ralikema! The tree page is looking quite better- oddstranger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Burning trees ==&lt;br /&gt;
Burning trees collapse, and forest fires cause immense pause+recenter spam of trees collapsing.&lt;br /&gt;
Perhaps something to mention(and warn for forest fires, aside from the obvious dangers). [[Special:Contributions/83.83.21.167|83.83.21.167]] 15:18, 9 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Fruit ==&lt;br /&gt;
How do you get the fruits the new trees drop? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:66.177.96.41|66.177.96.41]]&amp;lt;/small&amp;gt; 14:52, 10 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
In adventurer mode i believe you can eat directly from the tree with e or use g to pick up the fruit form the tree. I dont think it's in fortress mode since he mentioned hes still working on harvesting.-stranger &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:72.38.18.124|72.38.18.124]]&amp;lt;/small&amp;gt; 13:09, 11 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Cutting Trees in Fortress Mode  ==&lt;br /&gt;
&lt;br /&gt;
I'd like to put this bit of page for discussing and confirming... well, what's in the title.&lt;br /&gt;
&lt;br /&gt;
Some things I've noticed so far:&lt;br /&gt;
&lt;br /&gt;
* when cutting a tree at a trunk tile '''above''' the ground level ( = the lowest z-level the tree occupies), it's possible to produce some sort of a cave-in; presumably, the woodcutter chops the trunk that s/he's standing on.&lt;br /&gt;
** Can anyone replicate this behavior?&lt;br /&gt;
** Has anyone received any quasi-cave-ins by cutting trees at ground level?&lt;br /&gt;
&lt;br /&gt;
* Trees grow every year; a freshly-matured tree only extends 2 z-levels, and produces comparatively little wood (7 in my case). Still has fruit, even though it was a sapling when flowering season passed.&amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:StrikaAmaru|StrikaAmaru]]&amp;lt;/small&amp;gt; 15:25, 12 July 2014‎ (UTC)&lt;br /&gt;
:What do you mean by &amp;quot;cave in&amp;quot;? A message about something collapsing? I remember seeing something like that on the bug tracker.&lt;br /&gt;
:: Yes, exactly like a cave-in; my woodcutter was happily chopping a branch, then I get the message, the game re-centers, and the dorf is on the ground, stunned but uninjured. Actually, when considering that cutting a branch cuts down the whole tree, a cave-in is exactly what happened: she was sitting on the tree, then the tree stopped existing. Cue one dropping dwarf. I'm inclined to think this is normal behavior, but still something that we need to take into account. BTW: the bug about cave-ins is probably about the completely unrelated, and definitely buggy, random &amp;quot;Something has collapsed on the surface!&amp;quot; messages that keep popping up with no rhyme or reason.&lt;br /&gt;
:As for the fruiting, I don't think pollination is implemented yet. :) Fruit just grows at a set time.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 15:31, 12 July 2014 (UTC)&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205514</id>
		<title>DF2014 Talk:Tree</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205514"/>
		<updated>2014-07-12T15:30:25Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: clarified prev edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, before anyone works on the tree page here, what should we do? Do we need gifs of new trees since I could make some but I dont feel like writing an article. -- I suggest setting up the tree part as a cross section, showing what the roots are and such. Also, we could change the current tree icon(spades or clubs) to the 1/4 signs since its the leaf colours that matter &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:209.197.142.167|209.197.142.167]]&amp;lt;/small&amp;gt; 02:56, 9 July 2014 (UTC)&lt;br /&gt;
:I suggest making a new version of the table template that shows all tiles for each species, though I'm not sure what would be the best way to organize it.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 13:12, 12 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Burning trees ==&lt;br /&gt;
Burning trees collapse, and forest fires cause immense pause+recenter spam of trees collapsing.&lt;br /&gt;
Perhaps something to mention(and warn for forest fires, aside from the obvious dangers). [[Special:Contributions/83.83.21.167|83.83.21.167]] 15:18, 9 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Fruit ==&lt;br /&gt;
How do you get the fruits the new trees drop? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:66.177.96.41|66.177.96.41]]&amp;lt;/small&amp;gt; 14:52, 10 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
In adventurer mode i believe you can eat directly from the tree with e or use g to pick up the fruit form the tree. I dont think it's in fortress mode since he mentioned hes still working on harvesting.-stranger &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:72.38.18.124|72.38.18.124]]&amp;lt;/small&amp;gt; 13:09, 11 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Cutting Trees in Fortress Mode  ==&lt;br /&gt;
&lt;br /&gt;
I'd like to put this bit of page for discussing and confirming... well, what's in the title.&lt;br /&gt;
&lt;br /&gt;
Some things I've noticed so far:&lt;br /&gt;
&lt;br /&gt;
* when cutting a tree at a trunk tile '''above''' the ground level ( = the lowest z-level the tree occupies), it's possible to produce some sort of a cave-in; presumably, the woodcutter chops the trunk that s/he's standing on.&lt;br /&gt;
- Can anyone replicate this behavior? &amp;lt;br /&amp;gt;&lt;br /&gt;
- Has anyone received any quasi-cave-ins by cutting trees at ground level?&lt;br /&gt;
&lt;br /&gt;
* Trees grow every year; a freshly-matured tree only extends 2 z-levels, and produces comparatively little wood (7 in my case). Still has fruit, even though it was a sapling when flowering season passed.&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205513</id>
		<title>DF2014 Talk:Tree</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Tree&amp;diff=205513"/>
		<updated>2014-07-12T15:25:43Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: /* Cutting Trees in Fortress Mode  */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, before anyone works on the tree page here, what should we do? Do we need gifs of new trees since I could make some but I dont feel like writing an article. -- I suggest setting up the tree part as a cross section, showing what the roots are and such. Also, we could change the current tree icon(spades or clubs) to the 1/4 signs since its the leaf colours that matter &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:209.197.142.167|209.197.142.167]]&amp;lt;/small&amp;gt; 02:56, 9 July 2014 (UTC)&lt;br /&gt;
:I suggest making a new version of the table template that shows all tiles for each species, though I'm not sure what would be the best way to organize it.--[[User:Amena Ralikema|Amena Ralikema]] ([[User talk:Amena Ralikema|talk]]) 13:12, 12 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Burning trees ==&lt;br /&gt;
Burning trees collapse, and forest fires cause immense pause+recenter spam of trees collapsing.&lt;br /&gt;
Perhaps something to mention(and warn for forest fires, aside from the obvious dangers). [[Special:Contributions/83.83.21.167|83.83.21.167]] 15:18, 9 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Fruit ==&lt;br /&gt;
How do you get the fruits the new trees drop? &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:66.177.96.41|66.177.96.41]]&amp;lt;/small&amp;gt; 14:52, 10 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
In adventurer mode i believe you can eat directly from the tree with e or use g to pick up the fruit form the tree. I dont think it's in fortress mode since he mentioned hes still working on harvesting.-stranger &amp;lt;small&amp;gt;&amp;amp;ndash; [[template:unsigned|unsigned]] comment by [[User:72.38.18.124|72.38.18.124]]&amp;lt;/small&amp;gt; 13:09, 11 July 2014 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Cutting Trees in Fortress Mode  ==&lt;br /&gt;
&lt;br /&gt;
I'd like to put this bit of page for discussing and confirming... well, what's in the title.&lt;br /&gt;
&lt;br /&gt;
Some things I've noticed so far:&lt;br /&gt;
&lt;br /&gt;
* when cutting a tree at a trunk tile '''above ground level''', it's possible to produce some sort of a cave-in; presumably, the woodcutter chops the trunk that s/he's standing on.&lt;br /&gt;
- Can anyone replicate this behavior? &amp;lt;br /&amp;gt;&lt;br /&gt;
- Has anyone received any quasi-cave-ins by cutting trees at ground level?&lt;br /&gt;
&lt;br /&gt;
* Trees grow every year; a freshly-matured tree only extends 2 z-levels, and produces comparatively little wood (7 in my case). Still has fruit, even though it was a sapling when flowering season passed.&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Tree&amp;diff=205509</id>
		<title>Tree</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Tree&amp;diff=205509"/>
		<updated>2014-07-12T15:06:57Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: added details ab. flowers, fruits and possible cave-in when cutting trees from above-ground trunk tiles&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{migrated article}}&lt;br /&gt;
{{quality|unrated}}&lt;br /&gt;
{{av}}&lt;br /&gt;
{{update in next major version}}&lt;br /&gt;
[[File:Cavern.png|thumb|right|350px|Trees are generally present in the [[caverns]] regardless of above-ground conditions, an important feature in a [[desert]] biome.]]&lt;br /&gt;
&amp;lt;big&amp;gt;'''Notice:'''&amp;lt;/big&amp;gt; With DF2014, Trees have received significant revision.  They are now multi-tile creations, spanning multiple z-levels, with separate tiles for trunk, roots, flowers, fruits, twigs, leaves, etc.  Exactly how much of the remainder of this article still applies is yet to be determined.&lt;br /&gt;
&lt;br /&gt;
Trunks can be chopped down, yielding multiple logs. A single tree can have multiple trunk tiles, on separate z-levels as well as otherwise, but only one tile of trunk can be designated for chopping on a single tree, so make sure you pick one that can be reached. Chopping a single tile from a tree will chop down the whole tree - there's no such thing as partially cutting a tree. Cutting a tree from a trunk section above ground level may result in the woodcutter losing his/her footing and crashing to the ground (similar to having a tile deconstructed under their feet). Conversely, designating trees to be cut at the ground level tile has never (so far) resulted in a cave-in. Some trees have multiple tiles at ground-level; ginkgo, for instance.&lt;br /&gt;
&lt;br /&gt;
Roots can be designated for digging, though the tile doesn't flash to indicate it's designated. Some trees can have multiple tiles of roots, others just the one; in either case, when a single tile of roots is dug out, the entire tree vanishes without a trace.&lt;br /&gt;
&lt;br /&gt;
Certain flowers will fall in a cloud during the transition from flowers to fruit; the cloud is shown falling, and loo[k]ing at the ground post-fact will show &amp;quot;&amp;lt;tree&amp;gt; flowers&amp;quot;, in addition to other tile contents.&lt;br /&gt;
&lt;br /&gt;
Fruit can be picked in Adventure mode, but Fort mode harvesting is not yet in the game. You can trade for or embark with them though, and brew them at a [[still]]. Fruit do fall on the ground in fortress mode, but they cannot be collected or brewed. Cutting a tree with fruit causes the fruits to vanish.&lt;br /&gt;
&lt;br /&gt;
Leaves will fall in autumn, coloring tiles beneath a tree. Some can be cooked at a [[kitchen]].&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
'''Trees''' are a multi-[[tile]] feature that can be found aboveground on all but the most arid or most mountainous of maps, and below ground in the [[caverns]]. What kind of trees grow in a given location depends on [[biome]], as different species prefer different conditions. For example, tropical areas often have palm trees, while colder areas feature pines. An exception are underground trees, such as [[nether-cap]]s, that will grown anywhere underground. The species of a tree in turn determines its properties, including its structure, the color and density of its wood and what kind of growths it produces. Note also that &amp;quot;trees&amp;quot; in DF covers also things that are not literally trees, such as large cacti (e.g. [[saguaro]]s) and mushrooms (e.g. all underground trees).&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
Trees consist of several types of tiles - roots, trunks, branches and twigs, as well as a number of &amp;quot;growths&amp;quot; (leaves, needles, flowers, fruit, cones, etc., depending on species). A single tree is a structure that can span multiple tiles in both horizontal and vertical directions. For example, a typical deciduous tree will have a single tile-wide trunk at ground level supporting a multiple-level crown of intertwined branches and twigs covered with leaves. Not all species follow the same scheme, though - palms have a high, naked trunk that doesn't branch and just a tuft of leaves on top of it, and some species can have trunks that are thicker than a single tile at ground level. Underground, things are simpler, as there is only one kind of root tiles and the extent of the root system doesn't seem to vary with species.&lt;br /&gt;
&lt;br /&gt;
Trees can be [[climb]]ed in both fortress and [[adventure mode]], and the levels of the crown provide support for walking. In a densely wooded areas, the overlapping tree crowns can form a continuous canopy that can be traversed.&lt;br /&gt;
&lt;br /&gt;
{{migrated section}}&lt;br /&gt;
Viewed on their same [[z-level]], many different sub-types of trees have their own symbol, such as {{tile|♣|2:0}}, {{tile|♠|2:0}}, {{tile|¶|2:0}}, {{tile|╞|2:0}} or {{tile|⌠|2:0}}. Some share the same symbol, but since the differences are only in preferences, this is not a significant problem (see table below for symbol pairings). For most purposes, a tree is a tree. Trees viewed from one z-level higher look like coloured rectangles ( {{tile|■|2:0}} ), appearing identical to coloured [[block]]s floating in the air. Deciduous trees will change colour to red or yellow in [[autumn]] ( {{tile|♣|4:1}}, {{tile|♠|6:1}} ), and lose their leaves in [[winter]] ( {{tile|╞|6:0}} ).&lt;br /&gt;
&lt;br /&gt;
Tree trunks are a type of [[map tile]] and as such will form a solid barrier to movement, preventing [[channel]]ing or the creation of [[wall]]s and other [[construction]]s on their tile. This is problematic for caravan [[wagon]]s, which require a path at least three tiles wide in order to access your fortress; on heavily forested maps it may be necessary to check [[trade depot|depot]] access ({{k|D}}) every once in a while as trees continue to grow to make sure wagons can get through, and chop down ({{k|d}}-{{k|t}}) the impeding forest if they can't. Later on this can actually become a blessing, as if there is only one or a few pathways to the fortress it makes it easier to route incoming caravans down certain well-defended pathways, instead of allowing them to choose their own way across the map, where they may fall foul of ambushers or worse. It also makes building above-ground constructions more challenging, as any trees in the way must be chopped down first.&lt;br /&gt;
&lt;br /&gt;
== Wood ==&lt;br /&gt;
{{migrated section}}&lt;br /&gt;
[[Woodcutter|Chopping down]] trees yields [[wood]] (obviously), one of the game's most important resources. Without wood it is not possible to build [[bed]]s, generate or transfer [[power]], create [[ash]], or power [[furnace]]s without [[magma]] (unless [[coal]] is available), and since wood is easily craftable many items become more difficult to craft. Thus a lack of trees can be an important deterministic factor in fortress development, as without a ready source of wood the player will be forced to rely on [[caravan]]s for wood item production and possibly [[magma]] for metal-forging (that being said, it is not impossible to circumvent). The density of growth on the embark site is determined by the [[biome]], and those are visible on the pre-[[embark]] screen by hitting {{k|F1}}, {{k|F2}} etc. The tree density of the biome does not change as there are no climate shifts during game play, but heavy woodcutting activity will eventually strip any [[forest]] bare.&lt;br /&gt;
&lt;br /&gt;
One of the variation between the different tree species is in the weight and color of their wood. Weight is often a minor concern but when using wood to create objects that will be moved, such as bins or buckets, choosing lighter wood is an advantage as it will be hauled faster. Heavier wood will make wooden weapons and siege engine projectiles more effective, while lighter wooden shields reduce penalties to speed while blocking just as well as heavier shields.&lt;br /&gt;
&lt;br /&gt;
Nonetheless, all trees have the same intrinsic value{{verify}} (beyond the [[preference]]s of individual dwarves), although the [[color]] of the wood may matter for aesthetic purposes.&lt;br /&gt;
&lt;br /&gt;
== Growth ==&lt;br /&gt;
{{migrated section}}&lt;br /&gt;
[[File:Many miners extend tree farm.png|thumb|left|350px|Extensions being made to a in-hill tree farm.]]&lt;br /&gt;
Trees grow from '''saplings''', which start growing randomly on non-occupied tiles of a suitable biome; thus chopping down a forest may create a clearing, but within a couple of years a new forest will have grown. Saplings can be killed by heavy [[traffic|foot traffic]], but not by flooding &amp;amp;mdash; they can survive submergence for extended periods of time and will still grow to maturity once the water level drops to 4/7{{verify}} or lower. Dead saplings will remain for some seasons, and then disappear, more quickly if heavy traffic tramples them away. Growth from a sapling to a tree takes exactly 3 years. Many underground trees are called &amp;quot;young &amp;amp;lt;tree&amp;amp;gt;&amp;quot; instead of sapling, but the concept is the same. Saplings will not grow to maturity if their tile contains an item or building (including stockpile designations), though removing the item may cause the tree to spontaneously grow up. Paved [[road]]s and [[farm plot]]s periodically purge all terrain features below them, preventing trees (or shrubs) from growing in unwanted areas. Trees cannot grow on stairs or ramps, making it possible to keep trees out of your plumbing by using {{K|u}}p stairs instead of {{K|d}}igging (this does not reveal the tile above). Above-ground trees will only grow in areas where there is sufficient soil 1 Z-level beneath them (currently observed to be at least one unmined tile within a two-tile radius); underground trees not only ignore this restriction for dry subterranean soil but will also grow on muddy subterranean stone. Additionally, saplings on soil cavern floors will block the construction of farm plots unless there is also a dusting or pile of mud beneath them.&lt;br /&gt;
&lt;br /&gt;
Trees ''cannot'' be specifically &amp;quot;planted&amp;quot;; even if a map is stripped of all trees, new saplings will regrow, randomly and in their own time. Sadly, the [[elf|elves]] do not seem to comprehend this. It is possible to [[tree farming|farm]] trees by walling off or engineering a patch of soil and locking it away so your dwarves don't trample all over it, but it will take a long time for the farm to yield results. After you expose the [[caverns]] subterranean flora (including trees) will begin to grow on any exposed and previously bare soil within your fortress; this can be annoying when a copse of blood thorns suddenly appears in your [[sand#Glass|sand collection]] area, but allows you to easily mine out large subterranean tree farms full of colorful subterranean trees.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== List of tree species ==&lt;br /&gt;
{{multi-tile tree table head}}&lt;br /&gt;
&lt;br /&gt;
{{multi-tile tree table row|name=[[Acacia]]|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Tropical Dry Broadleaf Forest&amp;lt;br /&amp;gt;Tropical Grassland&amp;lt;br /&amp;gt;Tropical Savanna&amp;lt;br /&amp;gt;Tropical Shrubland&amp;lt;/span&amp;gt;|align=All (Dry)|root=|trunk=|branch=|growths={{tile|`|2:0:0}} Leaves&amp;lt;br/&amp;gt;{{tile|U|7:0:1}} Flowers&amp;lt;br/&amp;gt;{{tile|%|2:0:1}} Pods |decid=No |wt=0.600 |pref=thorns}}&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{multi-tile tree table row|name=&amp;lt;span id=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; |hab= |align= |root= |trunk= |branch= |growths= |decid= |wt= |pref=}}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
{{migrated section}}&lt;br /&gt;
{{Tree table head}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Acacia]]|tile={{tile|¼|7:1}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Tropical Dry Broadleaf Forest&amp;lt;br /&amp;gt;Tropical Grassland&amp;lt;br /&amp;gt;Tropical Savanna&amp;lt;br /&amp;gt;Tropical Shrubland&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.600|pref=thorns}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Alder]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.410|pref=catkins&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Almond]]|tile={{tile|♣|7:1}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.410|pref=catkins&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Ash (tree)|Ash]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.600|pref=flying keys&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Birch]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.650|pref=catkins&amp;lt;br /&amp;gt;silver bark&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Black-cap]]|tile={{tile|¼|0:1}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 2-3)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.650|pref=gloomy appeal}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Blood thorn]]|tile={{tile|¼|4:0}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layer 3)&amp;lt;br /&amp;gt;Subterranean Chasm&amp;lt;/span&amp;gt;|align=All|decid=No|wt=1.250|pref=sickening appearance}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Cacao tree]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Tropical Moist Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.430|pref=flowers}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Candlenut]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Tropical Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.140|pref=nuts}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Cedar]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Temperate Conifer Forest&amp;lt;br /&amp;gt;Tropical Conifer Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.570|pref=majesty}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Chestnut]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.430|pref=smelly catkins&amp;lt;br /&amp;gt;spiny pods&amp;lt;br /&amp;gt;chestnuts&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Feather tree]]|tile={{tile|¼|7:1}}|hab=Not Freezing|align=&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Good&amp;lt;/span&amp;gt; (Dry)|decid=No|wt=0.100|pref=feathery leaves}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Fungiwood]]|tile={{tile|¼|6:1}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 1-2)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.600|pref=fine grain}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Glumprong]]|tile={{tile|¼|5:0}}|hab=Not Freezing|align=&amp;lt;span style=&amp;quot;color:purple&amp;quot;&amp;gt;Evil&amp;lt;/span&amp;gt; (Dry)|decid=No|wt=1.200|pref=living shadows}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Goblin-cap]]|tile={{tile|¼|4:1}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 2-3)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.600|pref=stunning color}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Highwood]]|tile={{tile|¼|2:0}}|hab=Not Freezing|align=&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Savage&amp;lt;/span&amp;gt; (Dry)|decid=No|wt=0.500|pref=magnificence}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Kapok]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Tropical Moist Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.260|pref=buttresses}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Larch]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Taiga&amp;lt;br /&amp;gt;Temperate Conifer Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.590|pref=cones&amp;lt;br /&amp;gt;needles}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Mango tree]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Tropical Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.520|pref=sweet-smelling flowers}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Mahogany]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Tropical Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.600|pref=loose inflorescences}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Maple]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Temperate Broadleaf Forest&amp;lt;br /&amp;gt;Temperate Grassland&amp;lt;br /&amp;gt;Temperate Savanna&amp;lt;br /&amp;gt;Temperate Shrubland&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.540|pref=autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Mangrove]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Mangrove Swamp&amp;lt;/span&amp;gt;|align=All (Wet)|decid=No|wt=0.830|pref=roots}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Nether-cap]]|tile={{tile|¼|1:0}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layer 3)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.550|pref=coldness to the touch&amp;lt;br/&amp;gt;(wood has [MAT_FIXED_TEMP:10000])}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Oak]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=Yes|wt=0.700|pref=acorns&amp;lt;br /&amp;gt;autumn coloration}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Palm]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Tropical&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.680|pref=leaves}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Pine]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Taiga&amp;lt;br /&amp;gt;Temperate Conifer Forest&amp;lt;br /&amp;gt;Tropical Conifer Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.510|pref=cones&amp;lt;br /&amp;gt;needles}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Rubber tree]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Tropical Moist Broadleaf Forest&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.490|pref=branch shedding}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Saguaro]]|tile={{tile|¼|2:0}}|hab=&amp;lt;span style=&amp;quot;color:brown&amp;quot;&amp;gt;Any Desert&amp;lt;/span&amp;gt;|align=All (Dry)|decid=No|wt=0.430|pref=amazing arms}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Spore tree]]|tile={{tile|¼|3:0}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 2-3)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.600|pref=raining spores}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Tower-cap]]|tile={{tile|¼|7:1}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 1-2)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.600|pref=great size}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Tunnel tube]]|tile={{tile|¼|5:1}}|hab=&amp;lt;span style=&amp;quot;color:teal&amp;quot;&amp;gt;Subterranean Cavern (layers 2-3)&amp;lt;/span&amp;gt;|align=All|decid=No|wt=0.500|pref=curving trunk}}&lt;br /&gt;
&lt;br /&gt;
{{Tree table row|name=[[Willow]]|tile={{tile|*|7:1}}|hab=&amp;lt;span style=&amp;quot;color:green&amp;quot;&amp;gt;Any Temperate&amp;lt;br /&amp;gt;Any Tropical Forest&amp;lt;br /&amp;gt;Tropical Grassland&amp;lt;br /&amp;gt;Tropical Savanna&amp;lt;br /&amp;gt;Tropical Shrubland&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;span style=&amp;quot;color:blue&amp;quot;&amp;gt;Tropical Freshwater Swamp&amp;lt;br /&amp;gt;Tropical Saltwater Swamp&amp;lt;br /&amp;gt;Tropical Freshwater Marsh&amp;lt;br /&amp;gt;Tropical Saltwater Marsh&amp;lt;/span&amp;gt;|align=All (Wet)|decid=No|wt=0.390|pref=sad appearance&amp;lt;br /&amp;gt;fluffy catkins}}&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
{{Tree table row|name=&amp;lt;span id=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; |tile= |hab= |align= |decid= |wt= }}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
* In fortress mode, tree fruit (and presumably, other growths) can't be harvested yet, though it's possible to eat fruit in [[adventure mode]]. See [[DF2014:Release information]].&lt;br /&gt;
* (0.40.2) Constructing on trees causes them to vanish. {{bug|6551}}&lt;br /&gt;
* (0.40.2) When a root tile is mined, the entire tree ceases to exist. {{bug|6749}}&lt;br /&gt;
* (0.40.2) Building something (e.g. a cage) in a tree and then chopping down the tree leaves the building floating in the air. {{bug|6949}}&lt;br /&gt;
&lt;br /&gt;
{{Plants}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Map tiles]]&lt;br /&gt;
{{Category|Trees}}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=205283</id>
		<title>Crop</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Crop&amp;diff=205283"/>
		<updated>2014-07-11T15:09:23Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: Started table for garden plants&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Migrated_article}}&lt;br /&gt;
{{quality|unrated}}&lt;br /&gt;
&lt;br /&gt;
{{av}}&lt;br /&gt;
:''(This article is about plants. If you want information about trees, see [[Tree]].)''&lt;br /&gt;
&lt;br /&gt;
'''Crops''' (or more accurately '''plants''') can either be [[farming|farmed]], traded for, or acquired by plant gathering. Farming happens at farm plots. There are two types of crops: above ground and subterranean. The [[seed]]s of subterranean crops may be brought from the starting embark screen or, with some small luck, purchased from dwarven caravans. Above ground crops and [[seed]]s may be purchased from human or elven caravans or gathered by dwarves with the [[plant gathering]] labor enabled. Seeds may also be collected by processing the plants or eating them (but not by cooking!).  There is a limit of 200 seeds of a given type at a time, after which no more will be produced.&lt;br /&gt;
&lt;br /&gt;
A few of the plants listed below are not strictly crops, as they have no seeds and can't be planted (see note &amp;quot;4&amp;quot;, below.) &lt;br /&gt;
&lt;br /&gt;
Most plants can be brewed into alcohols, each plant type producing a different variation, and dwarves do prefer some variety in their drink. Some plants may be eaten raw, others must be cooked first, others must be processed first (by milling or plant processing) before they are edible, and still others are inedible, producing only non-food products (their seeds can be cooked anyway, however). Drinks may be cooked as ingredients in prepared meals, but at least one of the ingredients must be a non-liquid.&lt;br /&gt;
&lt;br /&gt;
All drinks require a spare [[barrel]] or [[large pot]] for storage, and some other products also require specific containers for storage. Plants can be stored in barrels or without a container; seeds are stored individually or in [[bag]]s which can then be put into barrels. It may be advisable to have a small stockpile that accepts only seeds next to your farm(s), since dwarves will happily carry entire pots of seeds across the map to pick up a single seed, leading to cancellation spam and irregular planting.  &lt;br /&gt;
&lt;br /&gt;
Plump helmets and pig tails can be harvested 25 days after sowing. All other subterranean crops need about 42 days.&lt;br /&gt;
 &lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Plump helmet|tile=♠|color=5:0|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Pig tail|tile=τ|color=7:0|seasons={{seasons3||1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; ale|drinkv=10|prod=Pig tail thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Cave wheat|tile=τ|color=7:1|seasons={{seasons3||1|1|1}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; beer|drinkv=10|cook=p|prod=Dwarven wheat flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sweet pod|tile=Φ|color=4:1|seasons={{seasons3|1|1|1|}}|biome=Wet cavern|value=4|drink=Dwarven&amp;lt;br /&amp;gt; rum|drinkv=10|cook=p|prod=Dwarven sugar (m)&amp;lt;br /&amp;gt;Dwarven syrup (l)|prodv=20☼&amp;lt;br /&amp;gt;100&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;}}&lt;br /&gt;
{{plant table row|name=Quarry bush|tile=♣|color=7:0|seasons={{seasons3|1|1|1|}}|biome=Wet cavern|value=4|cook=p|prod=Quarry bush leaves (b)&amp;lt;br /&amp;gt;Rock nut paste (m)&amp;lt;br /&amp;gt;Rock nut press cake (s)&amp;lt;br /&amp;gt;Rock nut oil (s)|prodv=50&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;1☼&amp;lt;br /&amp;gt;5}}&lt;br /&gt;
{{plant table row|name=Dimple cup|tile=♥|color=1:1|biome=Wet cavern|value=4|prod=Dimple [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Muck root/4|tile=τ|color=0:1|biome=Wetland/Wet|value=1|drink=Swamp&amp;lt;br /&amp;gt;whiskey|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Bloated tuber/4|tile=Φ|color=6:0|biome=Wetland/Dry|value=2|drink=Tuber&amp;lt;br /&amp;gt; beer|drinv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Kobold bulb/4|tile=Φ|color=0:1|biome=Wetland/Wet|value=5|prod=[[Gnomeblight]] (e)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Prickle berry|tile=:|color=2:0|biome=Not freezing/Dry|value=1|drink=Prickle&amp;lt;br /&amp;gt;berry wine|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Strawberry|tile=:|color=4:0|biome=Not freezing/Dry|value=4|drink=Strawberry&amp;lt;br /&amp;gt;wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Longland grass|tile=τ|color=6:1|biome=Not freezing/Dry|value=4|drink=Longland&amp;lt;br /&amp;gt;beer|drinkv=10|cook=p|prod=Longland flour (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Valley herb/4|tile=ÿ|color=2:1|seasons={{seasons3|1|||}}|biome=Temperate grassland/Dry|value=10|cook=y|prod=[[Golden salve]] (v)|prodv=100}}&lt;br /&gt;
{{plant table row|name=Rat weed|tile=τ|color=2:0|biome=Not freezing/Wet|value=1|drink=Sewer&amp;lt;br /&amp;gt; brew|drinkv=5|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Fisher berry|tile=:|color=7:0|biome=Not freezing/Wet|value=4|drink=Fisher&amp;lt;br /&amp;gt;berry wine|drinkv=10|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Rope reed|tile=ƒ|color=2:0|biome=Not freezing/Wet|value=4|drink=River&amp;lt;br /&amp;gt; spirits|prod=Rope reed thread (p)|prodv=2}}&lt;br /&gt;
{{plant table row|name=Blade weed|tile=τ|color=2:0|biome=Not freezing/Dry|value=4|prod=Emerald [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Hide root|tile=τ|color=6:0|biome=Not freezing/Dry|value=1|prod=Redroot [[dye]] (m)|prodv=10}}&lt;br /&gt;
{{plant table row|name=Sliver barb|tile=τ|color=0:1|biome=Not freezing/Dry|align=Evil|value=1|drink=Gutter&amp;lt;br /&amp;gt; cruor|drinkv=5|prod=Sliver [[dye]] (m)|prodv=20}}&lt;br /&gt;
{{plant table row|name=Sun berry|tile=:|color=6:1|biome=Not freezing/Wet|align=Good|value=9|drink=Sunshine|drinkv=25|eat=y|cook=y}}&lt;br /&gt;
{{plant table row|name=Whip vine|tile=§|color=3:1|biome=Not freezing/Dry|align=Savage|value=1|drink=Whip wine|drinkv=15|cook=p|prod=Whip vine flour (m)|prodv=25}}&lt;br /&gt;
|}&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
:&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; This is the value for a stack of 5 units, which is the number rendered from a single plant.&lt;br /&gt;
:&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Anything that can be cooked is edible afterwards. [[v0.31_Talk:Cook#No_Seeds|Cooking leaves no seeds for re-planting.]]&lt;br /&gt;
:&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; These plants cannot be eaten/cooked until they are further processed, either by milling or extracting; see &amp;quot;products&amp;quot; column for process product.&lt;br /&gt;
:&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt; These plants cannot be grown on a farm plot as they have no seeds. They can only be acquired through plant gathering (in season only) or trade.&lt;br /&gt;
:&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; To get the products/extracts from the plants they have to be processed, in the following [[workshop]]s, using the following [[labor]]s:&lt;br /&gt;
::*'''m''': mill ([[cave wheat]], [[sweet pod]], [[longland grass]], [[whip vine]], [[dimple cup]], [[blade weed]], [[hide root]], [[sliver barb]]): At [[quern]] or [[millstone]], using [[milling]].&lt;br /&gt;
::*'''b''': process to bag ([[quarry bush]]): At [[farmer's workshop]], using [[plant processing]].&lt;br /&gt;
::*'''s''': press paste into oil ([[quarry bush]]): At [[screw press]].&lt;br /&gt;
::*'''l''': process to barrel ([[sweet pod]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''p''': process plant ([[pig tail]], [[rope reed]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''v''': process to vial ([[valley herb]]): At farmer's workshop, using plant processing.&lt;br /&gt;
::*'''e''': extract plant essence ([[kobold bulb]]): At [[still]], using [[plant gathering]].&lt;br /&gt;
&lt;br /&gt;
== Garden Plants ==&lt;br /&gt;
Garden plants are defined in a separate file from standard plants, named, somewhat predictably, plant_garden.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
Unlike standard plants, garden plants will also produce growths - leaves, buds, flowers, pods and fruits.&lt;br /&gt;
As a general rule, leaves can be only cooked, buds can be both cooked and brewed. // todo: fill in rest; didn't get that far.&lt;br /&gt;
{{plant table head}}&lt;br /&gt;
{{plant table row|name=Artichoke|tile=:(58)|color=6:0|biome=dry temperate|value=2&lt;br /&gt;
  |drink=artichoke&amp;lt;br /&amp;gt; wine|drinkv=2|eat=y|cook=y&lt;br /&gt;
  |prod=leaves (green)&amp;lt;br /&amp;gt;heart (purple)&amp;lt;br /&amp;gt;flowers&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
{{plant table row|name=Asparagus|tile=:(58)|color=2:0|biome=dry grassland|value=2&lt;br /&gt;
  |eat=y|cook=y&lt;br /&gt;
  |prod=leaves (yellowish-green)&amp;lt;br /&amp;gt;flowers (green)&amp;lt;br /&amp;gt;fruits (poisonous)&amp;lt;br /&amp;gt;seeds&lt;br /&gt;
  |prodv=?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;?☼&amp;lt;br /&amp;gt;1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Sofar:soybean(magenta),muskmelon(yellow),Chicory(blue), amaranths(purple)&lt;br /&gt;
(someone please make me a table, im incompetent)&lt;br /&gt;
&lt;br /&gt;
== Crop Plants ==&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Farming]]&lt;br /&gt;
&lt;br /&gt;
{{Category|Crops| }}&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Crop&amp;diff=205282</id>
		<title>DF2014 Talk:Crop</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=DF2014_Talk:Crop&amp;diff=205282"/>
		<updated>2014-07-11T15:06:53Z</updated>

		<summary type="html">&lt;p&gt;StrikaAmaru: ask q.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- DELETE THIS LINE --&amp;gt;{{newpage|type=cp|Carch}}&lt;br /&gt;
&lt;br /&gt;
== list of new crops ==&lt;br /&gt;
&lt;br /&gt;
since the main page would just get messy, I thought maybe this'd be a good place to add the new garden crops. I'll pull the list here from the raws, but don't know how to make a table (and I could look at the main page, but afraid I'd mess it up beyond my ability to repair)&lt;br /&gt;
&lt;br /&gt;
crops: (name / drink / millable)&lt;br /&gt;
&lt;br /&gt;
single-grain Wheat / Single-grain wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
two-grain wheat / two-grain wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
soft wheat / soft wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
hard wheat / hard wheat beer / yes&lt;br /&gt;
&lt;br /&gt;
spelt / spelt beer / yes&lt;br /&gt;
&lt;br /&gt;
barley / barley whine / yes&lt;br /&gt;
&lt;br /&gt;
buckwheat / buckwheat beer / yes &lt;br /&gt;
&lt;br /&gt;
oats / no drink / yes&lt;br /&gt;
&lt;br /&gt;
Alfalfa / no drink / no&lt;br /&gt;
&lt;br /&gt;
rye / rye beer / yes&lt;br /&gt;
&lt;br /&gt;
sorghum / sorghum beer / yes&lt;br /&gt;
&lt;br /&gt;
rice / rice beer / yes&lt;br /&gt;
&lt;br /&gt;
maize / maize beer / yes&lt;br /&gt;
&lt;br /&gt;
quinoa / quinoa beer / yes&lt;br /&gt;
&lt;br /&gt;
Kaniwa / Kaniwa beer / yes&lt;br /&gt;
&lt;br /&gt;
bitter vetch / no drink / no&lt;br /&gt;
&lt;br /&gt;
pendant amaranth / pendant amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
blood amaranth / blood amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
purple amaranth / purple amaranth beer / yes&lt;br /&gt;
&lt;br /&gt;
red spinach / no drink / no&lt;br /&gt;
&lt;br /&gt;
Elephant-head amaranth / no drink / no&lt;br /&gt;
&lt;br /&gt;
pearl millet / pearl millet beer / yes&lt;br /&gt;
&lt;br /&gt;
white millet / white millet beer / yes &lt;br /&gt;
&lt;br /&gt;
finger millet / finger millet beer / yes&lt;br /&gt;
&lt;br /&gt;
foxtail millet / foxtail millet beer / yes&lt;br /&gt;
&lt;br /&gt;
didn't get any further yet. but I think this is about half of the crops raw file&lt;br /&gt;
done. after this only the garden stuff to do.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
---&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
* Shouldn't plants be split by standard / garden / crop? They seem to have different properties - no standard plant has any growths, for instance.&lt;/div&gt;</summary>
		<author><name>StrikaAmaru</name></author>
	</entry>
</feed>