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.
== Recipe ==
== 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):
 	 	 	 	 	 	 	 	
 	Left slot (1. precondition; 2. special option)	Left slot (1. precondition; 2. special option)	Left slot (1. precondition; 2. special option)	Left slot (1. precondition; 2. special option)	Left slot (1. precondition; 2. special option) 	Right slot	Right slot	Right slot
 	Icon 	Text 	Icon 	Text 	Explanation 	Icon 	Text 	Explanation
Kinesis, Fluid, Transport Pipes	 	Redstone Signal On 	 	 	Set True if a redstone signal receives the gate 	 	 	
Kinesis, Fluid, Transport Pipes	 	Redstone Signal On 	 	Gate Side Only 	Set True if a redstone signal receives directly the side with the gate 	 	 	
Kinesis, Fluid, Transport Pipes	 	Redstone Signal Off 	 	 	Set True if no redstone signal receives the gate 	 	 	
Kinesis, Fluid, Transport Pipes	 	Redstone Signal Off 	 	Gate Side Only 	Set True if no redstone signal receives directly the side with the gate 	 	 	
 	 	Items Traversing 	 	empty 	Set True if the transport pipe transmits any item 	 	 	
 	 	Items Traversing 	 	for example Stone 	Set True if the transport pipe transmits Stone (item can be placed by drag and drop)	 	 	
=== 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.
	Left slot	Left slot 	Left slot	Left slot 	Left slot 	Right slot	Right slot	Right slot
	Icon 	Text 	Icon 	Text 	Explanation 	 	 	
	 	Inventory Has Space 	 	 	Set True if the inventory is full (independet of the item) 	 	 	
	 	Inventory Has Space 	 	for exampleStone 	Set True if the connected inventory is full with Stone 	 	 	
	 	Inventory Has Space 	 	 	Set True if a redstone signal receives the gate about a red pipe wire 	 	 	
	 	Inventory Has Space 	 	for exampleStone 	Set True if a redstone signal receives the gate about a red pipe wire and the second option is True	 	 	
	 	Inventory Contains <25%	 	 	Set True if the connected inventory has lesser than 25% of the item in the second slot 	 	 	
	 	Inventory Contains <50%	 	 	Set True if the connected inventory has lesser than 50% of the item in the second slot 	 	 	
	 	Inventory Contains <75%	 	 	Set True if the connected inventory has lesser than 75% of the item in the second slot 	 	 	
	 	Contains < 25% 	 	 	Set True if the connected tank contains lesser than 25% of any fluid 	 	 	
	 	Contains < 25% 	 	for exampleWater Bucket	Set True if the connected tank contains lesser than 25% Water 	 	 	
	 	Contains < 50% 	 	 	Set True if the connected tank contains lesser than 50% of any fluid 	 	 	
	 	Contains < 50% 	 	for exampleWater Bucket	Set True if the connected tank contains lesser than 50% Water 	 	 	
	 	Contains < 75% 	 	 	Set True if the connected tank contains lesser than 75% of any fluid 	 	 	
	 	Contains < 75% 	 	for exampleWater Bucket	Set True if the connected tank contains lesser than 75% Water 	 	 	
	 	Fluid in Tank 	 	 	Set True if the connected tanks contains any fluid 	 	 	
	 	Fluid in Tank 	 	for exampleWater Bucket	Set True if the connected tank contains Water 	 	 	
	 	Space for Fluid 	 	 	Set True if the connected tanks has space for any other fluid 	 	 	
	 	Space for Fluid 	 	for exampleWater Bucket	Set True if the connected tank has space to gather Water 	 	 	
	 	Fluid Traversing 	 	 	Set True if the pipe transmits any fluid 	 	 	
	 	Fluid Traversing 	 	for exampleWater Bucket	Set True if the pipe transmits Water 	 	 	
=== 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:
 	Left slot	Left slot 	Left slot	Left slot	Left slot 	Right slot	Right slot 	Right slot
 	Icon 	Text 	Icon 	Text 	Explanation 	 	 	
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a red pipe wire 	 	Red Pipe Signal 	Activates a red pipe wire signal
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a red pipe wire and the second option is True 	 	Blue Pipe Signal 	Activates a blue pipe wire signal
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a red pipe wire 	 	Green Pipe Signal 	Activates a green pipe wire signal
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a red pipe wire and the second option is True 	 	Yellow Pipe Signal	Activates a yellow pipe wire signal
Kinesis, Fluid, Transport Pipes	 	Blue Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a blue pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Blue Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a blue pipe wire and the second option is True 	 	 	
Kinesis, Fluid, Transport Pipes	 	Blue Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a blue pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Blue Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a blue pipe wire and the second option is True 	 	 	
Kinesis, Fluid, Transport Pipes	 	Green Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a green pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Green Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a green pipe wire and the second option is True 	 	 	
Kinesis, Fluid, Transport Pipes	 	Green Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a green pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Green Pipe Signal Off 	 	 	Set True if no redstone signal receives the gate about a red pipe wire and the second option is True 	 	 	
Kinesis, Fluid, Transport Pipes	 	Yellow Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a yellow pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Yellow Pipe Signal On 	 	 	Set True if a redstone signal receives the gate about a yellow pipe wire and the second option is True 	 	 	
Kinesis, Fluid, Transport Pipes	 	Yellow Pipe Signal Off	 	 	Set True if no redstone signal receives the gate about a yellow pipe wire 	 	 	
Kinesis, Fluid, Transport Pipes	 	Yellow Pipe Signal Off	 	 	Set True if no redstone signal receives the gate about a yellow pipe wire and the second option is True	 	 	
Category:BuildCraft