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.

Difference between revisions of "40d:Plant token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(GROWDUR and 1 day.)
(some tags that have existed since 0.27.169.32a but were never used - have personally tested both SHRUB_TILE and SHRUB_COLOR and they both work; the rest probably work too)
Line 11: Line 11:
 
|-
 
|-
 
|[COLOR:]||The [[color]] of the plant. <font color="red">Required</font>.
 
|[COLOR:]||The [[color]] of the plant. <font color="red">Required</font>.
 +
|-
 +
|[DEAD_TILE:]||What tile is used when the plant has withered. Defaults to 169 [⌐].
 +
|-
 +
|[DEAD_COLOR:]||The [[color]] 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 [[color]] 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 [[color]] 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. <font color="red">Required</font>.
 
|[NAME:]||The name of the plant, which is what you see in-game. <font color="red">Required</font>.

Revision as of 21:46, 24 November 2009

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 color of the plant. Required.
[DEAD_TILE:] What tile is used when the plant has withered. Defaults to 169 [⌐].
[DEAD_COLOR:] The color 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 color 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 color 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 color.
[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:] How many leaves this plant will yield when processed. The leaves are always cookable.
[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:] ?? Does NOT affect the stack size when embarking or the stack size produced when farming. Possibly the number gathered wild via herbalism? Not tested. Unmodded: 1 on Kobold Bulbs and Valley Herbs, 5 on all other plants.
[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 biome 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.