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.

40d:Material token

From Dwarf Fortress Wiki
Revision as of 15:11, 18 March 2011 by Quietust (talk | contribs)
Jump to navigation Jump to search
This article is about an older version of DF.
You may be looking for Template:Ls.

These tokens are types of materials, used to specify for example what material an item is made of.

# Token Information
0 WOOD Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
1 STONE Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE (includes MATGLOSS_STONE_GEM.)
2 METAL Subtypes come from MATGLOSS_METAL
3 BONE Subtypes come from CREATURE
4 IVORY Subtypes come from CREATURE
5 HORN Subtypes come from CREATURE
6 AMBER No subtype
7 CORAL No subtype
8 PEARL Subtypes come from CREATURE
9 SHELL Subtypes come from CREATURE
10 LEATHER Subtypes come from CREATURE
11 SILK Subtypes come from CREATURE
12 PLANT Subtypes come from MATGLOSS_PLANT
13 GLASS_GREEN No subtype
14 GLASS_CLEAR No subtype
15 GLASS_CRYSTAL No subtype
16 SAND No subtype
17 WATER No subtype
18 COAL Subtype is either COKE or CHARCOAL
19 POTASH No subtype
20 ASH No subtype
21 PEARLASH No subtype
22 LYE No subtype
23 RENDERED_FAT Subtypes come from CREATURE
24 SOAP_ANIMAL Subtypes come from CREATURE
25 FAT Subtypes come from CREATURE
26 MUD No subtype
27 VOMIT No subtype
28 BLOOD_NONSPECIFIC Does not appear to have a subtype.
29 SLIME No subtype
30 SALT No subtype
31 BLOOD_SPECIFIC Subtypes come from CREATURE
32 PLANT_ALCOHOL Subtypes come from MATGLOSS_PLANT
33 FILTH_B No subtype
34 FILTH_Y No subtype
35 UNKNOWN_SUBSTANCE No subtype
36 GRIME No subtype

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 Template:Ls, 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.