Initial commit
This commit is contained in:
9
bricks/gates/NAND.cs
Normal file
9
bricks/gates/NAND.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
datablock fxDTSBrickData(LogicGate_NAND_Data : LogicGate_OR_Data)
|
||||
{
|
||||
uiName = "1x2f NAND";
|
||||
iconName = $LuaLogic::Path @ "icons/1x2f NAND";
|
||||
logicUIName = "NAND";
|
||||
logicUIDesc = "C is false if A and B are true";
|
||||
logicUpdate = "return function(gate) gate.ports[3]:setstate(not (gate.ports[1].state and gate.ports[2].state)) end";
|
||||
};
|
||||
lualogic_registergatedefinition("LogicGate_NAND_Data");
|
||||
Reference in New Issue
Block a user