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.
Editing v0.31:Material definition token
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | {{av}} | |
− | The following tokens can be used in material | + | The following tokens can be used in material templates, as well as materials defined in other raw files. |
==Material Properties== | ==Material Properties== | ||
− | {| | + | {| |
− | |- bgcolor="# | + | |- bgcolor="#ddd" |
! Token | ! Token | ||
! Arguments | ! Arguments | ||
Line 12: | Line 12: | ||
|- | |- | ||
| PREFIX | | PREFIX | ||
− | | | + | | |
− | | | + | | Unknown. Not permitted in material template definitions. |
|- | |- | ||
| STONE_NAME | | STONE_NAME | ||
− | | | + | | |
− | | | + | | Name of stones mined out if material is a stone. |
|- | |- | ||
Line 26: | Line 26: | ||
* plural | * plural | ||
* state | * state | ||
− | | Used to indicate that said material is a gemstone - when | + | | Used to indicate that said material is a gemstone - when mined out, rough gems will be yielded instead of boulders. Plural can be "STP" to automatically append an "s" to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME. |
|- | |- | ||
| TEMP_DIET_INFO | | TEMP_DIET_INFO | ||
− | | | + | | |
− | + | | Unknown | |
− | | | ||
|- | |- | ||
| POWDER_DYE | | POWDER_DYE | ||
− | | | + | | {{L|color}} token |
− | | Defines the material as a type of dye | + | | Defines the material as a type of dye |
|- | |- | ||
| TILE | | TILE | ||
− | | | + | | |
− | | | + | | ? |
|- | |- | ||
| ITEM_SYMBOL | | ITEM_SYMBOL | ||
| tile | | tile | ||
− | | Specifies the tile that will be used to represent BOULDER objects made of this material. | + | | Specifies the tile that will be used to represent BOULDER objects made of this material. Only used with stones. |
|- | |- | ||
Line 55: | Line 54: | ||
*background color | *background color | ||
*foreground brightness | *foreground brightness | ||
− | | The on-screen color of the material. Uses a standard 3-digit | + | | The on-screen color of the material. Uses a standard 3-digit {{L|Color|color token}}. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c] |
|- | |- | ||
Line 63: | Line 62: | ||
*background color | *background color | ||
*foreground brightness | *foreground brightness | ||
− | | The color of objects made of this material which use both the foreground and background color: | + | | The color of objects made of this material which use both the foreground and background color: {{L|door}}s, {{L|floodgate}}s, {{L|hatch cover}}s, {{L|bin}}s, {{L|barrel}}s, and {{L|cage}}s. |
|- | |- | ||
Line 71: | Line 70: | ||
*background color | *background color | ||
*foreground brightness | *foreground brightness | ||
− | | The color of unmined tiles containing this material (for stone and soil), as well as | + | | The color of unmined tiles containing this material (for stone and soil), as well as {{L|engraving}}s in this material. |
|- | |- | ||
Line 78: | Line 77: | ||
*color | *color | ||
*brightness | *brightness | ||
− | | The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls | + | | The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. |
|- | |- | ||
Line 84: | Line 83: | ||
| | | | ||
*state | *state | ||
− | * | + | *color |
| The state may be SOLID, LIQUID, GAS, POWDER/SOLID_POWDER, PASTE/SOLID_PASTE, PRESSED/SOLID_PRESSED, ALL_SOLID, or ALL. | | The state may be SOLID, LIQUID, GAS, POWDER/SOLID_POWDER, PASTE/SOLID_PASTE, PRESSED/SOLID_PRESSED, ALL_SOLID, or ALL. | ||
− | Color comes from descriptor_color_standard.txt and is used to indicate the color of the material. The nearest color value is used to display contaminants | + | Color comes from descriptor_color_standard.txt and is used to indicate the color of the material. The nearest color value is used to display contaminants made of this material. |
[STATE_COLOR:ALL_SOLID:GREY] | [STATE_COLOR:ALL_SOLID:GREY] | ||
Line 115: | Line 114: | ||
| | | | ||
*value | *value | ||
− | | The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been | + | | The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been glazed. |
|- | |- | ||
Line 121: | Line 120: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for blunt-force combat. |
|- | |- | ||
Line 127: | Line 126: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for blunt-force combat. |
|- | |- | ||
Line 133: | Line 132: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for blunt-force combat. |
|- | |- | ||
Line 139: | Line 138: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 145: | Line 144: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 151: | Line 150: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 157: | Line 156: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 163: | Line 162: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 169: | Line 168: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 175: | Line 174: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 181: | Line 180: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 187: | Line 186: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 193: | Line 192: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for cutting calculations. |
|- | |- | ||
Line 199: | Line 198: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for cutting calculations. |
|- | |- | ||
Line 205: | Line 204: | ||
| | | | ||
*value | *value | ||
− | | | + | | Used for cutting calculations. |
|- | |- | ||
− | | BENDING_YIELD | + | | BENDING_YIELD |
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 217: | Line 216: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 223: | Line 222: | ||
| | | | ||
*value | *value | ||
− | | | + | | [http://www.bay12forums.com/smf/index.php?topic=30026.msg1007133;topicseen#msg1007133 Supposedly used only during wrestling.] |
|- | |- | ||
Line 229: | Line 228: | ||
| | | | ||
*value | *value | ||
− | | How sharp the material is. Used in cutting calculations. Applying a value of at least 10000 to a stone will allow weapons | + | | How sharp the material is. Used in cutting calculations. Applying a value of at least 10000 to a stone will allow weapons made from that stone. |
|- | |- | ||
Line 235: | Line 234: | ||
| | | | ||
*value | *value | ||
− | | Value modifier for the material | + | | Value modifier for the material. |
|- | |- | ||
Line 241: | Line 240: | ||
| | | | ||
*value | *value | ||
− | | Multiplies the value of the material. | + | | Multiplies the value of the selected material. Not permitted in material template definitions. |
|- | |- | ||
Line 247: | Line 246: | ||
| | | | ||
*specific heat capacity | *specific heat capacity | ||
− | | | + | | See {{L|SPEC HEAT}} |
|- | |- | ||
Line 253: | Line 252: | ||
| | | | ||
*temperature | *temperature | ||
− | | Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point | + | | Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point it may burn for very long time (around 9-10 months). |
|- | |- | ||
Line 259: | Line 258: | ||
| | | | ||
*temperature | *temperature | ||
− | | Temperature below which the material takes damage from cold. | + | | Temperature below which the material takes damage from cold. May be set to NONE. |
|- | |- | ||
Line 265: | Line 264: | ||
| | | | ||
*temperature | *temperature | ||
− | | Temperature at which the material will catch fire. | + | | Temperature at which the material will catch fire. May be set to NONE. |
|- | |- | ||
Line 271: | Line 270: | ||
| | | | ||
*temperature | *temperature | ||
− | | Temperature at which the material melts. | + | | Temperature at which the material melts. May be set to NONE. |
|- | |- | ||
Line 277: | Line 276: | ||
| | | | ||
*temperature | *temperature | ||
− | | Temperature at which the material boils. | + | | Temperature at which the material boils. May be set to NONE. |
|- | |- | ||
Line 283: | Line 282: | ||
| | | | ||
*temperature | *temperature | ||
− | | Constant temperature | + | | Constant temperature of the material. May be set to NONE. |
|- | |- | ||
Line 289: | Line 288: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's HEATDAM_POINT, but only if it was not set to NONE. | + | | Changes a material's HEATDAM_POINT, but only if it was not set to NONE. |
|- | |- | ||
Line 295: | Line 294: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's COLDDAM_POINT, but only if it was not set to NONE. | + | | Changes a material's COLDDAM_POINT, but only if it was not set to NONE. |
|- | |- | ||
Line 301: | Line 300: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's IGNITE_POINT, but only if it was not set to NONE. | + | | Changes a material's IGNITE_POINT, but only if it was not set to NONE. |
|- | |- | ||
Line 307: | Line 306: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's MELTING_POINT, but only if it was not set to NONE. | + | | Changes a material's MELTING_POINT, but only if it was not set to NONE. |
|- | |- | ||
Line 313: | Line 312: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's BOILING_POINT, but only if it was not set to NONE. | + | | Changes a material's BOILING_POINT, but only if it was not set to NONE. |
|- | |- | ||
Line 319: | Line 318: | ||
| | | | ||
*temperature | *temperature | ||
− | | Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. | + | | Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. |
|- | |- | ||
Line 325: | Line 324: | ||
| | | | ||
*density | *density | ||
− | | | + | | Affects the weight of the material. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers.{{verify}} |
− | + | It is displayed as a 4 or more digit number such as 11340 for lead. 11340 kg·m^3 = 11340 | |
|- | |- | ||
| LIQUID_DENSITY | | LIQUID_DENSITY | ||
| | | | ||
*density | *density | ||
− | | | + | | It works the same as above, except it is for the liquid state. |
|- | |- | ||
Line 337: | Line 336: | ||
| | | | ||
*value | *value | ||
− | | Supposedly not used | + | | Supposedly not used. |
|- | |- | ||
| EXTRACT_STORAGE | | EXTRACT_STORAGE | ||
| BARREL or FLASK | | BARREL or FLASK | ||
− | | Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] | + | | Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] {{L|plant token}}s. |
|- | |- | ||
| BUTCHER_SPECIAL | | BUTCHER_SPECIAL | ||
| | | | ||
− | * | + | *{{L|item token}} |
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials. | | Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials. | ||
Line 355: | Line 354: | ||
*prefix | *prefix | ||
*name | *name | ||
− | *adjective | + | *adjective? |
− | | When | + | | When the creature is butchered, its organs will be named via this token. |
|- | |- | ||
Line 363: | Line 362: | ||
*singular | *singular | ||
*plural | *plural | ||
− | | Specifies the name of | + | | Specifies the name of {{L|block}}s made from this material. |
|- | |- | ||
Line 369: | Line 368: | ||
| | | | ||
*reaction reference | *reaction reference | ||
− | * | + | *{{L|material token}} |
− | | Used with reaction raws to | + | | Used with reaction raws to preserve material source from reagent to product. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE. |
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER] | [MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER] | ||
Line 382: | Line 381: | ||
| HARDENS_WITH_WATER | | HARDENS_WITH_WATER | ||
| | | | ||
− | * | + | * {{L|material token}} |
− | | Allows the material to be used to make | + | | Allows the material to be used to make {{L|healthcare|casts}}. |
|- | |- | ||
Line 389: | Line 388: | ||
| | | | ||
*value | *value | ||
− | | | + | | |
|} | |} | ||
==Material Usage Tokens== | ==Material Usage Tokens== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- bgcolor="# | + | |- bgcolor="#ddd" |
! Token | ! Token | ||
! Arguments | ! Arguments | ||
Line 402: | Line 401: | ||
| IMPLIES_ANIMAL_KILL | | IMPLIES_ANIMAL_KILL | ||
| | | | ||
− | | Lets the game know that an animal was likely killed in the production of this item. Elves (and other entities that are ethically opposed to killing animals) will | + | | Lets the game know that an animal was likely killed in the production of this item. Elves (and other entities that are ethically opposed to killing animals) will not bring these for trade. |
|- | |- | ||
− | | ALCOHOL_PLANT | + | | ALCOHOL_PLANT or ALCOHOL |
| | | | ||
| Classifies the material as plant alcohol, allowing it to be stored in food stockpiles under "Drink (Plant)". | | Classifies the material as plant alcohol, allowing it to be stored in food stockpiles under "Drink (Plant)". | ||
Line 413: | Line 412: | ||
| | | | ||
| Classifies the material as creature alcohol, allowing it to be stored in food stockpiles under "Drink (Animal)". | | Classifies the material as creature alcohol, allowing it to be stored in food stockpiles under "Drink (Animal)". | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 425: | Line 419: | ||
|- | |- | ||
− | | CHEESE_CREATURE | + | | CHEESE_CREATURE or CHEESE |
| | | | ||
| Classifies the material as creature cheese, allowing it to be stored in food stockpiles under "Cheese (Animal)". | | Classifies the material as creature cheese, allowing it to be stored in food stockpiles under "Cheese (Animal)". | ||
|- | |- | ||
− | + | | POWDER_MISC_PLANT or POWDER_MISC | |
− | |||
− | |||
− | |||
− | |||
− | | POWDER_MISC_PLANT | ||
| | | | ||
| Classifies the material as plant powder, allowing it to be stored in food stockpiles under "Milled Plant". | | Classifies the material as plant powder, allowing it to be stored in food stockpiles under "Milled Plant". | ||
Line 443: | Line 432: | ||
| | | | ||
| Classifies the material as creature powder, allowing it to be stored in food stockpiles under "Bone Meal". | | Classifies the material as creature powder, allowing it to be stored in food stockpiles under "Bone Meal". | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| STOCKPILE_GLOB or STOCKPILE_GLOB_SOLID | | STOCKPILE_GLOB or STOCKPILE_GLOB_SOLID | ||
| | | | ||
− | | Permits globs of the material in solid form to be stored in food stockpiles under "Fat" - without it, dwarves will come by and "clean" the items, destroying them | + | | Permits globs of the material in solid form to be stored in food stockpiles under "Fat" - without it, dwarves will come by and "clean" the items, destroying them. |
|- | |- | ||
Line 465: | Line 449: | ||
|- | |- | ||
− | | LIQUID_MISC_PLANT | + | | LIQUID_MISC_PLANT or LIQUID_MISC |
| | | | ||
| Classifies the material as a plant extract, allowing it to be stored in food stockpiles under "Extract (Plant)". | | Classifies the material as a plant extract, allowing it to be stored in food stockpiles under "Extract (Plant)". | ||
Line 477: | Line 461: | ||
| LIQUID_MISC_OTHER | | LIQUID_MISC_OTHER | ||
| | | | ||
− | | Classifies the material as a miscellaneous liquid, allowing it to be stored in food stockpiles under "Misc. Liquid" | + | | Classifies the material as a miscellaneous liquid, allowing it to be stored in food stockpiles under "Misc. Liquid". |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 492: | Line 471: | ||
| SEED_MAT | | SEED_MAT | ||
| | | | ||
− | | Classifies the material as plant seed, allowing it to be stored in food stockpiles under "Seeds". | + | | Classifies the material as plant seed, allowing it to be stored in food stockpiles under "Seeds".{{verify}} |
|- | |- | ||
| LEAF_MAT | | LEAF_MAT | ||
| | | | ||
− | | Classifies the material as plant leaf, allowing it to be stored in food stockpiles under "Leaves". | + | | Classifies the material as plant leaf, allowing it to be stored in food stockpiles under "Leaves".{{verify}} |
|- | |- | ||
| BONE | | BONE | ||
| | | | ||
− | | Classifies the material as bone, allowing it to be used by craftsdwarves. | + | | Classifies the material as bone, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| WOOD | | WOOD | ||
| | | | ||
− | | Classifies the material as wood, allowing it to be used by carpenters. May also make elves angry if you try to trade it to them. | + | | Classifies the material as wood, allowing it to be used by carpenters.{{verify}} May also make elves angry if you try to trade it to them. |
|- | |- | ||
| THREAD_PLANT | | THREAD_PLANT | ||
| | | | ||
− | | Classifies the material as plant fiber, | + | | Classifies the material as plant fiber, weavable into cloth.{{verify}} |
|- | |- | ||
| TOOTH | | TOOTH | ||
| | | | ||
− | | Classifies the material as tooth, allowing it to be used by craftsdwarves. | + | | Classifies the material as tooth, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| HORN | | HORN | ||
| | | | ||
− | | Classifies the material as horn, allowing it to be used by craftsdwarves. | + | | Classifies the material as horn, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| PEARL | | PEARL | ||
| | | | ||
− | | Classifies the material as pearl, allowing it to be used by craftsdwarves. | + | | Classifies the material as pearl, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| SHELL | | SHELL | ||
| | | | ||
− | | Classifies the material as shell, allowing it to be used by craftsdwarves. | + | | Classifies the material as shell, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| LEATHER | | LEATHER | ||
| | | | ||
− | | Classifies the material as leather, allowing it to be used by craftsdwarves. | + | | Classifies the material as leather, allowing it to be used by craftsdwarves.{{verify}} |
|- | |- | ||
| SILK | | SILK | ||
| | | | ||
− | | Classifies the material as silk, | + | | Classifies the material as silk, weavable into cloth.{{verify}} |
|- | |- | ||
Line 567: | Line 546: | ||
| BLOOD_MAP_DESCRIPTOR | | BLOOD_MAP_DESCRIPTOR | ||
| | | | ||
− | | Tells the game to classify contaminants of this material as being "blood" in Adventurer mode tile descriptions ("Here we have a Dwarf in a slurry of blood."). | + | | Tells the game to classify contaminants of this material as being "blood", both in Adventurer mode tile descriptions ("Here we have a Dwarf in a slurry of blood.") and for unhappy thoughts from drinking water ("He was forced to drink bloody water lately"). |
|- | |- | ||
Line 592: | Line 571: | ||
| ENTERS_BLOOD | | ENTERS_BLOOD | ||
| | | | ||
− | | Used for materials which cause | + | | Used for materials which cause {{L|syndrome}}s, causes it to enter the creature's blood instead of simply spatter on the surface. |
|- | |- | ||
Line 627: | Line 606: | ||
| ITEMS_BARRED | | ITEMS_BARRED | ||
| | | | ||
− | | | + | | {{L|Bone}} items (clothes with [BARRED]) can be made from this material. |
|- | |- | ||
| ITEMS_SCALED | | ITEMS_SCALED | ||
| | | | ||
− | | | + | | {{L|Shell}} items (clothes with [SCALED]) can be made from this material. |
|- | |- | ||
| ITEMS_LEATHER | | ITEMS_LEATHER | ||
| | | | ||
− | | | + | | {{L|Leather}} items (clothes with [LEATHER]) can be made from this material. |
|- | |- | ||
Line 652: | Line 631: | ||
| IS_STONE | | IS_STONE | ||
| | | | ||
− | | Used to define that said material is stone | + | | Used to define that said material is stone. |
|- | |- | ||
Line 662: | Line 641: | ||
| DISPLAY_UNGLAZED | | DISPLAY_UNGLAZED | ||
| | | | ||
− | | | + | | |
|- | |- | ||
| YARN | | YARN | ||
| | | | ||
− | | Classifies the material as yarn, | + | | Classifies the material as yarn, weavable into cloth.{{verify}} |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| IS_METAL | | IS_METAL | ||
| | | | ||
− | | | + | | Used only in the metal template. Not used anywhere else. |
|- | |- | ||
| IS_GLASS | | IS_GLASS | ||
| | | | ||
− | | Used internally by green glass, clear glass, and crystal glass | + | | Used internally by green glass, clear glass, and crystal glass |
|- | |- | ||
| CRYSTAL_GLASSABLE | | CRYSTAL_GLASSABLE | ||
| | | | ||
− | | Can be used in the production of crystal glass | + | | Can be used in the production of crystal glass. |
|- | |- | ||
| ITEMS_WEAPON | | ITEMS_WEAPON | ||
| | | | ||
− | | Melee | + | | Melee {{L|Weapons#Manufactured_weapons|weapons}} can be made out of this material. |
|- | |- | ||
Line 702: | Line 676: | ||
| ITEMS_ANVIL | | ITEMS_ANVIL | ||
| | | | ||
− | | | + | | {{L|Anvil}}s can be made out of this material. |
|- | |- | ||
| ITEMS_AMMO | | ITEMS_AMMO | ||
| | | | ||
− | | | + | | {{L|Weapon#Ammunition|Ammunition}} can be made out of this material. |
|- | |- | ||
| ITEMS_DIGGER | | ITEMS_DIGGER | ||
| | | | ||
− | | | + | | {{L|Weapon#Dwarf-manufactured_weapons|Picks}} can be made out of this material. |
|- | |- | ||
| ITEMS_ARMOR | | ITEMS_ARMOR | ||
| | | | ||
− | | | + | | {{L|Armor}} can be made out of this material. |
|- | |- | ||
| ITEMS_DELICATE | | ITEMS_DELICATE | ||
| | | | ||
− | | Used internally by amber and coral | + | | Used internally by amber and coral |
|- | |- | ||
Line 738: | Line 712: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- bgcolor="# | + | |- bgcolor="#ddd" |
! Token | ! Token | ||
! Arguments | ! Arguments | ||
Line 747: | Line 721: | ||
| text | | text | ||
| defines the name of the syndrome | | defines the name of the syndrome | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 784: | Line 743: | ||
|- | |- | ||
− | | | + | | SYN_CONTACT |
+ | | | ||
+ | | syndrome can be contracted on contact (e.g. poison dust or liquid) | ||
+ | |||
+ | |- | ||
+ | | SYN_INHALED | ||
+ | | | ||
+ | | syndrome can be contracted by inhalation (e.g. poison vapor or gas) | ||
+ | |||
+ | |- | ||
+ | | SYN_INJECTED | ||
+ | | | ||
+ | | syndrome can be contracted by injection (by a creature) | ||
+ | |||
+ | |- | ||
+ | | CE_X | ||
| | | | ||
*SEV:<value> (severity, higher is worse) | *SEV:<value> (severity, higher is worse) | ||
Line 794: | Line 768: | ||
*VASCULAR_ONLY (optional) | *VASCULAR_ONLY (optional) | ||
*MUSCULAR_ONLY (optional) | *MUSCULAR_ONLY (optional) | ||
− | *BP:BY_CATEGORY:category | + | *BP:(select BY_CATEGORY, BY_TYPE, or BY_TOKEN):category, type or token:tissues affected (specific or ALL) (optional) |
− | |||
− | |||
Timeline: | Timeline: | ||
*Start:effect start time | *Start:effect start time | ||
Line 808: | Line 780: | ||
* [[Inorganic material definition token]] | * [[Inorganic material definition token]] | ||
* [[Syndrome]] | * [[Syndrome]] | ||
+ | * [[Tissue definition token]] | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |