diff --git a/Items/Placeables/Banners/BabyGhostBellBanner.png b/Items/Placeables/Banners/BabyGhostBellBanner.png index 6c1997b3b2..28922c83c1 100644 Binary files a/Items/Placeables/Banners/BabyGhostBellBanner.png and b/Items/Placeables/Banners/BabyGhostBellBanner.png differ diff --git a/Items/Placeables/Banners/CarrionSwallowerBanner.cs b/Items/Placeables/Banners/CarrionSwallowerBanner.cs new file mode 100644 index 0000000000..90902798cf --- /dev/null +++ b/Items/Placeables/Banners/CarrionSwallowerBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class CarrionSwallowerBanner : BaseBanner + { + public override int BannerTileStyle => 131; + } +} diff --git a/Items/Placeables/Banners/CarrionSwallowerBanner.png b/Items/Placeables/Banners/CarrionSwallowerBanner.png new file mode 100644 index 0000000000..06ec2f37d3 Binary files /dev/null and b/Items/Placeables/Banners/CarrionSwallowerBanner.png differ diff --git a/Items/Placeables/Banners/ClamBanner.png b/Items/Placeables/Banners/ClamBanner.png index 74b65932d9..1aab94c02e 100644 Binary files a/Items/Placeables/Banners/ClamBanner.png and b/Items/Placeables/Banners/ClamBanner.png differ diff --git a/Items/Placeables/Banners/EutrophicRayBanner.png b/Items/Placeables/Banners/EutrophicRayBanner.png index 64815b0761..9ea5ff141d 100644 Binary files a/Items/Placeables/Banners/EutrophicRayBanner.png and b/Items/Placeables/Banners/EutrophicRayBanner.png differ diff --git a/Items/Placeables/Banners/GhostBellBanner.png b/Items/Placeables/Banners/GhostBellBanner.png index 74dcd77ed3..a9b012f504 100644 Binary files a/Items/Placeables/Banners/GhostBellBanner.png and b/Items/Placeables/Banners/GhostBellBanner.png differ diff --git a/Items/Placeables/Banners/GildedAxolotlBanner.png b/Items/Placeables/Banners/GildedAxolotlBanner.png new file mode 100644 index 0000000000..9fe9cd10c0 Binary files /dev/null and b/Items/Placeables/Banners/GildedAxolotlBanner.png differ diff --git a/Items/Placeables/Banners/GruboltBanner.png b/Items/Placeables/Banners/GruboltBanner.png new file mode 100644 index 0000000000..6c9733e5e4 Binary files /dev/null and b/Items/Placeables/Banners/GruboltBanner.png differ diff --git a/Items/Placeables/Banners/HauntedChumBanner.cs b/Items/Placeables/Banners/HauntedChumBanner.cs new file mode 100644 index 0000000000..5613395082 --- /dev/null +++ b/Items/Placeables/Banners/HauntedChumBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class HauntedChumBanner : BaseBanner + { + public override int BannerTileStyle => 134; + } +} diff --git a/Items/Placeables/Banners/HauntedChumBanner.png b/Items/Placeables/Banners/HauntedChumBanner.png new file mode 100644 index 0000000000..711d5fa40f Binary files /dev/null and b/Items/Placeables/Banners/HauntedChumBanner.png differ diff --git a/Items/Placeables/Banners/JellyghoulBanner.cs b/Items/Placeables/Banners/JellyghoulBanner.cs new file mode 100644 index 0000000000..760cf5c86b --- /dev/null +++ b/Items/Placeables/Banners/JellyghoulBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class JellyghoulBanner : BaseBanner + { + public override int BannerTileStyle => 135; + } +} diff --git a/Items/Placeables/Banners/JellyghoulBanner.png b/Items/Placeables/Banners/JellyghoulBanner.png new file mode 100644 index 0000000000..01ded98a8a Binary files /dev/null and b/Items/Placeables/Banners/JellyghoulBanner.png differ diff --git a/Items/Placeables/Banners/KelpieSeadragonBanner.cs b/Items/Placeables/Banners/KelpieSeadragonBanner.cs new file mode 100644 index 0000000000..a3048b0a20 --- /dev/null +++ b/Items/Placeables/Banners/KelpieSeadragonBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class KelpieSeadragonBanner : BaseBanner + { + public override int BannerTileStyle => 136; + } +} diff --git a/Items/Placeables/Banners/KelpieSeadragonBanner.png b/Items/Placeables/Banners/KelpieSeadragonBanner.png new file mode 100644 index 0000000000..6a08e30355 Binary files /dev/null and b/Items/Placeables/Banners/KelpieSeadragonBanner.png differ diff --git a/Items/Placeables/Banners/LazarusLampfishBanner.cs b/Items/Placeables/Banners/LazarusLampfishBanner.cs new file mode 100644 index 0000000000..64ea4ba955 --- /dev/null +++ b/Items/Placeables/Banners/LazarusLampfishBanner.cs @@ -0,0 +1,10 @@ +using Terraria.ModLoader; + +namespace CalamityMod.Items.Placeables.Banners +{ + [LegacyName("BlindedAnglerBanner")] + public class LazarusLampfishBanner : BaseBanner + { + public override int BannerTileStyle => 104; + } +} diff --git a/Items/Placeables/Banners/LazarusLampfishBanner.png b/Items/Placeables/Banners/LazarusLampfishBanner.png new file mode 100644 index 0000000000..e6d468d0e6 Binary files /dev/null and b/Items/Placeables/Banners/LazarusLampfishBanner.png differ diff --git a/Items/Placeables/Banners/LeerslugBanner.cs b/Items/Placeables/Banners/LeerslugBanner.cs new file mode 100644 index 0000000000..16370c2bec --- /dev/null +++ b/Items/Placeables/Banners/LeerslugBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class LeerslugBanner : BaseBanner + { + public override int BannerTileStyle => 137; + } +} diff --git a/Items/Placeables/Banners/LeerslugBanner.png b/Items/Placeables/Banners/LeerslugBanner.png new file mode 100644 index 0000000000..a4eaf2a916 Binary files /dev/null and b/Items/Placeables/Banners/LeerslugBanner.png differ diff --git a/Items/Placeables/Banners/LostShoalBanner.cs b/Items/Placeables/Banners/LostShoalBanner.cs new file mode 100644 index 0000000000..b63af3b21d --- /dev/null +++ b/Items/Placeables/Banners/LostShoalBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class LostShoalBanner : BaseBanner + { + public override int BannerTileStyle => 138; + } +} diff --git a/Items/Placeables/Banners/LostShoalBanner.png b/Items/Placeables/Banners/LostShoalBanner.png new file mode 100644 index 0000000000..7c9a0febca Binary files /dev/null and b/Items/Placeables/Banners/LostShoalBanner.png differ diff --git a/Items/Placeables/Banners/MirageNewtBanner.png b/Items/Placeables/Banners/MirageNewtBanner.png new file mode 100644 index 0000000000..1424910e5c Binary files /dev/null and b/Items/Placeables/Banners/MirageNewtBanner.png differ diff --git a/Items/Placeables/Banners/PanaseaBanner.png b/Items/Placeables/Banners/PanaseaBanner.png new file mode 100644 index 0000000000..8c85af80ca Binary files /dev/null and b/Items/Placeables/Banners/PanaseaBanner.png differ diff --git a/Items/Placeables/Banners/PearlpodBanner.cs b/Items/Placeables/Banners/PearlpodBanner.cs new file mode 100644 index 0000000000..bf3ba1b781 --- /dev/null +++ b/Items/Placeables/Banners/PearlpodBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class PearlpodBanner : BaseBanner + { + public override int BannerTileStyle => 141; + } +} diff --git a/Items/Placeables/Banners/PearlpodBanner.png b/Items/Placeables/Banners/PearlpodBanner.png new file mode 100644 index 0000000000..e341098eb2 Binary files /dev/null and b/Items/Placeables/Banners/PearlpodBanner.png differ diff --git a/Items/Placeables/Banners/PodobooKoiBanner.cs b/Items/Placeables/Banners/PodobooKoiBanner.cs new file mode 100644 index 0000000000..14ac5680a0 --- /dev/null +++ b/Items/Placeables/Banners/PodobooKoiBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class PodobooKoiBanner : BaseBanner + { + public override int BannerTileStyle => 143; + } +} diff --git a/Items/Placeables/Banners/PodobooKoiBanner.png b/Items/Placeables/Banners/PodobooKoiBanner.png new file mode 100644 index 0000000000..c2b67aa9cc Binary files /dev/null and b/Items/Placeables/Banners/PodobooKoiBanner.png differ diff --git a/Items/Placeables/Banners/PolyperilBanner.cs b/Items/Placeables/Banners/PolyperilBanner.cs new file mode 100644 index 0000000000..6bc04212fd --- /dev/null +++ b/Items/Placeables/Banners/PolyperilBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class PolyperilBanner : BaseBanner + { + public override int BannerTileStyle => 144; + } +} diff --git a/Items/Placeables/Banners/PolyperilBanner.png b/Items/Placeables/Banners/PolyperilBanner.png new file mode 100644 index 0000000000..bd04faf38e Binary files /dev/null and b/Items/Placeables/Banners/PolyperilBanner.png differ diff --git a/Items/Placeables/Banners/PrismBackBanner.png b/Items/Placeables/Banners/PrismBackBanner.png index 1f467b4d74..cc05ba7917 100644 Binary files a/Items/Placeables/Banners/PrismBackBanner.png and b/Items/Placeables/Banners/PrismBackBanner.png differ diff --git a/Items/Placeables/Banners/PrismaticGuppyBanner.cs b/Items/Placeables/Banners/PrismaticGuppyBanner.cs new file mode 100644 index 0000000000..583fa7aa71 --- /dev/null +++ b/Items/Placeables/Banners/PrismaticGuppyBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class PrismaticGuppyBanner : BaseBanner + { + public override int BannerTileStyle => 145; + } +} diff --git a/Items/Placeables/Banners/PrismaticGuppyBanner.png b/Items/Placeables/Banners/PrismaticGuppyBanner.png new file mode 100644 index 0000000000..7c2acc6c4b Binary files /dev/null and b/Items/Placeables/Banners/PrismaticGuppyBanner.png differ diff --git a/Items/Placeables/Banners/ProbesnoutBanner.png b/Items/Placeables/Banners/ProbesnoutBanner.png index 40c40de9f3..331b966302 100644 Binary files a/Items/Placeables/Banners/ProbesnoutBanner.png and b/Items/Placeables/Banners/ProbesnoutBanner.png differ diff --git a/Items/Placeables/Banners/SeaSerpentBanner.cs b/Items/Placeables/Banners/SandProwlerBanner.cs similarity index 71% rename from Items/Placeables/Banners/SeaSerpentBanner.cs rename to Items/Placeables/Banners/SandProwlerBanner.cs index ef12cc3ebc..990d11959a 100644 --- a/Items/Placeables/Banners/SeaSerpentBanner.cs +++ b/Items/Placeables/Banners/SandProwlerBanner.cs @@ -1,6 +1,6 @@ namespace CalamityMod.Items.Placeables.Banners { - public class SeaSerpentBanner : BaseBanner + public class SandProwlerBanner : BaseBanner { public override int BannerTileStyle => 106; } diff --git a/Items/Placeables/Banners/SandProwlerBanner.png b/Items/Placeables/Banners/SandProwlerBanner.png new file mode 100644 index 0000000000..c440619fe1 Binary files /dev/null and b/Items/Placeables/Banners/SandProwlerBanner.png differ diff --git a/Items/Placeables/Banners/ScavengerBanner.cs b/Items/Placeables/Banners/ScavengerBanner.cs new file mode 100644 index 0000000000..3c38808a7d --- /dev/null +++ b/Items/Placeables/Banners/ScavengerBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class ScavengerBanner : BaseBanner + { + public override int BannerTileStyle => 146; + } +} diff --git a/Items/Placeables/Banners/ScavengerBanner.png b/Items/Placeables/Banners/ScavengerBanner.png new file mode 100644 index 0000000000..4d894c8707 Binary files /dev/null and b/Items/Placeables/Banners/ScavengerBanner.png differ diff --git a/Items/Placeables/Banners/SeaFloatyBanner.png b/Items/Placeables/Banners/SeaFloatyBanner.png index 1578c3e4dc..3f38042d8a 100644 Binary files a/Items/Placeables/Banners/SeaFloatyBanner.png and b/Items/Placeables/Banners/SeaFloatyBanner.png differ diff --git a/Items/Placeables/Banners/SeaMinnowBanner.png b/Items/Placeables/Banners/SeaMinnowBanner.png index aa6eebf84f..2419202e4b 100644 Binary files a/Items/Placeables/Banners/SeaMinnowBanner.png and b/Items/Placeables/Banners/SeaMinnowBanner.png differ diff --git a/Items/Placeables/Banners/SeaSerpentBanner.png b/Items/Placeables/Banners/SeaSerpentBanner.png deleted file mode 100644 index e384093d74..0000000000 Binary files a/Items/Placeables/Banners/SeaSerpentBanner.png and /dev/null differ diff --git a/Items/Placeables/Banners/SearslugBanner.cs b/Items/Placeables/Banners/SearslugBanner.cs new file mode 100644 index 0000000000..0d16292aac --- /dev/null +++ b/Items/Placeables/Banners/SearslugBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class SearslugBanner : BaseBanner + { + public override int BannerTileStyle => 147; + } +} diff --git a/Items/Placeables/Banners/SearslugBanner.png b/Items/Placeables/Banners/SearslugBanner.png new file mode 100644 index 0000000000..1851a2640f Binary files /dev/null and b/Items/Placeables/Banners/SearslugBanner.png differ diff --git a/Items/Placeables/Banners/SharkoonBanner.png b/Items/Placeables/Banners/SharkoonBanner.png index 6dcf32bad3..e42d222bd7 100644 Binary files a/Items/Placeables/Banners/SharkoonBanner.png and b/Items/Placeables/Banners/SharkoonBanner.png differ diff --git a/Items/Placeables/Banners/ShoreskipperBanner.png b/Items/Placeables/Banners/ShoreskipperBanner.png new file mode 100644 index 0000000000..c08cb19213 Binary files /dev/null and b/Items/Placeables/Banners/ShoreskipperBanner.png differ diff --git a/Items/Placeables/Banners/SlugbunBanner.cs b/Items/Placeables/Banners/SlugbunBanner.cs new file mode 100644 index 0000000000..ebdb7624cd --- /dev/null +++ b/Items/Placeables/Banners/SlugbunBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class SlugbunBanner : BaseBanner + { + public override int BannerTileStyle => 149; + } +} diff --git a/Items/Placeables/Banners/SlugbunBanner.png b/Items/Placeables/Banners/SlugbunBanner.png new file mode 100644 index 0000000000..c7f6060a39 Binary files /dev/null and b/Items/Placeables/Banners/SlugbunBanner.png differ diff --git a/Items/Placeables/Banners/SteampodBanner.cs b/Items/Placeables/Banners/SteampodBanner.cs new file mode 100644 index 0000000000..f62212ebc6 --- /dev/null +++ b/Items/Placeables/Banners/SteampodBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class SteampodBanner : BaseBanner + { + public override int BannerTileStyle => 150; + } +} diff --git a/Items/Placeables/Banners/SteampodBanner.png b/Items/Placeables/Banners/SteampodBanner.png new file mode 100644 index 0000000000..a503c69f5b Binary files /dev/null and b/Items/Placeables/Banners/SteampodBanner.png differ diff --git a/Items/Placeables/Banners/StormlionBanner.png b/Items/Placeables/Banners/StormlionBanner.png index 23afbabbfa..e15ff2bc86 100644 Binary files a/Items/Placeables/Banners/StormlionBanner.png and b/Items/Placeables/Banners/StormlionBanner.png differ diff --git a/Items/Placeables/Banners/StormlionScoutBanner.png b/Items/Placeables/Banners/StormlionScoutBanner.png new file mode 100644 index 0000000000..8eda3688b6 Binary files /dev/null and b/Items/Placeables/Banners/StormlionScoutBanner.png differ diff --git a/Items/Placeables/Banners/StormlionSentryBanner.cs b/Items/Placeables/Banners/StormlionSentryBanner.cs new file mode 100644 index 0000000000..62ba388dca --- /dev/null +++ b/Items/Placeables/Banners/StormlionSentryBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class StormlionSentryBanner : BaseBanner + { + public override int BannerTileStyle => 142; + } +} diff --git a/Items/Placeables/Banners/StormlionSentryBanner.png b/Items/Placeables/Banners/StormlionSentryBanner.png new file mode 100644 index 0000000000..67bab5c7e6 Binary files /dev/null and b/Items/Placeables/Banners/StormlionSentryBanner.png differ diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index 746f0693ae..e22ca925ef 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -4643,3 +4643,21 @@ UnsafeNavystoneWall: { DisplayName: Unsafe Navystone Wall Tooltip: "" } + +CarrionSwallowerBanner.DisplayName: Carrion Swallower Banner +HauntedChumBanner.DisplayName: Haunted Chum Banner +JellyghoulBanner.DisplayName: Jellyghoul Banner +KelpieSeadragonBanner.DisplayName: Kelpie Seadragon Banner +LazarusLampfishBanner.DisplayName: Lazarus Lampfish Banner +LeerslugBanner.DisplayName: Leerslug Banner +LostShoalBanner.DisplayName: Lost Shoal Banner +PearlpodBanner.DisplayName: Pearlpod Banner +PodobooKoiBanner.DisplayName: Podoboo Koi Banner +PolyperilBanner.DisplayName: Polyperil Banner +PrismaticGuppyBanner.DisplayName: Prismatic Guppy Banner +SandProwlerBanner.DisplayName: Sand Prowler Banner +ScavengerBanner.DisplayName: Scavenger Banner +SearslugBanner.DisplayName: Searslug Banner +SlugbunBanner.DisplayName: Slugbun Banner +SteampodBanner.DisplayName: Steampod Banner +StormlionSentryBanner.DisplayName: Stormlion Sentry Banner diff --git a/NPCs/SunkenSea/CarrionSwallower.cs b/NPCs/SunkenSea/CarrionSwallower.cs index d072498999..31c95cb07c 100644 --- a/NPCs/SunkenSea/CarrionSwallower.cs +++ b/NPCs/SunkenSea/CarrionSwallower.cs @@ -3,6 +3,7 @@ using CalamityMod.BiomeManagers; using CalamityMod.Dusts; using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Banners; using CalamityMod.NPCs.NormalNPCs; using CalamityMod.Particles; using CalamityMod.Projectiles.Enemy; @@ -44,8 +45,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.DD2_SkeletonDeath; NPC.noGravity = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); } public override void SendExtraAI(BinaryWriter writer) diff --git a/NPCs/SunkenSea/HauntedChum.cs b/NPCs/SunkenSea/HauntedChum.cs index a0b1ebf8d9..10e0901da1 100644 --- a/NPCs/SunkenSea/HauntedChum.cs +++ b/NPCs/SunkenSea/HauntedChum.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using CalamityMod.BiomeManagers; using CalamityMod.DataStructures; using CalamityMod.Graphics.Primitives; +using CalamityMod.Items.Placeables.Banners; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -44,6 +45,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.noGravity = true; NPC.noTileCollide = true; SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; + Banner = NPC.type; + BannerItem = ModContent.ItemType(); } public override void AI() diff --git a/NPCs/SunkenSea/Jellyghoul.cs b/NPCs/SunkenSea/Jellyghoul.cs index d9d6a532e0..5dd78c9a5e 100644 --- a/NPCs/SunkenSea/Jellyghoul.cs +++ b/NPCs/SunkenSea/Jellyghoul.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using CalamityMod.BiomeManagers; using CalamityMod.DataStructures; using CalamityMod.Items.Placeables; +using CalamityMod.Items.Placeables.Banners; using CalamityMod.Particles; using CalamityMod.Projectiles.Enemy; using CalamityMod.Systems; @@ -65,8 +66,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath3; NPC.chaseable = false; NPC.noTileCollide = true; - // Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); SpawnModBiomes = new int[1] { ModContent.GetInstance().Type }; } diff --git a/NPCs/SunkenSea/KelpieSeadragon.cs b/NPCs/SunkenSea/KelpieSeadragon.cs index e131646269..4b5185fdaf 100644 --- a/NPCs/SunkenSea/KelpieSeadragon.cs +++ b/NPCs/SunkenSea/KelpieSeadragon.cs @@ -73,8 +73,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath1; NPC.knockBackResist = 0.15f; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/SunkenSea/LazarusLampfish.cs b/NPCs/SunkenSea/LazarusLampfish.cs index 0ea2671558..0fd1e17af6 100644 --- a/NPCs/SunkenSea/LazarusLampfish.cs +++ b/NPCs/SunkenSea/LazarusLampfish.cs @@ -24,6 +24,8 @@ using Terraria.ModLoader; using Terraria.ModLoader.Utilities; namespace CalamityMod.NPCs.SunkenSea { + [LegacyName("Blinded Angler")] + public class LazarusLampfish : SunkenSeaNPC { public enum PhaseType @@ -95,8 +97,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath1; NPC.knockBackResist = 0.1f; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); LegacyName this to the BlindedAngler banner when it exists + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/SunkenSea/Leerslug.cs b/NPCs/SunkenSea/Leerslug.cs index 9e0692ce65..23cbd80253 100644 --- a/NPCs/SunkenSea/Leerslug.cs +++ b/NPCs/SunkenSea/Leerslug.cs @@ -61,8 +61,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit50; NPC.DeathSound = SoundID.NPCDeath53; NPC.GravityIgnoresLiquid = true; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; diff --git a/NPCs/SunkenSea/LostShoal.cs b/NPCs/SunkenSea/LostShoal.cs index 19d401715f..b337deb76b 100644 --- a/NPCs/SunkenSea/LostShoal.cs +++ b/NPCs/SunkenSea/LostShoal.cs @@ -61,8 +61,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath6; NPC.noTileCollide = true; NPC.alpha = 120; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.catchItem = ItemID.AshBlock; // yeah this is intentional NPC.Calamity().VulnerableToHeat = false; diff --git a/NPCs/SunkenSea/Pearlpod.cs b/NPCs/SunkenSea/Pearlpod.cs index 516f7b5d31..19020fbd18 100644 --- a/NPCs/SunkenSea/Pearlpod.cs +++ b/NPCs/SunkenSea/Pearlpod.cs @@ -63,8 +63,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit38; NPC.DeathSound = SoundID.NPCDeath1; NPC.GravityIgnoresLiquid = true; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.catchItem = ItemType; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; @@ -371,6 +371,11 @@ namespace CalamityMod.NPCs.SunkenSea base.SetStaticDefaults(); Main.npcFrameCount[Type] = 4; } + public override void SetDefaults() + { + Banner = ModContent.NPCType(); + BannerItem = ModContent.ItemType(); + } public override float SpawnRate => 0.6f; public override int ItemType => ModContent.ItemType(); } @@ -382,7 +387,11 @@ namespace CalamityMod.NPCs.SunkenSea this.HideFromBestiary(); Main.npcFrameCount[Type] = 4; } - + public override void SetDefaults() + { + Banner = ModContent.NPCType(); + BannerItem = ModContent.ItemType(); + } public override float SpawnRate => 0.05f; public override int ItemType => ModContent.ItemType(); } @@ -394,6 +403,11 @@ namespace CalamityMod.NPCs.SunkenSea this.HideFromBestiary(); Main.npcFrameCount[Type] = 4; } + public override void SetDefaults() + { + Banner = ModContent.NPCType(); + BannerItem = ModContent.ItemType(); + } public override float SpawnRate => 0.2f; public override int ItemType => ModContent.ItemType(); } diff --git a/NPCs/SunkenSea/PodobooKoi.cs b/NPCs/SunkenSea/PodobooKoi.cs index 22b3f9f7c3..b94c75c3b6 100644 --- a/NPCs/SunkenSea/PodobooKoi.cs +++ b/NPCs/SunkenSea/PodobooKoi.cs @@ -100,8 +100,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToWater = true; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); } public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) diff --git a/NPCs/SunkenSea/Polyperil.cs b/NPCs/SunkenSea/Polyperil.cs index b2019f9781..2d8d8e235c 100644 --- a/NPCs/SunkenSea/Polyperil.cs +++ b/NPCs/SunkenSea/Polyperil.cs @@ -1,4 +1,5 @@ using CalamityMod.Enums; +using CalamityMod.Items.Placeables.Banners; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using ReLogic.Content; @@ -68,8 +69,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath1; NPC.value = Item.buyPrice(silver: 5); - // Banner = NPC.type; - // BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = false; diff --git a/NPCs/SunkenSea/PrismaticGuppy.cs b/NPCs/SunkenSea/PrismaticGuppy.cs index 78b9265cf9..6de1d47c01 100644 --- a/NPCs/SunkenSea/PrismaticGuppy.cs +++ b/NPCs/SunkenSea/PrismaticGuppy.cs @@ -180,8 +180,8 @@ namespace CalamityMod.NPCs.SunkenSea AIType = -1; NPC.HitSound = SoundID.NPCHit1; NPC.DeathSound = SoundID.NPCDeath1; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.catchItem = (short)ModContent.ItemType(); } diff --git a/NPCs/SunkenSea/SandProwler.cs b/NPCs/SunkenSea/SandProwler.cs index b734bfcad1..5fbc897d8f 100644 --- a/NPCs/SunkenSea/SandProwler.cs +++ b/NPCs/SunkenSea/SandProwler.cs @@ -111,7 +111,7 @@ namespace CalamityMod.NPCs.SunkenSea NPC.netAlways = true; NPC.chaseable = false; Banner = NPC.type; - BannerItem = ModContent.ItemType(); + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; diff --git a/NPCs/SunkenSea/SandProwlerNested.cs b/NPCs/SunkenSea/SandProwlerNested.cs index 980e5e4919..05bf9df593 100644 --- a/NPCs/SunkenSea/SandProwlerNested.cs +++ b/NPCs/SunkenSea/SandProwlerNested.cs @@ -96,8 +96,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath1; NPC.chaseable = false; NPC.netAlways = true; - Banner = NPC.type; - BannerItem = ModContent.ItemType(); + Banner = ModContent.NPCType(); + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; NPC.Calamity().VulnerableToElectricity = true; diff --git a/NPCs/SunkenSea/Scavenger.cs b/NPCs/SunkenSea/Scavenger.cs index 641900a856..fe6b33bb83 100644 --- a/NPCs/SunkenSea/Scavenger.cs +++ b/NPCs/SunkenSea/Scavenger.cs @@ -25,6 +25,7 @@ using Terraria.ID; using Terraria.ModLoader; using Terraria.ModLoader.Utilities; using Terraria.Utilities; +using CalamityMod.Items.Placeables.Banners; namespace CalamityMod.NPCs.SunkenSea { @@ -290,8 +291,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit38; NPC.DeathSound = SoundID.NPCDeath1; NPC.knockBackResist = 0.15f; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.chaseable = false; NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/SunkenSea/Searslug.cs b/NPCs/SunkenSea/Searslug.cs index ee7ee5e32e..0fd094a8f3 100644 --- a/NPCs/SunkenSea/Searslug.cs +++ b/NPCs/SunkenSea/Searslug.cs @@ -60,8 +60,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath1; NPC.GravityIgnoresLiquid = true; NPC.chaseable = false; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.catchItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToCold = true; diff --git a/NPCs/SunkenSea/Slugbun.cs b/NPCs/SunkenSea/Slugbun.cs index 324dc3fbaf..6d74da0efc 100644 --- a/NPCs/SunkenSea/Slugbun.cs +++ b/NPCs/SunkenSea/Slugbun.cs @@ -77,8 +77,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.DeathSound = SoundID.NPCDeath1; NPC.GravityIgnoresLiquid = true; NPC.chaseable = false; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.catchItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = true; diff --git a/NPCs/SunkenSea/Steampod.cs b/NPCs/SunkenSea/Steampod.cs index 606ff7c184..4da9fd2b3f 100644 --- a/NPCs/SunkenSea/Steampod.cs +++ b/NPCs/SunkenSea/Steampod.cs @@ -86,8 +86,8 @@ namespace CalamityMod.NPCs.SunkenSea NPC.HitSound = SoundID.NPCHit38; NPC.DeathSound = SoundID.NPCDeath1; NPC.chaseable = false; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToWater = true; NPC.Calamity().VulnerableToCold = true; diff --git a/NPCs/SunkenSea/StormlionSentry.cs b/NPCs/SunkenSea/StormlionSentry.cs index 7cadfdffe3..300a283a4a 100644 --- a/NPCs/SunkenSea/StormlionSentry.cs +++ b/NPCs/SunkenSea/StormlionSentry.cs @@ -3,6 +3,7 @@ using System.IO; using CalamityMod.BiomeManagers; using CalamityMod.Dusts; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Banners; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Projectiles.Enemy; using CalamityMod.Projectiles.Magic; @@ -88,8 +89,8 @@ namespace CalamityMod.NPCs.SunkenSea attackFeedback = 1; headRot = -MathHelper.PiOver2; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); } public override void SendExtraAI(BinaryWriter writer) diff --git a/Tiles/MonsterBanner.cs b/Tiles/MonsterBanner.cs index 7ec43cdd31..d6286253bf 100644 --- a/Tiles/MonsterBanner.cs +++ b/Tiles/MonsterBanner.cs @@ -386,14 +386,14 @@ namespace CalamityMod.Tiles case 103: npc = NPCType(); break; - /*case 104: - npc = NPCType(); - Formerly Blinded Angler - break*/ + case 104: + npc = NPCType(); + break; case 105: npc = NPCType(); break; case 106: - npc = NPCType(); + npc = NPCType(); break; /*case 107: npc = NPCType(); - Formerly Giant Clam @@ -467,6 +467,69 @@ namespace CalamityMod.Tiles case 130: npc = NPCType(); break; + case 131: + npc = NPCType(); + break; + /* case 132: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ + /* case 133: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ + case 134: + npc = NPCType(); + break; + case 135: + npc = NPCType(); + break; + case 136: + npc = NPCType(); + break; + case 137: + npc = NPCType(); + break; + case 138: + npc = NPCType(); + break; + /* case 139: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ + /* case 140: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ + case 141: + npc = NPCType(); // Logic should be applying to other variants + break; + case 142: + npc = NPCType(); + break; + case 143: + npc = NPCType(); + break; + case 144: + npc = NPCType(); + break; + case 145: + npc = NPCType(); + break; + case 146: + npc = NPCType(); + break; + case 147: + npc = NPCType(); + break; + /* case 148: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ + case 149: + npc = NPCType(); + break; + case 150: + npc = NPCType(); + break; + /* case 151: + npc = NPCType(); // NOT YET IMPLEMENTED. Banner sprite is already on the mastersheet and associated with this case/position. + break; */ default: break; } diff --git a/Tiles/MonsterBanner.png b/Tiles/MonsterBanner.png index 139aa66e76..de4f9ce3f3 100644 Binary files a/Tiles/MonsterBanner.png and b/Tiles/MonsterBanner.png differ