public static void ClearWorldTempTool() { if (WETools.WETempTool != null) { WETools.WETempTool = null; } }
public static void SetWorldTempTool(WEFuncTool tool) { WETools.WETempTool = tool; // Update Helper Text (if applicable) WETools.UpdateHelperText(); }
public static WEFuncTool WETempTool; // The highest priority tool; runs because the user is forcing a temporary tool to activate. public static void SetWorldTileTool(WETileTool tool, byte index = 0) { WETools.WETileTool = tool; WETools.WEFuncTool = null; WETools.WETempTool = null; WE_UI.curWESlotGroup = WETools.WETileTool.slotGroup; // Assign Index and SubIndex to WorldTileTool (if applicable) WETools.WETileTool.SetIndex(index); // Update Helper Text (if applicable) WETools.UpdateHelperText(); }