
datablock fxDtsBrickData(LogicGate_DiodeDown_Data){
	brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Diode Down.blb";
	iconName = $LuaLogic::Path @ "bricks/gen/newicons/Diode Down";
	
	category = "Logic Bricks";
	subCategory = "Diode";
	uiName = "Diode Down";
	logicUIName = "Diode Down";
	logicUIDesc = "";
	
	hasPrint = 1;
	printAspectRatio = "Logic";
	logicForceColor = "GREEN";
	logicForcePrint = "DOWNARROW";
	
	logicBrickSize = "1 1 1";
	orientationFix = 3;
	
	isLogic = true;
	isLogicGate = true;
	isLogicInput = false;
	
	logicInit = "";
	logicInput = "";
	logicUpdate = 
		"return function(gate) " @
		"	Gate.setportstate(gate, 1, Gate.getportstate(gate, 2)) " @
		"end"
	;
	logicGlobal = "";
	
	numLogicPorts = 2;
	
	
	
	logicPortType[0] = 1;
	logicPortPos[0] = "0 0 0";
	logicPortDir[0] = 4;
	logicPortUIName[0] = "In";
	logicPortCauseUpdate[0] = true;
	
	logicPortType[1] = 0;
	logicPortPos[1] = "0 0 0";
	logicPortDir[1] = 5;
	logicPortUIName[1] = "Out";
	
};
