Initial commit

This commit is contained in:
Eagle517
2019-01-15 12:39:35 -06:00
commit 9ae8714055
153 changed files with 29967 additions and 0 deletions

9
bricks/gates/XNOR.cs Normal file
View File

@@ -0,0 +1,9 @@
datablock fxDTSBrickData(LogicGate_XNOR_Data : LogicGate_OR_Data)
{
uiName = "1x2f XNOR";
iconName = $LuaLogic::Path @ "icons/1x2f XNOR";
logicUIName = "XNOR";
logicUIDesc = "C is true if A and B are both true or both false";
logicUpdate = "return function(gate) gate.ports[3]:setstate((gate.ports[1].state and gate.ports[2].state) or (not gate.ports[1].state and not gate.ports[2].state)) end";
};
lualogic_registergatedefinition("LogicGate_XNOR_Data");