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 Reaction
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
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| | + | {{Quality|Unrated}} |
{{av}} | {{av}} | ||
{{Modding}} | {{Modding}} | ||
Line 24: | Line 24: | ||
[FUEL] | [FUEL] | ||
[SKILL:<SKILL TOKEN>] | [SKILL:<SKILL TOKEN>] | ||
− | |||
[AUTOMATIC] | [AUTOMATIC] | ||
[ADVENTURE_MODE_ENABLED] | [ADVENTURE_MODE_ENABLED] | ||
− | |||
− | |||
* ''[[#Reaction identifier|identifier]]'': The internal ID of the reaction. | * ''[[#Reaction identifier|identifier]]'': The internal ID of the reaction. | ||
* ''[[#Reaction name|name]]'': The name of the reaction, visible to the player in the Fortress mode or Adventure mode menus. | * ''[[#Reaction name|name]]'': The name of the reaction, visible to the player in the Fortress mode or Adventure mode menus. | ||
Line 34: | Line 31: | ||
* ''[[#Reagents|...reagents...]]'': Zero or more reagents (ingredients) that are required to be in stock for the reaction to be possible. | * ''[[#Reagents|...reagents...]]'': Zero or more reagents (ingredients) that are required to be in stock for the reaction to be possible. | ||
* ''[[#Products|...products...]]'': Zero or more products that are created from the reaction. | * ''[[#Products|...products...]]'': Zero or more products that are created from the reaction. | ||
− | * ''[[# | + | * ''[[#fuel|fuel]]'': (optional) If present, the reaction requires charcoal, coke or a magma-powered workshop. |
− | * ''[[# | + | * ''[[#skill|skill]]'': (optional) The skill required and trained by the reaction. |
− | * ''[[# | + | * ''[[#automatic|automatic]]'': (optional) If present, the reaction will automatically be enqueued whenever it can possibly be performed. |
− | + | * ''[[#adventure mode|adventure mode]]'': (optional) If present, the reaction can be used by the player in Adventure mode. | |
− | * ''[[# | ||
− | |||
=== Reaction identifier === | === Reaction identifier === | ||
Line 58: | Line 53: | ||
[BUILDING:<building name>:<building key>] | [BUILDING:<building name>:<building key>] | ||
− | * [[# | + | * [[#building name|''building name:'']] The ID of the building the reaction appears in. |
− | * [[# | + | * [[#building key|''building key:'']] The hotkey to queue up the reaction in the specified building. |
==== Building name ==== | ==== Building name ==== | ||
Line 86: | Line 81: | ||
** SOAP_MAKER - [[Soap maker's workshop]] | ** SOAP_MAKER - [[Soap maker's workshop]] | ||
** SCREW_PRESS - [[Screw press]] | ** SCREW_PRESS - [[Screw press]] | ||
− | |||
− | |||
− | |||
==== Building key ==== | ==== Building key ==== | ||
Line 138: | Line 130: | ||
[REAGENT:<name>:<quantity>:<item token>:<material token>][...modifiers...] | [REAGENT:<name>:<quantity>:<item token>:<material token>][...modifiers...] | ||
* ''[[#Reagent name|name]]'': The name of the reagent, local to the reaction. | * ''[[#Reagent name|name]]'': The name of the reagent, local to the reaction. | ||
− | * ''[[# | + | * ''[[#quantity|quantity]]'': The amount of the item that will be used in the reaction. |
− | * ''[[# | + | * ''[[#item_token|item token]]'': The type (and subtype) of the item you require. |
− | * ''[[# | + | * ''[[#material_token|material token]]'': The material the item should be made of. |
* ''[[#Modifiers|...modifiers...]]'': Zero or more tokens which further clarify the acceptable types when the item type and material types are insufficient to distinguish them. | * ''[[#Modifiers|...modifiers...]]'': Zero or more tokens which further clarify the acceptable types when the item type and material types are insufficient to distinguish them. | ||
Line 428: | Line 420: | ||
==== Probability ==== | ==== Probability ==== | ||
− | The percentage chance the product will be produced when the reaction is completed | + | The percentage chance the product will be produced when the reaction is completed. |
==== Quantity ==== | ==== Quantity ==== | ||
Line 584: | Line 576: | ||
As a consequence, increasing the multiplier will always make legendary dwarves more effective, even if base roll is reduced to its minimum of 1, with the default going up to 84 for default and 90 for [SKILL_ROLL_RANGE:1:6]. | As a consequence, increasing the multiplier will always make legendary dwarves more effective, even if base roll is reduced to its minimum of 1, with the default going up to 84 for default and 90 for [SKILL_ROLL_RANGE:1:6]. | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
==== Automatic ==== | ==== Automatic ==== | ||
Line 595: | Line 583: | ||
This token only works with jobs performed at a [[kiln]], [[smelter]], [[tanner's shop]], [[kitchen]], or custom workshop, and [[standing orders]] allow you to limit which ones trigger; custom reactions performed at a [[quern]], [[millstone]]{{verify}}, [[still]]{{verify}} or [[craftsdwarf's workshop]]{{verify}} cannot be made automatic. | This token only works with jobs performed at a [[kiln]], [[smelter]], [[tanner's shop]], [[kitchen]], or custom workshop, and [[standing orders]] allow you to limit which ones trigger; custom reactions performed at a [[quern]], [[millstone]]{{verify}}, [[still]]{{verify}} or [[craftsdwarf's workshop]]{{verify}} cannot be made automatic. | ||
− | ==== Adventure | + | ==== Adventure Mode enabled ==== |
The ADVENTURE_MODE_ENABLED token means that this version of the reaction can be used by the wanderers of Adventure Mode without needing to also give the dwarves at home in a fortress access to it. When using this token, it will be allowed for adventurers of any race, without editing entity files. This token does not prevent Fortress Mode usage assuming the reaction also has a usable building assigned and is a {{token|PERMITTED_REACTION|entity}} within the entity file. | The ADVENTURE_MODE_ENABLED token means that this version of the reaction can be used by the wanderers of Adventure Mode without needing to also give the dwarves at home in a fortress access to it. When using this token, it will be allowed for adventurers of any race, without editing entity files. This token does not prevent Fortress Mode usage assuming the reaction also has a usable building assigned and is a {{token|PERMITTED_REACTION|entity}} within the entity file. | ||
+ | |||
+ | ==== Max multiplier ==== | ||
+ | |||
+ | The [MAX_MULTIPLIER:<#>] token specifies how many times to do the reaction. This can be used to limit stacked reagent use to the specified quantity instead of the whole stack. | ||
==== Description ==== | ==== Description ==== | ||
Line 1,273: | Line 1,265: | ||
|} | |} | ||
− | |||
− | |||
− | |||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} | ||
[[ru:Reaction]] | [[ru:Reaction]] |