diff --git a/Items/Placeables/Banners/SlabCrabBanner.cs b/Items/Placeables/Banners/SlabCrabBanner.cs new file mode 100644 index 0000000000..55579a31c3 --- /dev/null +++ b/Items/Placeables/Banners/SlabCrabBanner.cs @@ -0,0 +1,7 @@ +namespace CalamityMod.Items.Placeables.Banners +{ + public class SlabCrabBanner : BaseBanner + { + public override int BannerTileStyle => 5; + } +} diff --git a/Items/Placeables/Banners/SlabCrabBanner.png b/Items/Placeables/Banners/SlabCrabBanner.png new file mode 100644 index 0000000000..225fe1fc01 Binary files /dev/null and b/Items/Placeables/Banners/SlabCrabBanner.png differ diff --git a/NPCs/Abyss/SlabCrab.cs b/NPCs/Abyss/SlabCrab.cs index 02cf5c4536..249f87b1a7 100644 --- a/NPCs/Abyss/SlabCrab.cs +++ b/NPCs/Abyss/SlabCrab.cs @@ -1,6 +1,7 @@ using CalamityMod.BiomeManagers; using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Placeables; +using CalamityMod.Items.Placeables.Banners; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; @@ -60,8 +61,8 @@ namespace CalamityMod.NPCs.Abyss NPC.defense = 999998; NPC.HitSound = SoundID.NPCHit33; NPC.DeathSound = SoundID.NPCDeath36; - //Banner = NPC.type; - //BannerItem = ModContent.ItemType(); + Banner = NPC.type; + BannerItem = ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; diff --git a/Tiles/MonsterBanner.cs b/Tiles/MonsterBanner.cs index 661874ac55..a2b3727e1b 100644 --- a/Tiles/MonsterBanner.cs +++ b/Tiles/MonsterBanner.cs @@ -84,6 +84,9 @@ namespace CalamityMod.Tiles case 4: npc = NPCType(); break; + case 5: + npc = NPCType(); + break; case 6: npc = NPCType(); break; diff --git a/Tiles/MonsterBanner.png b/Tiles/MonsterBanner.png index 690cfa1810..be12dd0acd 100644 Binary files a/Tiles/MonsterBanner.png and b/Tiles/MonsterBanner.png differ