Ejemplo n.º 1
0
        public override void Start()
        {
            try
            {
                ItemBuilder.Init();

                //register all items and synergies. if text at the bottom doesnt fire something along the way crashed/produced and error
                //Not all scripts are loaded some are saved for a later date.


                // general passive
                Dizzyring.Register();
                Spring_roll.Register();
                Salmon_roll.Register();
                dragun_roll.Register();
                Long_roll_boots.Register();
                Rocket_boots.Register();
                Fly_Friend.Register();
                Space_hammer.Register();
                Sus_rounds.Register();
                nightmare_mode.Register();
                Fates_blessing.Register();
                daft_helm.Register();
                punk_helm.Register();
                book.Register();
                clean_soul.Register();
                stardust.Register();
                loan.Register();
                tabletech_dizzy.Register();
                SCP_323.Register();
                Cant_touch_ths.Register();
                Super_fly.Register();
                Im_blue.Register();
                bad_attitude.Register();
                rubber_man.Register();
                Survivor.Register();
                speedster.Register();
                Danger_dance.Register();
                disco_inferno.Register();
                persuasive_bullets.Register();
                Slide_tech.Register();
                PeaceStandard.Register();
                SpeedyChamber.Register();
                ChamberofChambers.Register();
                menacing_aura.Register();
                //War_paint.Register();

                // general active
                Led_Maiden.Register();
                jojo_arrow.Register();
                nano_boost.Register();
                rad_board.Register();
                koolbucks.Register();
                cased_daruma.Register();
                sandvich.Register();
                dog.Register();
                power_bracer.Register();
                roundabout.Register();
                Eye_of_the_tiger.Register();
                Luft_balloons.Register();
                punisher.Register();
                vodoo_kit.Register();
                BloodyNapkin.Register();
                Pig_Whistle.Register();
                shield.Register();
                AndroidReactorCore.Register();
                GnatHat.Register();
                HotelCaliforniaSpecial.Register();
                MindControlHeadband.Register();


                //Guns
                hail_2_u.Add();
                fourth_wall_breaker.Add();
                Za_hando.Add();
                violin.Add();
                Queen.Add();
                Lance.Add();
                MagicHat.Add();
                CopperChariot.Add();
                Lil_Boom.Add();
                BlackStabbith.Add();
                Ball.Add();
                harpoon.Add();
                Catalyzer.Add();
                testing_gun.Add();

                //Alex.Add();
                //Spear.Add();

                //Devtools
                noclip.Register();
                ActiveCharger.Register();


                // shrines
                //KTGShrine.Add();



                //orbitals
                //Stopda.Register();


                //unfinished or unfunctional

                //smooth_criminal.Register();
                //Old_Computer.Register();
                //bandaids.Register();
                //Jim.Register();
                //shaw.Register();
                //Empty_Collection.Register();
                //Rocker_Collection.Register();

                //Knives.Register();
                //Dio.Register();
                //testing_gun.Add();
                //hot_coffee.Add();
                //SealedScythe.Add();
                //KnightSpear.Add();
                //SpinHammer.Add();
                //trinket.Register();
                //Corrupted_persuasive_bullets.Register();
                //RatGun.Add();
                //jumper.Add();
                //grapplehooks.Register();
                //pocketwatch.Register();

                //synergies
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.tomislav() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Daft_Punk() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Super_Duper_Fly() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.split() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.flurry_of_blows() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.BEEES() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.nano() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Big_problem() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.lich() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Chariot() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.the_World_revolving() }).ToArray();
                GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.doubleStandard() }).ToArray();

                //Commands



                Log($"Don't bring a {MOD_NAME} v{VERSION}. You'll lose!", TEXT_COLOR);
            }
            catch (Exception e)
            {
                ETGModConsole.Log($"<color=#{TEXT_COLOR}>{MOD_NAME}: {e.Message}</color>");
                ETGModConsole.Log(e.StackTrace);

                Log(e.Message);
                Log("\t" + e.StackTrace);
                Log($"Something in Knife_to_a_gunfight broke somewhere...", TEXT_COLOR);
                Log($"If you're reading this please tell me at the gungeon discord", TEXT_COLOR);
            }
        }
Ejemplo n.º 2
0
        public override void Start()
        {
            ItemBuilder.Init();

            //register all items and synergies. if text at the bottom doesnt fire something along the way crashed/produced and error
            //Not all scripts are loaded some are saved for a later date.


            // general passive
            Dizzyring.Register();
            Spring_roll.Register();
            Salmon_roll.Register();
            dragun_roll.Register();
            Long_roll_boots.Register();
            Rocket_boots.Register();
            Fly_Friend.Register();
            Space_hammer.Register();
            Sus_rounds.Register();
            nightmare_mode.Register();
            Fates_blessing.Register();
            daft_helm.Register();
            punk_helm.Register();
            book.Register();
            clean_soul.Register();
            stardust.Register();
            loan.Register();
            tabletech_dizzy.Register();
            pocketwatch.Register();
            SCP_323.Register();
            Cant_touch_this.Register();
            Super_fly.Register();
            Im_blue.Register();
            bad_attitude.Register();
            rubber_man.Register();
            Survivor.Register();
            speedster.Register();
            Danger_dance.Register();
            disco_inferno.Register();
            persuasive_bullets.Register();

            // general active
            Led_Maiden.Register();
            jojo_arrow.Register();
            nano_boost.Register();
            rad_board.Register();
            koolbucks.Register();
            cased_daruma.Register();
            sandvich.Register();
            dog.Register();
            power_bracer.Register();
            roundabout.Register();
            Eye_of_the_tiger.Register();
            Luft_balloons.Register();
            punisher.Register();
            vodoo_kit.Register();
            BloodyNapkin.Register();
            Pig_Whistle.Register();

            //Guns
            hail_2_u.Add();
            fourth_wall_breaker.Add();
            Za_hando.Add();
            violin.Add();
            Queen.Add();
            Lance.Add();
            MagicHat.Add();
            CopperChariot.Add();
            //KnightSpear.Add();
            //SpinHammer.Add();

            //unfinished or unfunctional

            //smooth_criminal.Register();
            //Old_Computer.Register();
            //bandaids.Register();
            //Jim.Register();
            //shaw.Register();
            //Empty_Collection.Register();
            //Rocker_Collection.Register();
            //menacing_aura.Register();
            //Knives.Register();
            //Dio.Register();
            //testing_gun.Add();
            //hot_coffee.Add();

            //trinket.Register();

            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.tomislav() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Daft_Punk() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Super_Duper_Fly() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.split() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.flurry_of_blows() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.BEEES() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.nano() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.Big_problem() }).ToArray();
            GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new Customsynergiesknives.lich() }).ToArray();


            Log($"Don't bring a {MOD_NAME} v{VERSION}. You'll lose!", TEXT_COLOR);
        }