// Token: 0x0600001B RID: 27 RVA: 0x000028E8 File Offset: 0x00000AE8 public override void Start() { ItemAPI.Tools.Init(); StaticReferences.Init(); ShrineFakePrefabHooks.Init(); ShrineFactory.Init(); BreachShopTool.DoSetup(); BossBuilder.Init() ; MultiActiveReloadManager.SetupHooks(); ItemBuilder.Init(); HookYeah.Init(); //FakePrefabHooks.Init(); GungeonAPI.Tools.Init(); //GungeonAP.Init(); //FakePrefabHooks.Init(); //ShrineFactory.Init(); //ShrineFactory.PlaceBnyBreachShrines(); //TestActiveItem.Init(); //VengeanceVlone.Init(); //ShatterEffect.Initialise(); ShrineOfTheLeadLord.Add(); ChaosCorruptionShrine.Add(); PleaseForgiveMe.Add(); BunnyModule.Strings = new AdvancedStringDB(); //SpecialDungeon.Init(); EnemyBuilder.Init(); HooksEnemy.Init(); ToolsEnemy.Init(); ArtifactOfRevenge.Init(); ArtifactOfAttraction.Init(); ArtifactOfGlass.Init(); ArtifactOfAvarice.Init(); ArtifactOfDaze.Init(); ArtifactOfPrey.Init(); ArtifactOfMegalomania.Init(); ArtifactOfFodder.Init(); ArtifactOfBolster.Init(); ArtifactOfEnigma.Init(); ArtifactOfSacrifice.Init(); ArtifactOfFraility.Init(); //ArtifactOfParanoia.Init(); /* * ModuleCannon.Add(); * ModuleChip.Init(); * ModuleAmmoEater.Init(); * ModuleDamage.Init(); * ModuleClipSize.Init(); * ModuleFireRate.Init(); * ModuleReload.Init(); * T2ModuleYV.Init(); * T2ModuleCloak.Init(); * T2ModulePierce.Init(); * T2ModuleBounce.Init(); * T2ModuleEjector.Init(); * T2ModuleHoming.Init(); * T3ModuleRocket.Init(); * T3ModuleInaccurate.Init(); * T3ModuleColossus.Init(); * T3ModuleOverload.Init(); * T3ModuleReactive.Init(); * CorruptModuleSensor.Init(); * CorruptModuleAccuracy.Init(); * CorruptModuleLoose.Init(); * CorruptModuleCoolant.Init(); * CorruptModuleDamage.Init(); */ //Gimmick Heavy Guns TrainGun.Add(); LastStand.Add(); SoulStealer.Add(); Commiter.Add(); Pickshot.Add(); AerialBombardment.Add(); WarningShot.Add(); //Mimic Guns Casemimic.Add(); ChambemimicGun.Add(); ABlasphemimic.Add(); Gunthemimic.Add(); Mimikey47.Add(); //Mechanical Guns MatterTranslocator.Add(); ThunderStorm.Add(); CaptainsShotgun.Add(); EnforcersLaw.Add(); TimeZoner.Add(); ArtemissileRocket.Add(); BigNukeGun.Add(); BoxGun.Add(); REXNeedler.Add(); FlakCannon.Add(); GunslayerShotgun.Add(); RogueLegendary.Add(); //Otherworldly Guns HarvestersShotgun.Add(); PrismaticShot.Add(); Starbounder.Add(); ReaverClaw.Add(); ReaverHeart.Add(); ChaosRevolver.Add(); ChaosRevolverSynergyForme.Add(); ChaosHand.Add(); NuclearTentacle.Add(); SteveStaff.Add(); //Outright Wacky weaponry Valkyrie.Add(); OppressorsCrossbow.Add(); GunslayerGauntlets.Add(); SuperFlakCannon.Add(); MithrixHammer.Add(); TungstenCube.Add(); CoolStaff.Add(); ASwordGun.Add(); AGunSword.Add(); Microwave.Add(); //Dumb Guns StickGun.Add(); //BulletCaster.Add(); SausageRevolver.Add(); BloatedRevolver.Add(); PocketPistol.Add(); BrokenGunParts.Add(); IDPDFreakGun.Add(); FakeShotgun.Add(); Bugun.Add(); //Life Living PersonalGuard.Init(); GlockOfTheDead.Init(); LizardBloodTransfusion.Init(); AbsoluteZeroPotion.Init(); MatrixPotion.Init(); GreandeParasite.Init(); //Joke Items SpeckOfDust.Init(); LastResort.Init(); JokeBook.Init(); //Mechanical Items OnPlayerItemUsedItem.Init(); StaticCharger.Init(); //Bullet Type Items ResurrectionBullets.Init(); GuillotineRounds.Init(); LunarGlassRounds.Init(); ReaverRounds.Init(); SimpBullets.Init(); //Cursed Items Risk Reward Items LeadHand.Init(); JammedGuillotine.Init(); GestureOfTheJammed.Init(); CrownOfBlood.Init(); RTG.Init(); DGrenade.Init(); MalachiteCrown.Init(); AncientWhisper.Init(); AncientEnigma.Init(); LunarGlassSyringe.Init(); SlayerKey.Init(); DamocleanClip.Init(); DeathMark.Init(); TheMonolith.Init(); LoopMarker.Init(); BulletRelic.Init(); GodLifesGift.Init(); BloodGoldRing.Init(); //Defense Items SuperShield.Init(); GunslayerHelmet.Init(); FreezeLighter.Init(); //Stats Up Microscope.Init(); EmpoweringCore.Init(); BookOfEconomics.Init(); CounterChamber.Init(); Infusion.Init(); MinigunRounds.Init(); //Otherworldly AstralCounterweight.Init(); SpiritOfStagnation.Init(); SoulInAJar.Init(); AmmoRepurposer.Init(); ZenithDesign.Init(); ChaosGodsWrath.Init(); SkyGrass.Init(); ChaosChamber.Init(); ChaosHammer.Init(); BloodyTrigger.Init(); Coolrobes.Init(); //Companion Items/CompanionAI //Claycord.Init(); Blastcore.Init(); //ClayCordStatue.ClayBuildPrefab(); GunSoulBox.Init(); GunSoulBlue.BlueBuildPrefab(); GunSoulGreen.GreenBuildPrefab(); GunSoulRed.RedBuildPrefab(); GunSoulYellow.YellowBuildPrefab(); GunSoulPink.PinkBuildPrefab(); GunSoulPurple.PurpleBuildPrefab(); PointZero.Init(); //BabyGoodModular.Init(); //Guon Stones GuonPebble.Init(); ChaosGuonStone.Init(); BulluonStone.Init(); DynamiteGuon.Init(); GuonGeon.Init(); //Ammolets LunarGlassAmmolet.Init(); ReaverAmmolet.Init(); //TableTechs TableTechReload.Init(); TableTechBomb.Init(); TableTechSoul.Init(); TableTechKnife.Init(); //OP??? BunnysFoot.Init(); //Random Weird Shit that just kinda exists GungeonInvestment.Init(); BrokenLockpicker.Init(); Dejammer.Init(); Keylocator.Init(); Keyceipt.Init(); FrequentFlyer.Init(); Death.Add(); Taxes.Add(); Lacon1Scrap.Init(); Lacon1.Add(); Lacon2.Add(); Lacon3.Add(); Lacon4.Add(); Lacon5.Add(); Lacon6.Add(); //Vengeance.Init(); TestItemBNY.Init(); DragunHeartThing.Init(); MasteryReplacementRNG.InitDungeonHook(); SynergyFormInitialiser.AddSynergyForms(); InitialiseSynergies.DoInitialisation(); //BunnyEnemies.InitPrefabs(); //AbyssKinPlease.Init(); //AbyssShotgunner.Init(); ChaosBeing.Init(); ChaosBeingLarge.Init(); //DopplegamnerClone.Init(); // AncientWhisperInfinite.Init(); CursedPearl.Init(); RewardCrown.Init(); ChaosMalice.Add(); ChaosEmblem.Init(); //Curse2Emblem.Init(); DeathsDebt.Init(); SteadyShotSniper.Add(); TheStranger.Init(); //TheStranger.Init(); //AdrenalineAmmolet.Init(); //Game.Items["bny:matter_translocator"].SetupUnlockOnCustomFlag(CustomDungeonFlags.EXAMPLE_BLUEPRINTTRUCK, true); //setups rolling eye's unlock //Game.Items["bny:matter_translocator"].AddItemToTrorcMetaShop(1123); //adds rolling eye to trorc's breach shop as the last item BunnyModule.Log(BunnyModule.MOD_NAME + " v" + BunnyModule.VERSION + " started successfully.", BunnyModule.TEXT_COLOR); }
public override void Start() { try { ZipFilePath = this.Metadata.Archive; metadata = this.Metadata.Directory; metadataARCHIVE = this.Metadata.Archive; FilePath = this.Metadata.Directory + "/rooms"; path = "CakeMod.Resources.TurtSprites."; assembly = Assembly.GetExecutingAssembly(); list = new List <Texture2D>(); foreach (var item in assembly.GetManifestResourceNames()) { if (!item.EndsWith(".png")) { continue; } if (item.StartsWith(path)) { list.Add(ResourceExtractor.GetTextureFromResource(item)); } } ETGModConsole.Log(list.Count.ToString()); cosmoSpriteSheet = ResourceExtractor.GetTextureFromResource(cosmoSpriteSheetName); FloorSheet = ResourceExtractor.GetTextureFromResource(StringFloorSheet); FakePrefabHooks.Init(); ItemBuilder.Init(); EnemyTools.Init(); EnemyBuilder.Init(); Hooks.Init(); BossBuilder.Init(); SpecialBlankModificationItem.InitHooks(); ItemsMod.Strings = new AdvancedStringDB(); EasyGoopDefinitions.DefineDefaultGoops(); Cake.Init(); CircularKing.Init(); KinglyBullets.Init(); LockOfTheJammed.Init(); CakeBullets.Init(); BleakBullets.Init(); Jankan.Init(); Robohead.Init(); HatShells.Init(); DumbBullets.Init(); ControlledBullets.Init(); David.Init(); HeadCrab.Init(); GunJester.Init(); Waffle.Init(); BladeBullets.Init(); TheFool.Init(); BowlerHat.Init(); Depresso.Init(); FleshCake.Init(); BountyPoster.Init(); OneReverse.Init(); StrangeEffigy.Init(); ConcealedTreasure.Init(); Winpetster.Init(); RookGuonStone.Init(); IceOgreHead.Init(); MysteriousIdol.Init(); GlowingWomb.Init(); Honkhorn.Init(); HeartyLocket.Init(); FunnyHat.Init(); Radio.Init(); ChocolateBar.Init(); CluwneBullets.Init(); BowlerRainbowDust.Init(); StrangeArrow.Init(); testingitem.Init(); TestItem.Init(); glitchammolet.Init(); testbarrel.Init(); BlobHeart.Init(); WebAmmolet.Init(); StarNinja.Init(); PoisonBomb.Init(); RoboticHeart.Init(); ApprenticeScroll.Init(); amogus.Init(); ArmouredKey.Init(); BabyGoodChamber.Init(); SpringlockSuit.Init(); BirthdayCandle.Init(); DeadlyInsanity.Init(); Keysing.Init(); BabyGoodLovebulon.Init(); FreddyPizza.Init(); CultistHelm.Init(); Lime.Init(); CurseItemTest.Init(); GoopCurse.Init(); Jammolet.Init(); HoloProjection.Init(); Clumsy.Init(); MiniShroom.Init(); DrawnChamber.Init(); BabyGoodMagnum.Init(); SewingKit.Init(); PocketRedChest.Init(); PocketBlackChest.Init(); PocketGreenChest.Init(); PocketBlueChest.Init(); PocketBrownChest.Init(); ChestFriend.Init(); PricklyPear.Init(); StrangePotion.Init(); DevilContract.Init(); Hellfire.Init(); BloomingHeart.Init(); RatRound.Init(); FrozenFrog.Init(); BabyGoodApiary.Init(); ImmortalSmoke.Init(); UFO.Init(); VoodooHeart.Init(); GunslingKingRequest.Init(); HappyLad.Init(); Fez.Init(); NecromancerBook.Init(); PlatinumJunk.Init(); ToxicArmour.Init(); Notebook.Init(); TestJammedBullets.Init(); BulletKinBullets.Init(); LichHat.Init(); Skelebot.Init(); CosmoStatue.CosmoBuildPrefab(); LichHat2.Init(); PickleJar.Init(); Jawbreaker.Init(); Rift.Init(); SaveDisk.Init(); d20.Init(); ThirdEye.Init(); GhostlyBody.Init(); Butter.Init(); Cookie.Init(); JunkChestHandler.TheHooks(); CarpenterHandbook.Init(); Ipecac.Init(); Taurus.Init(); LifeLemon.Init(); ArmourGuonStone.Init(); JammedGunParts.Init(); CloningVat.Init(); DevilKey.Init(); TurtsMelon.Init(); SpareShell.Init(); FungalTurtle.Init(); PBullets.Init(); OddBullets.Init(); BloodTether.Init(); TableTechHolographic.Init(); NavySealCopypasta.Init(); RuneChalk.Init(); //RuneChalk2.Init(); Synergun.Add(); JackpotOfGreed.Add(); NoSpriteFound.Add(); boneblaster.Add(); KingGun.Add(); GungeonGun.Add(); Glockamole.Add(); CursedKatana.Add(); Blox.Add(); Terragun.Add(); SpongeGun.Add(); Horn.Add(); IHateGuns.Add(); gamefreeze.Add(); Bananastaff.Add(); Blackpistol.Add(); boomstick.Add(); SydneySleeper.Add(); Explodergun.Add(); Scrapgun.Add(); tinyshotgun.Add(); GunResource.Add(); Scrapper.Add(); Megaphone.Add(); MissGun.Add(); Drawn47.Add(); PirateShotgunKinGun.Add(); AnArrowkin.Add(); Timerase.Add(); Knife.Add(); firegun.Add(); Television.Add(); //Dupligun.Add(); //OneShot.Add(); MoneyDebuffEffect.Init(); money22DebuffEffect.Init(); hegemonyDebuffEffect.Init(); moneydebuff3DebuffEffect.Init(); DemonBuff.Init(); CasingBullets.Init(); UnlockHookInators.Init(); InkBooklet.Init(); Doodlelet.Init(); KoolAidMan.Init(); ammomimic.Init(); BulletBishop.Init(); FlameChamber.Init(); KillShrine.Init(); InflamedEye.Init(); FlameClone.Init(); Jesterlet.Init(); Mimekin.Init(); RoyalJesterlet.Init(); DrawnKin.Init(); HoveringGunsAdder.AddHovers(); CakeGunMods.Init(); BreachShopTool.AddBaseMetaShopTier(ETGMod.Databases.Items["Cultist Helm"].PickupObjectId, 80, ETGMod.Databases.Items["Rainbowllets"].PickupObjectId, 25, ETGMod.Databases.Items["Reloading Waffle"].PickupObjectId, 75, null); GameManager.Instance.SynergyManager.synergies = GameManager.Instance.SynergyManager.synergies.Concat(new AdvancedSynergyEntry[] { new SyngergraceThisMod.HatSynergy(), new SyngergraceThisMod.IceSynergy(), new SyngergraceThisMod.RainbowSynergy(), new SyngergraceThisMod.ChaosSynergy(), new SyngergraceThisMod.VoodooSynergy(), //new SyngergraceThisMod.OldSynergy(), new SyngergraceThisMod.LoveSynergy(), new SyngergraceThisMod.SoundSynergy(), }).ToArray <AdvancedSynergyEntry>(); //TinyBullet.Add(); //OldManBreach.Add(); //ArtistShrine.Add(); Chester.Add(); //LesGo.Add(); StaticReferences.Init(); StaticReferences2.Init(); DungeonHandlerTrueForm.Init(); ShrineFakePrefabHooks.Init(); ShrineFactory.Init(); OldShrineFactory.Init(); SaveAPIManager.Setup("cak"); ShrineFactory.PlaceBreachShrines(); ETGModConsole.Log("King's Items is up and running."); SyngergraceThisMod.Synergies(); SynergyFormInitialiser.AddSynergyForms(); ModPrefabs.InitCustomPrefabs(); ModRoomPrefabs.InitCustomRooms(); FloorNameDungeonFlows.InitDungeonFlows(); DoodleDungeon.InitCustomDungeon(); ETGModConsole.Commands.AddUnit("daflow", (args) => { DungeonHandlerTrueForm.debugFlow = !DungeonHandlerTrueForm.debugFlow; string status = DungeonHandlerTrueForm.debugFlow ? "enabled" : "disabled"; string color = DungeonHandlerTrueForm.debugFlow ? "00FF00" : "FF0000"; ETGModConsole.Log($"da flow is {status}", false); }); List <string> SpareVFXPaths = new List <string>() { "CakeMod/Resources/BulletBishop/incense_teleport_poof_001", "CakeMod/Resources/BulletBishop/incense_teleport_poof_002", "CakeMod/Resources/BulletBishop/incense_teleport_poof_003", "CakeMod/Resources/BulletBishop/incense_teleport_poof_004", "CakeMod/Resources/BulletBishop/incense_teleport_poof_005", "CakeMod/Resources/BulletBishop/incense_teleport_poof_006", "CakeMod/Resources/BulletBishop/incense_teleport_poof_007", "CakeMod/Resources/BulletBishop/incense_teleport_poof_008", }; GameObject spareVFX = VFXLibrary.CreateVFX("IncensePoof", SpareVFXPaths, 1, new IntVector2(10, 1), tk2dBaseSprite.Anchor.LowerCenter, true, 0.18f, 0, null); EasyVFXDatabase.IncenseVFX = spareVFX; List <string> SpareVFXPaths3 = new List <string>() { "CakeMod/Resources/FlameChamber/flamepoof_001", "CakeMod/Resources/FlameChamber/flamepoof_002", "CakeMod/Resources/FlameChamber/flamepoof_003", "CakeMod/Resources/FlameChamber/flamepoof_004", "CakeMod/Resources/FlameChamber/flamepoof_005", }; GameObject spareVFX3 = VFXLibrary.CreateVFX("FlamePoof", SpareVFXPaths3, 7, new IntVector2(10, 1), tk2dBaseSprite.Anchor.LowerCenter, true, 0.18f, 0, null); EasyVFXDatabase.FlameVFX = spareVFX3; List <string> SpareVFXPaths2 = new List <string>() { "CakeMod/Resources/BloodyLightning/blood1", "CakeMod/Resources/BloodyLightning/blood2", "CakeMod/Resources/BloodyLightning/blood3", "CakeMod/Resources/BloodyLightning/blood4", "CakeMod/Resources/BloodyLightning/blood5", "CakeMod/Resources/BloodyLightning/blood6", "CakeMod/Resources/BloodyLightning/blood7", "CakeMod/Resources/BloodyLightning/blood8", "CakeMod/Resources/BloodyLightning/blood9", "CakeMod/Resources/BloodyLightning/blood10", }; GameObject spareVFX2 = VFXLibrary.CreateVFX("String", SpareVFXPaths2, 16, new IntVector2(10, 1), tk2dBaseSprite.Anchor.LowerCenter, true, 0.18f, 0, null); EasyVFXDatabase.StringVFX = spareVFX2; //DoodleDungeon.InitCustomDungeon(); } catch (Exception e) { ETGModConsole.Log(e.ToString(), false); } }