Iron Gate

The Iron Gate is an item added by BuildCraft to control and/or interact with all pipes of BuildCraft via two configurable functions (see Usage). The different between the AND and OR version is when it will trigger an action. The AND version executes the functions if both preconditions are True. The OR version executes the function if only one preconditions is True. The Iron gate has also a Clock Timer, Redstone Fader, Light Sensor and Autarchic design.

Recipe
The player can choose the desired mode (AND or OR) if he has placed all needed resources in the Assembly Table, and the choosen one is produced.

Usage
The Iron Gate can be placed on all types and sides of the BuildCraft pipes with a right-click. By holding the crouch-key and right-clicking the gate can be removed without to destroy the pipe. With a right-click the player can open the GUI, which has four slots (two left, two right). These can be configurated by left-clicking in the slot. The available options are dependent on the pipe where the gate was placed. The possible options are listed in the table below.

Note: The basic function is that the Iron Gate checks the precondition in the right slot, and, if this precondition is true, executes the option in the left slot. But with the AND version, both preconditions in the right slots must be True before the gate executes the options in the left slots. With the OR version, only one precondition must be True to execute the corresponding option in the left slot. The bars between the left and right slot light up red when the precondition is currently True.