initial commit

This commit is contained in:
Redo
2020-05-19 02:22:30 -05:00
commit 1cdffd4e01
203 changed files with 108753 additions and 0 deletions

12
bricks/gates/AND.cs Normal file
View File

@@ -0,0 +1,12 @@
datablock fxDTSBrickData(LogicGate_AND_Data : LogicGate_OR_Data)
{
uiName = "1x2f AND";
iconName = $LuaLogic::Path @ "icons/1x2f AND";
logicUIName = "AND";
logicUIDesc = "C is true if A and B are true";
logicUpdate = "return function(gate) gate.ports[3]:setstate(gate.ports[1].state and gate.ports[2].state) end";
logicForceColor = "YELLOW";
logicForcePrint = "ANDGATE";
};
lualogic_registergatedefinition("LogicGate_AND_Data");