From 7922e85545222ec04f35a28dd73aad2842d1b977 Mon Sep 17 00:00:00 2001 From: Redo0 Date: Mon, 7 Jun 2021 15:37:39 -0500 Subject: [PATCH] change event gate category and force color --- bricks/special/EventGate.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bricks/special/EventGate.cs b/bricks/special/EventGate.cs index a67f774..cbe4ca3 100644 --- a/bricks/special/EventGate.cs +++ b/bricks/special/EventGate.cs @@ -30,7 +30,7 @@ function fxDTSBrick::setPowerState(%this, %state, %client) datablock fxDTSBrickData(LogicGate_EventGate_Data : brick1x1fData) { category = "Logic Bricks"; - subCategory = "Wires - Special"; + subCategory = "Special"; uiName = "Event Gate"; iconName = $LuaLogic::Path @ "icons/EventGate"; brickFile = $LuaLogic::Path @ "bricks/blb/1x1f_1i_1o.blb"; @@ -44,6 +44,9 @@ datablock fxDTSBrickData(LogicGate_EventGate_Data : brick1x1fData) logicUIName = ""; 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" ); logicUpdate = lualogic_readfile($LuaLogic::Path @ "bricks/special/EventGate-update.lua");