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 "v0.31:Material token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
| 0 || INORGANIC || Placeholder for rock, used in arena mode. When given a subtype, selects a user-defined inorganic material.
 
| 0 || INORGANIC || Placeholder for rock, used in arena mode. When given a subtype, selects a user-defined inorganic material.
 
|-   
 
|-   
| 1 || AMBER ||  
+
| 1 || AMBER || {{L|Amber}}
 
|-   
 
|-   
| 2 || CORAL ||  
+
| 2 || CORAL || {{L|Coral}}
 
|-   
 
|-   
| 3 || GLASS_GREEN ||
+
| 3 || GLASS_GREEN || {{L|Green glass}}
 
|-  
 
|-  
| 4 || GLASS_CLEAR ||
+
| 4 || GLASS_CLEAR || {{L|Clear glass}}
 
|-   
 
|-   
| 5 || GLASS_CRYSTAL ||
+
| 5 || GLASS_CRYSTAL || {{L|Crystal glass}}
 
|-   
 
|-   
| 6 || WATER || When placed in {{L|bucket}}s or when mining out {{L|ice}}.
+
| 6 || WATER || {{L|Water}}, when placed in {{L|bucket}}s or when mining out {{L|ice}}.
 
|-   
 
|-   
| 7 || COAL || Subtype is either COKE or CHARCOAL.
+
| 7 || COAL || {{L|Coal}} - subtype is either COKE or CHARCOAL.
 
|-   
 
|-   
| 8 || POTASH ||
+
| 8 || POTASH || {{L|Potash}}
 
|-   
 
|-   
| 9 || ASH ||
+
| 9 || ASH || {{L|Ash}}
 
|-   
 
|-   
| 10 || PEARLASH ||
+
| 10 || PEARLASH || {{L|Pearlash}}
 
|-   
 
|-   
| 11 || LYE ||
+
| 11 || LYE || {{L|Lye}}
 
|-   
 
|-   
| 12 || MUD ||
+
| 12 || MUD || {{L|Mud}}
 
|-   
 
|-   
| 13 || VOMIT ||
+
| 13 || VOMIT || {{L|Vomit}}
 
|-   
 
|-   
| 14 || SALT ||
+
| 14 || SALT || {{L|Salt}}
 
|-   
 
|-   
| 15 || FILTH_B ||
+
| 15 || FILTH_B || Filth (brown, solid)
 
|-   
 
|-   
| 16 || FILTH_Y ||
+
| 16 || FILTH_Y || Filth (yellow, liquid)
 
|-   
 
|-   
| 17 || UNKNOWN_SUBSTANCE ||
+
| 17 || UNKNOWN_SUBSTANCE || Unknown substance (white, liquid)
 
|-   
 
|-   
| 18 || GRIME ||
+
| 18 || GRIME || {{L|Grime}}
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Revision as of 23:10, 1 May 2011

This article is about an older version of DF.
You may be looking for Template:L.

Material tokens are used to refer to various types of materials in a wide variety of places. They can take the following forms:

  • BUILTIN:NONE specifies one of the hardcoded materials listed below.
    • COAL takes a subtype, as noted below.
  • INORGANIC:NAME specifies a custom inorganic material, such as stone or metal. The material name can be substituted with USE_LAVA_STONE to automatically select the inorganic material having Template:L, which is normally Template:L.
    • STONE and METAL are aliases for INORGANIC.
  • CREATURE_MAT:CREATURE_ID:NAME specifies a material associated with a specific creature.
    • LOCAL_CREATURE_MAT:NAME can be used within a creature definition to refer to a material belonging to that same creature.
  • PLANT_MAT:PLANT_ID:NAME specifies a material associated with a specific plant.
    • LOCAL_PLANT_MAT:NAME can be used within a plant definition to refer to a material belonging to that same plant.
  • GET_MATERIAL_FROM_REAGENT:REAGENT_ID:REACTION_PRODUCT_ID specifies a material related to a reagent's material within a Template:L specified by a [MATERIAL_REACTION_PRODUCT] token elsewhere (or the reagent's material itself, if REACTION_PRODUCT_ID is NONE).
# Token Information
0 INORGANIC Placeholder for rock, used in arena mode. When given a subtype, selects a user-defined inorganic material.
1 AMBER Template:L
2 CORAL Template:L
3 GLASS_GREEN Template:L
4 GLASS_CLEAR Template:L
5 GLASS_CRYSTAL Template:L
6 WATER Template:L, when placed in Template:Ls or when mining out Template:L.
7 COAL Template:L - subtype is either COKE or CHARCOAL.
8 POTASH Template:L
9 ASH Template:L
10 PEARLASH Template:L
11 LYE Template:L
12 MUD Template:L
13 VOMIT Template:L
14 SALT Template:L
15 FILTH_B Filth (brown, solid)
16 FILTH_Y Filth (yellow, liquid)
17 UNKNOWN_SUBSTANCE Unknown substance (white, liquid)
18 GRIME Template:L