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.

40d:Plant token

From Dwarf Fortress Wiki
Revision as of 19:02, 12 August 2010 by Quietust (talk | contribs)
Jump to navigation Jump to search
This article is about an older version of DF.

Plants are stored in the matgloss_plant.txt file.

Token Description
[MATGLOSS_PLANT:] The first line of the matgloss tells the game what string is used to refer to this particular plant. Required.
[TILE:] What tile is used for this plant. Either a number, such as 6 [♠] or a letter inside apostrophes, such as ':'. Required. See character table.
[COLOR:] The Template:L of the plant. Required.
[DEAD_TILE:] What tile is used when the plant has withered. Defaults to 169 [⌐].
[DEAD_COLOR:] The Template:L of the plant when it has withered. Defaults to 0:0:1 (dark gray).
[SHRUB_TILE:] What tile is used for shrubs bearing this plant. Defaults to 34 ["].
[SHRUB_COLOR:] The Template:L of shrubs bearing this plant. Defaults to 2:0:0 (dark green).
[DEAD_SHRUB_TILE:] What tile is used for dead shrubs bearing this plant. Defaults to 34 ["].
[DEAD_SHRUB_COLOR:] The Template:L of dead shrubs bearing this plant. Defaults to 6:0:0 (brown).
[NAME:] The name of the plant, which is what you see in-game. Required.
[NAME_PLURAL:] The plural of the plant's in-game name. Required.
[GROWDUR:] How long the plant takes to grow. A season lasts for a GROWDUR of 1008, and 1 day lasts for a GROWDUR of 12.
[VALUE:] How much the plant is worth. Usually 2.
[DRINK:] The name and color of the drink brewed from this plant, in the format name:c:c:c, where c is color.
[DRINKVALUE:] The value of the drink brewed from this plant.
[MILL:] The name and color of the item milled from this plant.
[MILL_VALUE] How much the milled product of this plant is worth.
[MILL_DYE:] Allows the milled product of this plant to be used as dye, and specifies the dye's Template:L.
[COOKABLE_WHEN_MILLED] Self-explanatory.
[EXTRACT:] The item extracted from this plant and it's color.
[EXTRACTVALUE:] The value of the extract.
[EXTRACT_BARREL] The extract is extracted into a barrel.
[EXTRACT_VIAL] The extract is extracted into a vial at the farmer's workshop.
[EXTRACT_STILL_VIAL] The extract is extracted into a vial at a still.
[EXTRACT_COOKABLE] Self-explanatory.
[LEAVES:] What tile is used for leaves processed from this plant.
[SEEDNAME:] The name of the plant's seeds.
[SEED:] The color of the plant's seeds.
[GENPOWER:] Use not known, may be obsolete or reference to planned features.
[SPRING] This plant will grow in spring. Not mutually exclusive with other season tags.
[SUMMER] This plant will grow during summer. Not mutually exclusive with other season tags.
[AUTUMN] This plant will grow during autumn. Not mutually exclusive with other season tags.
[WINTER] This plant will grow during winter. Not mutually exclusive with other season tags.
[FREQUENCY:] The chance for this plant to be gathered with the herb gathering job.
[CLUSTERSIZE:] The maximum stack size collected when gathered via herbalism.
[EDIBLE_VERMIN] Vermin can eat this plant.
[EDIBLE_RAW] This plant can be eaten raw.
[EDIBLE_WHENCOOKED] This plant can be eaten cooked but not raw.
[THREAD] This plant can be woven into thread and therefore cloth.
[BIOME:] What Template:L this plant appears in.
[WET] This plant appears near water features. Not mutually exclusive with the [DRY] tag.
[DRY] This plant appears away from water features. Not mutually exclusive with the [WET] tag.