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

19
bricks/gates/NOT.cs Normal file
View File

@@ -0,0 +1,19 @@
lualogic_require($LuaLogic::Path @ "bricks/gates/diode.cs");
datablock fxDTSBrickData(LogicGate_NOT_Data : LogicGate_Diode_Data)
{
uiName = "1x1f NOT";
iconName = $LuaLogic::Path @ "icons/1x1f NOT";
logicUIName = "NOT";
logicUIDesc = "B is the opposite of A";
logicForceColor = "RED";
logicForcePrint = "ARROW";
logicUpdate = "return function(gate) gate.ports[2]:setstate(not gate.ports[1].state) end";
numLogicPorts = 2;
};
lualogic_registergatedefinition("LogicGate_NOT_Data");