v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing 40d:Plant token

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{quality|Exceptional|21:06, 30 March 2011 (UTC)}}{{av}}
+
{{av}}
 
Plants are stored in the matgloss_plant.txt file.
 
Plants are stored in the matgloss_plant.txt file.
  
Line 17: Line 17:
 
|[VALUE:num]||How much the plant is worth. Defaults to 1.
 
|[VALUE:num]||How much the plant is worth. Defaults to 1.
 
|-
 
|-
|[SPRING]||Allows the plant to grow during spring.
+
|[SPRING]||This plant will grow in spring. Not mutually exclusive with other season tags.
 
|-
 
|-
|[SUMMER]||Allows the plant to grow during summer.
+
|[SUMMER]||This plant will grow during summer. Not mutually exclusive with other season tags.
 
|-
 
|-
|[AUTUMN]||Allows the plant to grow during autumn.
+
|[AUTUMN]||This plant will grow during autumn. Not mutually exclusive with other season tags.
 
|-
 
|-
|[WINTER]||Allows the plant to grow during winter.
+
|[WINTER]||This plant will grow during winter. Not mutually exclusive with other season tags.
 
|-
 
|-
|[TILE:tile]||What tile is used for this plant. Either a number, such as 6 () or a letter inside apostrophes, such as ':'. See [[Main:Character table|character table]]. Defaults to 231 (τ).
+
|[TILE:num]||What tile is used for this plant. Either a number, such as 6 [] or a letter inside apostrophes, such as ':'. See [[Character table|character table]]. Defaults to 231 [τ].
 
|-
 
|-
|[DEAD_TILE:tile]||What tile is used when the plant has withered. Defaults to 169 ().
+
|[DEAD_TILE:num]||What tile is used when the plant has withered. Defaults to 169 [].
 
|-
 
|-
|[SHRUB_TILE:tile]||What tile is used for shrubs bearing this plant. Defaults to 34 (").
+
|[SHRUB_TILE:num]||What tile is used for shrubs bearing this plant. Defaults to 34 ["].
 
|-
 
|-
|[DEAD_SHRUB_TILE:tile]||What tile is used for dead shrubs bearing this plant. Defaults to 34 (").
+
|[DEAD_SHRUB_TILE:num]||What tile is used for dead shrubs bearing this plant. Defaults to 34 ["].
 
|-
 
|-
 
|[CLUSTERSIZE:num]||The maximum stack size collected when gathered via herbalism. Defaults to 5.
 
|[CLUSTERSIZE:num]||The maximum stack size collected when gathered via herbalism. Defaults to 5.
 
|-
 
|-
|[COLOR:fg:bg:br]||The [[color]] of the plant. Defaults to 2:0:0 (dark green).
+
|[COLOR:a:b:c]||The {{L|color}} of the plant. Defaults to 2:0:0 (dark green).
 
|-
 
|-
|[DEAD_COLOR:fg:bg:br]||The [[color]] of the plant when it has withered. Defaults to 0:0:1 (dark gray).
+
|[DEAD_COLOR:a:b:c]||The {{L|color}} of the plant when it has withered. Defaults to 0:0:1 (dark gray).
 
|-
 
|-
|[SHRUB_COLOR:fg:bg:br]||The [[color]] of shrubs bearing this plant. Defaults to 2:0:0 (dark green).
+
|[SHRUB_COLOR:a:b:c]||The {{L|color}} of shrubs bearing this plant. Defaults to 2:0:0 (dark green).
 
|-
 
|-
|[DEAD_SHRUB_COLOR:fg:bg:br]||The [[color]] of dead shrubs bearing this plant. Defaults to 6:0:0 (brown).
+
|[DEAD_SHRUB_COLOR:a:b:c]||The {{L|color}} of dead shrubs bearing this plant. Defaults to 6:0:0 (brown).
 
|-
 
|-
|[DRINK:name:fg:bg:br]||Allows the plant to be brewed into a drink having the specified name and color.
+
|[DRINK:name:a:b:c]||The name and color of the drink brewed from this plant.
 
|-
 
|-
 
|[DRINKVALUE:num]||The value of the drink brewed from this plant. Defaults to 1.
 
|[DRINKVALUE:num]||The value of the drink brewed from this plant. Defaults to 1.
 
|-
 
|-
|[MILL:name:fg:bg:br]||Allows the plant to be milled into a powder having the specified name and color.
+
|[MILL:name:a:b:c]||The name and color of the item milled from this plant.
 
|-
 
|-
 
|[MILL_VALUE:num]||How much the milled product of this plant is worth. Defaults to 1.
 
|[MILL_VALUE:num]||How much the milled product of this plant is worth. Defaults to 1.
 
|-
 
|-
|[COOKABLE_WHEN_MILLED]||Allows the milled product of this plant to be cooked into meals.
+
|[COOKABLE_WHEN_MILLED]||Self-explanatory.
 
|-
 
|-
|[MILL_DYE:color]||Allows the milled product of this plant to be used as dye, and specifies the dye's [[color]].
+
|[MILL_DYE:color]||Allows the milled product of this plant to be used as dye, and specifies the dye's {{L|color}}.
 
|-
 
|-
 
|[GENPOWER:num]||Use not known, may be obsolete or reference to planned features. Defaults to 1.
 
|[GENPOWER:num]||Use not known, may be obsolete or reference to planned features. Defaults to 1.
Line 63: Line 63:
 
|[SAVAGE]||This plant only appears in Savage regions.
 
|[SAVAGE]||This plant only appears in Savage regions.
 
|-
 
|-
|[FREQUENCY:num]||Determines how frequently shrubs of this plant are generated in a particular area. Defaults to 50.
+
|[FREQUENCY:num]||Unknown. Presumably determines how frequently shrubs of this plant are generated. Defaults to 50.
 
|-
 
|-
 
|[PREFSTRING:text]||Why dwarves like this plant.
 
|[PREFSTRING:text]||Why dwarves like this plant.
Line 69: Line 69:
 
|[EDIBLE_VERMIN]||Vermin can eat this plant.
 
|[EDIBLE_VERMIN]||Vermin can eat this plant.
 
|-
 
|-
|[EDIBLE_RAW]||This plant can be eaten raw or cooked.
+
|[EDIBLE_RAW]||This plant can be eaten raw.
 
|-
 
|-
|[EDIBLE_WHENCOOKED]||This plant can be eaten cooked, but not raw.
+
|[EDIBLE_WHENCOOKED]||This plant can be eaten cooked but not raw.
 
|-
 
|-
 
|[THREAD]||This plant can be woven into thread and therefore cloth.
 
|[THREAD]||This plant can be woven into thread and therefore cloth.
 
|-
 
|-
|[DROWN_LEVEL:num]||Specifies the water depth at which the shrub will die, defaulting to 4.
+
|[DROWN_LEVEL:num]||Unused, presumably specifies the water depth at which the shrub will die. Defaults to 4.
 
|-
 
|-
|[SEED:fg:bg:br]||Causes processing the plant to yield seeds of the specified color.
+
|[SEED:a:b:c]||The color of the plant's seeds. Defaults to 6:0:0 (brown).
 
|-
 
|-
|[LEAVES:tilenum]||Allows the plant to be extracted into a bag at the farmer's workshop to yield leaves having the specified tile (number only?).
+
|[LEAVES:num]||What tile is used for leaves processed from this plant. Also permits said leaves to be extracted into a bag at the farmer's workshop. Defaults to 6 [♠].
 
|-
 
|-
|[EXTRACT_VIAL]||Allows the plant to be processed into a vial at the farmer's workshop to yield its EXTRACT. Extract vials will be stored in finished good stockpiles which permit the vial.
+
|[EXTRACT_VIAL]||The extract is extracted into a vial at the farmer's workshop. Extract vials will be stored in finished good stockpiles which permit the vial.
 
|-
 
|-
|[EXTRACT_BAG]||Allows the plant to be processed into a bag at the farmer's workshop to yield its EXTRACT. Extract bags will be stored in furniture stockpiles which permit the bag.
+
|[EXTRACT_BAG]||The extract is extracted into a bag at the farmer's workshop. Extract bags will be stored in furniture stockpiles which permit the bag.
 
|-
 
|-
|[EXTRACT_BARREL]||Allows the plant to be processed into a barrel at the farmer's workshop to yield its EXTRACT.
+
|[EXTRACT_BARREL]||The extract is extracted into a barrel at the farmer's workshop.
 
|-
 
|-
|[EXTRACT_STILL_VIAL]||Allows the plant to be processed into a vial at the still to yield its EXTRACT. Extract vials will be stored in finished good stockpiles which permit the vial.
+
|[EXTRACT_STILL_VIAL]||The extract is extracted into a vial at a still. Extract vials will be stored in finished good stockpiles which permit the vial.
 
|-
 
|-
|[EXTRACT_COOKABLE]||Permits the plant's extract to be cooked into meals.
+
|[EXTRACT_COOKABLE]||Self-explanatory.
 
|-
 
|-
|[EXTRACT:name:fg:bg:br]||Defines a substance that can be extracted from the plant (using one of the above methods) having the specified name and color.
+
|[EXTRACT:name:a:b:c]||The item extracted from this plant and its color.
 
|-
 
|-
 
|[EXTRACTVALUE:num]||The value of the extract. Defaults to 1.
 
|[EXTRACTVALUE:num]||The value of the extract. Defaults to 1.
 
|-
 
|-
|[WET]||Restricts the plant to grow near natural water features. Ignored if combined with [DRY].
+
|[WET]||This plant appears near water features. Not mutually exclusive with the [DRY] tag.
 
|-
 
|-
|[DRY]||Restricts the plant to grow away from natural water features. Ignored if combined with [WET].
+
|[DRY]||This plant appears away from water features. Not mutually exclusive with the [WET] tag.
 
|-
 
|-
|[BIOME:biome]||Permits the plant to occur in a given [[biome token|biome]].
+
|[BIOME:biome]||What {{L|biome token|biome}} this plant appears in.
 
|-
 
|-
 
|[SPEC_HEAT:num]||The plant's specific heat capacity. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
 
|[SPEC_HEAT:num]||The plant's specific heat capacity. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
Line 141: Line 141:
 
| SOLID_DENSITY || 1200 || 1520 || 1200 || 789 || 1200
 
| SOLID_DENSITY || 1200 || 1520 || 1200 || 789 || 1200
 
|-
 
|-
| LIQUID_DENSITY || NONE || NONE || 1200 || 789 || 1200
+
| LIQUID_DENSITY || N/A || N/A || 1200 || 789 || 1200
 
|}
 
|}
 
Plant cheeses, despite having temperature values, are not implemented in this version of Dwarf Fortress.
 
 
Cookable extracts can only be cooked while they remain in liquid form - should they solidify, they will become useless even if re-melted (as they will change from an "extract" to a "misc. liquid").
 
 
Due to various bugs, CLOTH temperature and density values are not used (they use the default plant properties), and DRINK density is hardcoded to 800.
 
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)