Light Sensor Diamond Gate

The Light Sensor Diamond Gates are items added by BuildCraft and a specific design of the Basic Gate to control and/or interact with all pipes of BuildCraft via eight configurable functions. The light sensor design has two additional preconditions available to detect the day and night which can be intergrated into functions (see Usage). The gate has also an AND and OR version.

Usage
The Light Sensor Diamond 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.

Note: The basic function is that the gate checks the precondition in the right slot, and, if this precondition is true, executes the option in the left slot. The bar between the left and right slot light up red when the precondition is currently True. The difference between the AND and the OR version is when it will trigger an action. Both will trigger if one precondition is true, but if the AND version is used, and two or more conditions are set to trigger the same action, the action will only trigger when both preconditions are True. If the OR version is used and two or more preconditions are set to the same action, the action will trigger when either of the preconditions is True. The different to the Standard design is, that the light sensor design has two additional preconditions for all pipes to to detect day and night (yellow marked in the table below), which can be used to control the function.

With a right-click the player can open the GUI, which has eight rows, each having three slots, to configure functions. All slots can be configurated by clicking in the slot. The possible options depends on the pipe where the gate was mounted:
 * All options like the standard Gate (goto)
 * Additional options of the Light Sensor Gates (goto)
 * Additional options of the Diamond Gates to interact with pipes and storage (see below)
 * Furthermore the Light Sensor Diamond Gate has the ability to interact with all types Pipe Wires to transmit and/or receive redstone signals over the BuildCraft own wire system. An example with a Diamond AND Gate is shown in the picture. In the GUI the corresponding option is selectable if a pipe wire is connected to the gate (see section Additional options for pipe wire interaction)

Additional options for all pipe types
Following options are additional available for pipes (kinesis, fluid, transport):

Additional options for extraction pipes and connected storage
Following options are additional available for all extraction pipes and pipe they are connected to a storage. Note: In the second slot can be placed an item to specify the function.

Additional options for pipe wire interaction
Following options are additional available for all types (kinesis, fluid, transport) if Pipe Wire is connected to the gate: