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.

23a:Plant token

From Dwarf Fortress Wiki
Revision as of 02:21, 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.
[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.
[SEEDNAME:] The name of the plant's seeds.
[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.
[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.
[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:] How much the plant is worth. Usually 2.
[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.
[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.
[CLUSTERSIZE:] The maximum stack size collected when gathered via herbalism.
[COLOR:] The Template:L of the plant. Required.
[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.
[COOKABLE_WHEN_MILLED] Self-explanatory.
[MILL_DYE:] Allows the milled product of this plant to be used as dye, and specifies the dye's Template:L.
[GENPOWER:] Use not known, may be obsolete or reference to planned features.
[FREQUENCY:] The chance for this plant to be gathered with the herb gathering job.
[PREFSTRING:] Why dwarves like this plant.
[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.
[SEED:] The color of the plant's seeds.
[LEAVES:] Specifies the tile used to represent leaves processed from the plant (number only?). See character table. Leaves are extracted into a bag at the farmer's workshop.
[EXTRACT_VIAL] The extract is extracted into a vial at the farmer's workshop.
[EXTRACT_BAG] Presumably allows extracting the plant into a bag at the farmer's workshop. Not used by any plants.
[EXTRACT_BARREL] The extract is extracted into a barrel.
[EXTRACT_STILL_VIAL] The extract is extracted into a vial at a still.
[EXTRACT_COOKABLE] Self-explanatory.
[EXTRACT:] The item extracted from this plant and it's color.
[EXTRACTVALUE:] The value of the extract.

Also allows SPEC_HEAT, HEATDAM_POINT, COLDDAM_POINT, IGNITE_POINT, MELTING_POINT, BOILING_POINT, FIXED_TEMP, as well as CLOTH_*, EXTRACT_*, DRINK_*, and CHEESE_*.