change event gate category and force color

This commit is contained in:
Redo0 2021-06-07 15:37:39 -05:00
parent 16c1a9f75f
commit 7922e85545

View File

@ -30,7 +30,7 @@ function fxDTSBrick::setPowerState(%this, %state, %client)
datablock fxDTSBrickData(LogicGate_EventGate_Data : brick1x1fData) datablock fxDTSBrickData(LogicGate_EventGate_Data : brick1x1fData)
{ {
category = "Logic Bricks"; category = "Logic Bricks";
subCategory = "Wires - Special"; subCategory = "Special";
uiName = "Event Gate"; uiName = "Event Gate";
iconName = $LuaLogic::Path @ "icons/EventGate"; iconName = $LuaLogic::Path @ "icons/EventGate";
brickFile = $LuaLogic::Path @ "bricks/blb/1x1f_1i_1o.blb"; brickFile = $LuaLogic::Path @ "bricks/blb/1x1f_1i_1o.blb";
@ -44,6 +44,9 @@ datablock fxDTSBrickData(LogicGate_EventGate_Data : brick1x1fData)
logicUIName = ""; logicUIName = "";
logicUIDesc = "Special gate which can be used to trigger events and use events to control its output."; logicUIDesc = "Special gate which can be used to trigger events and use events to control its output.";
logicForceColor = "YELLOW";
logicForcePrint = "ARROW";
logicInput = lualogic_readfile($LuaLogic::Path @ "bricks/special/EventGate-input.lua" ); logicInput = lualogic_readfile($LuaLogic::Path @ "bricks/special/EventGate-input.lua" );
logicUpdate = lualogic_readfile($LuaLogic::Path @ "bricks/special/EventGate-update.lua"); logicUpdate = lualogic_readfile($LuaLogic::Path @ "bricks/special/EventGate-update.lua");