77 lines
1.6 KiB
C#
77 lines
1.6 KiB
C#
|
|
datablock fxDtsBrickData(LogicGate_Incrementer2Bit_Data){
|
|
brickFile = $LuaLogic::Path @ "bricks/gen/newbricks/Incrementer 2 Bit.blb";
|
|
iconName = $LuaLogic::Path @ "bricks/gen/newicons/Incrementer 2 Bit";
|
|
|
|
category = "Logic Bricks";
|
|
subCategory = "Math";
|
|
uiName = "Incrementer 2 Bit";
|
|
logicUIName = "Incrementer 2 Bit";
|
|
logicUIDesc = "";
|
|
|
|
hasPrint = 1;
|
|
printAspectRatio = "Logic";
|
|
|
|
logicBrickSize = "2 2 1";
|
|
orientationFix = 3;
|
|
|
|
isLogic = true;
|
|
isLogicGate = true;
|
|
isLogicInput = false;
|
|
|
|
logicInit = "";
|
|
logicInput = "";
|
|
logicUpdate = "";
|
|
logicGlobal = "";
|
|
|
|
numLogicPorts = 8;
|
|
|
|
|
|
|
|
logicPortType[0] = 1;
|
|
logicPortPos[0] = "1 -1 0";
|
|
logicPortDir[0] = 3;
|
|
logicPortUIName[0] = "I0";
|
|
logicPortCauseUpdate[0] = true;
|
|
|
|
logicPortType[1] = 1;
|
|
logicPortPos[1] = "-1 -1 0";
|
|
logicPortDir[1] = 3;
|
|
logicPortUIName[1] = "I1";
|
|
logicPortCauseUpdate[1] = true;
|
|
|
|
logicPortType[2] = 0;
|
|
logicPortPos[2] = "1 1 0";
|
|
logicPortDir[2] = 1;
|
|
logicPortUIName[2] = "O0";
|
|
|
|
logicPortType[3] = 0;
|
|
logicPortPos[3] = "-1 1 0";
|
|
logicPortDir[3] = 1;
|
|
logicPortUIName[3] = "O1";
|
|
|
|
logicPortType[4] = 1;
|
|
logicPortPos[4] = "1 -1 0";
|
|
logicPortDir[4] = 2;
|
|
logicPortUIName[4] = "Inc";
|
|
logicPortCauseUpdate[4] = true;
|
|
|
|
logicPortType[5] = 1;
|
|
logicPortPos[5] = "1 1 0";
|
|
logicPortDir[5] = 2;
|
|
logicPortUIName[5] = "Dec";
|
|
logicPortCauseUpdate[5] = true;
|
|
|
|
logicPortType[6] = 0;
|
|
logicPortPos[6] = "-1 -1 0";
|
|
logicPortDir[6] = 0;
|
|
logicPortUIName[6] = "COut";
|
|
|
|
logicPortType[7] = 1;
|
|
logicPortPos[7] = "-1 1 0";
|
|
logicPortDir[7] = 0;
|
|
logicPortUIName[7] = "Inv";
|
|
logicPortCauseUpdate[7] = true;
|
|
|
|
};
|