added the last 2 missing banners
also added comments marking unused banner ids so it's quicker to replace them in the future
This commit is contained in:
1 parent
21676c7b0a
commit
e5b796a318
8 files changed
+53
No files matched your search
@@ -0,0 +1,7 @@
|
||||
namespace CalamityMod.Items.Placeables.Banners
|
||||
{
|
||||
public class AuroraSpiritBanner : BaseBanner
|
||||
{
|
||||
public override int BannerTileStyle => 10;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 264 B |
@@ -0,0 +1,7 @@
|
||||
namespace CalamityMod.Items.Placeables.Banners
|
||||
{
|
||||
public class DraconicSwarmerBanner : BaseBanner
|
||||
{
|
||||
public override int BannerTileStyle => 11;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 263 B |
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using Terraria;
|
||||
using Terraria.GameContent;
|
||||
using Terraria.GameContent.Bestiary;
|
||||
@@ -37,6 +38,8 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.HitSound = SoundID.NPCHit5;
|
||||
NPC.DeathSound = SoundID.NPCDeath15;
|
||||
NPC.coldDamage = true;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<AuroraSpiritBanner>();
|
||||
NPC.Calamity().VulnerableToHeat = true;
|
||||
NPC.Calamity().VulnerableToCold = false;
|
||||
NPC.Calamity().VulnerableToSickness = false;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Banners;
|
||||
using CalamityMod.NPCs.CalamityAIs.CalamityBossAIs;
|
||||
using CalamityMod.Projectiles.Boss;
|
||||
using CalamityMod.Sounds;
|
||||
@@ -46,6 +47,8 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.noGravity = true;
|
||||
NPC.HitSound = SoundID.NPCHit51;
|
||||
NPC.DeathSound = SoundID.NPCDeath46;
|
||||
Banner = NPC.type;
|
||||
BannerItem = ModContent.ItemType<DraconicSwarmerBanner>();
|
||||
NPC.Calamity().VulnerableToHeat = true;
|
||||
NPC.Calamity().VulnerableToCold = true;
|
||||
NPC.Calamity().VulnerableToSickness = true;
|
||||
|
||||
@@ -99,6 +99,12 @@ namespace CalamityMod.Tiles
|
||||
case 9:
|
||||
npc = NPCType<MantisShrimp>();
|
||||
break;
|
||||
case 10:
|
||||
npc = NPCType<AuroraSpirit>();
|
||||
break;
|
||||
case 11:
|
||||
npc = NPCType<WildBumblefuck>(); // There's also the boss variant but I dont think we want banners to affect them?
|
||||
break;
|
||||
case 12:
|
||||
npc = NPCType<SeaUrchin>();
|
||||
break;
|
||||
@@ -216,12 +222,18 @@ namespace CalamityMod.Tiles
|
||||
case 50:
|
||||
npc = NPCType<ProfanedEnergyBody>();
|
||||
break;
|
||||
/*case 51:
|
||||
npc = NPCType<Unused>(); - Formerly Wulfrum Slime
|
||||
break*/
|
||||
case 52:
|
||||
npc = NPCType<WulfrumDrone>();
|
||||
break;
|
||||
case 53:
|
||||
npc = NPCType<Rotdog>();
|
||||
break;
|
||||
/*case 54:
|
||||
npc = NPCType<Unused>(); - Formerly Calamity Eye
|
||||
break*/
|
||||
case 55:
|
||||
npc = NPCType<CalamityEye>();
|
||||
break;
|
||||
@@ -249,6 +261,12 @@ namespace CalamityMod.Tiles
|
||||
case 63:
|
||||
npc = NPCType<Cnidrion>();
|
||||
break;
|
||||
/*case 64:
|
||||
npc = NPCType<Unused>(); - Formerly Sand Tortoise
|
||||
break*/
|
||||
/*case 65:
|
||||
npc = NPCType<Unused>(); - Formerly Great Sand Shark
|
||||
break*/
|
||||
case 66:
|
||||
npc = NPCType<CrawlerAmethyst>();
|
||||
break;
|
||||
@@ -273,6 +291,12 @@ namespace CalamityMod.Tiles
|
||||
case 73:
|
||||
npc = NPCType<CrawlerCrystal>();
|
||||
break;
|
||||
/*case 74:
|
||||
npc = NPCType<Unused>(); - Formerly Sun Bat
|
||||
break*/
|
||||
/*case 75:
|
||||
npc = NPCType<Unused>(); - Formerly Cosmic Elemental
|
||||
break*/
|
||||
case 76:
|
||||
npc = NPCType<Horse>();
|
||||
break;
|
||||
@@ -303,6 +327,9 @@ namespace CalamityMod.Tiles
|
||||
case 85:
|
||||
npc = NPCType<OverloadedSoldier>();
|
||||
break;
|
||||
/*case 86:
|
||||
npc = NPCType<Unused>(); - Formerly Phantom Debris
|
||||
break*/
|
||||
case 87:
|
||||
npc = NPCType<Bohldohr>();
|
||||
break;
|
||||
@@ -363,6 +390,9 @@ namespace CalamityMod.Tiles
|
||||
case 106:
|
||||
npc = NPCType<SandProwlerNested>();
|
||||
break;
|
||||
/*case 107:
|
||||
npc = NPCType<Unused>(); - Formerly Giant Clam
|
||||
break*/
|
||||
case 108:
|
||||
npc = NPCType<Piggy>();
|
||||
break;
|
||||
@@ -381,6 +411,9 @@ namespace CalamityMod.Tiles
|
||||
case 113:
|
||||
npc = NPCType<Skyfin>();
|
||||
break;
|
||||
/*case 114:
|
||||
npc = NPCType<Unused>(); - Formerly Water Leech
|
||||
break*/
|
||||
case 115:
|
||||
npc = NPCType<AcidEel>();
|
||||
break;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 76 KiB |
Reference in new issue
Block a user