Changes

Jump to navigation Jump to search
→‎New context tags: update for build 23034 (added ID tag)
Line 1,689: Line 1,689:  
| <samp>fairy_dust_banned</samp>
 
| <samp>fairy_dust_banned</samp>
 
| When applied to a machine, prevents players from using [[Fairy Dust|fairy dust]] to speed it up.
 
| When applied to a machine, prevents players from using [[Fairy Dust|fairy dust]] to speed it up.
|-
  −
| <samp>is_machine</samp>
  −
| Indicates the item has [[#Custom machines|machine logic]]. This is added automatically based on <samp>Data/Machines</samp> and is informational only (it has no effect on the game logic).
   
|-
 
|-
 
| <samp>keg_juice</samp><br /><samp>keg_wine</samp>
 
| <samp>keg_juice</samp><br /><samp>keg_wine</samp>
 
| Allows processing the item in a [[keg]] to produce a juice or wine variant.
 
| Allows processing the item in a [[keg]] to produce a juice or wine variant.
|-
  −
| <samp>machine_input</samp><br /><samp>machine_output</samp>
  −
| Whether the item is a machine which accepts items from the player (<samp>machine_input</samp>) and/or which produces items for the player to collect (<samp>machine_output</samp>). If the [[#Custom machines|machine data]] sets the <samp>ConversionMethod</samp> field, both tags are added since there's no way to know what the method does.
  −
  −
These are added automatically based on <samp>Data/Machines</samp> and are informational only (they have no effect on the game logic). The <samp>is_machine</samp> tag is always added if these are.
   
|-
 
|-
 
| <samp>preserves_jelly</samp><br /><samp>preserves_pickle</samp>
 
| <samp>preserves_jelly</samp><br /><samp>preserves_pickle</samp>
Line 1,712: Line 1,704:  
| <samp>tapper_multiplier_{{t|multiplier}}</samp>
 
| <samp>tapper_multiplier_{{t|multiplier}}</samp>
 
| The multiplier applied to the tapper production speed. For example, <samp>2</samp> will make items take half their base time (''i.e.'' each item will finish in <sup>base time</sup>/<sub>speed multiplier</sub>). Defaults to 1 if omitted.
 
| The multiplier applied to the tapper production speed. For example, <samp>2</samp> will make items take half their base time (''i.e.'' each item will finish in <sup>base time</sup>/<sub>speed multiplier</sub>). Defaults to 1 if omitted.
 +
|}
 +
 +
And informational tags which are added automatically, and have no effect on the game logic:
 +
{| class="wikitable"
 +
|-
 +
! context tag
 +
! effect
 +
|-
 +
| <samp>id_{{t|item id}}</samp>
 +
| The [[#Custom items|qualified item ID]], like <samp>id_(o)128</samp>. This is added automatically and can be used to match or exclude an item by ID using context tags. Any spaces in the ID are replaced with underscores, and single quotes are removed.
 +
|-
 +
| <samp>is_machine</samp>
 +
| Indicates the item has [[#Custom machines|machine logic]]. This is added automatically based on <samp>Data/Machines</samp> and is informational only (it has no effect on the game logic).
 +
|-
 +
| <samp>machine_input</samp><br /><samp>machine_output</samp>
 +
| Whether the item is a machine which accepts items from the player (<samp>machine_input</samp>) and/or which produces items for the player to collect (<samp>machine_output</samp>). If the [[#Custom machines|machine data]] sets the <samp>ConversionMethod</samp> field, both tags are added since there's no way to know what the method does.
 +
 +
These are added automatically based on <samp>Data/Machines</samp> and have no effect on the game logic. The <samp>is_machine</samp> tag is always added if these are.
 
|}
 
|}
  
translators
8,446

edits

Navigation menu