diff --git a/Items/Placeables/Banners/AquaticSeekerBanner.cs b/Items/Placeables/Banners/AquaticSeekerBanner.cs deleted file mode 100644 index fbd947d784..0000000000 --- a/Items/Placeables/Banners/AquaticSeekerBanner.cs +++ /dev/null @@ -1,33 +0,0 @@ -using CalamityMod.Tiles; -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; - -namespace CalamityMod.Items.Placeables.Banners -{ - public class AquaticSeekerBanner : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Aquatic Seeker"); - } - - public override void SetDefaults() - { - Item.width = 10; - Item.height = 24; - Item.maxStack = 99; - Item.useTurn = true; - Item.autoReuse = true; - Item.useAnimation = 15; - Item.useTime = 10; - Item.useStyle = ItemUseStyleID.Swing; - Item.consumable = true; - Item.rare = ItemRarityID.Blue; - Item.value = Item.buyPrice(0, 0, 10, 0); - Item.createTile = ModContent.TileType(); - Item.placeStyle = 6; - } - } -} diff --git a/Items/Placeables/Banners/AquaticSeekerBanner.png b/Items/Placeables/Banners/AquaticSeekerBanner.png deleted file mode 100644 index fcf4dfd284..0000000000 Binary files a/Items/Placeables/Banners/AquaticSeekerBanner.png and /dev/null differ diff --git a/Items/Placeables/Banners/ParaseaBanner.cs b/Items/Placeables/Banners/ParaseaBanner.cs deleted file mode 100644 index ddda8c3efc..0000000000 --- a/Items/Placeables/Banners/ParaseaBanner.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CalamityMod.Tiles; -using Terraria; -using Terraria.ModLoader; -using Terraria.ID; -namespace CalamityMod.Items.Placeables.Banners -{ - public class ParaseaBanner : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Parasea"); - } - - public override void SetDefaults() - { - Item.width = 10; - Item.height = 24; - Item.maxStack = 99; - Item.useTurn = true; - Item.autoReuse = true; - Item.useAnimation = 15; - Item.useTime = 10; - Item.useStyle = ItemUseStyleID.Swing; - Item.consumable = true; - Item.rare = ItemRarityID.Blue; - Item.value = Item.buyPrice(0, 0, 10, 0); - Item.createTile = ModContent.TileType(); - Item.placeStyle = 11; - } - } -} diff --git a/Items/Placeables/Banners/ParaseaBanner.png b/Items/Placeables/Banners/ParaseaBanner.png deleted file mode 100644 index 7fad8efcf5..0000000000 Binary files a/Items/Placeables/Banners/ParaseaBanner.png and /dev/null differ diff --git a/Items/Placeables/Banners/PhantomDebrisBanner.cs b/Items/Placeables/Banners/PhantomDebrisBanner.cs deleted file mode 100644 index 7f18f46f9e..0000000000 --- a/Items/Placeables/Banners/PhantomDebrisBanner.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CalamityMod.Tiles; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.Banners -{ - public class PhantomDebrisBanner : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Phantom Debris"); - } - - public override void SetDefaults() - { - Item.width = 10; - Item.height = 24; - Item.maxStack = 99; - Item.useTurn = true; - Item.autoReuse = true; - Item.useAnimation = 15; - Item.useTime = 10; - Item.useStyle = ItemUseStyleID.Swing; - Item.consumable = true; - Item.rare = ItemRarityID.Blue; - Item.value = Item.buyPrice(0, 0, 10, 0); - Item.createTile = ModContent.TileType(); - Item.placeStyle = 86; - } - } -} diff --git a/Items/Placeables/Banners/PhantomDebrisBanner.png b/Items/Placeables/Banners/PhantomDebrisBanner.png deleted file mode 100644 index 6c32f7957a..0000000000 Binary files a/Items/Placeables/Banners/PhantomDebrisBanner.png and /dev/null differ diff --git a/Items/Placeables/Banners/SunBatBanner.cs b/Items/Placeables/Banners/SunBatBanner.cs deleted file mode 100644 index d695a2f674..0000000000 --- a/Items/Placeables/Banners/SunBatBanner.cs +++ /dev/null @@ -1,32 +0,0 @@ -using CalamityMod.Tiles; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -namespace CalamityMod.Items.Placeables.Banners -{ - public class SunBatBanner : ModItem - { - public override void SetStaticDefaults() - { - SacrificeTotal = 1; - Tooltip.SetDefault("{$CommonItemTooltip.BannerBonus}Sun Bat"); - } - - public override void SetDefaults() - { - Item.width = 10; - Item.height = 24; - Item.maxStack = 99; - Item.useTurn = true; - Item.autoReuse = true; - Item.useAnimation = 15; - Item.useTime = 10; - Item.useStyle = ItemUseStyleID.Swing; - Item.consumable = true; - Item.rare = ItemRarityID.Blue; - Item.value = Item.buyPrice(0, 0, 10, 0); - Item.createTile = ModContent.TileType(); - Item.placeStyle = 74; - } - } -} diff --git a/Items/Placeables/Banners/SunBatBanner.png b/Items/Placeables/Banners/SunBatBanner.png deleted file mode 100644 index 0a01b56e46..0000000000 Binary files a/Items/Placeables/Banners/SunBatBanner.png and /dev/null differ diff --git a/NPCs/NormalNPCs/Parasea.cs b/NPCs/NormalNPCs/Parasea.cs deleted file mode 100644 index 2b4204bbf1..0000000000 --- a/NPCs/NormalNPCs/Parasea.cs +++ /dev/null @@ -1,109 +0,0 @@ -using CalamityMod.Items.Placeables.Banners; -using CalamityMod.World; -using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Graphics; -using Terraria; -using Terraria.GameContent; -using Terraria.GameContent.Bestiary; -using Terraria.ID; -using Terraria.ModLoader; -using Terraria.ModLoader.Utilities; - -namespace CalamityMod.NPCs.NormalNPCs -{ - public class Parasea : ModNPC - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Parasea"); - Main.npcFrameCount[NPC.type] = 4; - } - - public override void SetDefaults() - { - NPC.aiStyle = -1; - AIType = -1; - NPC.noGravity = true; - NPC.damage = 50; - NPC.width = NPC.height = 30; - NPC.defense = 8; - NPC.lifeMax = 400; - NPC.knockBackResist = 0f; - NPC.value = Item.buyPrice(0, 0, 6, 0); - NPC.HitSound = SoundID.NPCHit1; - NPC.DeathSound = SoundID.NPCDeath1; - Banner = NPC.type; - BannerItem = ModContent.ItemType(); - NPC.Calamity().VulnerableToHeat = false; - NPC.Calamity().VulnerableToSickness = true; - 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.Ocean, - - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("idk...") - }); - } - - public override void AI() - { - bool death = CalamityWorld.death; - float speed = death ? 16f : 13f; - CalamityAI.DungeonSpiritAI(NPC, Mod, speed, MathHelper.Pi); - } - - public override float SpawnChance(NPCSpawnInfo spawnInfo) - { - if (spawnInfo.PlayerSafe || spawnInfo.Player.Calamity().ZoneSulphur || (!NPC.downedPlantBoss && !DownedBossSystem.downedCalamitas)) - { - return 0f; - } - return SpawnCondition.OceanMonster.Chance * 0.06f; - } - - 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 bool PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) - { - Texture2D texture = TextureAssets.Npc[NPC.type].Value; - int height = texture.Height / Main.npcFrameCount[NPC.type]; - int width = texture.Width; - SpriteEffects spriteEffects = SpriteEffects.FlipHorizontally; - if (NPC.spriteDirection == -1) - spriteEffects = SpriteEffects.None; - Main.spriteBatch.Draw(texture, NPC.Center - screenPos + new Vector2(0f, NPC.gfxOffY), NPC.frame, NPC.GetAlpha(drawColor), NPC.rotation, new Vector2((float)width / 2f, (float)height / 2f), NPC.scale, spriteEffects, 0f); - return false; - } - - public override void OnHitPlayer(Player player, int damage, bool crit) - { - player.AddBuff(BuffID.Bleeding, 60, 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 < 10; k++) - { - Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Blood, hitDirection, -1f, 0, default, 1f); - } - } - } - } -} diff --git a/NPCs/NormalNPCs/Parasea.png b/NPCs/NormalNPCs/Parasea.png deleted file mode 100644 index 1524d41f99..0000000000 Binary files a/NPCs/NormalNPCs/Parasea.png and /dev/null differ diff --git a/Utilities/MiscUtils.cs b/Utilities/MiscUtils.cs index 5bcea5f012..a49e134381 100644 --- a/Utilities/MiscUtils.cs +++ b/Utilities/MiscUtils.cs @@ -336,9 +336,6 @@ namespace CalamityMod case 10: item = ModContent.ItemType(); break; - case 11: - item = ModContent.ItemType(); - break; case 12: item = ModContent.ItemType(); break; @@ -725,9 +722,6 @@ namespace CalamityMod case 10: npc = ModContent.NPCType(); break; - case 11: - npc = ModContent.NPCType(); - break; case 12: npc = ModContent.NPCType(); break;