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 21:02, 3 May 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. Unless noted otherwise, the material subtype should be NO_MATGLOSS or NO_RACEGLOSS.

# Token Information
0 WOOD Template:L - Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
1 STONE Template:L - Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE (includes MATGLOSS_STONE_GEM.)
2 METAL Template:L - Subtypes come from MATGLOSS_METAL
3 BONE Template:L - Subtypes come from CREATURE
4 IVORY Template:L - Subtypes come from CREATURE
5 HORN Template:L - Subtypes come from CREATURE
6 AMBER Template:L
7 CORAL Template:L
8 PEARL Template:L - Subtypes come from CREATURE
9 SHELL Template:L - Subtypes come from CREATURE
10 LEATHER Template:L - Subtypes come from CREATURE
11 SILK Template:L - Subtypes come from CREATURE
12 PLANT Plant - Subtypes come from MATGLOSS_PLANT
13 GLASS_GREEN Template:L
14 GLASS_CLEAR Template:L
15 GLASS_CRYSTAL Template:L
16 SAND Sand (unused?)
17 WATER Template:L (used for water buckets and ice boulders)
18 COAL Template:L - Subtype is either COKE or CHARCOAL
19 POTASH Template:L
20 ASH Template:L
21 PEARLASH Template:L
22 LYE Template:L
23 RENDERED_FAT Template:L - Subtypes come from CREATURE
24 SOAP_ANIMAL Template:L - Subtypes come from CREATURE
25 FAT Template:L - Subtypes come from CREATURE
26 MUD Template:L
27 VOMIT Template:L
28 BLOOD_NONSPECIFIC Generic Template:L
29 SLIME Green slime
30 SALT Template:L
31 BLOOD_SPECIFIC Creature Template:L - Subtypes come from CREATURE
32 PLANT_ALCOHOL Plant Template:L - 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 Template:L

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.