Пример #1
0
        void CheckInitControls()
        {
            string Message = "Attention! Due to a bug in the game itself, you might not be able to work with these tools via mouse-click.\nIf you run into this issue, you have to use the Toggle switch in terminal or on/off switch on toolbar.\nSorry for inconvenience.";

            if (IsWelder)
            {
                if (!SessionCore.InitedWelderControls)
                {
                    SessionCore.InitWelderControls();
                    MyAPIGateway.Utilities.ShowMessage("Laser Welders", Message);
                }
            }
            else if (IsGrinder)
            {
                if (!SessionCore.InitedGrinderControls)
                {
                    SessionCore.InitGrinderControls();
                    MyAPIGateway.Utilities.ShowMessage("Laser Grinders", Message);
                }
            }
            else if (IsDrill)
            {
            }
        }