23a:Plant token

From Dwarf Fortress Wiki
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
[NAME:text] The name of the plant, which is what you see in-game.
[NAME_PLURAL:text] The plural of the plant's in-game name.
[SEEDNAME:text] The name of the plant's seeds. Defaults to "[NAME] seeds" if not specified.
[GROWDUR:num] How long the plant takes to grow. A season lasts for a GROWDUR of 1008, and 1 day lasts for a GROWDUR of 12. Defaults to 300.
[FOREST] Causes the plant to grow outdoors away from rivers and murky pools. Nut mutually exclusive with other location tags.
[CAVE] Causes the plant to grow underground. Most likely is mutually exclusive with other location tags. Only plants having this token can be farmed by Dwarves.
[RIVER] Causes the plant to grow near outdoor rivers. Nut mutually exclusive with other location tags.
[SWAMP] Causes the plant to grow near murky pools. Nut mutually exclusive with other location tags.
[VALUE:num] How much the plant is worth. Defaults to 1.
[SPRING] Allows the plant to grow naturally and be planted during spring.
[SUMMER] Allows the plant to grow naturally and be planted during summer.
[AUTUMN] Allows the plant to grow naturally and be planted during autumn.
[WINTER] Allows the plant to grow naturally during winter.
[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. Defaults to 231 (τ).
[CLUSTERSIZE:num] The maximum stack size collected when gathered via herbalism. Defaults to 5.
[COLOR:a:b:c] The color of the plant. Defaults to 2:0:0 (dark green).
[DRINK:name:a:b:c] Allows the plant to be brewed into a drink having the specified name and color.
[DRINKVALUE:num] The value of the drink brewed from this plant. Defaults to 1.
[MILL:name:a:b:c] Allows the plant to be milled into a powder having the specified name and color.
[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.
[MILL_DYE:color] Allows the milled product of this plant to be used as dye, and specifies the dye's color.
[GENPOWER:num] Use not known, may be obsolete or reference to planned features. Defaults to 1.
[FREQUENCY:num] Specifies how often this plant appears within its environment. Defaults to 50.
[PREFSTRING:text] Why dwarves like this plant.
[EDIBLE_VERMIN] Vermin can eat this plant.
[EDIBLE_RAW] This plant can be eaten raw or cooked.
[EDIBLE_WHENCOOKED] This plant can be eaten cooked, but not raw.
[THREAD] This plant can be woven into thread and therefore cloth.
[SEED:a:b:c] Causes processing the plant to yield seeds of the specified color.
[LEAVES:num] Allows the plant to be extracted into a bag at the farmer's workshop to yield leaves having the specified tile (number only?).
[EXTRACT_VIAL] Allows the plant to be processed into a vial at the farmer's workshop to yield its EXTRACT.
[EXTRACT_BAG] Allows the plant to be processed into a bag at the farmer's workshop to yield its EXTRACT.
[EXTRACT_BARREL] Allows the plant to be processed into a barrel at the farmer's workshop to yield its EXTRACT.
[EXTRACT_STILL_VIAL] Allows the plant to be processed into a vial at the still to yield its EXTRACT.
[EXTRACT_COOKABLE] Permits the plant's extract to be cooked into meals.
[EXTRACT:name:a:b:c] Defines a substance that can be extracted from the plant (using one of the above methods) having the specified name and color.
[EXTRACTVALUE:num] The value of the plant's extract. Defaults to 1.
[SPEC_HEAT:num] The plant's specific heat capacity. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
[HEATDAM_POINT:num] The temperature at which heat will begin to damage the plant. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
[COLDDAM_POINT:num] The temperature at which frost will begin to damage the plant. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
[IGNITE_POINT:num] The temperature at which the plant will burst into flames. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
[MELTING_POINT:num] The temperature at which the plant will melt into a puddle of goo. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.
[BOILING_POINT:num] The temperature at which the plant will boil into a cloud of vapor. Can also be specified for CLOTH, EXTRACT, DRINK, and CHEESE. See below for defaults.

If not specified, the following default values will be used for the various temperature properties:

(Plant) CLOTH EXTRACT DRINK CHEESE
SPEC_HEAT 3000 420 4181 2440 2000
HEATDAM_POINT 10250 10250 NONE NONE 10800
COLDDAM_POINT 9900 9900 NONE NONE 9950
IGNITE_POINT 10508 10508 NONE 10800 NONE
MELTING_POINT NONE NONE 9950 9850 10150
BOILING_POINT NONE NONE 10200 10150 NONE
FIXED_TEMP NONE NONE NONE NONE NONE

Plant cheeses, despite having temperature values, are not implemented in this version of Dwarf Fortress.