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