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.34:Reactions
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.34"). 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: | ||
− | {{ | + | {{quality|Fine|09:41, 6 October 2010 (UTC)}} |
{{av}} | {{av}} | ||
Line 97: | Line 97: | ||
|- | |- | ||
| [REACTION_CLASS:X] | | [REACTION_CLASS:X] | ||
− | | | + | | Detailed below the reaction anatomy section. |
|- | |- | ||
| [HAS_MATERIAL_REACTION_PRODUCT:X] | | [HAS_MATERIAL_REACTION_PRODUCT:X] | ||
− | | | + | | Detailed below the reaction anatomy section. |
|- | |- | ||
| [CONTAINS:X] | | [CONTAINS:X] | ||
− | | Reagent is a container that holds the specified reagent | + | | Reagent is a container that holds the specified reagent. |
|- | |- | ||
| [UNROTTEN] | | [UNROTTEN] | ||
| Reagent must not be rotten, mainly for organic materials. | | Reagent must not be rotten, mainly for organic materials. | ||
|- | |- | ||
− | + | | [CONTAINS_LYE] | |
− | | Reagent must be a BARREL or TOOL which contains at least one item of type LIQUID_MISC made of LYE | + | | Reagent must be a BARREL or TOOL which contains at least one item of type LIQUID_MISC made of LYE. |
|- | |- | ||
| [POTASHABLE] | | [POTASHABLE] | ||
Line 136: | Line 136: | ||
|- | |- | ||
| [FIRE_BUILD_SAFE] | | [FIRE_BUILD_SAFE] | ||
− | | Reagent material must be | + | | Reagent material must be stable at temperatures below 11000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe. |
|- | |- | ||
| [MAGMA_BUILD_SAFE] | | [MAGMA_BUILD_SAFE] | ||
− | | Reagent material must be | + | | Reagent material must be stable at temperatures below 12000. Only works with items of type BAR, BLOCKS, BOULDER, WOOD, and ANVIL - all others are considered unsafe. |
|- | |- | ||
| [CAN_USE_ARTIFACT] | | [CAN_USE_ARTIFACT] | ||
Line 181: | Line 181: | ||
|- | |- | ||
| [USE_BODY_COMPONENT] | | [USE_BODY_COMPONENT] | ||
− | | Reagent must be a body part (CORPSE or CORPSEPIECE) | + | | Reagent must be a body part (CORPSE or CORPSEPIECE). |
|- | |- | ||
| [NO_EDGE_ALLOWED] | | [NO_EDGE_ALLOWED] | ||
Line 237: | Line 237: | ||
====quantity==== | ====quantity==== | ||
Determines how many of the product will be produced. For the item types AMMO, REMAINS, MEAT, FISH, FISH_RAW, PLANT, LEAVES, DRINK, CHEESE, LIQUID_MISC, COIN, and EGG, the resulting items will be created as a single [[stack]], while all other item types will produce multiple individual items. | Determines how many of the product will be produced. For the item types AMMO, REMAINS, MEAT, FISH, FISH_RAW, PLANT, LEAVES, DRINK, CHEESE, LIQUID_MISC, COIN, and EGG, the resulting items will be created as a single [[stack]], while all other item types will produce multiple individual items. | ||
− | |||
− | |||
====item token==== | ====item token==== | ||
Line 322: | Line 320: | ||
==== skill ==== | ==== skill ==== | ||
− | The SKILL token determines what [[Skill token|skill]] the reaction requires and what skill it trains. Only one skill may be specified | + | The SKILL token determines what [[Skill token|skill]] the reaction requires and what skill it trains. Only one skill may be specified. |
==== automatic ==== | ==== automatic ==== | ||
The AUTOMATIC token means that the reaction will be queued automatically if the reaction reagents are all present. | The AUTOMATIC token means that the reaction will be queued automatically if the reaction reagents are all present. | ||
− | |||
− | |||
==== adventure mode enabled ==== | ==== adventure mode enabled ==== | ||
Line 479: | Line 475: | ||
| FIRE_BUILD_SAFE | | FIRE_BUILD_SAFE | ||
| | | | ||
− | | Reagent must be considered fire safe - | + | | Reagent must be considered fire safe - ie. not wood, and not coal. |
|- | |- | ||
Line 499: | Line 495: | ||
| HAS_MATERIAL_REACTION_PRODUCT | | HAS_MATERIAL_REACTION_PRODUCT | ||
| PRODUCT_ID (custom) | | PRODUCT_ID (custom) | ||
− | | | + | | Acts like REACTION_CLASS only it looks for materials that have MATERIAL_REACTION_PRODUCT[http://dwarffortresswiki.org/index.php/DF2012:Material_definition_token], Mainly used in reactions that can produce the same material from many different materials. Such as SKIN to LEATHER, or FAT to TALLOW. (cat skin makes cat leather due to [MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER] on the SKIN_TEMPLATE in "material_template_default.txt" in the raws.)<!-- This was editied by Hugo_The_Dwarf on 10/05/2012 --> |
|- | |- | ||
Line 584: | Line 580: | ||
*Item Token | *Item Token | ||
*Material Token | *Material Token | ||
− | | Defines one of the products to be outputted by the reaction, "Material Token" can be replaced with "GET_MATERIAL_FROM_REAGENT:(reagent_id):(product_id)" | + | | Defines one of the products to be outputted by the reaction, "Material Token" can be replaced with "GET_MATERIAL_FROM_REAGENT:(reagent_id):NONE or (product_id)" --- (product_id) is what was used in [HAS_MATERIAL_REACTION_PRODUCT:(product_id)] <!-- This was editied by Hugo_The_Dwarf on 10/05/2012 --> |
|- | |- | ||
Line 614: | Line 610: | ||
| REACTION_CLASS | | REACTION_CLASS | ||
| CLASS_ID (custom) | | CLASS_ID (custom) | ||
− | | | + | | Reagent will pick only materials that have "[REACTION_CLASS:(class_id)]" within them. Ex. ([REAGENT:stone:BOULDER:NONE:NONE:NONE][REACTION_CLASS:ABC] --- All boulders/stones with the [REACTION_CLASS:ABC] will be choosen for the reaction.) REACTION_CLASS can be placed in MATERIAL_TEMPLATES[http://dwarffortresswiki.org/index.php/DF2012:Material_definition_token] or within an object that calls a USE_MATERIAL_TEMPLATE/MATERIAL [http://dwarffortresswiki.org/index.php/Creature_tokens#M][http://dwarffortresswiki.org/index.php/Creature_tokens#U] <!-- This was editied by Hugo_The_Dwarf on 10/05/2012 --> |
|- | |- | ||
Line 653: | Line 649: | ||
{{Category|Modding}} | {{Category|Modding}} | ||
− |