From aa53fc33b44d28ff9dc0c1f503e13813814a84a7 Mon Sep 17 00:00:00 2001 From: Phupperbat Date: Fri, 29 Apr 2022 18:56:14 -0400 Subject: [PATCH] Rimehound + other files renames (Sand Tortoise, Blighted Eye, Blighted Lens and Aquatic Parasite gone forever) --- .../{TundraLeashBuff.cs => RimehoundBuff.cs} | 10 +- ...{TundraLeashBuff.png => RimehoundBuff.png} | Bin .../{SirenBobs.cs => AquaticHeartBuff.cs} | 10 +- .../{SirenBobs.png => AquaticHeartBuff.png} | Bin ...aterSpeed.cs => AquaticHeartWaterSpeed.cs} | 6 +- ...erSpeed.png => AquaticHeartWaterSpeed.png} | Bin Buffs/StatBuffs/IceShieldBuff.cs | 4 +- CalPlayer/CalamityPlayer.cs | 112 ++++----- CalPlayer/CalamityPlayerMiscEffects.cs | 16 +- CalPlayer/CalamityPlayerOnHit.cs | 6 +- ...Layer.cs => AquaticHeartIceShieldLayer.cs} | 4 +- CalamityLists.cs | 10 +- Events/AcidRainEvent.cs | 4 +- Events/BossRushEvent.cs | 3 +- .../{SirensHeart.cs => AquaticHeart.cs} | 12 +- .../{SirensHeart.png => AquaticHeart.png} | Bin ...enTrans_Arms.png => AquaticTrans_Arms.png} | Bin ...enTrans_Body.png => AquaticTrans_Body.png} | Bin ...enTrans_Head.png => AquaticTrans_Head.png} | Bin ...enTrans_Legs.png => AquaticTrans_Legs.png} | Bin .../{DaedalusEmblem.cs => ArtemisEmblem.cs} | 2 +- .../{DaedalusEmblem.png => ArtemisEmblem.png} | Bin Items/Accessories/DaawnlightSpiritOrigin.cs | 2 +- Items/Accessories/ElementalQuiver.cs | 2 +- ...edTortoiseShell.cs => FlameLickedShell.cs} | 4 +- ...TortoiseShell.png => FlameLickedShell.png} | Bin Items/Accessories/HallowedRune.cs | 2 +- .../{DukeScales.cs => OldDukeScales.cs} | 4 +- .../{DukeScales.png => OldDukeScales.png} | Bin .../{ChaosAmulet.cs => SpelunkersAmulet.cs} | 2 +- .../{ChaosAmulet.png => SpelunkersAmulet.png} | Bin .../{SpiritGenerator.cs => SpiritGlyph.cs} | 4 +- .../{SpiritGenerator.png => SpiritGlyph.png} | Bin ...tatisBeltOfCurses.cs => StatisVoidSash.cs} | 2 +- ...tisBeltOfCurses.png => StatisVoidSash.png} | Bin Items/Accessories/{Sponge.cs => TheSponge.cs} | 12 +- .../Accessories/{Sponge.png => TheSponge.png} | Bin .../{SpongeReal.png => TheSpongeReal.png} | Bin .../{SpongeShield.png => TheSpongeShield.png} | Bin ...nstablePrism.cs => UnstableGraniteCore.cs} | 4 +- ...tablePrism.png => UnstableGraniteCore.png} | Bin .../{CalamityRing.cs => VoidofCalamity.cs} | 6 +- .../{CalamityRing.png => VoidofCalamity.png} | Bin Items/Accessories/VoidofExtinction.cs | 6 +- .../{SamuraiBadge.cs => WarbanneroftheSun.cs} | 4 +- ...SamuraiBadge.png => WarbanneroftheSun.png} | Bin ...loon.png => WarbanneroftheSun_Balloon.png} | Bin .../{AureateWings.cs => AureateBooster.cs} | 2 +- .../{AureateWings.png => AureateBooster.png} | Bin ...ngs_Wings.png => AureateBooster_Wings.png} | Bin Items/Accessories/Wings/ElysianTracers.cs | 2 +- .../Wings/{XerocWings.cs => ExodusWings.cs} | 2 +- .../Wings/{XerocWings.png => ExodusWings.png} | Bin ...cWings_Wings.png => ExodusWings_Wings.png} | Bin .../{DiscordianWings.cs => HadalMantle.cs} | 2 +- .../{DiscordianWings.png => HadalMantle.png} | Bin ...nWings_Wings.png => HadalMantle_Wings.png} | Bin .../{InfinityBoots.cs => SeraphTracers.cs} | 2 +- .../{InfinityBoots.png => SeraphTracers.png} | Bin ...oots_Shoes.png => SeraphTracers_Shoes.png} | Bin ...oots_Wings.png => SeraphTracers_Wings.png} | Bin ...lerationBullet.cs => AccelerationRound.cs} | 4 +- ...rationBullet.png => AccelerationRound.png} | Bin Items/Ammo/{AcidBullet.cs => AcidRound.cs} | 4 +- Items/Ammo/{AcidBullet.png => AcidRound.png} | Bin Items/Ammo/{FlashBullet.cs => FlashRound.cs} | 4 +- .../Ammo/{FlashBullet.png => FlashRound.png} | Bin ...{BabyFlakHermit.cs => BabyFlakCrabItem.cs} | 4 +- ...abyFlakHermit.png => BabyFlakCrabItem.png} | Bin Items/Critters/BabyGhostBellItem.cs | 2 +- .../BrimstoneCragCatches/BrimstoneCrate.cs | 2 - Items/Materials/BlightedLens.cs | 25 -- Items/Materials/BlightedLens.png | Bin 249 -> 0 bytes .../{AngryDogMount.cs => RimehoundMount.cs} | 6 +- ...Mount_Back.png => RimehoundMount_Back.png} | Bin ...unt_Front.png => RimehoundMount_Front.png} | Bin Items/Mounts/TundraLeash.cs | 4 +- Items/Placeables/Banners/BOHLDOHRBanner.cs | 4 +- ...lakBabyBanner.cs => BabyFlakCrabBanner.cs} | 4 +- ...kBabyBanner.png => BabyFlakCrabBanner.png} | Bin ...lSmallBanner.cs => BabyGhostBellBanner.cs} | 4 +- ...mallBanner.png => BabyGhostBellBanner.png} | Bin ...rismTurtleBanner.cs => PrismBackBanner.cs} | 4 +- ...smTurtleBanner.png => PrismBackBanner.png} | Bin .../{AngryDogBanner.cs => RimehoundBanner.cs} | 7 +- ...AngryDogBanner.png => RimehoundBanner.png} | Bin .../{PitbullBanner.cs => RotdogBanner.cs} | 4 +- .../{PitbullBanner.png => RotdogBanner.png} | Bin ...terBanner.cs => SulphurousSkaterBanner.cs} | 4 +- ...rBanner.png => SulphurousSkaterBanner.png} | Bin ...yFlakHermitCage.cs => BabyFlakCrabCage.cs} | 13 +- ...lakHermitCage.png => BabyFlakCrabCage.png} | Bin Items/SummonItems/BlightedEyeball.cs | 6 +- Items/TreasureBags/BrimstoneWaifuBag.cs | 2 +- Items/TreasureBags/CalamitasBag.cs | 3 +- Items/TreasureBags/OldDukeBag.cs | 2 +- ModSupport/WeakReferenceSupport.cs | 8 +- .../AcidRain/{FlakBaby.cs => BabyFlakCrab.cs} | 6 +- .../{FlakBaby.png => BabyFlakCrab.png} | Bin ...SulfurousSkater.cs => SulphurousSkater.cs} | 10 +- ...lfurousSkater.png => SulphurousSkater.png} | Bin ...katerGlow.png => SulphurousSkaterGlow.png} | Bin NPCs/AquaticScourge/AquaticParasite.cs | 223 ------------------ NPCs/AquaticScourge/AquaticParasite.png | Bin 628 -> 0 bytes NPCs/BrimstoneElemental/BrimstoneElemental.cs | 2 +- NPCs/Calamitas/CalamitasRun3.cs | 3 +- NPCs/CalamityAI.cs | 4 +- NPCs/CalamityGlobalNPC.cs | 6 +- NPCs/Crags/CalamityEye.cs | 1 - NPCs/Leviathan/LeviathanStart.cs | 2 +- NPCs/NormalNPCs/BlightedEye.cs | 69 ------ NPCs/NormalNPCs/BlightedEye.png | Bin 642 -> 0 bytes NPCs/NormalNPCs/Bohldohr.cs | 2 +- NPCs/NormalNPCs/{AngryDog.cs => Rimehound.cs} | 10 +- .../{AngryDog.png => Rimehound.png} | Bin NPCs/NormalNPCs/Rotdog.cs | 2 +- NPCs/NormalNPCs/SandTortoise.cs | 66 ------ NPCs/NormalNPCs/SandTortoise.png | Bin 4026 -> 0 bytes NPCs/NormalNPCs/StormlionCharger.cs | 2 +- NPCs/OldDuke/OldDuke.cs | 2 +- .../ProfanedGuardians/ProfanedGuardianBoss.cs | 2 +- .../{GhostBellSmall.cs => BabyGhostBell.cs} | 4 +- .../{GhostBellSmall.png => BabyGhostBell.png} | Bin ...ellSmallGlow.png => BabyGhostBellGlow.png} | Bin .../{PrismTurtle.cs => PrismBack.cs} | 4 +- .../{PrismTurtle.png => PrismBack.png} | Bin ...{PrismTurtleGlow.png => PrismBackGlow.png} | Bin NPCs/TownNPCs/FAP.cs | 2 +- .../RegularEnemies/DemonEyeAI.cs | 6 +- ...BulletProj.cs => AccelerationRoundProj.cs} | 2 +- ...lletProj.png => AccelerationRoundProj.png} | Bin .../{AcidBulletProj.cs => AcidRoundProj.cs} | 2 +- .../{AcidBulletProj.png => AcidRoundProj.png} | Bin .../{FlashBulletProj.cs => FlashRoundProj.cs} | 2 +- ...FlashBulletProj.png => FlashRoundProj.png} | Bin .../{AngryDogGrowl.cs => RimehoundGrowl.cs} | 0 .../{AngryDogGrowl.ogg => RimehoundGrowl.ogg} | Bin .../{AngryDogHit.cs => RimehoundHit.cs} | 0 .../{AngryDogHit.ogg => RimehoundHit.ogg} | Bin ...mitCageTile.cs => BabyFlakCrabCageTile.cs} | 6 +- ...tCageTile.png => BabyFlakCrabCageTile.png} | Bin Utilities/CalamityRecipes.cs | 15 +- Utilities/MiscUtils.cs | 33 +-- Utilities/NPCDebuffs.cs | 9 +- World/UndergroundShrines.cs | 2 +- 145 files changed, 240 insertions(+), 642 deletions(-) rename Buffs/Mounts/{TundraLeashBuff.cs => RimehoundBuff.cs} (64%) rename Buffs/Mounts/{TundraLeashBuff.png => RimehoundBuff.png} (100%) rename Buffs/StatBuffs/{SirenBobs.cs => AquaticHeartBuff.cs} (82%) rename Buffs/StatBuffs/{SirenBobs.png => AquaticHeartBuff.png} (100%) rename Buffs/StatBuffs/{SirenWaterSpeed.cs => AquaticHeartWaterSpeed.cs} (79%) rename Buffs/StatBuffs/{SirenWaterSpeed.png => AquaticHeartWaterSpeed.png} (100%) rename CalPlayer/DrawLayers/{SirenIceShieldLayer.cs => AquaticHeartIceShieldLayer.cs} (85%) rename Items/Accessories/{SirensHeart.cs => AquaticHeart.cs} (88%) rename Items/Accessories/{SirensHeart.png => AquaticHeart.png} (100%) rename Items/Accessories/{SirenTrans_Arms.png => AquaticTrans_Arms.png} (100%) rename Items/Accessories/{SirenTrans_Body.png => AquaticTrans_Body.png} (100%) rename Items/Accessories/{SirenTrans_Head.png => AquaticTrans_Head.png} (100%) rename Items/Accessories/{SirenTrans_Legs.png => AquaticTrans_Legs.png} (100%) rename Items/Accessories/{DaedalusEmblem.cs => ArtemisEmblem.cs} (97%) rename Items/Accessories/{DaedalusEmblem.png => ArtemisEmblem.png} (100%) rename Items/Accessories/{FabledTortoiseShell.cs => FlameLickedShell.cs} (94%) rename Items/Accessories/{FabledTortoiseShell.png => FlameLickedShell.png} (100%) rename Items/Accessories/{DukeScales.cs => OldDukeScales.cs} (93%) rename Items/Accessories/{DukeScales.png => OldDukeScales.png} (100%) rename Items/Accessories/{ChaosAmulet.cs => SpelunkersAmulet.cs} (96%) rename Items/Accessories/{ChaosAmulet.png => SpelunkersAmulet.png} (100%) rename Items/Accessories/{SpiritGenerator.cs => SpiritGlyph.cs} (93%) rename Items/Accessories/{SpiritGenerator.png => SpiritGlyph.png} (100%) rename Items/Accessories/{StatisBeltOfCurses.cs => StatisVoidSash.cs} (97%) rename Items/Accessories/{StatisBeltOfCurses.png => StatisVoidSash.png} (100%) rename Items/Accessories/{Sponge.cs => TheSponge.cs} (89%) rename Items/Accessories/{Sponge.png => TheSponge.png} (100%) rename Items/Accessories/{SpongeReal.png => TheSpongeReal.png} (100%) rename Items/Accessories/{SpongeShield.png => TheSpongeShield.png} (100%) rename Items/Accessories/{UnstablePrism.cs => UnstableGraniteCore.cs} (91%) rename Items/Accessories/{UnstablePrism.png => UnstableGraniteCore.png} (100%) rename Items/Accessories/{CalamityRing.cs => VoidofCalamity.cs} (92%) rename Items/Accessories/{CalamityRing.png => VoidofCalamity.png} (100%) rename Items/Accessories/{SamuraiBadge.cs => WarbanneroftheSun.cs} (92%) rename Items/Accessories/{SamuraiBadge.png => WarbanneroftheSun.png} (100%) rename Items/Accessories/{SamuraiBadge_Balloon.png => WarbanneroftheSun_Balloon.png} (100%) rename Items/Accessories/Wings/{AureateWings.cs => AureateBooster.cs} (99%) rename Items/Accessories/Wings/{AureateWings.png => AureateBooster.png} (100%) rename Items/Accessories/Wings/{AureateWings_Wings.png => AureateBooster_Wings.png} (100%) rename Items/Accessories/Wings/{XerocWings.cs => ExodusWings.cs} (98%) rename Items/Accessories/Wings/{XerocWings.png => ExodusWings.png} (100%) rename Items/Accessories/Wings/{XerocWings_Wings.png => ExodusWings_Wings.png} (100%) rename Items/Accessories/Wings/{DiscordianWings.cs => HadalMantle.cs} (98%) rename Items/Accessories/Wings/{DiscordianWings.png => HadalMantle.png} (100%) rename Items/Accessories/Wings/{DiscordianWings_Wings.png => HadalMantle_Wings.png} (100%) rename Items/Accessories/Wings/{InfinityBoots.cs => SeraphTracers.cs} (98%) rename Items/Accessories/Wings/{InfinityBoots.png => SeraphTracers.png} (100%) rename Items/Accessories/Wings/{InfinityBoots_Shoes.png => SeraphTracers_Shoes.png} (100%) rename Items/Accessories/Wings/{InfinityBoots_Wings.png => SeraphTracers_Wings.png} (100%) rename Items/Ammo/{AccelerationBullet.cs => AccelerationRound.cs} (90%) rename Items/Ammo/{AccelerationBullet.png => AccelerationRound.png} (100%) rename Items/Ammo/{AcidBullet.cs => AcidRound.cs} (92%) rename Items/Ammo/{AcidBullet.png => AcidRound.png} (100%) rename Items/Ammo/{FlashBullet.cs => FlashRound.cs} (91%) rename Items/Ammo/{FlashBullet.png => FlashRound.png} (100%) rename Items/Critters/{BabyFlakHermit.cs => BabyFlakCrabItem.cs} (89%) rename Items/Critters/{BabyFlakHermit.png => BabyFlakCrabItem.png} (100%) delete mode 100644 Items/Materials/BlightedLens.cs delete mode 100644 Items/Materials/BlightedLens.png rename Items/Mounts/{AngryDogMount.cs => RimehoundMount.cs} (97%) rename Items/Mounts/{AngryDogMount_Back.png => RimehoundMount_Back.png} (100%) rename Items/Mounts/{AngryDogMount_Front.png => RimehoundMount_Front.png} (100%) rename Items/Placeables/Banners/{FlakBabyBanner.cs => BabyFlakCrabBanner.cs} (93%) rename Items/Placeables/Banners/{FlakBabyBanner.png => BabyFlakCrabBanner.png} (100%) rename Items/Placeables/Banners/{GhostBellSmallBanner.cs => BabyGhostBellBanner.cs} (93%) rename Items/Placeables/Banners/{GhostBellSmallBanner.png => BabyGhostBellBanner.png} (100%) rename Items/Placeables/Banners/{PrismTurtleBanner.cs => PrismBackBanner.cs} (93%) rename Items/Placeables/Banners/{PrismTurtleBanner.png => PrismBackBanner.png} (100%) rename Items/Placeables/Banners/{AngryDogBanner.cs => RimehoundBanner.cs} (87%) rename Items/Placeables/Banners/{AngryDogBanner.png => RimehoundBanner.png} (100%) rename Items/Placeables/Banners/{PitbullBanner.cs => RotdogBanner.cs} (93%) rename Items/Placeables/Banners/{PitbullBanner.png => RotdogBanner.png} (100%) rename Items/Placeables/Banners/{SulfurousSkaterBanner.cs => SulphurousSkaterBanner.cs} (93%) rename Items/Placeables/Banners/{SulfurousSkaterBanner.png => SulphurousSkaterBanner.png} (100%) rename Items/Placeables/Furniture/{BabyFlakHermitCage.cs => BabyFlakCrabCage.cs} (67%) rename Items/Placeables/Furniture/{BabyFlakHermitCage.png => BabyFlakCrabCage.png} (100%) rename NPCs/AcidRain/{FlakBaby.cs => BabyFlakCrab.cs} (97%) rename NPCs/AcidRain/{FlakBaby.png => BabyFlakCrab.png} (100%) rename NPCs/AcidRain/{SulfurousSkater.cs => SulphurousSkater.cs} (96%) rename NPCs/AcidRain/{SulfurousSkater.png => SulphurousSkater.png} (100%) rename NPCs/AcidRain/{SulfurousSkaterGlow.png => SulphurousSkaterGlow.png} (100%) delete mode 100644 NPCs/AquaticScourge/AquaticParasite.cs delete mode 100644 NPCs/AquaticScourge/AquaticParasite.png delete mode 100644 NPCs/NormalNPCs/BlightedEye.cs delete mode 100644 NPCs/NormalNPCs/BlightedEye.png rename NPCs/NormalNPCs/{AngryDog.cs => Rimehound.cs} (95%) rename NPCs/NormalNPCs/{AngryDog.png => Rimehound.png} (100%) delete mode 100644 NPCs/NormalNPCs/SandTortoise.cs delete mode 100644 NPCs/NormalNPCs/SandTortoise.png rename NPCs/SunkenSea/{GhostBellSmall.cs => BabyGhostBell.cs} (98%) rename NPCs/SunkenSea/{GhostBellSmall.png => BabyGhostBell.png} (100%) rename NPCs/SunkenSea/{GhostBellSmallGlow.png => BabyGhostBellGlow.png} (100%) rename NPCs/SunkenSea/{PrismTurtle.cs => PrismBack.cs} (98%) rename NPCs/SunkenSea/{PrismTurtle.png => PrismBack.png} (100%) rename NPCs/SunkenSea/{PrismTurtleGlow.png => PrismBackGlow.png} (100%) rename Projectiles/Ranged/{AccelerationBulletProj.cs => AccelerationRoundProj.cs} (98%) rename Projectiles/Ranged/{AccelerationBulletProj.png => AccelerationRoundProj.png} (100%) rename Projectiles/Ranged/{AcidBulletProj.cs => AcidRoundProj.cs} (98%) rename Projectiles/Ranged/{AcidBulletProj.png => AcidRoundProj.png} (100%) rename Projectiles/Ranged/{FlashBulletProj.cs => FlashRoundProj.cs} (98%) rename Projectiles/Ranged/{FlashBulletProj.png => FlashRoundProj.png} (100%) rename Sounds/Custom/{AngryDogGrowl.cs => RimehoundGrowl.cs} (100%) rename Sounds/Custom/{AngryDogGrowl.ogg => RimehoundGrowl.ogg} (100%) rename Sounds/NPCHit/{AngryDogHit.cs => RimehoundHit.cs} (100%) rename Sounds/NPCHit/{AngryDogHit.ogg => RimehoundHit.ogg} (100%) rename Tiles/Furniture/{BabyFlakHermitCageTile.cs => BabyFlakCrabCageTile.cs} (91%) rename Tiles/Furniture/{BabyFlakHermitCageTile.png => BabyFlakCrabCageTile.png} (100%) diff --git a/Buffs/Mounts/TundraLeashBuff.cs b/Buffs/Mounts/RimehoundBuff.cs similarity index 64% rename from Buffs/Mounts/TundraLeashBuff.cs rename to Buffs/Mounts/RimehoundBuff.cs index ce5b4908bc..26f008848c 100644 --- a/Buffs/Mounts/TundraLeashBuff.cs +++ b/Buffs/Mounts/RimehoundBuff.cs @@ -1,14 +1,14 @@ -using CalamityMod.Items.Mounts; +using CalamityMod.Items.Mounts; using Terraria; using Terraria.ModLoader; namespace CalamityMod.Buffs.Mounts { - public class TundraLeashBuff : ModBuff + public class RimehoundBuff : ModBuff { public override void SetStaticDefaults() { - DisplayName.SetDefault("Angry Dog"); + DisplayName.SetDefault("Rimehound"); Description.SetDefault("You are riding an angry dog"); Main.buffNoTimeDisplay[Type] = true; Main.buffNoSave[Type] = true; @@ -16,9 +16,9 @@ namespace CalamityMod.Buffs.Mounts public override void Update(Player player, ref int buffIndex) { - player.mount.SetMount(ModContent.MountType(), player); + player.mount.SetMount(ModContent.MountType(), player); player.buffTime[buffIndex] = 10; - player.Calamity().angryDog = true; + player.Calamity().rimehound = true; } } } diff --git a/Buffs/Mounts/TundraLeashBuff.png b/Buffs/Mounts/RimehoundBuff.png similarity index 100% rename from Buffs/Mounts/TundraLeashBuff.png rename to Buffs/Mounts/RimehoundBuff.png diff --git a/Buffs/StatBuffs/SirenBobs.cs b/Buffs/StatBuffs/AquaticHeartBuff.cs similarity index 82% rename from Buffs/StatBuffs/SirenBobs.cs rename to Buffs/StatBuffs/AquaticHeartBuff.cs index ec7c5d4ba4..9c15803d85 100644 --- a/Buffs/StatBuffs/SirenBobs.cs +++ b/Buffs/StatBuffs/AquaticHeartBuff.cs @@ -1,11 +1,11 @@ -using CalamityMod.CalPlayer; +using CalamityMod.CalPlayer; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Buffs.StatBuffs { - public class SirenBobs : ModBuff + public class AquaticHeartBuff : ModBuff { public override void SetStaticDefaults() { @@ -20,9 +20,9 @@ namespace CalamityMod.Buffs.StatBuffs public override void Update(Player player, ref int buffIndex) { CalamityPlayer modPlayer = player.Calamity(); - if (modPlayer.sirenBoobsPrevious) + if (modPlayer.aquaticHeartPrevious) { - modPlayer.sirenBoobsPower = true; + modPlayer.aquaticHeartPower = true; player.ignoreWater = NPC.downedBoss3; player.accFlipper = true; if (player.breath <= player.breathMax + 2 && !modPlayer.ZoneAbyss && NPC.downedBoss3) @@ -31,7 +31,7 @@ namespace CalamityMod.Buffs.StatBuffs } if (Main.myPlayer == player.whoAmI && player.wet && NPC.downedBoss3) { - player.AddBuff(ModContent.BuffType(), 360); + player.AddBuff(ModContent.BuffType(), 360); } } else diff --git a/Buffs/StatBuffs/SirenBobs.png b/Buffs/StatBuffs/AquaticHeartBuff.png similarity index 100% rename from Buffs/StatBuffs/SirenBobs.png rename to Buffs/StatBuffs/AquaticHeartBuff.png diff --git a/Buffs/StatBuffs/SirenWaterSpeed.cs b/Buffs/StatBuffs/AquaticHeartWaterSpeed.cs similarity index 79% rename from Buffs/StatBuffs/SirenWaterSpeed.cs rename to Buffs/StatBuffs/AquaticHeartWaterSpeed.cs index c92f04799c..777ef27c12 100644 --- a/Buffs/StatBuffs/SirenWaterSpeed.cs +++ b/Buffs/StatBuffs/AquaticHeartWaterSpeed.cs @@ -1,9 +1,9 @@ -using Terraria; +using Terraria; using Terraria.ModLoader; namespace CalamityMod.Buffs.StatBuffs { - public class SirenWaterSpeed : ModBuff + public class AquaticHeartWaterSpeed : ModBuff { public override void SetStaticDefaults() { @@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.StatBuffs public override void Update(Player player, ref int buffIndex) { - player.Calamity().sirenWaterBuff = true; + player.Calamity().aquaticHeartWaterBuff = true; } } } diff --git a/Buffs/StatBuffs/SirenWaterSpeed.png b/Buffs/StatBuffs/AquaticHeartWaterSpeed.png similarity index 100% rename from Buffs/StatBuffs/SirenWaterSpeed.png rename to Buffs/StatBuffs/AquaticHeartWaterSpeed.png diff --git a/Buffs/StatBuffs/IceShieldBuff.cs b/Buffs/StatBuffs/IceShieldBuff.cs index d6cee16835..aa1990360b 100644 --- a/Buffs/StatBuffs/IceShieldBuff.cs +++ b/Buffs/StatBuffs/IceShieldBuff.cs @@ -1,4 +1,4 @@ -using Terraria; +using Terraria; using Terraria.ModLoader; namespace CalamityMod.Buffs.StatBuffs @@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.StatBuffs public override void Update(Player player, ref int buffIndex) { - player.Calamity().sirenIce = true; + player.Calamity().aquaticHeartIce = true; } } } diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index a6aca07cee..823454f1f6 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -353,7 +353,7 @@ namespace CalamityMod.CalPlayer #region Mount public bool onyxExcavator = false; - public bool angryDog = false; + public bool rimehound = false; public bool fab = false; public bool crysthamyr = false; public bool ExoChair = false; @@ -473,7 +473,7 @@ namespace CalamityMod.CalPlayer public bool fungalSymbiote = false; public bool trinketOfChi = false; public bool gladiatorSword = false; - public bool unstablePrism = false; + public bool unstableGraniteCore = false; public bool regenator = false; public bool theBee = false; public int theBeeCooldown = 0; @@ -494,7 +494,7 @@ namespace CalamityMod.CalPlayer public bool dodgeScarf = false; public bool evasionScarf = false; public bool badgeOfBravery = false; - public bool badgeOfBraveryRare = false; + public bool warbannerOfTheSun = false; public float warBannerBonus = 0f; private const float maxWarBannerBonus = 0.2f; private const float maxWarBannerDistance = 480f; @@ -512,8 +512,8 @@ namespace CalamityMod.CalPlayer public bool deepDiver = false; public bool abyssalDivingSuitPlates = false; public int abyssalDivingSuitPlateHits = 0; - public bool sirenWaterBuff = false; - public bool sirenIce = false; + public bool aquaticHeartWaterBuff = false; + public bool aquaticHeartIce = false; public bool aSpark = false; public bool aSparkRare = false; public bool aBulwarkRare = false; @@ -536,7 +536,7 @@ namespace CalamityMod.CalPlayer public bool gSabaton = false; public int gSabatonFall = 0; public int gSabatonCooldown = 0; - public bool sGenerator = false; + public bool sGlyph = false; public bool sRegen = false; public bool IBoots = false; public bool elysianFire = false; @@ -583,7 +583,7 @@ namespace CalamityMod.CalPlayer public bool spiritOrigin = false; public bool spiritOriginVanity = false; public bool darkSunRing = false; - public bool calamityRing = false; + public bool voidOfCalamity = false; public bool voidOfExtinction = false; public bool eArtifact = false; public bool dArtifact = false; @@ -591,7 +591,7 @@ namespace CalamityMod.CalPlayer public bool pArtifact = false; public bool giantPearl = false; public bool normalityRelocator = false; - public bool fabledTortoise = false; + public bool flameLickedShell = false; public bool manaOverloader = false; public bool royalGel = false; public bool handWarmer = false; @@ -605,7 +605,7 @@ namespace CalamityMod.CalPlayer public bool voltaicJelly = false; public bool jellyChargedBattery = false; public float jellyDmg; - public bool dukeScales = false; + public bool oldDukeScales = false; public bool sandWaifu = false; public bool sandBoobWaifu = false; public bool cloudWaifu = false; @@ -1104,11 +1104,11 @@ namespace CalamityMod.CalPlayer public bool profanedCrystalHide; public KeyValuePair profanedCrystalWingCounter = new KeyValuePair(0, 10); public KeyValuePair profanedCrystalAnimCounter = new KeyValuePair(0, 10); - public bool sirenBoobsPrevious; - public bool sirenBoobs; - public bool sirenBoobsHide; - public bool sirenBoobsForce; - public bool sirenBoobsPower; + public bool aquaticHeartPrevious; + public bool aquaticHeart; + public bool aquaticHeartHide; + public bool aquaticHeartForce; + public bool aquaticHeartPower; public bool snowmanPrevious; public bool snowman; public bool snowmanHide; @@ -1580,7 +1580,7 @@ namespace CalamityMod.CalPlayer pineapplePet = false; onyxExcavator = false; - angryDog = false; + rimehound = false; fab = false; crysthamyr = false; ExoChair = false; @@ -1588,8 +1588,8 @@ namespace CalamityMod.CalPlayer abyssalDivingSuitPlates = false; - sirenWaterBuff = false; - sirenIce = false; + aquaticHeartWaterBuff = false; + aquaticHeartIce = false; draedonsHeart = false; @@ -1661,7 +1661,7 @@ namespace CalamityMod.CalPlayer fungalSymbiote = false; trinketOfChi = false; gladiatorSword = false; - unstablePrism = false; + unstableGraniteCore = false; regenator = false; deepDiver = false; theBee = false; @@ -1674,7 +1674,7 @@ namespace CalamityMod.CalPlayer vexation = false; fBulwark = false; badgeOfBravery = false; - badgeOfBraveryRare = false; + warbannerOfTheSun = false; aSpark = false; aSparkRare = false; aBulwarkRare = false; @@ -1727,7 +1727,7 @@ namespace CalamityMod.CalPlayer harpyWingBoost = false; //harpy wings + harpy ring fleshKnuckles = false; darkSunRing = false; - calamityRing = false; + voidOfCalamity = false; voidOfExtinction = false; eArtifact = false; dArtifact = false; @@ -1735,14 +1735,14 @@ namespace CalamityMod.CalPlayer pArtifact = false; giantPearl = false; normalityRelocator = false; - fabledTortoise = false; + flameLickedShell = false; manaOverloader = false; royalGel = false; handWarmer = false; lol = false; raiderTalisman = false; gSabaton = false; - sGenerator = false; + sGlyph = false; sRegen = false; hallowedRune = false; phantomicArtifact = false; @@ -1760,7 +1760,7 @@ namespace CalamityMod.CalPlayer thiefsDime = false; dynamoStemCells = false; etherealExtorter = false; - dukeScales = false; + oldDukeScales = false; blazingCore = false; voltaicJelly = false; jellyChargedBattery = false; @@ -2137,8 +2137,8 @@ namespace CalamityMod.CalPlayer abyssalDivingSuitPrevious = abyssalDivingSuit; abyssalDivingSuit = abyssalDivingSuitHide = abyssalDivingSuitForce = abyssalDivingSuitPower = false; - sirenBoobsPrevious = sirenBoobs; - sirenBoobs = sirenBoobsHide = sirenBoobsForce = sirenBoobsPower = false; + aquaticHeartPrevious = aquaticHeart; + aquaticHeart = aquaticHeartHide = aquaticHeartForce = aquaticHeartPower = false; profanedCrystalPrevious = profanedCrystal; profanedCrystal = profanedCrystalBuffs = profanedCrystalForce = profanedCrystalHide = false; @@ -2346,13 +2346,13 @@ namespace CalamityMod.CalPlayer hallowedRegen = false; hallowedPower = false; onyxExcavator = false; - angryDog = false; + rimehound = false; fab = false; crysthamyr = false; ExoChair = false; abyssalDivingSuitPlates = false; - sirenWaterBuff = false; - sirenIce = false; + aquaticHeartWaterBuff = false; + aquaticHeartIce = false; trinketOfChiBuff = false; chiBuffTimer = 0; corrEffigy = false; @@ -3372,10 +3372,10 @@ namespace CalamityMod.CalPlayer abyssalDivingSuitHide = false; abyssalDivingSuitForce = true; } - else if (item.type == ModContent.ItemType()) + else if (item.type == ModContent.ItemType()) { - sirenBoobsHide = false; - sirenBoobsForce = true; + aquaticHeartHide = false; + aquaticHeartForce = true; } else if (item.type == ModContent.ItemType()) { @@ -3491,7 +3491,7 @@ namespace CalamityMod.CalPlayer { meleeSpeedMult += 0.15f; } - if (badgeOfBraveryRare) + if (warbannerOfTheSun) { int closestNPC = -1; for (int i = 0; i < Main.maxNPCs; i++) @@ -3634,11 +3634,11 @@ namespace CalamityMod.CalPlayer } } - if (sirenBoobs) + if (aquaticHeart) { - Player.AddBuff(ModContent.BuffType(), 60, true); + Player.AddBuff(ModContent.BuffType(), 60, true); } - if (sirenBoobs && NPC.downedBoss3) + if (aquaticHeart && NPC.downedBoss3) { if (Player.whoAmI == Main.myPlayer && !Player.HasCooldown(AquaticHeartIceShield.ID)) { @@ -3819,7 +3819,7 @@ namespace CalamityMod.CalPlayer (shadowSpeed ? 0.5f : 0f) + (stressPills ? 0.05f : 0f) + ((abyssalDivingSuit && Player.IsUnderwater()) ? 0.05f : 0f) + - (sirenWaterBuff ? 0.15f : 0f) + + (aquaticHeartWaterBuff ? 0.15f : 0f) + ((frostFlare && Player.statLife < (int)(Player.statLifeMax2 * 0.25)) ? 0.15f : 0f) + (dragonScales ? 0.1f : 0f) + (kamiBoost ? KamiBuff.RunAccelerationBoost : 0f) + @@ -3834,7 +3834,7 @@ namespace CalamityMod.CalPlayer (shadowSpeed ? 0.5f : 0f) + (stressPills ? 0.05f : 0f) + ((abyssalDivingSuit && Player.IsUnderwater()) ? 0.05f : 0f) + - (sirenWaterBuff ? 0.15f : 0f) + + (aquaticHeartWaterBuff ? 0.15f : 0f) + ((frostFlare && Player.statLife < (int)(Player.statLifeMax2 * 0.25)) ? 0.15f : 0f) + (dragonScales ? 0.1f : 0f) + (kamiBoost ? KamiBuff.RunSpeedBoost : 0f) + @@ -3850,7 +3850,7 @@ namespace CalamityMod.CalPlayer runAccMult *= multiplier; runSpeedMult *= multiplier; } - if (fabledTortoise) + if (flameLickedShell) { float multiplier = shellBoost ? 0.8f : 0.5f; runAccMult *= multiplier; @@ -4831,7 +4831,7 @@ namespace CalamityMod.CalPlayer int knockbackAdd = (int)(damage * 0.15 * (1f - target.knockBackResist)); damage += knockbackAdd; } - if (proj.type == ModContent.ProjectileType()) + if (proj.type == ModContent.ProjectileType()) { int defenseAdd = (int)(target.defense * 0.05 * (proj.damage / 50D) * acidRoundMultiplier); //100 defense * 0.05 = 5 damage += defenseAdd; @@ -4907,7 +4907,7 @@ namespace CalamityMod.CalPlayer break; } - if (proj.type == ModContent.ProjectileType() && heldItem.type == ModContent.ItemType()) + if (proj.type == ModContent.ProjectileType() && heldItem.type == ModContent.ItemType()) damage = (int)(damage * 0.75); } @@ -5214,7 +5214,7 @@ namespace CalamityMod.CalPlayer if (abyssalDivingSuitPlates) contactDamageReduction += 0.15 - abyssalDivingSuitPlateHits * 0.03; - if (sirenIce) + if (aquaticHeartIce) contactDamageReduction += 0.2; if (encased) @@ -5241,7 +5241,7 @@ namespace CalamityMod.CalPlayer } } - if (Player.mount.Active && (Player.mount.Type == ModContent.MountType() || Player.mount.Type == ModContent.MountType()) && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) + if (Player.mount.Active && (Player.mount.Type == ModContent.MountType() || Player.mount.Type == ModContent.MountType()) && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) contactDamageReduction += 0.1; if (vHex) @@ -5253,7 +5253,7 @@ namespace CalamityMod.CalPlayer if (corrEffigy) contactDamageReduction -= 0.05; - if (calamityRing && !voidOfExtinction) + if (voidOfCalamity && !voidOfExtinction) contactDamageReduction -= 0.15; // 10% is converted to 9%, 25% is converted to 20%, 50% is converted to 33%, 75% is converted to 43%, 100% is converted to 50% @@ -5513,7 +5513,7 @@ namespace CalamityMod.CalPlayer if (abyssalDivingSuitPlates) projectileDamageReduction += 0.15 - abyssalDivingSuitPlateHits * 0.03; - if (sirenIce) + if (aquaticHeartIce) projectileDamageReduction += 0.2; if (encased) @@ -5540,7 +5540,7 @@ namespace CalamityMod.CalPlayer } } - if (Player.mount.Active && (Player.mount.Type == ModContent.MountType() || Player.mount.Type == ModContent.MountType()) && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) + if (Player.mount.Active && (Player.mount.Type == ModContent.MountType() || Player.mount.Type == ModContent.MountType()) && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) projectileDamageReduction += 0.1; if (vHex) @@ -5552,7 +5552,7 @@ namespace CalamityMod.CalPlayer if (corrEffigy) projectileDamageReduction -= 0.05; - if (calamityRing && !voidOfExtinction) + if (voidOfCalamity && !voidOfExtinction) projectileDamageReduction -= 0.15; // 10% is converted to 9%, 25% is converted to 20%, 50% is converted to 33%, 75% is converted to 43%, 100% is converted to 50% @@ -6415,11 +6415,11 @@ namespace CalamityMod.CalPlayer Player.head = Mod.GetEquipSlot("AbyssalDivingSuit", EquipType.Head); Player.face = -1; } - else if ((sirenBoobsPower || sirenBoobsForce) && !sirenBoobsHide) + else if ((aquaticHeartPower || aquaticHeartForce) && !aquaticHeartHide) { - Player.legs = Mod.GetEquipSlot("SirensHeart", EquipType.Legs); - Player.body = Mod.GetEquipSlot("SirensHeart", EquipType.Body); - Player.head = Mod.GetEquipSlot("SirensHeart", EquipType.Head); + Player.legs = Mod.GetEquipSlot("AquaticHeart", EquipType.Legs); + Player.body = Mod.GetEquipSlot("AquaticHeart", EquipType.Body); + Player.head = Mod.GetEquipSlot("AquaticHeart", EquipType.Head); Player.face = -1; } else if (meldTransformationPower || meldTransformationForce) @@ -6599,7 +6599,7 @@ namespace CalamityMod.CalPlayer SoundEngine.PlaySound(SoundID.NPCHit, (int)Player.position.X, (int)Player.position.Y, 4, 1f, 0f); //metal hit noise hurtSoundTimer = 10; } - else if ((sirenBoobsPower || sirenBoobsForce) && !sirenBoobsHide) + else if ((aquaticHeartPower || aquaticHeartForce) && !aquaticHeartHide) { playSound = false; SoundEngine.PlaySound(SoundID.FemaleHit, (int)Player.position.X, (int)Player.position.Y, 1, 1f, 0f); //female hit noise @@ -6761,7 +6761,7 @@ namespace CalamityMod.CalPlayer SoundEngine.PlaySound(SoundID.Item, (int)Player.position.X, (int)Player.position.Y, 96); } - if ((gShell || fabledTortoise) && !Player.panic) + if ((gShell || flameLickedShell) && !Player.panic) Player.AddBuff(ModContent.BuffType(), 180); if (abyssalDivingSuitPlates && damage > 50) @@ -6800,7 +6800,7 @@ namespace CalamityMod.CalPlayer } } - if (sirenIce) + if (aquaticHeartIce) { SoundEngine.PlaySound(SoundID.NPCKilled, (int)Player.Center.X, (int)Player.Center.Y, 7); Player.AddCooldown(AquaticHeartIceShield.ID, CalamityUtils.SecondsToFrames(30)); @@ -6841,7 +6841,7 @@ namespace CalamityMod.CalPlayer Player.AddBuff(ModContent.BuffType(), 180); } - if ((fBarrier || (sirenBoobs && NPC.downedBoss3)) && !areThereAnyDamnBosses) + if ((fBarrier || (aquaticHeart && NPC.downedBoss3)) && !areThereAnyDamnBosses) { SoundEngine.PlaySound(SoundID.Item, (int)Player.position.X, (int)Player.position.Y, 27); for (int m = 0; m < Main.maxNPCs; m++) @@ -8454,7 +8454,7 @@ namespace CalamityMod.CalPlayer ModCollideWithNPCs(rect, damage, knockback, NPCImmuneTime, playerImmuneTime); } - if (Player.mount.Active && Player.mount.Type == ModContent.MountType() && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) + if (Player.mount.Active && Player.mount.Type == ModContent.MountType() && Math.Abs(Player.velocity.X) > Player.mount.RunSpeed / 2f) { Rectangle rect2 = Player.getRect(); @@ -9944,7 +9944,7 @@ namespace CalamityMod.CalPlayer light += 1; if (fathomSwarmerVisage) light += 1; - if (sirenBoobs) + if (aquaticHeart) light += 1; if (aAmpoule) light += 1; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 31edb17686..36246a1f41 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -718,7 +718,7 @@ namespace CalamityMod.CalPlayer Player.buffImmune[BuffID.Electrified] = true; // Reduce breath meter while in icy water instead of chilling - bool canBreath = (sirenBoobs && NPC.downedBoss3) || Player.gills || Player.merman; + bool canBreath = (aquaticHeart && NPC.downedBoss3) || Player.gills || Player.merman; if (Player.arcticDivingGear || canBreath) { Player.buffImmune[ModContent.BuffType()] = true; @@ -1371,13 +1371,13 @@ namespace CalamityMod.CalPlayer light[1] += Main.DiscoG / 400f; light[2] += 0.5f; } - if (sirenIce) + if (aquaticHeartIce) { light[0] += 0.35f; light[1] += 1f; light[2] += 1.25f; } - if (sirenBoobs) + if (aquaticHeart) { light[0] += 0.1f; light[1] += 1f; @@ -1767,7 +1767,7 @@ namespace CalamityMod.CalPlayer (aquaticEmblem ? 0.25 : 0D) - // 0.75 (Player.accMerman ? 0.3 : 0D) - // 0.7 (victideSet ? 0.2 : 0D) - // 0.85 - ((sirenBoobs && NPC.downedBoss3) ? 0.3 : 0D) - // 0.7 + ((aquaticHeart && NPC.downedBoss3) ? 0.3 : 0D) - // 0.7 (abyssalDivingSuit ? 0.3 : 0D); // 0.7 // Limit the multiplier to 5% @@ -1831,7 +1831,7 @@ namespace CalamityMod.CalPlayer (aquaticEmblem ? 10D : 0D) + // 40 (Player.accMerman ? 15D : 0D) + // 55 (victideSet ? 5D : 0D) + // 60 - ((sirenBoobs && NPC.downedBoss3) ? 15D : 0D) + // 75 + ((aquaticHeart && NPC.downedBoss3) ? 15D : 0D) + // 75 (abyssalDivingSuit ? 15D : 0D); // 90 // Limit the multiplier to 50 @@ -2871,7 +2871,7 @@ namespace CalamityMod.CalPlayer Player.statDefense += 10; } - if (badgeOfBraveryRare) + if (warbannerOfTheSun) Player.GetDamage(DamageClass.Melee) += warBannerBonus; // The player's true max life value with Calamity adjustments @@ -3161,7 +3161,7 @@ namespace CalamityMod.CalPlayer Player.npcTypeNoAggro[ModContent.NPCType()] = true; } - if (dukeScales) + if (oldDukeScales) { Player.buffImmune[ModContent.BuffType()] = true; Player.buffImmune[BuffID.Poisoned] = true; @@ -3560,7 +3560,7 @@ namespace CalamityMod.CalPlayer (Player.kbGlove ? 0.1 : 0) + (eGauntlet ? 0.1 : 0) + (yInsignia ? 0.1 : 0) + - (badgeOfBraveryRare ? warBannerBonus : 0); + (warbannerOfTheSun ? warBannerBonus : 0); trueMeleeDamage += damageAdd; // Amalgam boosts diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 4cce315d5d..60dcebbd5f 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -617,7 +617,7 @@ namespace CalamityMod.CalPlayer for (int n = 0; n < 3; n++) CalamityUtils.ProjectileRain(source, Player.Center, 400f, 100f, 500f, 800f, 29f, ProjectileType(), (int)(320 * Player.AverageDamage()), 5f, Player.whoAmI); } - if (unstablePrism && crit && Player.ownedProjectileCounts[ProjectileType()] < 5) + if (unstableGraniteCore && crit && Player.ownedProjectileCounts[ProjectileType()] < 5) { for (int s = 0; s < 3; s++) { @@ -699,7 +699,7 @@ namespace CalamityMod.CalPlayer if (npcCheck) { - if (unstablePrism && crit && Player.ownedProjectileCounts[ProjectileType()] < 5) + if (unstableGraniteCore && crit && Player.ownedProjectileCounts[ProjectileType()] < 5) { for (int s = 0; s < 3; s++) { @@ -927,7 +927,7 @@ namespace CalamityMod.CalPlayer }); Player.AddBuff(buffType, 60); } - else if (sGenerator) + else if (sGlyph) { int buffType = Utils.SelectRandom(Main.rand, new int[] { diff --git a/CalPlayer/DrawLayers/SirenIceShieldLayer.cs b/CalPlayer/DrawLayers/AquaticHeartIceShieldLayer.cs similarity index 85% rename from CalPlayer/DrawLayers/SirenIceShieldLayer.cs rename to CalPlayer/DrawLayers/AquaticHeartIceShieldLayer.cs index 59073dc128..bb7f69fbff 100644 --- a/CalPlayer/DrawLayers/SirenIceShieldLayer.cs +++ b/CalPlayer/DrawLayers/AquaticHeartIceShieldLayer.cs @@ -6,11 +6,11 @@ using Terraria.ModLoader; namespace CalamityMod.CalPlayer.DrawLayers { - public class SirenIceShieldLayer : PlayerDrawLayer + public class AquaticHeartIceShieldLayer : PlayerDrawLayer { public override Position GetDefaultPosition() => new AfterParent(PlayerDrawLayers.BackAcc); - public override bool GetDefaultVisibility(PlayerDrawSet drawInfo) => drawInfo.drawPlayer.Calamity().sirenIce && drawInfo.shadow == 0f; + public override bool GetDefaultVisibility(PlayerDrawSet drawInfo) => drawInfo.drawPlayer.Calamity().aquaticHeartIce && drawInfo.shadow == 0f; protected override void Draw(ref PlayerDrawSet drawInfo) { diff --git a/CalamityLists.cs b/CalamityLists.cs index 4eebd3f7f1..3c5c4b8dc1 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -783,10 +783,9 @@ namespace CalamityMod confusionEnemyList = new List() { NPCType(), - NPCType(), + NPCType(), NPCType(), NPCType(), - NPCType(), NPCType(), NPCType(), NPCType(), @@ -804,7 +803,6 @@ namespace CalamityMod NPCType(), NPCType(), NPCType(), - NPCType(), NPCType(), NPCType(), NPCType(), @@ -1123,7 +1121,7 @@ namespace CalamityMod NPCID.BlazingWheel, NPCType(), NPCType(), - NPCType(), + NPCType(), NPCType() }; @@ -1736,7 +1734,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), @@ -2697,7 +2695,7 @@ namespace CalamityMod legOverrideList = new List() { CalamityMod.Instance.GetEquipSlot("ProfanedSoulCrystal", EquipType.Legs), - CalamityMod.Instance.GetEquipSlot("SirensHeart", EquipType.Legs), + CalamityMod.Instance.GetEquipSlot("AquaticHeart", EquipType.Legs), //CalamityMod.Instance.GetEquipSlot("SirenLeg", EquipType.Legs), whate even was SirenLeg vs SirenLegAlt? CalamityMod.Instance.GetEquipSlot("Popo", EquipType.Legs) }; diff --git a/Events/AcidRainEvent.cs b/Events/AcidRainEvent.cs index 5b8083bb03..7cd44ce3a1 100644 --- a/Events/AcidRainEvent.cs +++ b/Events/AcidRainEvent.cs @@ -67,7 +67,7 @@ namespace CalamityMod.Events { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) } + { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) } }; public static Dictionary PossibleEnemiesPolter = new() @@ -80,7 +80,7 @@ namespace CalamityMod.Events { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) }, { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Anywhere) } }; diff --git a/Events/BossRushEvent.cs b/Events/BossRushEvent.cs index 1c17246f9c..53729f00a4 100644 --- a/Events/BossRushEvent.cs +++ b/Events/BossRushEvent.cs @@ -159,8 +159,7 @@ namespace CalamityMod.Events new Boss(ModContent.NPCType(), TimeChangeContext.Day, permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), }), new Boss(ModContent.NPCType(), permittedNPCs: new int[] { ModContent.NPCType(), ModContent.NPCType(), - ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), - ModContent.NPCType(), ModContent.NPCType() }), + ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType(), ModContent.NPCType() }), new Boss(ModContent.NPCType(), spawnContext: type => { diff --git a/Items/Accessories/SirensHeart.cs b/Items/Accessories/AquaticHeart.cs similarity index 88% rename from Items/Accessories/SirensHeart.cs rename to Items/Accessories/AquaticHeart.cs index 4a0b21141b..8b99960785 100644 --- a/Items/Accessories/SirensHeart.cs +++ b/Items/Accessories/AquaticHeart.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class SirensHeart : ModItem + public class AquaticHeart : ModItem { public override void Load() { @@ -14,9 +14,9 @@ namespace CalamityMod.Items.Accessories if (Main.netMode != NetmodeID.Server) { // Add equip textures - Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Head, "CalamityMod/Items/Accessories/SirenTrans_Head"); - Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Body, "CalamityMod/Items/Accessories/SirenTrans_Body"); - Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Legs, "CalamityMod/Items/Accessories/SirenTrans_Legs"); + Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Head, "CalamityMod/Items/Accessories/AquaticTrans_Head"); + Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Body, "CalamityMod/Items/Accessories/AquaticTrans_Body"); + Mod.AddEquipTexture(new EquipTexture(), this, EquipType.Legs, "CalamityMod/Items/Accessories/AquaticTrans_Legs"); } } @@ -57,9 +57,9 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.sirenBoobs = true; + modPlayer.aquaticHeart = true; if (hideVisual) - modPlayer.sirenBoobsHide = true; + modPlayer.aquaticHeartHide = true; } } } diff --git a/Items/Accessories/SirensHeart.png b/Items/Accessories/AquaticHeart.png similarity index 100% rename from Items/Accessories/SirensHeart.png rename to Items/Accessories/AquaticHeart.png diff --git a/Items/Accessories/SirenTrans_Arms.png b/Items/Accessories/AquaticTrans_Arms.png similarity index 100% rename from Items/Accessories/SirenTrans_Arms.png rename to Items/Accessories/AquaticTrans_Arms.png diff --git a/Items/Accessories/SirenTrans_Body.png b/Items/Accessories/AquaticTrans_Body.png similarity index 100% rename from Items/Accessories/SirenTrans_Body.png rename to Items/Accessories/AquaticTrans_Body.png diff --git a/Items/Accessories/SirenTrans_Head.png b/Items/Accessories/AquaticTrans_Head.png similarity index 100% rename from Items/Accessories/SirenTrans_Head.png rename to Items/Accessories/AquaticTrans_Head.png diff --git a/Items/Accessories/SirenTrans_Legs.png b/Items/Accessories/AquaticTrans_Legs.png similarity index 100% rename from Items/Accessories/SirenTrans_Legs.png rename to Items/Accessories/AquaticTrans_Legs.png diff --git a/Items/Accessories/DaedalusEmblem.cs b/Items/Accessories/ArtemisEmblem.cs similarity index 97% rename from Items/Accessories/DaedalusEmblem.cs rename to Items/Accessories/ArtemisEmblem.cs index eb79f2cecd..c620ea7a56 100644 --- a/Items/Accessories/DaedalusEmblem.cs +++ b/Items/Accessories/ArtemisEmblem.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class DaedalusEmblem : ModItem + public class ArtemisEmblem : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/DaedalusEmblem.png b/Items/Accessories/ArtemisEmblem.png similarity index 100% rename from Items/Accessories/DaedalusEmblem.png rename to Items/Accessories/ArtemisEmblem.png diff --git a/Items/Accessories/DaawnlightSpiritOrigin.cs b/Items/Accessories/DaawnlightSpiritOrigin.cs index 6c28841cc8..d131673708 100644 --- a/Items/Accessories/DaawnlightSpiritOrigin.cs +++ b/Items/Accessories/DaawnlightSpiritOrigin.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.LunarBar). AddIngredient(15). AddIngredient(15). diff --git a/Items/Accessories/ElementalQuiver.cs b/Items/Accessories/ElementalQuiver.cs index f2ef062090..44bc8af73d 100644 --- a/Items/Accessories/ElementalQuiver.cs +++ b/Items/Accessories/ElementalQuiver.cs @@ -45,7 +45,7 @@ namespace CalamityMod.Items.Accessories { CreateRecipe(). AddIngredient(ItemID.MagicQuiver). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.LunarBar, 8). AddIngredient(4). AddIngredient(4). diff --git a/Items/Accessories/FabledTortoiseShell.cs b/Items/Accessories/FlameLickedShell.cs similarity index 94% rename from Items/Accessories/FabledTortoiseShell.cs rename to Items/Accessories/FlameLickedShell.cs index 54495022e1..83424fc617 100644 --- a/Items/Accessories/FabledTortoiseShell.cs +++ b/Items/Accessories/FlameLickedShell.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class FabledTortoiseShell : ModItem + public class FlameLickedShell : ModItem { public override void SetStaticDefaults() { @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.fabledTortoise = true; + modPlayer.flameLickedShell = true; player.lavaMax += 240; float moveSpeedDecrease = modPlayer.shellBoost ? 0.15f : 0.35f; player.moveSpeed -= moveSpeedDecrease; diff --git a/Items/Accessories/FabledTortoiseShell.png b/Items/Accessories/FlameLickedShell.png similarity index 100% rename from Items/Accessories/FabledTortoiseShell.png rename to Items/Accessories/FlameLickedShell.png diff --git a/Items/Accessories/HallowedRune.cs b/Items/Accessories/HallowedRune.cs index 3cd04e0da7..2010bc6c6a 100644 --- a/Items/Accessories/HallowedRune.cs +++ b/Items/Accessories/HallowedRune.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.HallowedBar, 18). AddIngredient(ItemID.SoulofFright, 5). AddIngredient(ItemID.SoulofMight, 5). diff --git a/Items/Accessories/DukeScales.cs b/Items/Accessories/OldDukeScales.cs similarity index 93% rename from Items/Accessories/DukeScales.cs rename to Items/Accessories/OldDukeScales.cs index 0ebdc1d8cb..5b0c5d8afa 100644 --- a/Items/Accessories/DukeScales.cs +++ b/Items/Accessories/OldDukeScales.cs @@ -5,7 +5,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class DukeScales : ModItem + public class OldDukeScales : ModItem { public override void SetStaticDefaults() { @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.dukeScales = true; + modPlayer.oldDukeScales = true; } } } diff --git a/Items/Accessories/DukeScales.png b/Items/Accessories/OldDukeScales.png similarity index 100% rename from Items/Accessories/DukeScales.png rename to Items/Accessories/OldDukeScales.png diff --git a/Items/Accessories/ChaosAmulet.cs b/Items/Accessories/SpelunkersAmulet.cs similarity index 96% rename from Items/Accessories/ChaosAmulet.cs rename to Items/Accessories/SpelunkersAmulet.cs index d8b6422e32..df3b5fc584 100644 --- a/Items/Accessories/ChaosAmulet.cs +++ b/Items/Accessories/SpelunkersAmulet.cs @@ -5,7 +5,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class ChaosAmulet : ModItem + public class SpelunkersAmulet : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/ChaosAmulet.png b/Items/Accessories/SpelunkersAmulet.png similarity index 100% rename from Items/Accessories/ChaosAmulet.png rename to Items/Accessories/SpelunkersAmulet.png diff --git a/Items/Accessories/SpiritGenerator.cs b/Items/Accessories/SpiritGlyph.cs similarity index 93% rename from Items/Accessories/SpiritGenerator.cs rename to Items/Accessories/SpiritGlyph.cs index 67cafc5e57..390c92f4db 100644 --- a/Items/Accessories/SpiritGenerator.cs +++ b/Items/Accessories/SpiritGlyph.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class SpiritGenerator : ModItem + public class SpiritGlyph : ModItem { public override void SetStaticDefaults() { @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.sGenerator = true; + modPlayer.sGlyph = true; } public override void AddRecipes() diff --git a/Items/Accessories/SpiritGenerator.png b/Items/Accessories/SpiritGlyph.png similarity index 100% rename from Items/Accessories/SpiritGenerator.png rename to Items/Accessories/SpiritGlyph.png diff --git a/Items/Accessories/StatisBeltOfCurses.cs b/Items/Accessories/StatisVoidSash.cs similarity index 97% rename from Items/Accessories/StatisBeltOfCurses.cs rename to Items/Accessories/StatisVoidSash.cs index f9129c79f4..1e95699dd3 100644 --- a/Items/Accessories/StatisBeltOfCurses.cs +++ b/Items/Accessories/StatisVoidSash.cs @@ -8,7 +8,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class StatisBeltOfCurses : ModItem + public class StatisVoidSash : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/StatisBeltOfCurses.png b/Items/Accessories/StatisVoidSash.png similarity index 100% rename from Items/Accessories/StatisBeltOfCurses.png rename to Items/Accessories/StatisVoidSash.png diff --git a/Items/Accessories/Sponge.cs b/Items/Accessories/TheSponge.cs similarity index 89% rename from Items/Accessories/Sponge.cs rename to Items/Accessories/TheSponge.cs index 73ad2566eb..e6a6d902c8 100644 --- a/Items/Accessories/Sponge.cs +++ b/Items/Accessories/TheSponge.cs @@ -11,9 +11,9 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class Sponge : ModItem + public class TheSponge : ModItem { - public override string Texture => (DateTime.Now.Month == 4 && DateTime.Now.Day == 1) ? "CalamityMod/Items/Accessories/SpongeReal" : "CalamityMod/Items/Accessories/Sponge"; + public override string Texture => (DateTime.Now.Month == 4 && DateTime.Now.Day == 1) ? "CalamityMod/Items/Accessories/TheSpongeReal" : "CalamityMod/Items/Accessories/TheSponge"; public override void SetStaticDefaults() { @@ -54,18 +54,18 @@ namespace CalamityMod.Items.Accessories public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) { - if (Texture == "CalamityMod/Items/Accessories/Sponge") + if (Texture == "CalamityMod/Items/Accessories/TheSponge") { - Texture2D tex = ModContent.Request("CalamityMod/Items/Accessories/SpongeShield").Value; + Texture2D tex = ModContent.Request("CalamityMod/Items/Accessories/TheSpongeShield").Value; spriteBatch.Draw(tex, Item.Center - Main.screenPosition + new Vector2(0f, 0f), Main.itemAnimations[Item.type].GetFrame(tex), Color.Cyan * 0.5f, 0f, new Vector2(tex.Width / 2f, (tex.Height / 30f ) * 0.8f), 1f, SpriteEffects.None, 0); } } public override void PostDrawInInventory(SpriteBatch spriteBatch, Vector2 position, Rectangle frame, Color drawColor, Color itemColor, Vector2 origin, float scale) { - if (Texture == "CalamityMod/Items/Accessories/Sponge") + if (Texture == "CalamityMod/Items/Accessories/TheSponge") { - Texture2D tex = ModContent.Request("CalamityMod/Items/Accessories/SpongeShield").Value; + Texture2D tex = ModContent.Request("CalamityMod/Items/Accessories/TheSpongeShield").Value; spriteBatch.Draw(tex, position, Main.itemAnimations[Item.type].GetFrame(tex), Color.Cyan * 0.4f, 0f, origin, scale, SpriteEffects.None, 0); } } diff --git a/Items/Accessories/Sponge.png b/Items/Accessories/TheSponge.png similarity index 100% rename from Items/Accessories/Sponge.png rename to Items/Accessories/TheSponge.png diff --git a/Items/Accessories/SpongeReal.png b/Items/Accessories/TheSpongeReal.png similarity index 100% rename from Items/Accessories/SpongeReal.png rename to Items/Accessories/TheSpongeReal.png diff --git a/Items/Accessories/SpongeShield.png b/Items/Accessories/TheSpongeShield.png similarity index 100% rename from Items/Accessories/SpongeShield.png rename to Items/Accessories/TheSpongeShield.png diff --git a/Items/Accessories/UnstablePrism.cs b/Items/Accessories/UnstableGraniteCore.cs similarity index 91% rename from Items/Accessories/UnstablePrism.cs rename to Items/Accessories/UnstableGraniteCore.cs index 212b1192db..55d44aac89 100644 --- a/Items/Accessories/UnstablePrism.cs +++ b/Items/Accessories/UnstableGraniteCore.cs @@ -7,7 +7,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class UnstablePrism : ModItem + public class UnstableGraniteCore : ModItem { public override void SetStaticDefaults() { @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.unstablePrism = true; + modPlayer.unstableGraniteCore = true; } } } diff --git a/Items/Accessories/UnstablePrism.png b/Items/Accessories/UnstableGraniteCore.png similarity index 100% rename from Items/Accessories/UnstablePrism.png rename to Items/Accessories/UnstableGraniteCore.png diff --git a/Items/Accessories/CalamityRing.cs b/Items/Accessories/VoidofCalamity.cs similarity index 92% rename from Items/Accessories/CalamityRing.cs rename to Items/Accessories/VoidofCalamity.cs index 92535c0bae..e1169f4fc6 100644 --- a/Items/Accessories/CalamityRing.cs +++ b/Items/Accessories/VoidofCalamity.cs @@ -7,7 +7,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { - public class CalamityRing : ModItem + public class VoidofCalamity : ModItem { public override void SetStaticDefaults() { @@ -27,12 +27,12 @@ namespace CalamityMod.Items.Accessories Item.accessory = true; } - public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().calamityRing; + public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().voidOfCalamity; public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.calamityRing = true; + modPlayer.voidOfCalamity = true; player.GetDamage() += 0.15f; player.endurance -= 0.1f; if (player.whoAmI == Main.myPlayer) diff --git a/Items/Accessories/CalamityRing.png b/Items/Accessories/VoidofCalamity.png similarity index 100% rename from Items/Accessories/CalamityRing.png rename to Items/Accessories/VoidofCalamity.png diff --git a/Items/Accessories/VoidofExtinction.cs b/Items/Accessories/VoidofExtinction.cs index 49d1463665..a9ec23d6a2 100644 --- a/Items/Accessories/VoidofExtinction.cs +++ b/Items/Accessories/VoidofExtinction.cs @@ -35,14 +35,14 @@ namespace CalamityMod.Items.Accessories Item.accessory = true; } - public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().calamityRing; + public override bool CanEquipAccessory(Player player, int slot, bool modded) => !player.Calamity().voidOfCalamity; public override void AddRecipes() { CreateRecipe(). AddIngredient(ItemID.ObsidianRose). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(3). AddTile(TileID.MythrilAnvil). @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Accessories { var source = player.GetSource_Accessory(Item); CalamityPlayer modPlayer = player.Calamity(); - modPlayer.calamityRing = true; + modPlayer.voidOfCalamity = true; modPlayer.voidOfExtinction = true; player.lavaRose = true; player.lavaMax += 240; diff --git a/Items/Accessories/SamuraiBadge.cs b/Items/Accessories/WarbanneroftheSun.cs similarity index 92% rename from Items/Accessories/SamuraiBadge.cs rename to Items/Accessories/WarbanneroftheSun.cs index a7657b4d07..7b1bbe6831 100644 --- a/Items/Accessories/SamuraiBadge.cs +++ b/Items/Accessories/WarbanneroftheSun.cs @@ -8,7 +8,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories { [AutoloadEquip(EquipType.Balloon)] - public class SamuraiBadge : ModItem + public class WarbanneroftheSun : ModItem { public override void SetStaticDefaults() { @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { CalamityPlayer modPlayer = player.Calamity(); - modPlayer.badgeOfBraveryRare = true; + modPlayer.warbannerOfTheSun = true; } } } diff --git a/Items/Accessories/SamuraiBadge.png b/Items/Accessories/WarbanneroftheSun.png similarity index 100% rename from Items/Accessories/SamuraiBadge.png rename to Items/Accessories/WarbanneroftheSun.png diff --git a/Items/Accessories/SamuraiBadge_Balloon.png b/Items/Accessories/WarbanneroftheSun_Balloon.png similarity index 100% rename from Items/Accessories/SamuraiBadge_Balloon.png rename to Items/Accessories/WarbanneroftheSun_Balloon.png diff --git a/Items/Accessories/Wings/AureateWings.cs b/Items/Accessories/Wings/AureateBooster.cs similarity index 99% rename from Items/Accessories/Wings/AureateWings.cs rename to Items/Accessories/Wings/AureateBooster.cs index b31db7447a..230fbce12b 100644 --- a/Items/Accessories/Wings/AureateWings.cs +++ b/Items/Accessories/Wings/AureateBooster.cs @@ -12,7 +12,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories.Wings { [AutoloadEquip(EquipType.Wings)] - public class AureateWings : ModItem + public class AureateBooster : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/Wings/AureateWings.png b/Items/Accessories/Wings/AureateBooster.png similarity index 100% rename from Items/Accessories/Wings/AureateWings.png rename to Items/Accessories/Wings/AureateBooster.png diff --git a/Items/Accessories/Wings/AureateWings_Wings.png b/Items/Accessories/Wings/AureateBooster_Wings.png similarity index 100% rename from Items/Accessories/Wings/AureateWings_Wings.png rename to Items/Accessories/Wings/AureateBooster_Wings.png diff --git a/Items/Accessories/Wings/ElysianTracers.cs b/Items/Accessories/Wings/ElysianTracers.cs index a369034d7e..d1b7cb32c8 100644 --- a/Items/Accessories/Wings/ElysianTracers.cs +++ b/Items/Accessories/Wings/ElysianTracers.cs @@ -85,7 +85,7 @@ namespace CalamityMod.Items.Accessories.Wings public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(5). AddIngredient(4). diff --git a/Items/Accessories/Wings/XerocWings.cs b/Items/Accessories/Wings/ExodusWings.cs similarity index 98% rename from Items/Accessories/Wings/XerocWings.cs rename to Items/Accessories/Wings/ExodusWings.cs index d63b4ddaba..12b7096f4c 100644 --- a/Items/Accessories/Wings/XerocWings.cs +++ b/Items/Accessories/Wings/ExodusWings.cs @@ -11,7 +11,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories.Wings { [AutoloadEquip(EquipType.Wings)] - public class XerocWings : ModItem + public class ExodusWings : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/Wings/XerocWings.png b/Items/Accessories/Wings/ExodusWings.png similarity index 100% rename from Items/Accessories/Wings/XerocWings.png rename to Items/Accessories/Wings/ExodusWings.png diff --git a/Items/Accessories/Wings/XerocWings_Wings.png b/Items/Accessories/Wings/ExodusWings_Wings.png similarity index 100% rename from Items/Accessories/Wings/XerocWings_Wings.png rename to Items/Accessories/Wings/ExodusWings_Wings.png diff --git a/Items/Accessories/Wings/DiscordianWings.cs b/Items/Accessories/Wings/HadalMantle.cs similarity index 98% rename from Items/Accessories/Wings/DiscordianWings.cs rename to Items/Accessories/Wings/HadalMantle.cs index 93d6bb57e8..4e52858a39 100644 --- a/Items/Accessories/Wings/DiscordianWings.cs +++ b/Items/Accessories/Wings/HadalMantle.cs @@ -10,7 +10,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories.Wings { [AutoloadEquip(EquipType.Wings)] - public class DiscordianWings : ModItem + public class HadalMantle : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/Wings/DiscordianWings.png b/Items/Accessories/Wings/HadalMantle.png similarity index 100% rename from Items/Accessories/Wings/DiscordianWings.png rename to Items/Accessories/Wings/HadalMantle.png diff --git a/Items/Accessories/Wings/DiscordianWings_Wings.png b/Items/Accessories/Wings/HadalMantle_Wings.png similarity index 100% rename from Items/Accessories/Wings/DiscordianWings_Wings.png rename to Items/Accessories/Wings/HadalMantle_Wings.png diff --git a/Items/Accessories/Wings/InfinityBoots.cs b/Items/Accessories/Wings/SeraphTracers.cs similarity index 98% rename from Items/Accessories/Wings/InfinityBoots.cs rename to Items/Accessories/Wings/SeraphTracers.cs index 718fd34b72..7594b91f12 100644 --- a/Items/Accessories/Wings/InfinityBoots.cs +++ b/Items/Accessories/Wings/SeraphTracers.cs @@ -11,7 +11,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Accessories.Wings { [AutoloadEquip(EquipType.Wings, EquipType.Shoes)] - public class InfinityBoots : ModItem + public class SeraphTracers : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Accessories/Wings/InfinityBoots.png b/Items/Accessories/Wings/SeraphTracers.png similarity index 100% rename from Items/Accessories/Wings/InfinityBoots.png rename to Items/Accessories/Wings/SeraphTracers.png diff --git a/Items/Accessories/Wings/InfinityBoots_Shoes.png b/Items/Accessories/Wings/SeraphTracers_Shoes.png similarity index 100% rename from Items/Accessories/Wings/InfinityBoots_Shoes.png rename to Items/Accessories/Wings/SeraphTracers_Shoes.png diff --git a/Items/Accessories/Wings/InfinityBoots_Wings.png b/Items/Accessories/Wings/SeraphTracers_Wings.png similarity index 100% rename from Items/Accessories/Wings/InfinityBoots_Wings.png rename to Items/Accessories/Wings/SeraphTracers_Wings.png diff --git a/Items/Ammo/AccelerationBullet.cs b/Items/Ammo/AccelerationRound.cs similarity index 90% rename from Items/Ammo/AccelerationBullet.cs rename to Items/Ammo/AccelerationRound.cs index 4bccda82cf..6efa56de49 100644 --- a/Items/Ammo/AccelerationBullet.cs +++ b/Items/Ammo/AccelerationRound.cs @@ -7,7 +7,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Ammo { - public class AccelerationBullet : ModItem + public class AccelerationRound : ModItem { public override void SetStaticDefaults() { @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Ammo Item.knockBack = 1.25f; Item.value = Item.sellPrice(copper: 2); Item.rare = ItemRarityID.Green; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 1f; Item.ammo = AmmoID.Bullet; } diff --git a/Items/Ammo/AccelerationBullet.png b/Items/Ammo/AccelerationRound.png similarity index 100% rename from Items/Ammo/AccelerationBullet.png rename to Items/Ammo/AccelerationRound.png diff --git a/Items/Ammo/AcidBullet.cs b/Items/Ammo/AcidRound.cs similarity index 92% rename from Items/Ammo/AcidBullet.cs rename to Items/Ammo/AcidRound.cs index b620702e24..d77bdc5dae 100644 --- a/Items/Ammo/AcidBullet.cs +++ b/Items/Ammo/AcidRound.cs @@ -7,7 +7,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Ammo { - public class AcidBullet : ModItem + public class AcidRound : ModItem { public override void SetStaticDefaults() { @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Ammo Item.knockBack = 1.5f; Item.value = Item.sellPrice(copper: 16); Item.rare = ItemRarityID.Yellow; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 10f; Item.ammo = AmmoID.Bullet; } diff --git a/Items/Ammo/AcidBullet.png b/Items/Ammo/AcidRound.png similarity index 100% rename from Items/Ammo/AcidBullet.png rename to Items/Ammo/AcidRound.png diff --git a/Items/Ammo/FlashBullet.cs b/Items/Ammo/FlashRound.cs similarity index 91% rename from Items/Ammo/FlashBullet.cs rename to Items/Ammo/FlashRound.cs index d2ece8386a..6723b8e1bd 100644 --- a/Items/Ammo/FlashBullet.cs +++ b/Items/Ammo/FlashRound.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Ammo { - public class FlashBullet : ModItem + public class FlashRound : ModItem { public override void SetStaticDefaults() { @@ -26,7 +26,7 @@ namespace CalamityMod.Items.Ammo Item.knockBack = 1.15f; Item.value = Item.sellPrice(copper: 2); Item.rare = ItemRarityID.Blue; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 12f; Item.ammo = AmmoID.Bullet; } diff --git a/Items/Ammo/FlashBullet.png b/Items/Ammo/FlashRound.png similarity index 100% rename from Items/Ammo/FlashBullet.png rename to Items/Ammo/FlashRound.png diff --git a/Items/Critters/BabyFlakHermit.cs b/Items/Critters/BabyFlakCrabItem.cs similarity index 89% rename from Items/Critters/BabyFlakHermit.cs rename to Items/Critters/BabyFlakCrabItem.cs index 4d222a1cf6..06ade71e02 100644 --- a/Items/Critters/BabyFlakHermit.cs +++ b/Items/Critters/BabyFlakCrabItem.cs @@ -6,7 +6,7 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Critters { - public class BabyFlakHermit : ModItem + public class BabyFlakCrabItem : ModItem { public override void SetStaticDefaults() { @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Critters //item.CloneDefaults(2004); //Lightning Bug item Item.width = 26; Item.height = 24; - Item.makeNPC = (short)ModContent.NPCType(); + Item.makeNPC = (short)ModContent.NPCType(); Item.rare = ItemRarityID.LightPurple; } } diff --git a/Items/Critters/BabyFlakHermit.png b/Items/Critters/BabyFlakCrabItem.png similarity index 100% rename from Items/Critters/BabyFlakHermit.png rename to Items/Critters/BabyFlakCrabItem.png diff --git a/Items/Critters/BabyGhostBellItem.cs b/Items/Critters/BabyGhostBellItem.cs index 39ba1d2d85..93aefcb5c1 100644 --- a/Items/Critters/BabyGhostBellItem.cs +++ b/Items/Critters/BabyGhostBellItem.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Critters //item.CloneDefaults(2004); //Lightning Bug item Item.width = 26; Item.height = 24; - Item.makeNPC = (short)ModContent.NPCType(); + Item.makeNPC = (short)ModContent.NPCType(); Item.rare = ItemRarityID.Green; } } diff --git a/Items/Fishing/BrimstoneCragCatches/BrimstoneCrate.cs b/Items/Fishing/BrimstoneCragCatches/BrimstoneCrate.cs index d98601785b..1bb8d6613d 100644 --- a/Items/Fishing/BrimstoneCragCatches/BrimstoneCrate.cs +++ b/Items/Fishing/BrimstoneCragCatches/BrimstoneCrate.cs @@ -47,8 +47,6 @@ namespace CalamityMod.Items.Fishing.BrimstoneCragCatches //Modded materials DropHelper.DropItem(s, player, ModContent.ItemType(), 1, 4); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.2f, 2, 4); - DropHelper.DropItemCondition(s, player, ModContent.ItemType(), Main.hardMode, 0.15f, 2, 6); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedBrimstoneElemental, 0.1f, 1, 3); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence && DownedBossSystem.downedPolterghast, 0.1f, 1, 3); diff --git a/Items/Materials/BlightedLens.cs b/Items/Materials/BlightedLens.cs deleted file mode 100644 index 88d8876e8c..0000000000 --- a/Items/Materials/BlightedLens.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; -using Terraria.GameContent.Creative; - -namespace CalamityMod.Items.Materials -{ - public class BlightedLens : ModItem - { - public override void SetStaticDefaults() - { - CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 5; - DisplayName.SetDefault("Blighted Lens"); - } - - public override void SetDefaults() - { - Item.width = 16; - Item.height = 22; - Item.maxStack = 999; - Item.value = Item.sellPrice(silver: 56); - Item.rare = ItemRarityID.Pink; - } - } -} diff --git a/Items/Materials/BlightedLens.png b/Items/Materials/BlightedLens.png deleted file mode 100644 index a8c1e84eeab2a50fa5923bf651385535e88f76ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 249 zcmV%5oh|7uS(Ti>~Bh@v&f4CFH(gUxa zq4*W2jYMmNr4$D-DXcafKK~XaKH)Z!tPy5Bu0SF>9?_E=(Hha6+`RKLacPxgjWEB$ zGO&mNqyRwA6)<%eB>>qP(QStD36=oFY6JiqS+EVbDo$Jg0000(); + MountData.buff = ModContent.BuffType(); MountData.heightBoost = 36; //8 MountData.fallDamage = 0.3f; MountData.runSpeed = 6.5f; diff --git a/Items/Mounts/AngryDogMount_Back.png b/Items/Mounts/RimehoundMount_Back.png similarity index 100% rename from Items/Mounts/AngryDogMount_Back.png rename to Items/Mounts/RimehoundMount_Back.png diff --git a/Items/Mounts/AngryDogMount_Front.png b/Items/Mounts/RimehoundMount_Front.png similarity index 100% rename from Items/Mounts/AngryDogMount_Front.png rename to Items/Mounts/RimehoundMount_Front.png diff --git a/Items/Mounts/TundraLeash.cs b/Items/Mounts/TundraLeash.cs index 23f05883c0..cbd0b495e5 100644 --- a/Items/Mounts/TundraLeash.cs +++ b/Items/Mounts/TundraLeash.cs @@ -10,7 +10,7 @@ namespace CalamityMod.Items.Mounts public override void SetStaticDefaults() { DisplayName.SetDefault("Tundra Leash"); - Tooltip.SetDefault("Summons an angry dog mount"); + Tooltip.SetDefault("Summons a Rimehound mount"); CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; } @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Mounts Item.value = Item.buyPrice(0, 9, 0, 0); Item.UseSound = SoundID.NPCHit56; Item.noMelee = true; - Item.mountType = ModContent.MountType(); + Item.mountType = ModContent.MountType(); } } } diff --git a/Items/Placeables/Banners/BOHLDOHRBanner.cs b/Items/Placeables/Banners/BOHLDOHRBanner.cs index 6f50d1289e..368f0e68cc 100644 --- a/Items/Placeables/Banners/BOHLDOHRBanner.cs +++ b/Items/Placeables/Banners/BOHLDOHRBanner.cs @@ -1,4 +1,4 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ModLoader; using Terraria.GameContent.Creative; @@ -6,7 +6,7 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class BOHLDOHRBanner : ModItem + public class BohldohrBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/FlakBabyBanner.cs b/Items/Placeables/Banners/BabyFlakCrabBanner.cs similarity index 93% rename from Items/Placeables/Banners/FlakBabyBanner.cs rename to Items/Placeables/Banners/BabyFlakCrabBanner.cs index 19f5614649..08139ba09f 100644 --- a/Items/Placeables/Banners/FlakBabyBanner.cs +++ b/Items/Placeables/Banners/BabyFlakCrabBanner.cs @@ -1,4 +1,4 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ModLoader; using Terraria.GameContent.Creative; @@ -6,7 +6,7 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class FlakBabyBanner : ModItem + public class BabyFlakCrabBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/FlakBabyBanner.png b/Items/Placeables/Banners/BabyFlakCrabBanner.png similarity index 100% rename from Items/Placeables/Banners/FlakBabyBanner.png rename to Items/Placeables/Banners/BabyFlakCrabBanner.png diff --git a/Items/Placeables/Banners/GhostBellSmallBanner.cs b/Items/Placeables/Banners/BabyGhostBellBanner.cs similarity index 93% rename from Items/Placeables/Banners/GhostBellSmallBanner.cs rename to Items/Placeables/Banners/BabyGhostBellBanner.cs index 13db85dd80..b5c9a8439f 100644 --- a/Items/Placeables/Banners/GhostBellSmallBanner.cs +++ b/Items/Placeables/Banners/BabyGhostBellBanner.cs @@ -1,4 +1,4 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ModLoader; using Terraria.GameContent.Creative; @@ -6,7 +6,7 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class GhostBellSmallBanner : ModItem + public class BabyGhostBellBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/GhostBellSmallBanner.png b/Items/Placeables/Banners/BabyGhostBellBanner.png similarity index 100% rename from Items/Placeables/Banners/GhostBellSmallBanner.png rename to Items/Placeables/Banners/BabyGhostBellBanner.png diff --git a/Items/Placeables/Banners/PrismTurtleBanner.cs b/Items/Placeables/Banners/PrismBackBanner.cs similarity index 93% rename from Items/Placeables/Banners/PrismTurtleBanner.cs rename to Items/Placeables/Banners/PrismBackBanner.cs index 7eecbf751e..dcde8d5322 100644 --- a/Items/Placeables/Banners/PrismTurtleBanner.cs +++ b/Items/Placeables/Banners/PrismBackBanner.cs @@ -1,11 +1,11 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.GameContent.Creative; namespace CalamityMod.Items.Placeables.Banners { - public class PrismTurtleBanner : ModItem + public class PrismBackBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/PrismTurtleBanner.png b/Items/Placeables/Banners/PrismBackBanner.png similarity index 100% rename from Items/Placeables/Banners/PrismTurtleBanner.png rename to Items/Placeables/Banners/PrismBackBanner.png diff --git a/Items/Placeables/Banners/AngryDogBanner.cs b/Items/Placeables/Banners/RimehoundBanner.cs similarity index 87% rename from Items/Placeables/Banners/AngryDogBanner.cs rename to Items/Placeables/Banners/RimehoundBanner.cs index 36f3954fdb..7281edc8f5 100644 --- a/Items/Placeables/Banners/AngryDogBanner.cs +++ b/Items/Placeables/Banners/RimehoundBanner.cs @@ -1,4 +1,4 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ModLoader; using Terraria.GameContent.Creative; @@ -6,12 +6,13 @@ using Terraria.ID; namespace CalamityMod.Items.Placeables.Banners { - public class AngryDogBanner : ModItem + public class RimehoundBanner : ModItem { public override void SetStaticDefaults() { CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Angry Dog"); + DisplayName.SetDefault("Rimehound Banner"); + Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Rimehound"); } public override void SetDefaults() diff --git a/Items/Placeables/Banners/AngryDogBanner.png b/Items/Placeables/Banners/RimehoundBanner.png similarity index 100% rename from Items/Placeables/Banners/AngryDogBanner.png rename to Items/Placeables/Banners/RimehoundBanner.png diff --git a/Items/Placeables/Banners/PitbullBanner.cs b/Items/Placeables/Banners/RotdogBanner.cs similarity index 93% rename from Items/Placeables/Banners/PitbullBanner.cs rename to Items/Placeables/Banners/RotdogBanner.cs index 90caaebfac..a9fcd59002 100644 --- a/Items/Placeables/Banners/PitbullBanner.cs +++ b/Items/Placeables/Banners/RotdogBanner.cs @@ -1,11 +1,11 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.GameContent.Creative; namespace CalamityMod.Items.Placeables.Banners { - public class PitbullBanner : ModItem + public class RotdogBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/PitbullBanner.png b/Items/Placeables/Banners/RotdogBanner.png similarity index 100% rename from Items/Placeables/Banners/PitbullBanner.png rename to Items/Placeables/Banners/RotdogBanner.png diff --git a/Items/Placeables/Banners/SulfurousSkaterBanner.cs b/Items/Placeables/Banners/SulphurousSkaterBanner.cs similarity index 93% rename from Items/Placeables/Banners/SulfurousSkaterBanner.cs rename to Items/Placeables/Banners/SulphurousSkaterBanner.cs index 3d73544ad5..4e3e2cf7cf 100644 --- a/Items/Placeables/Banners/SulfurousSkaterBanner.cs +++ b/Items/Placeables/Banners/SulphurousSkaterBanner.cs @@ -1,11 +1,11 @@ -using CalamityMod.Tiles; +using CalamityMod.Tiles; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Terraria.GameContent.Creative; namespace CalamityMod.Items.Placeables.Banners { - public class SulfurousSkaterBanner : ModItem + public class SulphurousSkaterBanner : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Placeables/Banners/SulfurousSkaterBanner.png b/Items/Placeables/Banners/SulphurousSkaterBanner.png similarity index 100% rename from Items/Placeables/Banners/SulfurousSkaterBanner.png rename to Items/Placeables/Banners/SulphurousSkaterBanner.png diff --git a/Items/Placeables/Furniture/BabyFlakHermitCage.cs b/Items/Placeables/Furniture/BabyFlakCrabCage.cs similarity index 67% rename from Items/Placeables/Furniture/BabyFlakHermitCage.cs rename to Items/Placeables/Furniture/BabyFlakCrabCage.cs index 5c6ad1909a..c6bd8a9420 100644 --- a/Items/Placeables/Furniture/BabyFlakHermitCage.cs +++ b/Items/Placeables/Furniture/BabyFlakCrabCage.cs @@ -1,4 +1,4 @@ -using CalamityMod.Tiles.Furniture; +using CalamityMod.Tiles.Furniture; using CalamityMod.Items.Critters; using Terraria.ID; using Terraria.ModLoader; @@ -6,12 +6,12 @@ using Terraria.GameContent.Creative; namespace CalamityMod.Items.Placeables.Furniture { - public class BabyFlakHermitCage : ModItem + public class BabyFlakCrabCage : ModItem { public override void SetStaticDefaults() { CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1; - DisplayName.SetDefault("Baby Flak Hermit Cage"); + DisplayName.SetDefault("Baby Flak Crab Cage"); } public override void SetDefaults() @@ -25,12 +25,15 @@ namespace CalamityMod.Items.Placeables.Furniture Item.useTime = 10; Item.useStyle = ItemUseStyleID.Swing; Item.consumable = true; - Item.createTile = ModContent.TileType(); + Item.createTile = ModContent.TileType(); } public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ItemID.Terrarium).AddIngredient(ModContent.ItemType()).Register(); + CreateRecipe(). + AddIngredient(ItemID.Terrarium). + AddIngredient(). + Register(); } } } diff --git a/Items/Placeables/Furniture/BabyFlakHermitCage.png b/Items/Placeables/Furniture/BabyFlakCrabCage.png similarity index 100% rename from Items/Placeables/Furniture/BabyFlakHermitCage.png rename to Items/Placeables/Furniture/BabyFlakCrabCage.png diff --git a/Items/SummonItems/BlightedEyeball.cs b/Items/SummonItems/BlightedEyeball.cs index 3129aecb70..df1a15876a 100644 --- a/Items/SummonItems/BlightedEyeball.cs +++ b/Items/SummonItems/BlightedEyeball.cs @@ -49,7 +49,11 @@ namespace CalamityMod.Items.SummonItems public override void AddRecipes() { - CreateRecipe(1).AddIngredient(ItemID.HellstoneBar, 10).AddIngredient(ModContent.ItemType(), 7).AddIngredient(ModContent.ItemType(), 3).AddTile(TileID.MythrilAnvil).Register(); + CreateRecipe(). + AddIngredient(ItemID.HellstoneBar, 10). + AddIngredient(7). + AddTile(TileID.MythrilAnvil). + Register(); } } } diff --git a/Items/TreasureBags/BrimstoneWaifuBag.cs b/Items/TreasureBags/BrimstoneWaifuBag.cs index 7e8865ca4d..c326d9ec61 100644 --- a/Items/TreasureBags/BrimstoneWaifuBag.cs +++ b/Items/TreasureBags/BrimstoneWaifuBag.cs @@ -70,7 +70,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropItem(s, player, ModContent.ItemType()); DropHelper.DropItem(s, player, ModContent.ItemType()); DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); - DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); + DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence); // Vanity diff --git a/Items/TreasureBags/CalamitasBag.cs b/Items/TreasureBags/CalamitasBag.cs index 5bd0a17bb1..f3d4d407ed 100644 --- a/Items/TreasureBags/CalamitasBag.cs +++ b/Items/TreasureBags/CalamitasBag.cs @@ -52,7 +52,6 @@ namespace CalamityMod.Items.TreasureBags // Materials DropHelper.DropItem(s, player, ModContent.ItemType(), 14, 18); - DropHelper.DropItem(s, player, ModContent.ItemType(), 1, 3); DropHelper.DropItem(s, player, ModContent.ItemType(), 5, 9); DropHelper.DropItemCondition(s, player, ModContent.ItemType(), DownedBossSystem.downedProvidence, 35, 45); @@ -67,7 +66,7 @@ namespace CalamityMod.Items.TreasureBags ); // Equipment - DropHelper.DropItem(s, player, ModContent.ItemType()); + DropHelper.DropItem(s, player, ModContent.ItemType()); DropHelper.DropItemChance(s, player, ModContent.ItemType(), 0.1f); // Vanity diff --git a/Items/TreasureBags/OldDukeBag.cs b/Items/TreasureBags/OldDukeBag.cs index 94ff8e5fd5..e0c56c730a 100644 --- a/Items/TreasureBags/OldDukeBag.cs +++ b/Items/TreasureBags/OldDukeBag.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w) + DropHelper.WeightStack(w) ); // Equipment diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index e8ec35e99e..8d849215b3 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -351,7 +351,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("BrimstoneElemental", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Brimstone Crag"; string despawn = CalamityUtils.ColorMessage("Brimstone Elemental withdraws to the ruins of her shrine.", new Color(0xDC, 0x14, 0x3C)); @@ -363,7 +363,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Calamitas", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night"; string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00)); @@ -454,7 +454,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("ProfanedGuardians", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Hallow or Underworld Biomes"; string despawn = CalamityUtils.ColorMessage("The guardians must protect their goddess at all costs.", new Color(0xFF, 0xA5, 0x00)); @@ -541,7 +541,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("OldDuke", out float order); List bosses = new List() { NPCType() }; int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType() }; string instructions = $"Defeat the Acid Rain event post-Polterghast or fish using a [i:{summon}] in the Sulphurous Sea"; string despawn = CalamityUtils.ColorMessage("The old duke disappears amidst the acidic downpour.", new Color(0xF0, 0xE6, 0x8C)); diff --git a/NPCs/AcidRain/FlakBaby.cs b/NPCs/AcidRain/BabyFlakCrab.cs similarity index 97% rename from NPCs/AcidRain/FlakBaby.cs rename to NPCs/AcidRain/BabyFlakCrab.cs index 89c1cdbc5d..dd49d8dbd6 100644 --- a/NPCs/AcidRain/FlakBaby.cs +++ b/NPCs/AcidRain/BabyFlakCrab.cs @@ -11,7 +11,7 @@ using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.NPCs.AcidRain { - public class FlakBaby : ModNPC + public class BabyFlakCrab : ModNPC { public override void SetStaticDefaults() { @@ -36,9 +36,9 @@ namespace CalamityMod.NPCs.AcidRain NPC.HitSound = SoundID.NPCHit41; NPC.DeathSound = SoundID.DD2_WitherBeastDeath; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.dontTakeDamageFromHostiles = true; - NPC.catchItem = (short)ModContent.ItemType(); + NPC.catchItem = (short)ModContent.ItemType(); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/AcidRain/FlakBaby.png b/NPCs/AcidRain/BabyFlakCrab.png similarity index 100% rename from NPCs/AcidRain/FlakBaby.png rename to NPCs/AcidRain/BabyFlakCrab.png diff --git a/NPCs/AcidRain/SulfurousSkater.cs b/NPCs/AcidRain/SulphurousSkater.cs similarity index 96% rename from NPCs/AcidRain/SulfurousSkater.cs rename to NPCs/AcidRain/SulphurousSkater.cs index 418623b99c..93f710d07b 100644 --- a/NPCs/AcidRain/SulfurousSkater.cs +++ b/NPCs/AcidRain/SulphurousSkater.cs @@ -16,7 +16,7 @@ using Terraria.ModLoader; namespace CalamityMod.NPCs.AcidRain { - public class SulfurousSkater : ModNPC + public class SulphurousSkater : ModNPC { public bool Flying = false; public Player Target => Main.player[NPC.target]; @@ -58,7 +58,7 @@ namespace CalamityMod.NPCs.AcidRain NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath1; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.aiStyle = AIType = -1; NPC.Calamity().VulnerableToHeat = false; @@ -229,9 +229,9 @@ namespace CalamityMod.NPCs.AcidRain { if (Main.netMode != NetmodeID.Server) { - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulfurousSkaterGore").Type, NPC.scale); - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulfurousSkaterGore2").Type, NPC.scale); - Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulfurousSkaterGore3").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulphurousSkaterGore").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulphurousSkaterGore2").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find("SulphurousSkaterGore3").Type, NPC.scale); } } } diff --git a/NPCs/AcidRain/SulfurousSkater.png b/NPCs/AcidRain/SulphurousSkater.png similarity index 100% rename from NPCs/AcidRain/SulfurousSkater.png rename to NPCs/AcidRain/SulphurousSkater.png diff --git a/NPCs/AcidRain/SulfurousSkaterGlow.png b/NPCs/AcidRain/SulphurousSkaterGlow.png similarity index 100% rename from NPCs/AcidRain/SulfurousSkaterGlow.png rename to NPCs/AcidRain/SulphurousSkaterGlow.png diff --git a/NPCs/AquaticScourge/AquaticParasite.cs b/NPCs/AquaticScourge/AquaticParasite.cs deleted file mode 100644 index ef73b566b3..0000000000 --- a/NPCs/AquaticScourge/AquaticParasite.cs +++ /dev/null @@ -1,223 +0,0 @@ -using CalamityMod.Buffs.StatDebuffs; -using CalamityMod.Items.Placeables.Banners; -using Microsoft.Xna.Framework; -using System; -using Terraria; -using Terraria.GameContent.Bestiary; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.NPCs.AquaticScourge -{ - public class AquaticParasite : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Aquatic Parasite"); - } - - public override void SetDefaults() - { - NPC.noGravity = true; - NPC.damage = Main.hardMode ? 35 : 15; - NPC.width = 28; - NPC.height = 28; - NPC.defense = 5; - NPC.LifeMaxNERB(Main.hardMode ? 200 : 30); - NPC.aiStyle = -1; - AIType = -1; - NPC.value = Item.buyPrice(0, 0, 0, 60); - NPC.HitSound = SoundID.NPCHit1; - NPC.DeathSound = SoundID.NPCDeath1; - Banner = NPC.type; - BannerItem = ModContent.ItemType(); - NPC.Calamity().VulnerableToHeat = false; - NPC.Calamity().VulnerableToSickness = false; - NPC.Calamity().VulnerableToElectricity = true; - NPC.Calamity().VulnerableToWater = false; - } - - public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) - { - bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - //BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.SulphurousSea, - - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("If you see this, tell the devs to delete this creature :)") - }); - } - - public override void AI() - { - bool flag15 = false; - if (NPC.wet && NPC.ai[1] == 1f) - { - flag15 = true; - } - if (NPC.direction == 0) - { - NPC.TargetClosest(true); - } - if (flag15) - { - return; - } - if (!NPC.wet) - { - NPC.rotation += NPC.velocity.X * 0.1f; - if (NPC.velocity.Y == 0f) - { - NPC.velocity.X = NPC.velocity.X * 0.98f; - if ((double)NPC.velocity.X > -0.01 && (double)NPC.velocity.X < 0.01) - { - NPC.velocity.X = 0f; - } - } - NPC.velocity.Y = NPC.velocity.Y + 0.2f; - if (NPC.velocity.Y > 10f) - { - NPC.velocity.Y = 10f; - } - NPC.ai[0] = 1f; - return; - } - if (NPC.collideX) - { - NPC.velocity.X = NPC.velocity.X * -1f; - NPC.direction *= -1; - } - if (NPC.collideY) - { - if (NPC.velocity.Y > 0f) - { - NPC.velocity.Y = Math.Abs(NPC.velocity.Y) * -1f; - NPC.directionY = -1; - NPC.ai[0] = -1f; - } - else if (NPC.velocity.Y < 0f) - { - NPC.velocity.Y = Math.Abs(NPC.velocity.Y); - NPC.directionY = 1; - NPC.ai[0] = 1f; - } - } - bool flag16 = false; - if (!Main.player[NPC.target].dead) - { - flag16 = true; - } - if (flag16) - { - NPC.rotation = (float)Math.Atan2((double)NPC.velocity.Y, (double)NPC.velocity.X) + 1.57f; - NPC.velocity *= 0.975f; - float num263 = 2f; - if (NPC.velocity.X > -num263 && NPC.velocity.X < num263 && NPC.velocity.Y > -num263 && NPC.velocity.Y < num263) - { - NPC.TargetClosest(true); - float num264 = 12f; - Vector2 vector31 = new Vector2(NPC.position.X + (float)NPC.width * 0.5f, NPC.position.Y + (float)NPC.height * 0.5f); - float num265 = Main.player[NPC.target].position.X + (float)(Main.player[NPC.target].width / 2) - vector31.X; - float num266 = Main.player[NPC.target].position.Y + (float)(Main.player[NPC.target].height / 2) - vector31.Y; - float num267 = (float)Math.Sqrt((double)(num265 * num265 + num266 * num266)); - num267 = num264 / num267; - num265 *= num267; - num266 *= num267; - NPC.velocity.X = num265; - NPC.velocity.Y = num266; - } - } - else - { - NPC.velocity.X = NPC.velocity.X + (float)NPC.direction * 0.02f; - NPC.rotation = NPC.velocity.X * 0.4f; - if (NPC.velocity.X < -1f || NPC.velocity.X > 1f) - { - NPC.velocity.X = NPC.velocity.X * 0.95f; - } - if (NPC.ai[0] == -1f) - { - NPC.velocity.Y = NPC.velocity.Y - 0.01f; - if (NPC.velocity.Y < -1f) - { - NPC.ai[0] = 1f; - } - } - else - { - NPC.velocity.Y = NPC.velocity.Y + 0.01f; - if (NPC.velocity.Y > 1f) - { - NPC.ai[0] = -1f; - } - } - int num268 = (int)(NPC.position.X + (float)(NPC.width / 2)) / 16; - int num269 = (int)(NPC.position.Y + (float)(NPC.height / 2)) / 16; - if (Main.tile[num268, num269 - 1].LiquidAmount > 128) - { - if (Main.tile[num268, num269 + 1].HasTile) - { - NPC.ai[0] = -1f; - } - else if (Main.tile[num268, num269 + 2].HasTile) - { - NPC.ai[0] = -1f; - } - } - else - { - NPC.ai[0] = 1f; - } - if ((double)NPC.velocity.Y > 1.2 || (double)NPC.velocity.Y < -1.2) - { - NPC.velocity.Y = NPC.velocity.Y * 0.99f; - } - } - } - - public override void FindFrame(int frameHeight) - { - NPC.frameCounter += 0.15f; - NPC.frameCounter %= Main.npcFrameCount[NPC.type]; - int frame = (int)NPC.frameCounter; - NPC.frame.Y = frame * frameHeight; - } - - public override float SpawnChance(NPCSpawnInfo spawnInfo) - { - if (spawnInfo.PlayerSafe) - { - return 0f; - } - if (spawnInfo.Player.InSulphur() && spawnInfo.Water) - { - return 0.2f; - } - return 0f; - } - - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(ModContent.BuffType(), 120, true); - } - - public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 3; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (NPC.life <= 0) - { - for (int k = 0; k < 15; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (Main.netMode != NetmodeID.Server) - { - Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find("AquaticParasite1").Type, 1f); - Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find("AquaticParasite2").Type, 1f); - } - } - } - } -} diff --git a/NPCs/AquaticScourge/AquaticParasite.png b/NPCs/AquaticScourge/AquaticParasite.png deleted file mode 100644 index 4f409e600eef1d34347f84c3e231ebcfbe7c0246..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 628 zcmV-)0*n2LP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ-`bk7VRCwCtmcL6|Q545NPlQ74RtGIYP&@b=6=`sB5Qhp@p&bH3l>7n35+ntG zwD=1#6jAyIhz5iX7HWk$IJt<@R?!+AsuGaKq1{vz#B_K$!Fzd+1aY|P+3vgdob$Qo z`_6gK!o{kJOA}Yun|nJJ*RV|ESjK{gVx`7CD35d2f(}WPXJt;KLsHB!Ec=Qb$H!#<&r^Uzx|W72oGxrG$d|cwJAwBx0Q(!K04(}F0CW^* zDImx30{|Z77b+k#dzSz_kHi2ds(xq#ul@s|?NyE8AW|}25>L2H0Z5fRY4MNa0OY?8 zD$hki0g8p9juJ^e^FYJ~gFXwOXY@znD#+i69q?pp7pFGX+cu}N1b|$BmI9);b84y? z1LF4iP7N^KI-9IyLIqS3>HE3~NXCC?#(;=5&%RaG-`d9%P?10+(-XP*-(C<`$&xQ? z&d);|q_)8EW0$Gj9T2zny+0s2kX!pkN4mIYAia|)gG&aP46fS>@_zs|I`O^*IOyI0 O0000())); normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); - normalOnly.Add(ModContent.ItemType(), 10); + normalOnly.Add(ModContent.ItemType(), 10); postProvidence.Add(ModContent.ItemType()); // Vanity diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index 3e6def1e2b..7714484315 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -192,13 +192,12 @@ namespace CalamityMod.NPCs.Calamitas normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, items)); // Equipment - normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); + normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); normalOnly.Add(ModContent.ItemType(), 10); // Materials normalOnly.Add(ModContent.ItemType(), 1, 4, 8); normalOnly.Add(ModContent.ItemType(), 1, 9, 14); - normalOnly.Add(ModContent.ItemType(), 1, 1, 2); postProvidence.Add(ModContent.ItemType(), 1, 30, 40); // Vanity diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 3488c04480..545fc97514 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -7318,8 +7318,8 @@ namespace CalamityMod.NPCs #region Unicorn AI public static void UnicornAI(NPC npc, Mod mod, bool spin, float bounciness, float speedDetect, float speedAdditive, float bouncy1 = -8.5f, float bouncy2 = -7.5f, float bouncy3 = -7f, float bouncy4 = -6f, float bouncy5 = -8f) { - bool DogPhase1 = npc.type == ModContent.NPCType() && npc.life > npc.lifeMax * (CalamityWorld.death ? 0.9 : 0.5); - bool DogPhase2 = npc.type == ModContent.NPCType() && npc.life <= npc.lifeMax * (CalamityWorld.death ? 0.9 : 0.5); + bool DogPhase1 = npc.type == ModContent.NPCType() && npc.life > npc.lifeMax * (CalamityWorld.death ? 0.9 : 0.5); + bool DogPhase2 = npc.type == ModContent.NPCType() && npc.life <= npc.lifeMax * (CalamityWorld.death ? 0.9 : 0.5); int num = 30; bool flag2 = false; bool flag3 = false; diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 83ce481280..931c02d0e8 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2876,7 +2876,7 @@ namespace CalamityMod.NPCs } break; case 2: - if (npc.type == NPCType() || npc.type == NPCType()) + if (npc.type == NPCType()) { return DemonEyeAI.BuffedDemonEyeAI(npc, Mod); } @@ -3306,7 +3306,7 @@ namespace CalamityMod.NPCs } break; case 39: - if (npc.type == NPCType() || npc.type == NPCType()) + if (npc.type == NPCType()) { return CalamityGlobalAI.BuffedTortoiseAI(npc, Mod); } @@ -4289,7 +4289,7 @@ namespace CalamityMod.NPCs break; } - if (npc.type == NPCType() || npc.type == NPCType()) + if (npc.type == NPCType()) { if (npc.life <= npc.lifeMax * 0.25) npc.justHit = false; diff --git a/NPCs/Crags/CalamityEye.cs b/NPCs/Crags/CalamityEye.cs index 030b73555e..2246f28aed 100644 --- a/NPCs/Crags/CalamityEye.cs +++ b/NPCs/Crags/CalamityEye.cs @@ -124,7 +124,6 @@ namespace CalamityMod.NPCs.Crags public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ItemID.Lens, 2); - npcLoot.AddIf(() => Main.hardMode, ModContent.ItemType(), 2); npcLoot.AddIf(() => Main.hardMode, ModContent.ItemType(), 3); npcLoot.AddIf(() => DownedBossSystem.downedProvidence, ModContent.ItemType(), 2); } diff --git a/NPCs/Leviathan/LeviathanStart.cs b/NPCs/Leviathan/LeviathanStart.cs index db0e24a3af..74afadd718 100644 --- a/NPCs/Leviathan/LeviathanStart.cs +++ b/NPCs/Leviathan/LeviathanStart.cs @@ -145,7 +145,7 @@ namespace CalamityMod.NPCs.Leviathan public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 4); + npcLoot.Add(ModContent.ItemType(), 4); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/NormalNPCs/BlightedEye.cs b/NPCs/NormalNPCs/BlightedEye.cs deleted file mode 100644 index a7b72f8f98..0000000000 --- a/NPCs/NormalNPCs/BlightedEye.cs +++ /dev/null @@ -1,69 +0,0 @@ -using CalamityMod.Items.Materials; -using CalamityMod.Items.Placeables.Banners; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -using Terraria.ModLoader.Utilities; -namespace CalamityMod.NPCs.NormalNPCs -{ - public class BlightedEye : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Blighted Eye"); - Main.npcFrameCount[NPC.type] = 2; - } - - public override void SetDefaults() - { - NPC.aiStyle = 2; - AIType = NPCID.TheHungryII; - NPC.damage = 32; - NPC.width = 30; - NPC.height = 32; - NPC.defense = 8; - NPC.lifeMax = 120; - NPC.knockBackResist = 0.6f; - AnimationType = NPCID.DemonEye; - NPC.value = Item.buyPrice(0, 0, 2, 0); - NPC.HitSound = SoundID.NPCHit1; - NPC.DeathSound = SoundID.NPCDeath1; - Banner = NPC.type; - BannerItem = ModContent.ItemType(); - NPC.Calamity().VulnerableToHeat = true; - NPC.Calamity().VulnerableToCold = true; - NPC.Calamity().VulnerableToSickness = true; - } - - public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 5; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (NPC.life <= 0) - { - for (int k = 0; k < 20; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } - - public override float SpawnChance(NPCSpawnInfo spawnInfo) - { - if (spawnInfo.PlayerSafe || !Main.hardMode || spawnInfo.Player.Calamity().ZoneSulphur) - { - return 0f; - } - return SpawnCondition.OverworldNightMonster.Chance * 0.075f; - } - - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(BuffID.Weak, 180, true); - } - - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ModContent.ItemType(), 2); - } -} diff --git a/NPCs/NormalNPCs/BlightedEye.png b/NPCs/NormalNPCs/BlightedEye.png deleted file mode 100644 index 72dfb62fe400965926c8d5035ee079bd24ef2817..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 642 zcmV-|0)737P)NklY5cLWXEUb*iAVx`J;YUgv8&R+bSX=o6Ec^wQ7WT$o8-IX}Aov3;f`WF622CQy zLd1{4BEp0h*vXB%mz=jFB+YVrbDKBscHZo}pfBQYDZA1Ld*rNq8idXBcqxuQ8@kwU zSiJ+APUj6~G6N~XyBgGK%ngqi_>1*WB3tn%jpp;xk25JUrViNLREAQ|re`R*vGgR3 zwWoU;KdL4(2l+vRgrm!{aSf)x^!j|(xPM;xqH8b?=Gquj2Mn8fV*8CUs2sl1xH!8U zx-A~7-!y+yx}$M3W#$M5T=yj6z;J6db-)0KBi`E|A||$WuOczW*8$ypo>w84q2S*D zLxzQ7E|f98w-C>(6Z2Bl$%@vz)5e%uV5kaIXKCkwutL|MV^X!vVk{^A3zxtE+C=dSGm4e%?!Y+4D`F7%ZUu&bo)Z^ZjQA>(HoVqX>FX0g z8!&!C^<{XiI;IYoFDGtoN$P>wjy-W3Ugu+vdSFR8@s7{@f9=FO2G(=ptg0gWN>{_$ cZJb(QKe;YBii5wFEdT%j07*qoM6N<$g5BdNZ2$lO diff --git a/NPCs/NormalNPCs/Bohldohr.cs b/NPCs/NormalNPCs/Bohldohr.cs index 797e53b603..2cafef6d4a 100644 --- a/NPCs/NormalNPCs/Bohldohr.cs +++ b/NPCs/NormalNPCs/Bohldohr.cs @@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.DeathSound = SoundID.NPCDeath35; NPC.behindTiles = true; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToWater = true; } diff --git a/NPCs/NormalNPCs/AngryDog.cs b/NPCs/NormalNPCs/Rimehound.cs similarity index 95% rename from NPCs/NormalNPCs/AngryDog.cs rename to NPCs/NormalNPCs/Rimehound.cs index 3e791f3211..30bbe875ad 100644 --- a/NPCs/NormalNPCs/AngryDog.cs +++ b/NPCs/NormalNPCs/Rimehound.cs @@ -8,13 +8,13 @@ using Terraria.ModLoader; using Terraria.Audio; namespace CalamityMod.NPCs.NormalNPCs { - public class AngryDog : ModNPC + public class Rimehound : ModNPC { private bool reset = false; public override void SetStaticDefaults() { - DisplayName.SetDefault("Angry Dog"); + DisplayName.SetDefault("Rimehound"); Main.npcFrameCount[NPC.type] = 9; NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { @@ -43,10 +43,10 @@ namespace CalamityMod.NPCs.NormalNPCs AnimationType = NPCID.Hellhound; AIType = -1; NPC.value = Item.buyPrice(0, 0, 3, 0); - NPC.HitSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/NPCHit/AngryDogHit"); + NPC.HitSound = SoundLoader.GetLegacySoundSlot(Mod, "Sounds/NPCHit/RimehoundHit"); NPC.DeathSound = SoundID.NPCDeath5; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.coldDamage = true; NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = false; @@ -67,7 +67,7 @@ namespace CalamityMod.NPCs.NormalNPCs { if (Main.rand.NextBool(900)) { - SoundEngine.PlaySound(SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Custom/AngryDogGrowl"), (int)NPC.position.X, (int)NPC.position.Y); + SoundEngine.PlaySound(SoundLoader.GetLegacySoundSlot(Mod, "Sounds/Custom/RimehoundGrowl"), (int)NPC.position.X, (int)NPC.position.Y); } bool phase2 = (double)NPC.life <= (double)NPC.lifeMax * (CalamityWorld.death ? 0.9 : 0.5); if (phase2) diff --git a/NPCs/NormalNPCs/AngryDog.png b/NPCs/NormalNPCs/Rimehound.png similarity index 100% rename from NPCs/NormalNPCs/AngryDog.png rename to NPCs/NormalNPCs/Rimehound.png diff --git a/NPCs/NormalNPCs/Rotdog.cs b/NPCs/NormalNPCs/Rotdog.cs index 9bc216d58e..914ced77c9 100644 --- a/NPCs/NormalNPCs/Rotdog.cs +++ b/NPCs/NormalNPCs/Rotdog.cs @@ -29,7 +29,7 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath5; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/NormalNPCs/SandTortoise.cs b/NPCs/NormalNPCs/SandTortoise.cs deleted file mode 100644 index 2c4aea9435..0000000000 --- a/NPCs/NormalNPCs/SandTortoise.cs +++ /dev/null @@ -1,66 +0,0 @@ -using CalamityMod.Items.Placeables.Banners; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -using Terraria.ModLoader.Utilities; -namespace CalamityMod.NPCs.NormalNPCs -{ - public class SandTortoise : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Sand Tortoise"); - Main.npcFrameCount[NPC.type] = 8; - } - - public override void SetDefaults() - { - NPC.npcSlots = 2f; - NPC.damage = 70; - NPC.aiStyle = 39; - NPC.width = 46; - NPC.height = 32; - NPC.defense = 30; - NPC.DR_NERD(0.25f); - NPC.scale = 1.5f; - NPC.lifeMax = 580; - NPC.knockBackResist = 0.2f; - AnimationType = NPCID.GiantTortoise; - NPC.value = Item.buyPrice(0, 0, 15, 0); - NPC.HitSound = SoundID.NPCHit24; - NPC.DeathSound = SoundID.NPCDeath27; - NPC.noGravity = false; - Banner = NPC.type; - BannerItem = ModContent.ItemType(); - NPC.Calamity().VulnerableToCold = true; - NPC.Calamity().VulnerableToSickness = true; - NPC.Calamity().VulnerableToWater = true; - } - - public override void HitEffect(int hitDirection, double damage) - { - for (int k = 0; k < 5; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - if (NPC.life <= 0) - { - for (int k = 0; k < 20; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } - - public override float SpawnChance(NPCSpawnInfo spawnInfo) - { - if (spawnInfo.PlayerSafe || !Main.hardMode || spawnInfo.Player.Calamity().ZoneSunkenSea) - { - return 0f; - } - return SpawnCondition.DesertCave.Chance * 0.05f; - } - - public override void ModifyNPCLoot(NPCLoot npcLoot) => npcLoot.Add(ItemID.TurtleShell, 10); - } -} diff --git a/NPCs/NormalNPCs/SandTortoise.png b/NPCs/NormalNPCs/SandTortoise.png deleted file mode 100644 index 1ec579c6a45dc61f1a4f42dbe0b0ddd370c15017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4026 zcmX|Ec{r478-K?(ma)`ftRbfmF&GsG8QBXBk!&MVmh488eM~7MB1g$COBgej>|0}J z91%JuyRuI9tV5Q*>H5Cw`|G{m=egeZx}W=ge#`wFX<^LEEyfK10I#Wuffe&<0stU9 zCkHd)J9|z60Qe(K4fL#oQEN^E9L&cS#|qUKDx~YdP-Qo z)jR1~0Q~8>G!$&?ve+`q|2??A&AT@n$ zVm!*KTMB9-H`*xv7>T?CW)^?$Pv*!{ubEF$46kV+g6w{)Ju{0^~8VlH(?Y+kI>N zY^zMmsz3prSnfI;UHW8u*Ic3%z<5;539q#pBR~qx&0!&i_jXeR@O#-Y&4m z$p~CJ+3kuBC^ci|Jq5B}tF;X5%iO@xmn;i#JDWuv8+Bhpu@6yWlINbZbY2G6nv7|< zUBpG1_Gxro{3i#fe*8la(c6>9G4>Tt=W$>efL?lcB<$$tDv-Lr_40DI`U&!?qb0O`A}Isxdx)uh3W$(-O7V z1-!Y(WfxtigSWGcf5M2WDqN7xkYSO!h)i3Y0KDr!vscOrcPH5t)T5D@ayP90iq$=d z9jo_e@1}1>IhGfOYQ5MCQ7;#vrxH{9w#~d>u?U!V+Tro?6Ea7O(>KOARJcz#Q{RPN z%5=Xeo~>S{_=|(ycI2sfpu;La^AMGuC#w;T&(G7-3?^Svjrs(4k`nYjy+tp+_i^nG z3^^agGU#UcO%MSX@mh!mxTQ8Gpx93mx1v-OZ0}tjm3E{?G^DsL5^eZh;k2- zFG>hL5jT-Toz*lJ6BRZ};&#c{?F);=s91V?#d`O`GkUqVV0X@fXcsUqUrkxp_N!s} zc`W59zTS%C)rG!rahMZ{!m6Pv7N+0$2&V`yJg!iN$HX^?r9b2mfD`CXX`^QS!nxg` z5BH!)QYkO#nPbq|5N&Fy8}uWD8_~^CTzn^6)H*+`CcPE@cb`C)N|5fl%}`TuT3?q) z=adJKHyuYWY^ZbLunDrY)(N>p=#xeCr;$+@RStIPN<&{!lm3<;^3$cdLQ^VfFGQcx zD@?yl$EC@F$;j-#ljdKY~b6#8K7V3M=l)}_L*>! zck81R9)bbM1Li)C8R0I2xoVtKyCF^N3C>|3bJhV&#q&5IoLoaT{v&htKZs_2l)k=t$|fvCppiSWw-Q z#_wI-&Qn?i8W04FbamVGE_#(WOGO@t*OdWlGt-gDZPqx2CjrG=YL{S752R}5jt6(p z!I9JPUL%XFiD}{P$686YSX+;Yrq6MkI3JwT;R5?eH4AcXEBOIW`8-2_Cf*4?L6$8;?Xw@xmrz2S|XQqT^> z|JaQJdyK#)e;$$6tQc6K+SJ+iyIpUtN4fw?Hs5Nds0oWBd+ntgf8Zf#CKhTgE7;Rg zQzDKV7`4x_as`yimfsY+YcESw32=dju-RuRgb9khGKSWm9m6+wLL@xytfq3n4; z97Own%@eo7XB@u`@qjN5*Ju%30vy5}P;PKJm$2qSS zje)NP-3PzL=pdUa#71aMPj8Qd0M?Bj@`$CaT% z!iN<$boVj){o~+s7*ck@TwDNbv6m`as99zNsNGKY;Xe|(?^T+sP?cC_11mgIo*dw{ zl4GDJBf!#VC`^EqPWmF?>zpj8K^e7HwWxBlsi_CfB?f%dqX9mj&Sr&DdJ))PV@y8n zLY34+XGxNGamvTmvP#|3wulA)n#GKCoI7Cto9?_M!EI54c2*~d*Sw)I&?cKPgwDqBqbH30C3?OU+D`u44YQ21Efb2 z2x7($yVWiDtJBVA;T=L=8_!`-yivR?hIm`kdN%I)1>1tL)(?H+e$DXt`vp>adirf( ze1PQ3TTO`I74h=TriiQcx_d^LqV@yLtXq<@Kn71M^!FvqzfCp&}T-WU(KmuNXVXhI&zvQu2Shxeh)|Uu&NL4X zW5zf(9cxa_GqW4QPj+S>Z?@;SC zB!1-5ZJt5LyL>v44Z>PG!ddnw!2LuXrpNP~8=vQiYR^&ekYpkB=B%?}OKFp55WZh8 z@%!XyOv;?@auFnmE7Z#h{tnz3`j!&V!zIq;*jv@lk;VwD98s~B`0D-?i?tK&yG6ig zBWZ~Fb=PUF_rZU#M!Jg)LH6Ugh(LINo)fkCth{6eC3-G-6D#CwW_l_;D2Pp3b)lC} z$}{~>+Kl$b*0*#g^QV8+YFdPh>L6$cZw2o5WkCYdbQxSG+JyAT2+;bQP`pANlrzn+ zPD{1qZrTIq%}h7FEOY|5S|`2YLZucy^S#9yl>Hk3`JXR}JS?>}&X<_hEj<#?v~@PJ z)t3{;_m4@Qf4{;f4Hgt>`x#s&T5Ik})q=A(hEt`5H*F1z(c;fADePEKj{%X)XECBo zWaU$_X!T-KH4>dxT>5 zhoLAq)Pf?bwbJ+T&+O8-@|k4Z@3rHC6cOa;*O!K*6P&$~BGpzL%zk;5Qknh)a{(n7 zGwUB`B1o{5@FjjrNB$17r}zy6?yMH&Yh1KgHx4jCU=^ADEqR4{!MH*GrY~W@H83+J zvwooP{S-Y=FJU;aH$SAVdLLu0ht7MOYB;$l{iy!EDm%)J^Q*J?5f0O?qg&1yK;d0BJVf? zRyDTnzPeOi&&MHIGMgAy0n9J{(F3z@$|=)SV1X+DLOw}JGVj;MQbY*!vb}&?uLFsW_vp&|hj%r5<}!=~%>Q~U}!4r%LZ0eIdQ zNUGXrr`t&;Y%43L_ENiUZTX+SVT_X#_RFpgny_wU?*aXrh3Y%d>E)Qw2BSJc_-I9+ zHk>$Hio5L=94M%gWW88RGS|!q6Y#s}1U*oUz-;cb*s{)haD!Ew6G*4B0!d@fc&?G# zkF;|b^C@IyufpqG$L{woh*=d#!KPzqXsG$0TsyL=aFc=HI$z54)VK z*<;JRs3ftJ=lS7s_IAvr6wNqQ&MO%6(lERP2xiZ>(0hw=b%Mi2N)S&nF|T&%Sv-1^ z)}@hr+%7WDz3zR70cZk2*a$z7YDHi&kTp?H9uUQ!fQK@gKl?w4tYl8)fT^K{LD{vt HPXORQWapjH diff --git a/NPCs/NormalNPCs/StormlionCharger.cs b/NPCs/NormalNPCs/StormlionCharger.cs index 53e6913ad9..e6bab3651c 100644 --- a/NPCs/NormalNPCs/StormlionCharger.cs +++ b/NPCs/NormalNPCs/StormlionCharger.cs @@ -74,7 +74,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 5); + npcLoot.Add(ModContent.ItemType()); npcLoot.Add(ModContent.ItemType(), 5); } } diff --git a/NPCs/OldDuke/OldDuke.cs b/NPCs/OldDuke/OldDuke.cs index 3c9904fc53..0bec348ca4 100644 --- a/NPCs/OldDuke/OldDuke.cs +++ b/NPCs/OldDuke/OldDuke.cs @@ -403,7 +403,7 @@ namespace CalamityMod.NPCs.OldDuke ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), }; normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, items)); normalOnly.Add(ModContent.ItemType(), 10); diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs index 0e600d35f6..ae303a6c89 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianBoss.cs @@ -476,7 +476,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians { npcLoot.Add(ModContent.ItemType(), 4); npcLoot.Add(ModContent.ItemType(), 7); - npcLoot.Add(ModContent.ItemType(), 10); + npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType()); diff --git a/NPCs/SunkenSea/GhostBellSmall.cs b/NPCs/SunkenSea/BabyGhostBell.cs similarity index 98% rename from NPCs/SunkenSea/GhostBellSmall.cs rename to NPCs/SunkenSea/BabyGhostBell.cs index 8fc012ef88..b4beaacd63 100644 --- a/NPCs/SunkenSea/GhostBellSmall.cs +++ b/NPCs/SunkenSea/BabyGhostBell.cs @@ -12,7 +12,7 @@ using Terraria.ModLoader.Utilities; using CalamityMod.Items.Fishing.SunkenSeaCatches; namespace CalamityMod.NPCs.SunkenSea { - public class GhostBellSmall : ModNPC + public class BabyGhostBell : ModNPC { public bool hasBeenHit = false; @@ -40,7 +40,7 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit25; NPC.DeathSound = SoundID.NPCDeath28; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.catchItem = (short)ModContent.ItemType(); } diff --git a/NPCs/SunkenSea/GhostBellSmall.png b/NPCs/SunkenSea/BabyGhostBell.png similarity index 100% rename from NPCs/SunkenSea/GhostBellSmall.png rename to NPCs/SunkenSea/BabyGhostBell.png diff --git a/NPCs/SunkenSea/GhostBellSmallGlow.png b/NPCs/SunkenSea/BabyGhostBellGlow.png similarity index 100% rename from NPCs/SunkenSea/GhostBellSmallGlow.png rename to NPCs/SunkenSea/BabyGhostBellGlow.png diff --git a/NPCs/SunkenSea/PrismTurtle.cs b/NPCs/SunkenSea/PrismBack.cs similarity index 98% rename from NPCs/SunkenSea/PrismTurtle.cs rename to NPCs/SunkenSea/PrismBack.cs index 41c4b6a960..dfde2d8524 100644 --- a/NPCs/SunkenSea/PrismTurtle.cs +++ b/NPCs/SunkenSea/PrismBack.cs @@ -12,7 +12,7 @@ using Terraria.ModLoader; using Terraria.ModLoader.Utilities; namespace CalamityMod.NPCs.SunkenSea { - public class PrismTurtle : ModNPC + public class PrismBack : ModNPC { public override void SetStaticDefaults() { @@ -36,7 +36,7 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath27; NPC.knockBackResist = 0.15f; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/SunkenSea/PrismTurtle.png b/NPCs/SunkenSea/PrismBack.png similarity index 100% rename from NPCs/SunkenSea/PrismTurtle.png rename to NPCs/SunkenSea/PrismBack.png diff --git a/NPCs/SunkenSea/PrismTurtleGlow.png b/NPCs/SunkenSea/PrismBackGlow.png similarity index 100% rename from NPCs/SunkenSea/PrismTurtleGlow.png rename to NPCs/SunkenSea/PrismBackGlow.png diff --git a/NPCs/TownNPCs/FAP.cs b/NPCs/TownNPCs/FAP.cs index 3a81c45ae7..88604f53e5 100644 --- a/NPCs/TownNPCs/FAP.cs +++ b/NPCs/TownNPCs/FAP.cs @@ -196,7 +196,7 @@ namespace CalamityMod.NPCs.TownNPCs if (Main.player[Main.myPlayer].Calamity().chibii) dialogue.Add("The hell is that? Looks like something I'd carry around if I was 5 years old."); - if (Main.player[Main.myPlayer].Calamity().sirenBoobs && !Main.player[Main.myPlayer].Calamity().sirenBoobsHide) + if (Main.player[Main.myPlayer].Calamity().aquaticHeart && !Main.player[Main.myPlayer].Calamity().aquaticHeartHide) dialogue.Add("Nice scales... is it hot in here or is it just me?"); if (Main.player[Main.myPlayer].Calamity().fabsolVodka) diff --git a/NPCs/VanillaNPCOverrides/RegularEnemies/DemonEyeAI.cs b/NPCs/VanillaNPCOverrides/RegularEnemies/DemonEyeAI.cs index a12db4f6da..fdfb265bd8 100644 --- a/NPCs/VanillaNPCOverrides/RegularEnemies/DemonEyeAI.cs +++ b/NPCs/VanillaNPCOverrides/RegularEnemies/DemonEyeAI.cs @@ -1,4 +1,4 @@ -using CalamityMod.NPCs.Crags; +using CalamityMod.NPCs.Crags; using CalamityMod.NPCs.NormalNPCs; using Microsoft.Xna.Framework; using System.Collections.Generic; @@ -23,7 +23,6 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.RegularEnemies NPCID.PurpleEye, NPCID.DemonEyeOwl, NPCID.DemonEyeSpaceship, - ModContent.NPCType() }; public static List Pigrons => new List() @@ -160,7 +159,7 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.RegularEnemies ref float fadeThroughWallsFlag = ref npc.ai[1]; // Fade away and go through walls if the NPC is a pigron or Calamity eye. - if (Pigrons.Contains(npc.type) || npc.type == ModContent.NPCType() || npc.type == ModContent.NPCType()) + if (Pigrons.Contains(npc.type) || npc.type == ModContent.NPCType()) { // Stop going through walls if the target can be reached. if (Collision.CanHit(npc.position, npc.width, npc.height, target.position, target.width, target.height)) @@ -234,7 +233,6 @@ namespace CalamityMod.NPCs.VanillaNPCOverrides.RegularEnemies if (npc.type == NPCID.DemonEye || npc.type == NPCID.WanderingEye || npc.type == ModContent.NPCType() || - npc.type == ModContent.NPCType() || (npc.type >= NPCID.CataractEye && npc.type <= NPCID.PurpleEye)) { if (Main.rand.NextBool(40)) diff --git a/Projectiles/Ranged/AccelerationBulletProj.cs b/Projectiles/Ranged/AccelerationRoundProj.cs similarity index 98% rename from Projectiles/Ranged/AccelerationBulletProj.cs rename to Projectiles/Ranged/AccelerationRoundProj.cs index 9d8e8eb7cd..ac8599c150 100644 --- a/Projectiles/Ranged/AccelerationBulletProj.cs +++ b/Projectiles/Ranged/AccelerationRoundProj.cs @@ -7,7 +7,7 @@ using Terraria.Audio; namespace CalamityMod.Projectiles.Ranged { - public class AccelerationBulletProj : ModProjectile + public class AccelerationRoundProj : ModProjectile { public override void SetStaticDefaults() { diff --git a/Projectiles/Ranged/AccelerationBulletProj.png b/Projectiles/Ranged/AccelerationRoundProj.png similarity index 100% rename from Projectiles/Ranged/AccelerationBulletProj.png rename to Projectiles/Ranged/AccelerationRoundProj.png diff --git a/Projectiles/Ranged/AcidBulletProj.cs b/Projectiles/Ranged/AcidRoundProj.cs similarity index 98% rename from Projectiles/Ranged/AcidBulletProj.cs rename to Projectiles/Ranged/AcidRoundProj.cs index 59a10194e8..c488c1c12d 100644 --- a/Projectiles/Ranged/AcidBulletProj.cs +++ b/Projectiles/Ranged/AcidRoundProj.cs @@ -8,7 +8,7 @@ using Terraria.Audio; namespace CalamityMod.Projectiles.Ranged { - public class AcidBulletProj : ModProjectile + public class AcidRoundProj : ModProjectile { public override void SetStaticDefaults() { diff --git a/Projectiles/Ranged/AcidBulletProj.png b/Projectiles/Ranged/AcidRoundProj.png similarity index 100% rename from Projectiles/Ranged/AcidBulletProj.png rename to Projectiles/Ranged/AcidRoundProj.png diff --git a/Projectiles/Ranged/FlashBulletProj.cs b/Projectiles/Ranged/FlashRoundProj.cs similarity index 98% rename from Projectiles/Ranged/FlashBulletProj.cs rename to Projectiles/Ranged/FlashRoundProj.cs index 1647f730e0..af7f5ff29a 100644 --- a/Projectiles/Ranged/FlashBulletProj.cs +++ b/Projectiles/Ranged/FlashRoundProj.cs @@ -7,7 +7,7 @@ using Terraria.Audio; namespace CalamityMod.Projectiles.Ranged { - public class FlashBulletProj : ModProjectile + public class FlashRoundProj : ModProjectile { public override void SetStaticDefaults() { diff --git a/Projectiles/Ranged/FlashBulletProj.png b/Projectiles/Ranged/FlashRoundProj.png similarity index 100% rename from Projectiles/Ranged/FlashBulletProj.png rename to Projectiles/Ranged/FlashRoundProj.png diff --git a/Sounds/Custom/AngryDogGrowl.cs b/Sounds/Custom/RimehoundGrowl.cs similarity index 100% rename from Sounds/Custom/AngryDogGrowl.cs rename to Sounds/Custom/RimehoundGrowl.cs diff --git a/Sounds/Custom/AngryDogGrowl.ogg b/Sounds/Custom/RimehoundGrowl.ogg similarity index 100% rename from Sounds/Custom/AngryDogGrowl.ogg rename to Sounds/Custom/RimehoundGrowl.ogg diff --git a/Sounds/NPCHit/AngryDogHit.cs b/Sounds/NPCHit/RimehoundHit.cs similarity index 100% rename from Sounds/NPCHit/AngryDogHit.cs rename to Sounds/NPCHit/RimehoundHit.cs diff --git a/Sounds/NPCHit/AngryDogHit.ogg b/Sounds/NPCHit/RimehoundHit.ogg similarity index 100% rename from Sounds/NPCHit/AngryDogHit.ogg rename to Sounds/NPCHit/RimehoundHit.ogg diff --git a/Tiles/Furniture/BabyFlakHermitCageTile.cs b/Tiles/Furniture/BabyFlakCrabCageTile.cs similarity index 91% rename from Tiles/Furniture/BabyFlakHermitCageTile.cs rename to Tiles/Furniture/BabyFlakCrabCageTile.cs index af0a6d0364..bf51fc0f93 100644 --- a/Tiles/Furniture/BabyFlakHermitCageTile.cs +++ b/Tiles/Furniture/BabyFlakCrabCageTile.cs @@ -7,7 +7,7 @@ using Terraria.ObjectData; namespace CalamityMod.Tiles.Furniture { - public class BabyFlakHermitCageTile : ModTile + public class BabyFlakCrabCageTile : ModTile { public override void SetStaticDefaults() { @@ -18,7 +18,7 @@ namespace CalamityMod.Tiles.Furniture TileObjectData.addTile(Type); AnimationFrameHeight = 54; ModTranslation name = CreateMapEntryName(); - name.SetDefault("Baby Flak Hermit Cage"); + name.SetDefault("Baby Flak Crab Cage"); AddMapEntry(new Color(175, 238, 238), name); } @@ -59,7 +59,7 @@ namespace CalamityMod.Tiles.Furniture public override void KillMultiTile(int i, int j, int frameX, int frameY) { - Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); + Item.NewItem(new EntitySource_TileBreak(i, j), i * 16, j * 16, 16, 32, ModContent.ItemType()); } } } diff --git a/Tiles/Furniture/BabyFlakHermitCageTile.png b/Tiles/Furniture/BabyFlakCrabCageTile.png similarity index 100% rename from Tiles/Furniture/BabyFlakHermitCageTile.png rename to Tiles/Furniture/BabyFlakCrabCageTile.png diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 4b36fd1829..104ae765a1 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -827,13 +827,6 @@ namespace CalamityMod r.AddTile(TileID.AlchemyTable); r.Register(); } - - r = CreateRecipe(ItemID.ArcheryPotion); - r.AddIngredient(ItemID.BottledWater); - r.AddIngredient(ItemID.Daybloom); - r.AddIngredient(ModContent.ItemType()); - r.AddTile(TileID.Bottles); - r.Register(); } #endregion @@ -1409,7 +1402,7 @@ namespace CalamityMod r = CreateRecipe(ItemID.MagicQuiver); r.AddIngredient(ItemID.EndlessQuiver); r.AddIngredient(ItemID.PixieDust, 10); - r.AddIngredient(ModContent.ItemType(), 5); + r.AddIngredient(ItemID.Lens, 5); r.AddIngredient(ItemID.SoulofLight, 8); r.AddTile(TileID.CrystalBall); r.Register(); @@ -1738,10 +1731,10 @@ namespace CalamityMod ItemID.LongRainbowTrailWings, ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType() }); diff --git a/Utilities/MiscUtils.cs b/Utilities/MiscUtils.cs index afe46da9f0..03595c0849 100644 --- a/Utilities/MiscUtils.cs +++ b/Utilities/MiscUtils.cs @@ -475,7 +475,7 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 53: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 54: item = ModContent.ItemType(); @@ -493,7 +493,7 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 59: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 60: item = ModContent.ItemType(); @@ -577,7 +577,7 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 87: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 88: item = ModContent.ItemType(); @@ -610,7 +610,7 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 98: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 99: item = ModContent.ItemType(); @@ -622,7 +622,7 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 102: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 103: item = ModContent.ItemType(); @@ -670,10 +670,10 @@ namespace CalamityMod item = ModContent.ItemType(); break; case 118: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 119: - item = ModContent.ItemType(); + item = ModContent.ItemType(); break; case 120: item = ModContent.ItemType(); @@ -707,9 +707,6 @@ namespace CalamityMod int npc = -1; switch (style) { - case 0: - npc = ModContent.NPCType(); - break; case 1: npc = ModContent.NPCType(); break; @@ -866,9 +863,6 @@ namespace CalamityMod case 53: npc = ModContent.NPCType(); break; - case 54: - npc = ModContent.NPCType(); - break; case 55: npc = ModContent.NPCType(); break; @@ -882,7 +876,7 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 59: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 60: npc = ModContent.NPCType(); @@ -896,9 +890,6 @@ namespace CalamityMod case 63: npc = ModContent.NPCType(); break; - case 64: - npc = ModContent.NPCType(); - break; case 65: npc = ModContent.NPCType(); break; @@ -999,7 +990,7 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 98: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 99: npc = ModContent.NPCType(); @@ -1011,7 +1002,7 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 102: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 103: npc = ModContent.NPCType(); @@ -1059,10 +1050,10 @@ namespace CalamityMod npc = ModContent.NPCType(); break; case 118: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 119: - npc = ModContent.NPCType(); + npc = ModContent.NPCType(); break; case 120: npc = ModContent.NPCType(); diff --git a/Utilities/NPCDebuffs.cs b/Utilities/NPCDebuffs.cs index e02bc0fe5b..f207492fa0 100644 --- a/Utilities/NPCDebuffs.cs +++ b/Utilities/NPCDebuffs.cs @@ -195,7 +195,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, @@ -204,10 +204,9 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sulphurEnemyImmunities) }, @@ -226,7 +225,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.sunkenSeaEnemyImmunities) }, @@ -314,7 +313,7 @@ namespace CalamityMod { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.slimeEnemyImmunities) }, - { ModContent.NPCType(), new Tuple(false, CalamityMod.iceEnemyImmunities) }, + { ModContent.NPCType(), new Tuple(false, CalamityMod.iceEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.iceEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.iceEnemyImmunities) }, { ModContent.NPCType(), new Tuple(false, CalamityMod.iceEnemyImmunities) }, diff --git a/World/UndergroundShrines.cs b/World/UndergroundShrines.cs index da55bed04d..ba8650b67f 100644 --- a/World/UndergroundShrines.cs +++ b/World/UndergroundShrines.cs @@ -138,7 +138,7 @@ namespace CalamityMod.World chestType = 32; break; case UndergroundShrineType.Granite: - item = ModContent.ItemType(); + item = ModContent.ItemType(); chestType = 50; break; case UndergroundShrineType.Marble: