From b762dab0db4e3c36a00966df59ede8a4512fd3a3 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 11 Jun 2022 21:07:30 -0500 Subject: [PATCH] Removed Paraseas --- .../Placeables/Banners/AquaticSeekerBanner.cs | 33 ------ .../Banners/AquaticSeekerBanner.png | Bin 312 -> 0 bytes Items/Placeables/Banners/ParaseaBanner.cs | 32 ----- Items/Placeables/Banners/ParaseaBanner.png | Bin 304 -> 0 bytes .../Placeables/Banners/PhantomDebrisBanner.cs | 32 ----- .../Banners/PhantomDebrisBanner.png | Bin 351 -> 0 bytes Items/Placeables/Banners/SunBatBanner.cs | 32 ----- Items/Placeables/Banners/SunBatBanner.png | Bin 276 -> 0 bytes NPCs/NormalNPCs/Parasea.cs | 109 ------------------ NPCs/NormalNPCs/Parasea.png | Bin 2562 -> 0 bytes Utilities/MiscUtils.cs | 6 - 11 files changed, 244 deletions(-) delete mode 100644 Items/Placeables/Banners/AquaticSeekerBanner.cs delete mode 100644 Items/Placeables/Banners/AquaticSeekerBanner.png delete mode 100644 Items/Placeables/Banners/ParaseaBanner.cs delete mode 100644 Items/Placeables/Banners/ParaseaBanner.png delete mode 100644 Items/Placeables/Banners/PhantomDebrisBanner.cs delete mode 100644 Items/Placeables/Banners/PhantomDebrisBanner.png delete mode 100644 Items/Placeables/Banners/SunBatBanner.cs delete mode 100644 Items/Placeables/Banners/SunBatBanner.png delete mode 100644 NPCs/NormalNPCs/Parasea.cs delete mode 100644 NPCs/NormalNPCs/Parasea.png 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 fcf4dfd28412c9c6b958119f1a820cffc67a3ef1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 312 zcmV-80muG{P)f0002}Nkl(); - Item.placeStyle = 11; - } - } -} diff --git a/Items/Placeables/Banners/ParaseaBanner.png b/Items/Placeables/Banners/ParaseaBanner.png deleted file mode 100644 index 7fad8efcf5bd1740441ded8916d8357fb1fde917..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 304 zcmV-00nh%4P)f00001b5ch_0Itp) z=>Px#>PbXFR5*>bl)nxEK@f+(^QRCJ^=T*+qE-lrCqS!FQjuuAfJCcM2(O@!+!IK2 zYK4l1T0%u~inDPhD{{B-t7d+g*)Kb@Sqq_HOM^M#JRf>NzV#=9l5biry!T;Fu)AX~DAu$M=7dTk0YJZ50bnFH9-N@w zP&8WtVA&je6eu6IZa9JpQuQhT&T9Wrp!~~piy7hSYyddCPL#e(); - Item.placeStyle = 86; - } - } -} diff --git a/Items/Placeables/Banners/PhantomDebrisBanner.png b/Items/Placeables/Banners/PhantomDebrisBanner.png deleted file mode 100644 index 6c32f7957ad60934a6ae498c12051e3b9148ff85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 351 zcmV-l0igbgP)f00004XF*Lt006O$ zeEU(80003NNklirGGJc2v9C<-gkwk-fkDLs#14(85AP19JuQi^2+S7w*4>nwjV zLF9Q3z%UH@uV5I4GkY+T-G+^#C<36a>xDhI4JSzgKvh+i|9?H0$%~s7_t~8Wke_b= zWLahfq?9}V=yD$6XNT9T2LP_6{VK*Ux0{6o)++!WzdB(h)~nqgds<9*egWX(B(xKI x-)K7F=J-qil-rF4xII0$0_Dd$046t?@C_^5R=!&VMk4?K002ovPDHLkV1hgKi$eea 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 0a01b56e46dd7e4fd711f46de94d70c142f9ee28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 276 zcmV+v0qg#WP)f0002nNkl_f;Wm)0q4`n^*rYuPMPS-xK_3eL;5jZZA8rH58epDA2_gmthVuunf`u?_AX)>= zL|6pc8+}8u1ZFZU1;CR5*&5KD28(%|HW1VRa|%o$EL05bwZVQN7)nHIfF+HN&=X*j z(US^BJPbk&=ott-)NrOHSVR%j082wKlW?Uecz&Ro28`5-o=VZ3L@;@y=Q#9|5Ff3zw90000(); - 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 1524d41f99659f14e41e68a4ada8179433f311a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2562 zcmV+d3jOtoP)6vvPGl2Sp*95_nE1cSab=o9*IAfXc*&i%i4y?yR|XX|~w<-m2;-fQoD&N{!d&OZCB zckZ;R$A1G0W}P3e>DeQHO&hO%s?=RERSxu09cOLIl-M~No*H+bPi%j)WBpVk+X?Q7 zL34#B!QB$OaM883_Uh-?-cRgK{WO~FgN~aRS5;+Q0aiQ9Ui;Pdb=zq_syo5zk%sk1 zPum$>wJ8iWZ{femkjD?T&dI>=U{XH)y4!+2d-dH(d5&x)dgq$Cq5ZE1PbdALZ2a;E zHWO*x6Sx;Bk=F6jsUBapy)kQYg7Ih}IgK-Uc8pjZ=e^lSL($_qTCwxpwd)ccadko(l5%#WRBBzlUes5jOP-+4IF8m?Tn(w20>l zedq75lJ;#^&azcWeKk59bS2#hPTkbF774a`etXl4p=$l$%a%zfzxT6elKOj=EKBrV z2S$TVIeKDLRn?#SW+z2k_wP*f6^HK%x^-{Bc=-d@uvtqU`t4XpJFcjedpggO&MsJz zwBt&FWG6UrPxDHgMQGQ=W-UioVkw8v*H^p|iq8H1eURAiT0au>XGfk6a_1)pf}Feb zWRTW>BilRADj?NruU7>9@BN?^>(L=GcV%cjvlRNNh|Oa$*$IxGDYG$9rrYLwU9lmZ zMf^WPO1?!bv7Fh-(dFkt7sPb>QzGZdnv2#GYiU0)I-IOBI>C6RknEdT1oL2yQ|Gso zYpk`1-Me`UO@e&u{#z4W=hZ8Rz6+%cxti@F!D_F>SgTL8%aMv*U1G7H?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$f zCBGOx=g!6BHqk4^nsqqAdT(I=axu|rSGPTOy-FvzSI^aK7iSUHnTBi#&h=|O!)(gOOls93{J3qUo0>pj^zv{&JB{aN#qVC0NH-qP5=Ary9BV!3o9_F5Ls}fes${ Y4}{DVx+w7@7ytkO07*qoM6N<$g7g;^%K!iX 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;