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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(Fixing links within namespace (1355/2470))
Line 1: Line 1:
 
{{quality|Exceptional|21:18, 30 March 2011 (UTC)}}{{av}}
 
{{quality|Exceptional|21:18, 30 March 2011 (UTC)}}{{av}}
:''You may be looking for {{L|Matgloss token}}s.''
+
:''You may be looking for [[Matgloss token]]s.''
  
 
These tokens are types of materials, used to specify for example what material an item is made of. Unless noted otherwise, the material subtype should be NO_MATGLOSS or NO_RACEGLOSS.
 
These tokens are types of materials, used to specify for example what material an item is made of. Unless noted otherwise, the material subtype should be NO_MATGLOSS or NO_RACEGLOSS.
Line 10: Line 10:
 
! Information
 
! Information
 
|-   
 
|-   
| 0 || WOOD || {{L|Wood}} - Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
+
| 0 || WOOD || [[Wood]] - Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
 
|-   
 
|-   
| 1 || STONE || {{L|Stone}} - Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE (includes MATGLOSS_STONE_GEM.)
+
| 1 || STONE || [[Stone]] - Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE (includes MATGLOSS_STONE_GEM.)
 
|-   
 
|-   
| 2 || METAL || {{L|Metal}} - Subtypes come from MATGLOSS_METAL
+
| 2 || METAL || [[Metal]] - Subtypes come from MATGLOSS_METAL
 
|-   
 
|-   
| 3 || BONE || {{L|Bone}} - Subtypes come from CREATURE
+
| 3 || BONE || [[Bone]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 4 || IVORY || {{L|Ivory}} - Subtypes come from CREATURE
+
| 4 || IVORY || [[Ivory]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 5 || HORN || {{L|Horn}} - Subtypes come from CREATURE
+
| 5 || HORN || [[Horn]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 6 || AMBER || {{L|Amber}}
+
| 6 || AMBER || [[Amber]]
 
|-   
 
|-   
| 7 || CORAL || {{L|Coral}}
+
| 7 || CORAL || [[Coral]]
 
|-   
 
|-   
| 8 || PEARL || {{L|Pearl}} - Subtypes come from CREATURE
+
| 8 || PEARL || [[Pearl]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 9 || SHELL || {{L|Shell}} - Subtypes come from CREATURE
+
| 9 || SHELL || [[Shell]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 10 || LEATHER || {{L|Leather}} - Subtypes come from CREATURE
+
| 10 || LEATHER || [[Leather]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 11 || SILK || {{L|Silk}} - Subtypes come from CREATURE
+
| 11 || SILK || [[Silk]] - Subtypes come from CREATURE
 
|-   
 
|-   
 
| 12 || PLANT || Plant - Subtypes come from MATGLOSS_PLANT
 
| 12 || PLANT || Plant - Subtypes come from MATGLOSS_PLANT
 
|-   
 
|-   
| 13 || GLASS_GREEN || {{L|Green glass}}
+
| 13 || GLASS_GREEN || [[Green glass]]
 
|-  
 
|-  
| 14 || GLASS_CLEAR || {{L|Clear glass}}
+
| 14 || GLASS_CLEAR || [[Clear glass]]
 
|-   
 
|-   
| 15 || GLASS_CRYSTAL || {{L|Crystal glass}}
+
| 15 || GLASS_CRYSTAL || [[Crystal glass]]
 
|-   
 
|-   
 
| 16 || SAND || Sand - Not actually used, was a holdover from older versions.
 
| 16 || SAND || Sand - Not actually used, was a holdover from older versions.
 
|-   
 
|-   
| 17 || WATER || {{L|Water}} (used for water buckets and ice boulders)
+
| 17 || WATER || [[Water]] (used for water buckets and ice boulders)
 
|-   
 
|-   
| 18 || COAL || {{L|Coal}} - Subtype is either COKE or CHARCOAL
+
| 18 || COAL || [[Coal]] - Subtype is either COKE or CHARCOAL
 
|-   
 
|-   
| 19 || POTASH || {{L|Potash}}
+
| 19 || POTASH || [[Potash]]
 
|-   
 
|-   
| 20 || ASH || {{L|Ash}}
+
| 20 || ASH || [[Ash]]
 
|-   
 
|-   
| 21 || PEARLASH ||{{L|Pearlash}}
+
| 21 || PEARLASH ||[[Pearlash]]
 
|-   
 
|-   
| 22 || LYE || {{L|Lye}}
+
| 22 || LYE || [[Lye]]
 
|-   
 
|-   
| 23 || RENDERED_FAT || {{L|Tallow}} - Subtypes come from CREATURE
+
| 23 || RENDERED_FAT || [[Tallow]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 24 || SOAP_ANIMAL || {{L|Soap}} - Subtypes come from CREATURE
+
| 24 || SOAP_ANIMAL || [[Soap]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 25 || FAT || {{L|Fat}} - Subtypes come from CREATURE
+
| 25 || FAT || [[Fat]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 26 || MUD || {{L|Mud}}
+
| 26 || MUD || [[Mud]]
 
|-   
 
|-   
| 27 || VOMIT || {{L|Vomit}}
+
| 27 || VOMIT || [[Vomit]]
 
|-   
 
|-   
| 28 || BLOOD_NONSPECIFIC || Generic {{L|blood}}
+
| 28 || BLOOD_NONSPECIFIC || Generic [[blood]]
 
|-   
 
|-   
 
| 29 || SLIME || Green slime
 
| 29 || SLIME || Green slime
 
|-   
 
|-   
| 30 || SALT || {{L|Salt}}
+
| 30 || SALT || [[Salt]]
 
|-   
 
|-   
| 31 || BLOOD_SPECIFIC || Creature {{L|blood}} - Subtypes come from CREATURE
+
| 31 || BLOOD_SPECIFIC || Creature [[blood]] - Subtypes come from CREATURE
 
|-   
 
|-   
| 32 || PLANT_ALCOHOL || Plant {{L|alcohol}} - Subtypes come from MATGLOSS_PLANT
+
| 32 || PLANT_ALCOHOL || Plant [[alcohol]] - Subtypes come from MATGLOSS_PLANT
 
|-   
 
|-   
 
| 33 || FILTH_B || Filth (brown, solid)
 
| 33 || FILTH_B || Filth (brown, solid)
Line 82: Line 82:
 
| 35 || UNKNOWN_SUBSTANCE || Unknown substance (white, liquid)
 
| 35 || UNKNOWN_SUBSTANCE || Unknown substance (white, liquid)
 
|-   
 
|-   
| 36 || GRIME || {{L|Grime}}
+
| 36 || GRIME || [[Grime]]
 
|}
 
|}
  
 
CREATURE does not appear here in the exe, but has been observed with EXTRACT and CHEESE. PLANT has been observed with POWDER_MISC, THREAD, and CLOTH. Subtypes come from the appropriate matgloss.
 
CREATURE does not appear here in the exe, but has been observed with EXTRACT and CHEESE. PLANT has been observed with POWDER_MISC, THREAD, and CLOTH. Subtypes come from the appropriate matgloss.
  
When making reactions that use the PLANT or SEEDS {{L|item token}}s, use the name of the appropriate plant from matgloss_plant.txt as the material and NO_MATGLOSS for the subtype.
+
When making reactions that use the PLANT or SEEDS [[item token]]s, use the name of the appropriate plant from matgloss_plant.txt as the material and NO_MATGLOSS for the subtype.
  
 
When making reactions that use the REMAINS item token, use the name of the appropriate creature from creature_xxx.txt as the material and NO_MATGLOSS for the subtype.
 
When making reactions that use the REMAINS item token, use the name of the appropriate creature from creature_xxx.txt as the material and NO_MATGLOSS for the subtype.

Revision as of 15:00, 8 December 2011

This article is about an older version of DF.
You may be looking for Matgloss tokens.

These tokens are types of materials, used to specify for example what material an item is made of. Unless noted otherwise, the material subtype should be NO_MATGLOSS or NO_RACEGLOSS.

# Token Information
0 WOOD Wood - Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
1 STONE Stone - Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE (includes MATGLOSS_STONE_GEM.)
2 METAL Metal - Subtypes come from MATGLOSS_METAL
3 BONE Bone - Subtypes come from CREATURE
4 IVORY Ivory - Subtypes come from CREATURE
5 HORN Horn - Subtypes come from CREATURE
6 AMBER Amber
7 CORAL Coral
8 PEARL Pearl - Subtypes come from CREATURE
9 SHELL Shell - Subtypes come from CREATURE
10 LEATHER Leather - Subtypes come from CREATURE
11 SILK Silk - Subtypes come from CREATURE
12 PLANT Plant - Subtypes come from MATGLOSS_PLANT
13 GLASS_GREEN Green glass
14 GLASS_CLEAR Clear glass
15 GLASS_CRYSTAL Crystal glass
16 SAND Sand - Not actually used, was a holdover from older versions.
17 WATER Water (used for water buckets and ice boulders)
18 COAL Coal - Subtype is either COKE or CHARCOAL
19 POTASH Potash
20 ASH Ash
21 PEARLASH Pearlash
22 LYE Lye
23 RENDERED_FAT Tallow - Subtypes come from CREATURE
24 SOAP_ANIMAL Soap - Subtypes come from CREATURE
25 FAT Fat - Subtypes come from CREATURE
26 MUD Mud
27 VOMIT Vomit
28 BLOOD_NONSPECIFIC Generic blood
29 SLIME Green slime
30 SALT Salt
31 BLOOD_SPECIFIC Creature blood - Subtypes come from CREATURE
32 PLANT_ALCOHOL Plant alcohol - Subtypes come from MATGLOSS_PLANT
33 FILTH_B Filth (brown, solid)
34 FILTH_Y Filth (yellow, liquid)
35 UNKNOWN_SUBSTANCE Unknown substance (white, liquid)
36 GRIME Grime

CREATURE does not appear here in the exe, but has been observed with EXTRACT and CHEESE. PLANT has been observed with POWDER_MISC, THREAD, and CLOTH. Subtypes come from the appropriate matgloss.

When making reactions that use the PLANT or SEEDS item tokens, use the name of the appropriate plant from matgloss_plant.txt as the material and NO_MATGLOSS for the subtype.

When making reactions that use the REMAINS item token, use the name of the appropriate creature from creature_xxx.txt as the material and NO_MATGLOSS for the subtype.

When making reactions that use the BONES item token to create the bones of a specific creature, use the name of the appropriate creature as both the material and the subtype.