
datablock fxDtsBrickData(LogicGate_DiodeUp_Data){
	brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Diode Up.blb";
	iconName = $LuaLogic::Path @ "bricks/gen/newicons/Diode Up";
	
	category = "Logic Bricks";
	subCategory = "Diode";
	uiName = "Diode Up";
	logicUIName = "Diode Up";
	logicUIDesc = "";
	
	hasPrint = 1;
	printAspectRatio = "Logic";
	logicForceColor = "GREEN";
	logicForcePrint = "UPARROW";
	
	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] = 5;
	logicPortUIName[0] = "In";
	logicPortCauseUpdate[0] = true;
	
	logicPortType[1] = 0;
	logicPortPos[1] = "0 0 0";
	logicPortDir[1] = 4;
	logicPortUIName[1] = "Out";
	
};
