Changes

Jump to navigation Jump to search
→‎New context tags: update info on machine_input/machine_output fields
Line 2,105: Line 2,105:  
| ''(Added automatically)'' Indicates the item has [[#Custom machines|machine logic]]. This is added automatically based on <samp>Data/Machines</samp>.
 
| ''(Added automatically)'' Indicates the item has [[#Custom machines|machine logic]]. This is added automatically based on <samp>Data/Machines</samp>.
 
|-
 
|-
| <samp>machine_input</samp><br /><samp>machine_output</samp>
+
| <samp>machine_input</samp>
| ''(Added automatically)'' 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>). These are added automatically based on <samp>Data/Machines</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. The <samp>is_machine</samp> tag is always added if these are.
+
| ''(Added automatically)'' Whether the item is a machine which accepts items from the player. This is added automatically based on the machine's fields in <samp>Data/Machines</samp>:
 +
* if <samp>HasInput</samp> is true;
 +
* ''or'' if any output rules have an <samp>ItemPlacedInMachine</samp> trigger.
 +
|-
 +
| <samp>machine_output</samp>
 +
| ''(Added automatically)'' Whether the item is a machine which produces items for the player to collect. This is added automatically based on the machine's fields in <samp>Data/Machines</samp>:
 +
* if <samp>HasOutput</samp> is true;
 +
* ''or'' if it has any output rules.
 
|}
 
|}
  
translators
8,445

edits

Navigation menu