fixed pixel to use new callback system

This commit is contained in:
Redo
2019-05-10 19:59:26 -05:00
parent 7f1c5ea417
commit 5b5231a4b3
70 changed files with 28929 additions and 28935 deletions

View File

@@ -1,9 +1,9 @@
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";
};
lualogic_registergatedefinition("LogicGate_AND_Data");
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";
};
lualogic_registergatedefinition("LogicGate_AND_Data");