Example #1
0
 public void OnSceneLoaded(Scene arg0, LoadSceneMode sceneMode)
 {
     if (arg0.name == "MenuCore")
     {
         FuckeryUI.SetupUI();
     }
 }
Example #2
0
        internal static void SetupMods()
        {
            bool disableScore = false;

            BS_Utils.Plugin.LevelDidFinishEvent += Plugin_LevelDidFinishEvent;

            MissHell.SetupHell();
            ChallengeMode.SetupMode();

            if (FuckeryUI.OneAtATime.Enabled)
            {
                OAAT();
            }

            if (FuckeryUI.InvisibleSabers.Enabled)
            {
                InvisbleSabers();
            }

            if (FuckeryUI.ModsEnabled())
            {
                disableScore = true;
            }

            if (disableScore)
            {
                ScoreSubmission.DisableSubmission("Nova's Fuckery");
            }
        }
Example #3
0
        internal static void CleanupMode()
        {
            if (!FuckeryUI.ChallengeMode.Enabled)
            {
                return;
            }

            FuckeryUI.DisableAllMods(true);
            timer.Stop();
            timer.Elapsed -= Timer_Elapsed;
            timer          = null;
        }
Example #4
0
 private static void Timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     FuckeryUI.DisableAllMods(true);
     ActivateRandomMod();
 }