fixed pixel to use new callback system
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
datablock fxDTSBrickData(LogicGate_NOR_Data : LogicGate_OR_Data)
|
||||
{
|
||||
uiName = "1x2f NOR";
|
||||
iconName = $LuaLogic::Path @ "icons/1x2f NOR";
|
||||
logicUIName = "NOR";
|
||||
logicUIDesc = "C is false if A or B are true";
|
||||
logicUpdate = "return function(gate) gate.ports[3]:setstate(not (gate.ports[1].state or gate.ports[2].state)) end";
|
||||
};
|
||||
lualogic_registergatedefinition("LogicGate_NOR_Data");
|
||||
datablock fxDTSBrickData(LogicGate_NOR_Data : LogicGate_OR_Data)
|
||||
{
|
||||
uiName = "1x2f NOR";
|
||||
iconName = $LuaLogic::Path @ "icons/1x2f NOR";
|
||||
logicUIName = "NOR";
|
||||
logicUIDesc = "C is false if A or B are true";
|
||||
logicUpdate = "return function(gate) gate.ports[3]:setstate(not (gate.ports[1].state or gate.ports[2].state)) end";
|
||||
};
|
||||
lualogic_registergatedefinition("LogicGate_NOR_Data");
|
||||
|
||||
Reference in New Issue
Block a user