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 (Added link to Matgloss tokens.)
Line 83: Line 83:
 
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 Token, and NO_MATGLOSS for Matgloss Subtype.{{version|0.28.181.40d}}
 
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 Token, and NO_MATGLOSS for Matgloss Subtype.{{version|0.28.181.40d}}
  
When making reactions that use the REMAINS Item Tokens, use the name of the appropriate creature from creature_xxx.txt as the Material Token, and NO_MATGLOSS for Matgloss Subtype.
+
When making reactions that use the REMAINS Item Token, use the name of the appropriate creature from creature_xxx.txt as the Material Token, and NO_MATGLOSS for Matgloss Subtype.
 +
 
 +
When making reactions that use the BONES Item Token for a specific creature, use the name of the appropriate creature as the Material Token and as the Matgloss Subtype.
  
 
[[Category:Modding]]
 
[[Category:Modding]]
 
[[Category:Tokens]]
 
[[Category:Tokens]]

Revision as of 14:03, 26 April 2009

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.

# Token Information
1 WOOD Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
2 STONE Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE
3 METAL Subtypes come from MATGLOSS_METAL
4 BONE Subtypes come from CREATURE
5 IVORY Subtypes come from CREATURE
6 HORN Subtypes come from CREATURE
7 AMBER ???
8 CORAL Subtypes come from CREATURE
9 PEARL Subtypes come from CREATURE
10 SHELL Subtypes come from CREATURE
11 LEATHER Subtypes come from CREATURE
12 SILK Subtypes come from CREATURE
13 PLANT_ALCOHOL Subtypes come from MATGLOSS_PLANT
14 GLASS_GREEN No subtypes use NONE or NO_MATGLOSS
15 GLASS_CLEAR No subtypes use NONE or NO_MATGLOSS
16 GLASS_CRYSTAL No subtypes use NONE or NO_MATGLOSS
17 SAND No subtypes use NONE or NO_MATGLOSS
18 COAL Subtype is either COKE or CHARCOAL
19 POTASH No subtypes use NONE or NO_MATGLOSS
20 ASH No subtypes use NONE or NO_MATGLOSS
21 PEARLASH No subtypes use NONE or NO_MATGLOSS
22 LYE No subtypes use NONE or NO_MATGLOSS
23 RENDERED_FAT Subtypes come from CREATURE
24 SOAP_ANIMAL Subtypes come from CREATURE
25 FAT Subtypes come from CREATURE
26 MUD ???
27 VOMIT ???
28 BLOOD_NONSPECIFIC Subtypes are probably the same as BLOODTYPE[Verify]
29 BLOOD_SPECIFIC Subtypes come from CREATURE
30 SLIME ???
31 SALT ???
32 FILTH_B ???
33 FILTH_Y ???
34 UNKNOWN_SUBSTANCE ???
35 GRIME ???

CREATURE does not appear here in the exe, but has been observed with EXTRACT and CHEESE. PLANT does not appear here, but has been observed with POWDER_MISC. 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 Token, and NO_MATGLOSS for Matgloss Subtype.v0.28.181.40d

When making reactions that use the REMAINS Item Token, use the name of the appropriate creature from creature_xxx.txt as the Material Token, and NO_MATGLOSS for Matgloss Subtype.

When making reactions that use the BONES Item Token for a specific creature, use the name of the appropriate creature as the Material Token and as the Matgloss Subtype.