示例#1
0
        // Token: 0x060006D4 RID: 1748 RVA: 0x0003AD10 File Offset: 0x00038F10
        public static void Accept(PlayerController player, GameObject npc)
        {
            npc.GetComponent <tk2dSpriteAnimator>().PlayForDuration("do_effect", 2f, "idle", false);
            bool flag = ArtifactMonger.RandomArtifactMode;

            if (flag)
            {
                string header = "Random Artifact Mode Disabled.";
                string text   = "Trolled.";
                ArtifactMonger.Notify(header, text);
                ArtifactMonger.RandomArtifactMode = false;
                //ETGModConsole.Log("Random Artifacts Disabled.", false);
            }
            else
            {
                string header = "Random Artifact Mode Enabled.";
                string text   = "Trolled.";
                ArtifactMonger.Notify(header, text);
                DeicideShrine.AllArtifactMode          = false;
                ArtifactMonger.RandomArtifactMode      = true;
                Commands.CustomLoadoutArtifactsEnabled = false;
                //ETGModConsole.Log("Random Artifacts Enabled.", false);
            }
            //ArtifactMonger.HandleLoadout(player);
        }
        public static void LateStart1(Action <Foyer> orig, Foyer self1)
        {
            orig(self1);
            bool flag = BunnyModule.hasInitialized;

            if (!flag)
            {
                ArtifactMonger.Add();
                WhisperShrine.Add();
                DeicideShrine.Add();

                {
                    ShrineFactory.PlaceBnyBreachShrines();
                }
                BunnyModule.hasInitialized = true;
            }
            ShrineFactory.PlaceBnyBreachShrines();
        }
示例#3
0
        public static void LateStart1(Action <Foyer> orig, Foyer self1)
        {
            orig(self1);
            Bugun.ThisIsBasicallyCelsRNGUNButTakenToASillyLevel();
            bool flag = BunnyModule.hasInitialized;

            if (!flag)
            {
                ArtifactMonger.Add();
                WhisperShrine.Add();
                DeicideShrine.Add();
                JammedSquire.Add();
                {
                    ShrineFactory.PlaceBnyBreachShrines();
                }
                BunnyModule.hasInitialized = true;
            }
            //ShrineFactory.PlaceBnyBreachShrines();
        }