From 1d6e6fadc1fb05e1098a5ff56187bff154fb38ec Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 4 Nov 2019 22:36:33 -0500 Subject: [PATCH 01/20] added heron rod --- CalPlayer/CalamityPlayer.cs | 2 + Items/Fishing/ChaoticSpreadRod.cs | 2 +- Items/Fishing/HeronRod.cs | 47 +++++++++ Items/Fishing/HeronRod.png | Bin 0 -> 1185 bytes Items/Fishing/NavyFishingRod.cs | 2 +- Items/Fishing/SlurperPole.cs | 2 +- Projectiles/Typeless/HeronBobber.cs | 151 +++++++++++++++++++++++++++ Projectiles/Typeless/HeronBobber.png | Bin 0 -> 416 bytes 8 files changed, 203 insertions(+), 3 deletions(-) create mode 100644 Items/Fishing/HeronRod.cs create mode 100644 Items/Fishing/HeronRod.png create mode 100644 Projectiles/Typeless/HeronBobber.cs create mode 100644 Projectiles/Typeless/HeronBobber.png diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index c516373c1f..c27313219f 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -7578,6 +7578,8 @@ namespace CalamityMod.CalPlayer fishingLevel = (int)(fishingLevel * 1.1f); if (Main.player[Main.myPlayer].ZoneSnow && fishingRod.type == ModContent.ItemType()) fishingLevel = (int)(fishingLevel * 1.1f); + if (Main.player[Main.myPlayer].ZoneSkyHeight && fishingRod.type == ModContent.ItemType()) + fishingLevel = (int)(fishingLevel * 1.1f); } #endregion diff --git a/Items/Fishing/ChaoticSpreadRod.cs b/Items/Fishing/ChaoticSpreadRod.cs index 4c8c0e8a7e..6cf83e74ee 100644 --- a/Items/Fishing/ChaoticSpreadRod.cs +++ b/Items/Fishing/ChaoticSpreadRod.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Items.Fishing { DisplayName.SetDefault("Chaotic Spread Rod"); Tooltip.SetDefault("Fires three to five lines at once. Can fish in lava.\n" + - "The battlefield is a scene of constant chaos.\n" + + "The battlefield is a scene of constant chaos.\n" + //Napoleon Bonaparte quote reference "The winner will be the one who controls that chaos, both the pole and the fish."); } diff --git a/Items/Fishing/HeronRod.cs b/Items/Fishing/HeronRod.cs new file mode 100644 index 0000000000..c68f2cea7a --- /dev/null +++ b/Items/Fishing/HeronRod.cs @@ -0,0 +1,47 @@ +using CalamityMod.Projectiles.Typeless; +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.DataStructures; +using Terraria.ID; +using Terraria.Localization; +using Terraria.ModLoader; +using CalamityMod.Items.Materials; +namespace CalamityMod.Items.Fishing +{ + public class HeronRod : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Heron Rod"); + Tooltip.SetDefault("Increased fishing power in space.\n" + //John Steinbeck quote but fish instead of snake + "A silent head and beak lanced down and plucked it out by the head,\n" + + "and the beak swallowed the little fish while its tail waved frantically."); + } + + public override void SetDefaults() + { + //item.CloneDefaults(2289); //Wooden Fishing Pole + item.width = 24; + item.height = 28; + item.useAnimation = 8; + item.useTime = 8; + item.useStyle = 1; + item.UseSound = SoundID.Item1; + item.fishingPole = 25; + item.shootSpeed = 14.5f; + item.shoot = ModContent.ProjectileType(); + item.value = Item.buyPrice(0, 4, 0, 0); + item.rare = 3; + } + + public override void AddRecipes() + { + ModRecipe recipe = new ModRecipe(mod); + recipe.AddIngredient(ModContent.ItemType(), 7); + recipe.AddIngredient(ItemID.SunplateBlock, 5); + recipe.AddTile(TileID.SkyMill); + recipe.SetResult(this); + recipe.AddRecipe(); + } + } +} diff --git a/Items/Fishing/HeronRod.png b/Items/Fishing/HeronRod.png new file mode 100644 index 0000000000000000000000000000000000000000..48e1f7339260fe8451163f0e21dafa13da73f715 GIT binary patch literal 1185 zcmV;S1YY}zP)HZ~a_ z?wm~Sbapo%CS}(AUuN%}JNM3>|2^mY?-}*R=}!O%M5FpE96A6%XLrgN*Sh0T1&|q<@tjAP*M5fg%HILtz>_-w zNc9f^P+zN~O{8`XfXvX0vEKiOfnu6P`k#JE?`eq+&vm?RjQh3gg3;dF)}#Qg_VfX; zC8(p$Y zQH|-$RLOM$QSEE<`c4n(RffVq*J0{HyHcT4^O-!o9u2SinFy00xG8CZNlEPioNk9VJ8 z1Jw}#_Uvy19%Mi)zcAjmJoc{G6s=v-AMiZ`5BPwbq#9j%{)OYO0TBG*N5DBbi4REB z+1a>70o3l=XINB)HKPH!I+Z}n>s^*w8T35^MSValFM7V`(jS0hY4L&fW0H9nqL2j; z4ct`VXc~#o#{9WK*%1ykdf`oD;ZfZIj$>b zQJM`OSQPJ#@hh!{R}KS$?7&@P@0Wu_qh!MDpPKj^fUa|=mNd^w;eQ51^V~0J{XQ28 z8v~?zu)BGy0+`9_dcD*r-Edcr*BTYTKR` z2(); item.value = Item.buyPrice(0, 2, 0, 0); diff --git a/Items/Fishing/SlurperPole.cs b/Items/Fishing/SlurperPole.cs index 9cb3a2bfe8..70813e073f 100644 --- a/Items/Fishing/SlurperPole.cs +++ b/Items/Fishing/SlurperPole.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Items.Fishing public override void SetStaticDefaults() { DisplayName.SetDefault("Slurper Pole"); - Tooltip.SetDefault("Can fish in lava.\n" + + Tooltip.SetDefault("Can fish in lava.\n" + //Charles Spurgeon quote "It is the burning lava of the soul that has a furnace within--a very volcano of grief and sorrow."); } diff --git a/Projectiles/Typeless/HeronBobber.cs b/Projectiles/Typeless/HeronBobber.cs new file mode 100644 index 0000000000..fe411b2e40 --- /dev/null +++ b/Projectiles/Typeless/HeronBobber.cs @@ -0,0 +1,151 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using System; +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; +using CalamityMod.Items.Fishing; +namespace CalamityMod.Projectiles.Typeless +{ + public class HeronBobber : ModProjectile + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Heron Bobber"); + } + + public override void SetDefaults() + { + //projectile.CloneDefaults(360); //Wooden Bobber + projectile.width = 14; + projectile.height = 14; + projectile.aiStyle = 61; + projectile.bobber = true; + projectile.penetrate = -1; + } + + public override bool PreDrawExtras(SpriteBatch spriteBatch) + { + Player player = Main.player[projectile.owner]; + if (projectile.bobber && Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].holdStyle > 0) + { + float pPosX = player.MountedCenter.X; + float pPosY = player.MountedCenter.Y; + pPosY += Main.player[projectile.owner].gfxOffY; + int type = Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type; + float gravDir = Main.player[projectile.owner].gravDir; + + if (type == ModContent.ItemType()) + { + pPosX += (float)(45 * Main.player[projectile.owner].direction); + if (Main.player[projectile.owner].direction < 0) + { + pPosX -= 13f; + } + pPosY -= 35f * gravDir; + } + + if (gravDir == -1f) + { + pPosY -= 12f; + } + Vector2 value = new Vector2(pPosX, pPosY); + value = Main.player[projectile.owner].RotatedRelativePoint(value + new Vector2(8f), true) - new Vector2(8f); + float projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X; + float projPosY = projectile.position.Y + (float)projectile.height * 0.5f - value.Y; + Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY)); + float rotation2 = (float)Math.Atan2((double)projPosY, (double)projPosX) - 1.57f; + bool flag2 = true; + if (projPosX == 0f && projPosY == 0f) + { + flag2 = false; + } + else + { + float projPosXY = (float)Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY)); + projPosXY = 12f / projPosXY; + projPosX *= projPosXY; + projPosY *= projPosXY; + value.X -= projPosX; + value.Y -= projPosY; + projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X; + projPosY = projectile.position.Y + (float)projectile.height * 0.5f - value.Y; + } + while (flag2) + { + float num = 12f; + float num2 = (float)Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY)); + float num3 = num2; + if (float.IsNaN(num2) || float.IsNaN(num3)) + { + flag2 = false; + } + else + { + if (num2 < 20f) + { + num = num2 - 8f; + flag2 = false; + } + num2 = 12f / num2; + projPosX *= num2; + projPosY *= num2; + value.X += projPosX; + value.Y += projPosY; + projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X; + projPosY = projectile.position.Y + (float)projectile.height * 0.1f - value.Y; + if (num3 > 12f) + { + float num4 = 0.3f; + float num5 = Math.Abs(projectile.velocity.X) + Math.Abs(projectile.velocity.Y); + if (num5 > 16f) + { + num5 = 16f; + } + num5 = 1f - num5 / 16f; + num4 *= num5; + num5 = num3 / 80f; + if (num5 > 1f) + { + num5 = 1f; + } + num4 *= num5; + if (num4 < 0f) + { + num4 = 0f; + } + num5 = 1f - projectile.localAI[0] / 100f; + num4 *= num5; + if (projPosY > 0f) + { + projPosY *= 1f + num4; + projPosX *= 1f - num4; + } + else + { + num5 = Math.Abs(projectile.velocity.X) / 3f; + if (num5 > 1f) + { + num5 = 1f; + } + num5 -= 0.5f; + num4 *= num5; + if (num4 > 0f) + { + num4 *= 2f; + } + projPosY *= 1f + num4; + projPosX *= 1f - num4; + } + } + rotation2 = (float)Math.Atan2((double)projPosY, (double)projPosX) - 1.57f; + Microsoft.Xna.Framework.Color color2 = Lighting.GetColor((int)value.X / 16, (int)(value.Y / 16f), new Microsoft.Xna.Framework.Color(101, 149, 154, 100)); //aerialite blue + + Main.spriteBatch.Draw(Main.fishingLineTexture, new Vector2(value.X - Main.screenPosition.X + (float)Main.fishingLineTexture.Width * 0.5f, value.Y - Main.screenPosition.Y + (float)Main.fishingLineTexture.Height * 0.5f), new Microsoft.Xna.Framework.Rectangle?(new Microsoft.Xna.Framework.Rectangle(0, 0, Main.fishingLineTexture.Width, (int)num)), color2, rotation2, new Vector2((float)Main.fishingLineTexture.Width * 0.5f, 0f), 1f, SpriteEffects.None, 0f); + } + } + } + return false; + } + } +} diff --git a/Projectiles/Typeless/HeronBobber.png b/Projectiles/Typeless/HeronBobber.png new file mode 100644 index 0000000000000000000000000000000000000000..e24fbf970461d5d00c52a77ecd1ff0e55e3e74e7 GIT binary patch literal 416 zcmV;R0bl-!P)KQT*E$D8Q<_`)GdUc83i>dyWa04E1#GNxDN z0BD`v0z{`Zmf8cw{rzH>91F7&h380Z-$5=%FIgr@VDcyhPNI0 zx`9MF2)W-sK(5zy_VA{48Aj}H)b{yzqn}6d zFo3ECHF^_&0hLH<@Zu3jtpET35_CmabVXQ6MmkS&X=QG7VRUJ4ZU8ZaSnTfr0000< KMNUMnLSTYy(6zGw literal 0 HcmV?d00001 From a7eeb3af01ad97b228b794f847ee330ba61056d7 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 4 Nov 2019 22:58:27 -0500 Subject: [PATCH 02/20] cleaned up fishing folder --- CalPlayer/CalamityPlayer.cs | 3 +++ .../{ => AstralCatches}/ArcturusAstroidean.cs | 2 +- .../{ => AstralCatches}/ArcturusAstroidean.png | Bin Items/Fishing/{ => AstralCatches}/AstralCrate.cs | 2 +- .../Fishing/{ => AstralCatches}/AstralCrate.png | Bin .../{ => AstralCatches}/AstrophageItem.cs | 2 +- .../{ => AstralCatches}/AstrophageItem.png | Bin .../AstralCatches}/GacruxianMollusk.cs | 3 ++- .../AstralCatches}/GacruxianMollusk.png | Bin .../{ => AstralCatches}/PolarisParrotfish.cs | 2 +- .../{ => AstralCatches}/PolarisParrotfish.png | Bin .../{ => AstralCatches}/ProcyonidPrawn.cs | 2 +- .../{ => AstralCatches}/ProcyonidPrawn.png | Bin .../Fishing/{ => AstralCatches}/TwinklerItem.cs | 2 +- .../Fishing/{ => AstralCatches}/TwinklerItem.png | Bin .../{ => AstralCatches}/TwinklingPollox.cs | 2 +- .../{ => AstralCatches}/TwinklingPollox.png | Bin .../Fishing/{ => AstralCatches}/UrsaSergeant.cs | 2 +- .../Fishing/{ => AstralCatches}/UrsaSergeant.png | Bin .../{ => FishingRods}/ChaoticSpreadRod.cs | 2 +- .../{ => FishingRods}/ChaoticSpreadRod.png | Bin Items/Fishing/{ => FishingRods}/EarlyBloomRod.cs | 2 +- .../Fishing/{ => FishingRods}/EarlyBloomRod.png | Bin Items/Fishing/{ => FishingRods}/EaterofShoals.cs | 2 +- .../Fishing/{ => FishingRods}/EaterofShoals.png | Bin .../Fishing/{ => FishingRods}/FeralDoubleRod.cs | 2 +- .../Fishing/{ => FishingRods}/FeralDoubleRod.png | Bin Items/Fishing/{ => FishingRods}/HeronRod.cs | 2 +- Items/Fishing/{ => FishingRods}/HeronRod.png | Bin .../Fishing/{ => FishingRods}/NavyFishingRod.cs | 2 +- .../Fishing/{ => FishingRods}/NavyFishingRod.png | Bin Items/Fishing/{ => FishingRods}/SlurperPole.cs | 2 +- Items/Fishing/{ => FishingRods}/SlurperPole.png | Bin .../{ => FishingRods}/VerstaltiteFishingRod.cs | 2 +- .../{ => FishingRods}/VerstaltiteFishingRod.png | Bin Items/Fishing/{ => FishingRods}/WulfrumRod.cs | 2 +- Items/Fishing/{ => FishingRods}/WulfrumRod.png | Bin Items/Fishing/SunkenSeaCatches/Clamfish.png | Bin 0 -> 512 bytes .../SunkenSeaCatches/CoralskinFoolfish.png | Bin 0 -> 640 bytes .../SunkenSeaCatches/EutrophicSandfish.png | Bin 0 -> 799 bytes .../Fishing/SunkenSeaCatches/GreenwaveLoach.png | Bin 0 -> 840 bytes .../Fishing/SunkenSeaCatches/PrismaticGuppy.png | Bin 0 -> 662 bytes .../SunkenSeaCatches/ScarredAngelfish.png | Bin 0 -> 657 bytes Items/Fishing/SunkenSeaCatches/Serpentuna.png | Bin 0 -> 938 bytes Items/Fishing/SunkenSeaCatches/SunkenCrate.png | Bin 0 -> 3467 bytes .../Fishing/SunkenSeaCatches/SunkenSailfish.png | Bin 0 -> 1232 bytes NPCs/Astral/Twinkler.cs | 2 +- NPCs/Crags/SoulSlurper.cs | 2 +- Projectiles/Typeless/ChaoticSpreadBobber.cs | 2 +- Projectiles/Typeless/EarlyBloomBobber.cs | 2 +- Projectiles/Typeless/EaterofShoalsBobber.cs | 2 +- Projectiles/Typeless/FeralDoubleBobber.cs | 2 +- Projectiles/Typeless/HeronBobber.cs | 2 +- Projectiles/Typeless/SlurperBobber.cs | 2 +- Projectiles/Typeless/VerstaltiteBobber.cs | 2 +- Projectiles/Typeless/WulfrumBobber.cs | 2 +- Tiles/Astral/AstralCrateTile.cs | 2 +- Tiles/SunkenSea/SunkenCrateTile.png | Bin 0 -> 1012 bytes Utilities/CalamityRecipes.cs | 2 +- 59 files changed, 34 insertions(+), 30 deletions(-) rename Items/Fishing/{ => AstralCatches}/ArcturusAstroidean.cs (92%) rename Items/Fishing/{ => AstralCatches}/ArcturusAstroidean.png (100%) rename Items/Fishing/{ => AstralCatches}/AstralCrate.cs (98%) rename Items/Fishing/{ => AstralCatches}/AstralCrate.png (100%) rename Items/Fishing/{ => AstralCatches}/AstrophageItem.cs (94%) rename Items/Fishing/{ => AstralCatches}/AstrophageItem.png (100%) rename Items/{Weapons/Rogue => Fishing/AstralCatches}/GacruxianMollusk.cs (95%) rename Items/{Weapons/Rogue => Fishing/AstralCatches}/GacruxianMollusk.png (100%) rename Items/Fishing/{ => AstralCatches}/PolarisParrotfish.cs (97%) rename Items/Fishing/{ => AstralCatches}/PolarisParrotfish.png (100%) rename Items/Fishing/{ => AstralCatches}/ProcyonidPrawn.cs (90%) rename Items/Fishing/{ => AstralCatches}/ProcyonidPrawn.png (100%) rename Items/Fishing/{ => AstralCatches}/TwinklerItem.cs (94%) rename Items/Fishing/{ => AstralCatches}/TwinklerItem.png (100%) rename Items/Fishing/{ => AstralCatches}/TwinklingPollox.cs (91%) rename Items/Fishing/{ => AstralCatches}/TwinklingPollox.png (100%) rename Items/Fishing/{ => AstralCatches}/UrsaSergeant.cs (95%) rename Items/Fishing/{ => AstralCatches}/UrsaSergeant.png (100%) rename Items/Fishing/{ => FishingRods}/ChaoticSpreadRod.cs (97%) rename Items/Fishing/{ => FishingRods}/ChaoticSpreadRod.png (100%) rename Items/Fishing/{ => FishingRods}/EarlyBloomRod.cs (97%) rename Items/Fishing/{ => FishingRods}/EarlyBloomRod.png (100%) rename Items/Fishing/{ => FishingRods}/EaterofShoals.cs (98%) rename Items/Fishing/{ => FishingRods}/EaterofShoals.png (100%) rename Items/Fishing/{ => FishingRods}/FeralDoubleRod.cs (97%) rename Items/Fishing/{ => FishingRods}/FeralDoubleRod.png (100%) rename Items/Fishing/{ => FishingRods}/HeronRod.cs (96%) rename Items/Fishing/{ => FishingRods}/HeronRod.png (100%) rename Items/Fishing/{ => FishingRods}/NavyFishingRod.cs (96%) rename Items/Fishing/{ => FishingRods}/NavyFishingRod.png (100%) rename Items/Fishing/{ => FishingRods}/SlurperPole.cs (95%) rename Items/Fishing/{ => FishingRods}/SlurperPole.png (100%) rename Items/Fishing/{ => FishingRods}/VerstaltiteFishingRod.cs (96%) rename Items/Fishing/{ => FishingRods}/VerstaltiteFishingRod.png (100%) rename Items/Fishing/{ => FishingRods}/WulfrumRod.cs (96%) rename Items/Fishing/{ => FishingRods}/WulfrumRod.png (100%) create mode 100644 Items/Fishing/SunkenSeaCatches/Clamfish.png create mode 100644 Items/Fishing/SunkenSeaCatches/CoralskinFoolfish.png create mode 100644 Items/Fishing/SunkenSeaCatches/EutrophicSandfish.png create mode 100644 Items/Fishing/SunkenSeaCatches/GreenwaveLoach.png create mode 100644 Items/Fishing/SunkenSeaCatches/PrismaticGuppy.png create mode 100644 Items/Fishing/SunkenSeaCatches/ScarredAngelfish.png create mode 100644 Items/Fishing/SunkenSeaCatches/Serpentuna.png create mode 100644 Items/Fishing/SunkenSeaCatches/SunkenCrate.png create mode 100644 Items/Fishing/SunkenSeaCatches/SunkenSailfish.png create mode 100644 Tiles/SunkenSea/SunkenCrateTile.png diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index c27313219f..e6216431ef 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -12,6 +12,9 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Accessories.Vanity; using CalamityMod.Items.DifficultyItems; using CalamityMod.Items.Fishing; +using CalamityMod.Items.Fishing.AstralCatches; +using CalamityMod.Items.Fishing.SunkenSeaCatches; +using CalamityMod.Items.Fishing.FishingRods; using CalamityMod.Items.Mounts; using CalamityMod.Items.Pets; using CalamityMod.Items.Placeables; diff --git a/Items/Fishing/ArcturusAstroidean.cs b/Items/Fishing/AstralCatches/ArcturusAstroidean.cs similarity index 92% rename from Items/Fishing/ArcturusAstroidean.cs rename to Items/Fishing/AstralCatches/ArcturusAstroidean.cs index 390240d8b4..9e7788d542 100644 --- a/Items/Fishing/ArcturusAstroidean.cs +++ b/Items/Fishing/AstralCatches/ArcturusAstroidean.cs @@ -1,7 +1,7 @@ using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class ArcturusAstroidean : ModItem { diff --git a/Items/Fishing/ArcturusAstroidean.png b/Items/Fishing/AstralCatches/ArcturusAstroidean.png similarity index 100% rename from Items/Fishing/ArcturusAstroidean.png rename to Items/Fishing/AstralCatches/ArcturusAstroidean.png diff --git a/Items/Fishing/AstralCrate.cs b/Items/Fishing/AstralCatches/AstralCrate.cs similarity index 98% rename from Items/Fishing/AstralCrate.cs rename to Items/Fishing/AstralCatches/AstralCrate.cs index 61583f471c..c691c15538 100644 --- a/Items/Fishing/AstralCrate.cs +++ b/Items/Fishing/AstralCatches/AstralCrate.cs @@ -13,7 +13,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class AstralCrate : ModItem { diff --git a/Items/Fishing/AstralCrate.png b/Items/Fishing/AstralCatches/AstralCrate.png similarity index 100% rename from Items/Fishing/AstralCrate.png rename to Items/Fishing/AstralCatches/AstralCrate.png diff --git a/Items/Fishing/AstrophageItem.cs b/Items/Fishing/AstralCatches/AstrophageItem.cs similarity index 94% rename from Items/Fishing/AstrophageItem.cs rename to Items/Fishing/AstralCatches/AstrophageItem.cs index 50271c0886..94f73dbf15 100644 --- a/Items/Fishing/AstrophageItem.cs +++ b/Items/Fishing/AstralCatches/AstrophageItem.cs @@ -4,7 +4,7 @@ using Terraria; using Terraria.ID; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class AstrophageItem : ModItem { diff --git a/Items/Fishing/AstrophageItem.png b/Items/Fishing/AstralCatches/AstrophageItem.png similarity index 100% rename from Items/Fishing/AstrophageItem.png rename to Items/Fishing/AstralCatches/AstrophageItem.png diff --git a/Items/Weapons/Rogue/GacruxianMollusk.cs b/Items/Fishing/AstralCatches/GacruxianMollusk.cs similarity index 95% rename from Items/Weapons/Rogue/GacruxianMollusk.cs rename to Items/Fishing/AstralCatches/GacruxianMollusk.cs index dc075b5346..dbc94665e7 100644 --- a/Items/Weapons/Rogue/GacruxianMollusk.cs +++ b/Items/Fishing/AstralCatches/GacruxianMollusk.cs @@ -3,8 +3,9 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.Items.Weapons.Rogue; -namespace CalamityMod.Items.Weapons.Rogue +namespace CalamityMod.Items.Fishing.AstralCatches { public class GacruxianMollusk : RogueWeapon { diff --git a/Items/Weapons/Rogue/GacruxianMollusk.png b/Items/Fishing/AstralCatches/GacruxianMollusk.png similarity index 100% rename from Items/Weapons/Rogue/GacruxianMollusk.png rename to Items/Fishing/AstralCatches/GacruxianMollusk.png diff --git a/Items/Fishing/PolarisParrotfish.cs b/Items/Fishing/AstralCatches/PolarisParrotfish.cs similarity index 97% rename from Items/Fishing/PolarisParrotfish.cs rename to Items/Fishing/AstralCatches/PolarisParrotfish.cs index 95217a1abf..01c7dea67c 100644 --- a/Items/Fishing/PolarisParrotfish.cs +++ b/Items/Fishing/AstralCatches/PolarisParrotfish.cs @@ -4,7 +4,7 @@ using Microsoft.Xna.Framework; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class PolarisParrotfish : ModItem { diff --git a/Items/Fishing/PolarisParrotfish.png b/Items/Fishing/AstralCatches/PolarisParrotfish.png similarity index 100% rename from Items/Fishing/PolarisParrotfish.png rename to Items/Fishing/AstralCatches/PolarisParrotfish.png diff --git a/Items/Fishing/ProcyonidPrawn.cs b/Items/Fishing/AstralCatches/ProcyonidPrawn.cs similarity index 90% rename from Items/Fishing/ProcyonidPrawn.cs rename to Items/Fishing/AstralCatches/ProcyonidPrawn.cs index 1b63156ff4..077c7882fe 100644 --- a/Items/Fishing/ProcyonidPrawn.cs +++ b/Items/Fishing/AstralCatches/ProcyonidPrawn.cs @@ -1,7 +1,7 @@ using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class ProcyonidPrawn : ModItem { diff --git a/Items/Fishing/ProcyonidPrawn.png b/Items/Fishing/AstralCatches/ProcyonidPrawn.png similarity index 100% rename from Items/Fishing/ProcyonidPrawn.png rename to Items/Fishing/AstralCatches/ProcyonidPrawn.png diff --git a/Items/Fishing/TwinklerItem.cs b/Items/Fishing/AstralCatches/TwinklerItem.cs similarity index 94% rename from Items/Fishing/TwinklerItem.cs rename to Items/Fishing/AstralCatches/TwinklerItem.cs index 5fe85b0902..f7eeb72a99 100644 --- a/Items/Fishing/TwinklerItem.cs +++ b/Items/Fishing/AstralCatches/TwinklerItem.cs @@ -2,7 +2,7 @@ using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class TwinklerItem : ModItem { diff --git a/Items/Fishing/TwinklerItem.png b/Items/Fishing/AstralCatches/TwinklerItem.png similarity index 100% rename from Items/Fishing/TwinklerItem.png rename to Items/Fishing/AstralCatches/TwinklerItem.png diff --git a/Items/Fishing/TwinklingPollox.cs b/Items/Fishing/AstralCatches/TwinklingPollox.cs similarity index 91% rename from Items/Fishing/TwinklingPollox.cs rename to Items/Fishing/AstralCatches/TwinklingPollox.cs index 6c7c06ef2f..f8148de3dd 100644 --- a/Items/Fishing/TwinklingPollox.cs +++ b/Items/Fishing/AstralCatches/TwinklingPollox.cs @@ -1,7 +1,7 @@ using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class TwinklingPollox : ModItem { diff --git a/Items/Fishing/TwinklingPollox.png b/Items/Fishing/AstralCatches/TwinklingPollox.png similarity index 100% rename from Items/Fishing/TwinklingPollox.png rename to Items/Fishing/AstralCatches/TwinklingPollox.png diff --git a/Items/Fishing/UrsaSergeant.cs b/Items/Fishing/AstralCatches/UrsaSergeant.cs similarity index 95% rename from Items/Fishing/UrsaSergeant.cs rename to Items/Fishing/AstralCatches/UrsaSergeant.cs index cd5af12acd..6f0857fe54 100644 --- a/Items/Fishing/UrsaSergeant.cs +++ b/Items/Fishing/AstralCatches/UrsaSergeant.cs @@ -3,7 +3,7 @@ using CalamityMod.CalPlayer; using Terraria; using Terraria.ModLoader; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.AstralCatches { public class UrsaSergeant : ModItem { diff --git a/Items/Fishing/UrsaSergeant.png b/Items/Fishing/AstralCatches/UrsaSergeant.png similarity index 100% rename from Items/Fishing/UrsaSergeant.png rename to Items/Fishing/AstralCatches/UrsaSergeant.png diff --git a/Items/Fishing/ChaoticSpreadRod.cs b/Items/Fishing/FishingRods/ChaoticSpreadRod.cs similarity index 97% rename from Items/Fishing/ChaoticSpreadRod.cs rename to Items/Fishing/FishingRods/ChaoticSpreadRod.cs index 6cf83e74ee..9a60f760c8 100644 --- a/Items/Fishing/ChaoticSpreadRod.cs +++ b/Items/Fishing/FishingRods/ChaoticSpreadRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class ChaoticSpreadRod : ModItem { diff --git a/Items/Fishing/ChaoticSpreadRod.png b/Items/Fishing/FishingRods/ChaoticSpreadRod.png similarity index 100% rename from Items/Fishing/ChaoticSpreadRod.png rename to Items/Fishing/FishingRods/ChaoticSpreadRod.png diff --git a/Items/Fishing/EarlyBloomRod.cs b/Items/Fishing/FishingRods/EarlyBloomRod.cs similarity index 97% rename from Items/Fishing/EarlyBloomRod.cs rename to Items/Fishing/FishingRods/EarlyBloomRod.cs index b8c1e48b6f..a706d41a8d 100644 --- a/Items/Fishing/EarlyBloomRod.cs +++ b/Items/Fishing/FishingRods/EarlyBloomRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class EarlyBloomRod : ModItem { diff --git a/Items/Fishing/EarlyBloomRod.png b/Items/Fishing/FishingRods/EarlyBloomRod.png similarity index 100% rename from Items/Fishing/EarlyBloomRod.png rename to Items/Fishing/FishingRods/EarlyBloomRod.png diff --git a/Items/Fishing/EaterofShoals.cs b/Items/Fishing/FishingRods/EaterofShoals.cs similarity index 98% rename from Items/Fishing/EaterofShoals.cs rename to Items/Fishing/FishingRods/EaterofShoals.cs index ca06eb692d..0f56880551 100644 --- a/Items/Fishing/EaterofShoals.cs +++ b/Items/Fishing/FishingRods/EaterofShoals.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class EaterofShoals : ModItem { diff --git a/Items/Fishing/EaterofShoals.png b/Items/Fishing/FishingRods/EaterofShoals.png similarity index 100% rename from Items/Fishing/EaterofShoals.png rename to Items/Fishing/FishingRods/EaterofShoals.png diff --git a/Items/Fishing/FeralDoubleRod.cs b/Items/Fishing/FishingRods/FeralDoubleRod.cs similarity index 97% rename from Items/Fishing/FeralDoubleRod.cs rename to Items/Fishing/FishingRods/FeralDoubleRod.cs index e6f31d5b83..d638eec2cc 100644 --- a/Items/Fishing/FeralDoubleRod.cs +++ b/Items/Fishing/FishingRods/FeralDoubleRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class FeralDoubleRod : ModItem { diff --git a/Items/Fishing/FeralDoubleRod.png b/Items/Fishing/FishingRods/FeralDoubleRod.png similarity index 100% rename from Items/Fishing/FeralDoubleRod.png rename to Items/Fishing/FishingRods/FeralDoubleRod.png diff --git a/Items/Fishing/HeronRod.cs b/Items/Fishing/FishingRods/HeronRod.cs similarity index 96% rename from Items/Fishing/HeronRod.cs rename to Items/Fishing/FishingRods/HeronRod.cs index c68f2cea7a..cad4f62081 100644 --- a/Items/Fishing/HeronRod.cs +++ b/Items/Fishing/FishingRods/HeronRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class HeronRod : ModItem { diff --git a/Items/Fishing/HeronRod.png b/Items/Fishing/FishingRods/HeronRod.png similarity index 100% rename from Items/Fishing/HeronRod.png rename to Items/Fishing/FishingRods/HeronRod.png diff --git a/Items/Fishing/NavyFishingRod.cs b/Items/Fishing/FishingRods/NavyFishingRod.cs similarity index 96% rename from Items/Fishing/NavyFishingRod.cs rename to Items/Fishing/FishingRods/NavyFishingRod.cs index 3395a41410..6e16d27ad8 100644 --- a/Items/Fishing/NavyFishingRod.cs +++ b/Items/Fishing/FishingRods/NavyFishingRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Placeables; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class NavyFishingRod : ModItem { diff --git a/Items/Fishing/NavyFishingRod.png b/Items/Fishing/FishingRods/NavyFishingRod.png similarity index 100% rename from Items/Fishing/NavyFishingRod.png rename to Items/Fishing/FishingRods/NavyFishingRod.png diff --git a/Items/Fishing/SlurperPole.cs b/Items/Fishing/FishingRods/SlurperPole.cs similarity index 95% rename from Items/Fishing/SlurperPole.cs rename to Items/Fishing/FishingRods/SlurperPole.cs index 70813e073f..78ada185fe 100644 --- a/Items/Fishing/SlurperPole.cs +++ b/Items/Fishing/FishingRods/SlurperPole.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class SlurperPole : ModItem { diff --git a/Items/Fishing/SlurperPole.png b/Items/Fishing/FishingRods/SlurperPole.png similarity index 100% rename from Items/Fishing/SlurperPole.png rename to Items/Fishing/FishingRods/SlurperPole.png diff --git a/Items/Fishing/VerstaltiteFishingRod.cs b/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs similarity index 96% rename from Items/Fishing/VerstaltiteFishingRod.cs rename to Items/Fishing/FishingRods/VerstaltiteFishingRod.cs index 7dd7673d5d..21ac4728a0 100644 --- a/Items/Fishing/VerstaltiteFishingRod.cs +++ b/Items/Fishing/FishingRods/VerstaltiteFishingRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class VerstaltiteFishingRod : ModItem { diff --git a/Items/Fishing/VerstaltiteFishingRod.png b/Items/Fishing/FishingRods/VerstaltiteFishingRod.png similarity index 100% rename from Items/Fishing/VerstaltiteFishingRod.png rename to Items/Fishing/FishingRods/VerstaltiteFishingRod.png diff --git a/Items/Fishing/WulfrumRod.cs b/Items/Fishing/FishingRods/WulfrumRod.cs similarity index 96% rename from Items/Fishing/WulfrumRod.cs rename to Items/Fishing/FishingRods/WulfrumRod.cs index f58ae9d42b..bad16d5d96 100644 --- a/Items/Fishing/WulfrumRod.cs +++ b/Items/Fishing/FishingRods/WulfrumRod.cs @@ -6,7 +6,7 @@ using Terraria.ID; using Terraria.Localization; using Terraria.ModLoader; using CalamityMod.Items.Materials; -namespace CalamityMod.Items.Fishing +namespace CalamityMod.Items.Fishing.FishingRods { public class WulfrumRod : ModItem { diff --git a/Items/Fishing/WulfrumRod.png b/Items/Fishing/FishingRods/WulfrumRod.png similarity index 100% rename from Items/Fishing/WulfrumRod.png rename to Items/Fishing/FishingRods/WulfrumRod.png diff --git a/Items/Fishing/SunkenSeaCatches/Clamfish.png b/Items/Fishing/SunkenSeaCatches/Clamfish.png new file mode 100644 index 0000000000000000000000000000000000000000..15e8df50b9997a343859931fca48cf41e003ebfd GIT binary patch literal 512 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VOS+@4BLl<6e(pbstUx|vage(c z!@6@aFM%9|WRD45bDP46hOx7_4S6Fo+k-*%fF5lweEp zc6VX;4}uH!E}slE$+2*0|qa z&~DejF1W{|BdXOYIJaAOVb0%hLrv{N`df9L*i7 zcjcC@{|%LSz3RW*T)(>3&52T);>Xd|P*GA=m!$G-{ci@J!)}^0=Omv${Obg(!kv8P z4>NjrlAcFQ-rDu&y>)Euta+)26u3kjj5>-NKCH@B;rMv``i3tJ+ka~^#5sT8HZ_hd zVfo^_mG$$UFtksPZ4THoMNW+KX4b#VPx#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00GWPL_t(Y$IX^8FKj^+$A5G8@;2-u zR)Q#mjZg?8c`q-TS7{Uql~$$J_z1p%go;Xo#s?7FAS8Gj#8xkoC$h;32{x>I_bTol zG2<>95qJO1&73)tGr#%InOsFly+c2#L^mxBf$>PO9st+6_ugA?RaE5*We3E9ci7mb z0AfS{xZ_sKbFF&-;*b44@o=wxGAHZRL+IkgH2Y|zs)xiAfC6t|-p6zWE09fuG2H@B1yp}Jw)2?e#;Szdw z0s!S)X$kH@M%%F|A(Go@-b#^^&k+itk~g$i)9RB(lU^kYN9QI0$Q?(txJf7;0^xb+ z0a#C20NiL&ODN~v=Guv$|AEJ*LhQrR+ZZttOakdc@v1CYY6*b4jvfV&f6RtMsFJ_O z0C2Jw9zb+_S|bt3+b9w;IRVk_k7EF0#1(*@y8s|_v>y(kU37|Cz$6o|p8jtI5}F=1 zrM3Ym)aErZQ3!-rmzsA%RIb0Q#%2Y)`~j3xZNUkQhu4P>8;jb65Wmsgwf~LPsLvGq z{yyyN8q{}?Xa_*N4O#Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00M1EL_t(o!{wK`ZxcZjhrf;2SA>rk znuh_@`v_>zMG(Y0sXZ zM{CWXso8%<>g>hy0K}8$T-V!pzYdH5L34mHHo#Hi2mpV~@9NZUw1D2E7GFFEU~TEK z)-UA3iKqc1KyZ*4v;ksIo@(|;<_!S1?p*I{zRz2G+Ov~fHD3n)MS}j+GytAf!3MZ; z|AwpoY|1@5gs-(ws~h0Oq0EQM1z2>_X0|?7G@I{m48Y2bJ*Jw~htx$moA)x5IcxM=`bUXR#qfO^O7 z4S99Kf16O>1f3+))sI@goOhx~;d4wNzjy?C35Z#Le7_-Q{=MBzdO!R%e&;_<0?A~ zb$&-fPq2FiIsZ9CLayZ?=Q7S!gT|g{=n4J+p0M8S=u0OB0000IbVXQnMOaBjI!|(G dWo~p~bZKvH05ODE?C$^o002ovPDHLkV1joXT@L^N literal 0 HcmV?d00001 diff --git a/Items/Fishing/SunkenSeaCatches/GreenwaveLoach.png b/Items/Fishing/SunkenSeaCatches/GreenwaveLoach.png new file mode 100644 index 0000000000000000000000000000000000000000..6acc66596f99d9b84d5b6279c2a579a6ec29147b GIT binary patch literal 840 zcmV-O1GoH%P)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00NdtL_t(o!|j;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z`iTjE+gmX~)PO{I*u z!se!DesQ6d z`56G3BM|}cw^#(AlFR8--x}eb*zP8}&+6`DlZLyMm!-TS)bF!axg&lQPlyW=3DsWf zTWnXRo07UG{(0Hu6R`sLm`kN*Ku-=m=b w5Lt}?000tnMObu2SV=}YPjYExZggREX>V=-F@#v`?*IS*07*qoM6N<$g88v3cK`qY literal 0 HcmV?d00001 diff --git a/Items/Fishing/SunkenSeaCatches/ScarredAngelfish.png b/Items/Fishing/SunkenSeaCatches/ScarredAngelfish.png new file mode 100644 index 0000000000000000000000000000000000000000..b535397ff2b67c699e8e2d290871ce36ca0a052e GIT binary patch literal 657 zcmV;C0&e|@P)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00G}gL_t(Y$IX_%OIuMC$3HJG4N;M5 z2y}>|QY4}fiGzp~EdBvq)WxlnL#8erT--(IP#m1xy41;4C>6xP!C+8PN~uyskf&1G zgpd-S!}SF3^+ug?{Z9AYbAO!AIrrTAysn;W>8uB^HJ`J3Y?5dCG63YaM*+xAPuU|- zM-3P?#PXTa!b*e~>n`iv<0sz6TZ=Ik2@)dypC*QSb zI=N}A^>=-B3c!nww*X{}dRv=S1ZEuynLm^^32{aU+`mzze#}!R1SZ+u=G-mW#Dg0; zIi*?->%AI6AS!MI05nAt%JUKB`^A~Ew+$%L^6FA;FK2`Rw08Ca@b~wR@Ghz3EY`iN zk@?Lr51?AAXb~#EPHG#(e+G^Tr6Ht=bQXZi!+Z$P@<#Vq2)Ta`htHC*R)@#Gb~J;Z zR5>bc1Xj|=BxKbVwT@p@e|zrVLy_dvPpVg<8dSnZ=4y76Od{BD!W(`SnmE+Z8HE4< r01|XXSad~LNk%$Pa%p95bYXO9Z*BlFgjnqF00000NkvXXu0mjfpDG+x literal 0 HcmV?d00001 diff --git a/Items/Fishing/SunkenSeaCatches/Serpentuna.png b/Items/Fishing/SunkenSeaCatches/Serpentuna.png new file mode 100644 index 0000000000000000000000000000000000000000..6b4d0310e97f72fe2154086f510d461003d0bf47 GIT binary patch literal 938 zcmV;b16BNqP)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00Q_)L_t(o!`+roOH@%9ho7TPPBV>z zIwMx*_ilPWI?GKonuv#TS<)V)eQ6L!6wyz+$$|QmkDhv}>MzpXX%1j%{oU39w zlRDOIaqgMvj8|u@S={lrx%Zs&-ov>MzxO?_AWQOwPOi0N{yo@t{ICG{@p&GAPXqU~ z;Jj=dC|fGXA_-d}N|)~60^s?L9uuHww@(0g$K`&}u@{?!P&yJyXRfyc@bqrGHh=0) z3jm$19VWmwe^3BKt@TYs2!M*SE!sHzsK=I+F)YWm*Nyvk~?>ItYqaUa& zD+~kxSTYRLj?}L=AAqE1`nul%(0E>w>1^!)psc)D08CBJI+M_bJru}`0N{2N0uZ+5 z{qG;k^@?&iu~$Bf;e6YD>KiKn=r{!y%yB|HN^1d#&&N%G3pdZ%#+eN|G4Zn3mQbpOx(0D1p^URk zxFk%^PEST;x=*xeV@34!z*_*Co;{Idu3Xjj&0RtTTkS)YH$n|MnUcC{0g%5SJHrRJ zADRFMFCGP;_jI%Ee$FGL>PxC3%OADz%FmT`NvUj7URd}x0l@OiG62O@r2=56YtRI! zuHU15ADf6dln|+%U%(>(f<}!-%9Q1Y*o^#>bah23L3&(1yg{!380{ai?KmAtNS^Fi z6#&0qjcd2BQhYuRfUm4b^McA6MNE0YQ|1MdcVL24B;i@xTf(`7(kbzWQ#I?xsq9f6 zarvwgKb^AA8pG1@-@B=4+fL=sI`f1FE5y{tt_DYbu5Qbd&gm5lQVts-T~?RNvPIJaoqzqtKw zVXbTP8ztjdLVo}RiUwT)X0&+#000tnMObu2SV=}YPjYExZggREX>V=-F@#v`?*IS* M07*qoM6N<$f~NwPtpET3 literal 0 HcmV?d00001 diff --git a/Items/Fishing/SunkenSeaCatches/SunkenCrate.png b/Items/Fishing/SunkenSeaCatches/SunkenCrate.png new file mode 100644 index 0000000000000000000000000000000000000000..134f920a569b0821964ccadae6405156df3869d4 GIT binary patch literal 3467 zcmV;64RrE}P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl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!5b1sP|3lK7qyx<4PvF=bn!`-^4bE0*R2OnmDF6Tf5_CmabVXQ6 iMmkS&X=QG7VRUJ4ZU8ZaSnTfr0000 Date: Mon, 4 Nov 2019 23:02:12 -0500 Subject: [PATCH 03/20] oops --- CalPlayer/CalamityPlayer.cs | 1 - Projectiles/Typeless/NavyBobber.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index e6216431ef..7e2eb2b0f6 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -13,7 +13,6 @@ using CalamityMod.Items.Accessories.Vanity; using CalamityMod.Items.DifficultyItems; using CalamityMod.Items.Fishing; using CalamityMod.Items.Fishing.AstralCatches; -using CalamityMod.Items.Fishing.SunkenSeaCatches; using CalamityMod.Items.Fishing.FishingRods; using CalamityMod.Items.Mounts; using CalamityMod.Items.Pets; diff --git a/Projectiles/Typeless/NavyBobber.cs b/Projectiles/Typeless/NavyBobber.cs index 0015f06ecc..397213bf71 100644 --- a/Projectiles/Typeless/NavyBobber.cs +++ b/Projectiles/Typeless/NavyBobber.cs @@ -4,7 +4,7 @@ using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; -using CalamityMod.Items.Fishing; +using CalamityMod.Items.Fishing.FishingRods; namespace CalamityMod.Projectiles.Typeless { public class NavyBobber : ModProjectile From 3fbeda2244b2d5ff90a56187e25daacdec5393f9 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 4 Nov 2019 23:26:59 -0500 Subject: [PATCH 04/20] added fish of flight, light, and night --- CalPlayer/CalamityPlayer.cs | 24 ++++++++++++ Items/Fishing/FishofFlight.cs | 35 ++++++++++++++++++ Items/Fishing/FishofLight.cs | 35 ++++++++++++++++++ Items/Fishing/FishofNight.cs | 35 ++++++++++++++++++ ...meingGemfish.png => GlimmeringGemfish.png} | Bin 5 files changed, 129 insertions(+) create mode 100644 Items/Fishing/FishofFlight.cs create mode 100644 Items/Fishing/FishofLight.cs create mode 100644 Items/Fishing/FishofNight.cs rename Items/Fishing/{GlimmeingGemfish.png => GlimmeringGemfish.png} (100%) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 7e2eb2b0f6..e37cba1ba7 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -7492,6 +7492,30 @@ namespace CalamityMod.CalPlayer caughtType = ModContent.ItemType(); } } + + if ((player.ZoneCrimson || player.ZoneCorrupt) && player.ZoneRockLayerHeight) + { + if (Main.rand.NextBool(10)) + { + caughtType = ModContent.ItemType(); + } + } + + if (player.ZoneHoly && player.ZoneRockLayerHeight) + { + if (Main.rand.NextBool(10)) + { + caughtType = ModContent.ItemType(); + } + } + + if (player.ZoneSkyHeight) + { + if (Main.rand.NextBool(15)) + { + caughtType = ModContent.ItemType(); + } + } if (junk) { diff --git a/Items/Fishing/FishofFlight.cs b/Items/Fishing/FishofFlight.cs new file mode 100644 index 0000000000..e6f6021272 --- /dev/null +++ b/Items/Fishing/FishofFlight.cs @@ -0,0 +1,35 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Fishing +{ + public class FishofFlight : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Fish of Flight"); + Tooltip.SetDefault("Right click to extract souls"); + } + + public override void SetDefaults() + { + item.maxStack = 999; + item.consumable = true; + item.width = 30; + item.height = 30; + item.rare = 3; + item.value = Item.sellPrice(gold: 1); + } + + public override bool CanRightClick() + { + return true; + } + + public override void RightClick(Player player) + { + DropHelper.DropItem(player, ItemID.SoulofFlight, 5, 10); + } + } +} diff --git a/Items/Fishing/FishofLight.cs b/Items/Fishing/FishofLight.cs new file mode 100644 index 0000000000..02f0758911 --- /dev/null +++ b/Items/Fishing/FishofLight.cs @@ -0,0 +1,35 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Fishing +{ + public class FishofLight : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Fish of Light"); + Tooltip.SetDefault("Right click to extract souls"); + } + + public override void SetDefaults() + { + item.maxStack = 999; + item.consumable = true; + item.width = 34; + item.height = 34; + item.rare = 3; + item.value = Item.sellPrice(gold: 1); + } + + public override bool CanRightClick() + { + return true; + } + + public override void RightClick(Player player) + { + DropHelper.DropItem(player, ItemID.SoulofLight, 5, 10); + } + } +} diff --git a/Items/Fishing/FishofNight.cs b/Items/Fishing/FishofNight.cs new file mode 100644 index 0000000000..fc17d42d82 --- /dev/null +++ b/Items/Fishing/FishofNight.cs @@ -0,0 +1,35 @@ +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; + +namespace CalamityMod.Items.Fishing +{ + public class FishofNight : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Fish of Night"); + Tooltip.SetDefault("Right click to extract souls"); + } + + public override void SetDefaults() + { + item.maxStack = 999; + item.consumable = true; + item.width = 34; + item.height = 34; + item.rare = 3; + item.value = Item.sellPrice(gold: 1); + } + + public override bool CanRightClick() + { + return true; + } + + public override void RightClick(Player player) + { + DropHelper.DropItem(player, ItemID.SoulofNight, 5, 10); + } + } +} diff --git a/Items/Fishing/GlimmeingGemfish.png b/Items/Fishing/GlimmeringGemfish.png similarity index 100% rename from Items/Fishing/GlimmeingGemfish.png rename to Items/Fishing/GlimmeringGemfish.png From 37f0eae26adc3aada683b2e27730c145a79d9172 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 5 Nov 2019 00:07:23 -0500 Subject: [PATCH 05/20] added enchanted starfish --- CalPlayer/CalamityPlayer.cs | 8 +++++ Items/Fishing/EnchantedStarfish.cs | 47 ++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 Items/Fishing/EnchantedStarfish.cs diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index e37cba1ba7..57df2aeec3 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -7516,6 +7516,14 @@ namespace CalamityMod.CalPlayer caughtType = ModContent.ItemType(); } } + + if (player.ZoneOverworldHeight && !Main.dayTime) + { + if (Main.rand.NextBool(10)) + { + caughtType = ModContent.ItemType(); + } + } if (junk) { diff --git a/Items/Fishing/EnchantedStarfish.cs b/Items/Fishing/EnchantedStarfish.cs new file mode 100644 index 0000000000..908c661ced --- /dev/null +++ b/Items/Fishing/EnchantedStarfish.cs @@ -0,0 +1,47 @@ +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.DataStructures; +using Terraria.ID; +using Terraria.Localization; +using Terraria.ModLoader; +using Terraria.GameContent.Achievements; +namespace CalamityMod.Items.Fishing +{ + public class EnchantedStarfish : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Enchanted Starfish"); + Tooltip.SetDefault("Permanently increases maximum mana by 20"); + } + + public override void SetDefaults() + { + item.rare = 2; + item.width = 30; + item.height = 26; + item.useAnimation = 30; + item.useTime = 30; + item.useStyle = 4; + item.UseSound = SoundID.Item29; + item.consumable = true; + item.maxStack = 999; + item.value = Item.sellPrice(silver: 50); + } + + public override bool UseItem(Player player) + { + if (player.itemAnimation > 0 && (player.statManaMax < 200 && player.itemTime == 0)) + { + player.itemTime = item.useTime; + player.statManaMax = player.statManaMax + 20; + player.statManaMax2 = player.statManaMax2 + 20; + player.statMana = player.statMana + 20; + if (Main.myPlayer == player.whoAmI) + player.ManaEffect(20); + AchievementsHelper.HandleSpecialEvent(player, 1); + } + return false; + } + } +} From cc1e9bdff726161c4114675551de8b59bd67ade9 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 5 Nov 2019 06:22:23 -0500 Subject: [PATCH 06/20] set up hook images for me to do later at one point --- ExtraTextures/Chains/BobbitHookChain.png | Bin 0 -> 198 bytes ExtraTextures/Chains/SerpentsBiteChain.png | Bin 0 -> 312 bytes Items/Fishing/SunkenSeaCatches/SerpentsBite.png | Bin 0 -> 830 bytes Items/Tools/BobbitHook.png | Bin 0 -> 510 bytes Projectiles/Typeless/BobbitHead.png | Bin 0 -> 330 bytes Projectiles/Typeless/SerpentsBiteHook.png | Bin 0 -> 486 bytes 6 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 ExtraTextures/Chains/BobbitHookChain.png create mode 100644 ExtraTextures/Chains/SerpentsBiteChain.png create mode 100644 Items/Fishing/SunkenSeaCatches/SerpentsBite.png create mode 100644 Items/Tools/BobbitHook.png create mode 100644 Projectiles/Typeless/BobbitHead.png create mode 100644 Projectiles/Typeless/SerpentsBiteHook.png diff --git a/ExtraTextures/Chains/BobbitHookChain.png b/ExtraTextures/Chains/BobbitHookChain.png new file mode 100644 index 0000000000000000000000000000000000000000..7ab59897ca2aafa71fe59722141a962779ac18bf GIT binary patch literal 198 zcmeAS@N?(olHy`uVBq!ia0vp^d_c^_!3HE-Zss2cQr(^|jv*Ss$tev?c6N>b6_zdb zWr%okwp~0S%Ef`n=e_+VMxXj$Um68nnmGj&B9(ob*Y&Y>@hTk>n0;?g>kXdbgHN^9 z57fAInVx%-!93d}^`x4?+J!j`%kuB+Wms06^yffHm8W8{ wQm!iT@X~T{64woxZ(rYFFV}gMgTeA=D(^)R7iOTd7(8A5T-G@yG%+v$0P>kcsQ>@~ literal 0 HcmV?d00001 diff --git a/ExtraTextures/Chains/SerpentsBiteChain.png b/ExtraTextures/Chains/SerpentsBiteChain.png new file mode 100644 index 0000000000000000000000000000000000000000..c21525d426b393b32e192943c9d820aaa9ecacb3 GIT binary patch literal 312 zcmeAS@N?(olHy`uVBq!ia0vp^AT}2V8<6ZZI=>f4v7|ftIx;Y9?C1WI$O_~$76-XI zF|0c$^AgBWNcITwWnidMV_;}#VPN;A-4G9 zXOEd0`UShqbj0`%Jj!FcZa>#=dA)^W$eXjMZc}iVG=VCHd^XS}*w674-TKB=0_%R>M4z ySFEp5P~R2kBB2u32q5xwv+^&>OwB7vEXmBzV=!!qc=H}8%i!ti=d#Wzp$P!a{cTeK literal 0 HcmV?d00001 diff --git a/Items/Fishing/SunkenSeaCatches/SerpentsBite.png b/Items/Fishing/SunkenSeaCatches/SerpentsBite.png new file mode 100644 index 0000000000000000000000000000000000000000..4bdbe25a7500aff6e55949e71d813062ccd9cae0 GIT binary patch literal 830 zcmV-E1Ht@>P)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00N9jL_t(Y$JLfiYZFlvhM!5Aq@8@! zn1&dY#5Ao63Zl@JE(8U^g-ACp`~f0@;Le2$*ZzZoiW?VhMBEDsx~ZTDRw_+MEfFJ0 zmBA#F50i0m=eD`iNeO~Xd^ef7nRDkpbIyIw)o>`BJ&&7otpPwh+6SOrZ&{3>P-IfG zp9kPe=>q`1QG)-4CWa9L3Q>AKrvVs+6$>CWmj)oacn5&S@_i+^R;~c>z3|Nf@a><~ z0J8S~o)K#U#I8BJc>68@%lB>oaO~{KT_-%0+o#;W*vtUXdcGt`13t}D;tA)#!OM#P zl%G8XVCHzwm2@D7%J|All;`t^=Ze!oL2h&`&xv=L&}f ztGf5@GXRI@3?<<0<2QnMN)T6!Ro96nId%<6r;}gId*_OT0s!>a3l_k_)zbhhJbVDa zquEmcG`}{tV%;VTM8!OMDhxo^?2H+)yhsM;<)uO_CHHUXRZ*x+DRJBi{DOhO;mNv z1a_XiWVZ?=L!v)d+atYrd~)pc?7i1-0dOuMa=2cqD5UXBLIe1@A@;2^m;WEJl=NuX zkN=j`bK*aW9`>YNX#uMM000tnMObu2SV=}YPjYExZggREX>V=-F@#v`?*IS*07*qo IM6N<$f|uiOga7~l literal 0 HcmV?d00001 diff --git a/Items/Tools/BobbitHook.png b/Items/Tools/BobbitHook.png new file mode 100644 index 0000000000000000000000000000000000000000..5bdc0788a8c9becd70f8bc2dc3e802878c19b791 GIT binary patch literal 510 zcmVN}o2aSVZ4r$0wL-A>PMHN<`fBN)+Xis7@fS~3<;~+jh z0hBc3XcGYTkchAZ){uGg_61mc|B($S@{*DYU_P;F4rd4r8VA7~f*vBcLI4&VxYS4Z zn1PivOq@kjNMVG~pm7koLts8fPZPLu5w0jEJA?+kgJ2;;YPkaQn68cmN^ZM+Kh}byCm3Clt7`puP=MV7a zHk=_eLEn2 zgV39(E4G|M$ryyH5M25RwJdS90vLylgK#zer!3h74q**t1FUWD8+R{&#bI?NOcAU_ zNp=X)%t0_0lG=`eIcUT5KClr1nMEk&4$NFwu7c${m^du=q3g$)%U~LD6<{=X5PC?V zCjj)89(t6)(g4iIDK%XvB{Hnip3_o>5~8pkF+2_7svHN6gRo`|EQ08R5AfUq9Ron` zhv5oQbfXFO?QuD9&^ZX*p~Mc?5K>2W2+_(x0LFy&8qum6#{d8T07*qoM6N<$f)Jq5 Ai2wiq literal 0 HcmV?d00001 diff --git a/Projectiles/Typeless/BobbitHead.png b/Projectiles/Typeless/BobbitHead.png new file mode 100644 index 0000000000000000000000000000000000000000..b325c343d3b42ee932a780dbb2d3ff577404bb15 GIT binary patch literal 330 zcmV-Q0k!^#P)qK5o5utypu&H~dgpTR7^C6DfV`dNg_ z>oD;R)BC`VOR4Ds)0eND0MoiU7GQc#OBt9B$SlI@W0=nv>248vSi@W*A}oOt+#&)H z{+kakP{iN7MdhQL2lo-(Ei%y1K#3EWOKr?Nu;#cUr*?qFVLpe&*@YW7P*N*~k7#BQ z%$c}S87xlF;|it^=3`i#;Yx+@d_*^k(0vB;0eUKf`GAl-dfA9kGQfOB$RI-U1TBL3 zjE_$MTzbPw0Q9&*j~iHt@#)hCti>A6vW{*Rq5DiyQUPl|dj9+YSR9v6;AI_F-AIBk cpHXTN01lM(0f`~U0ssI207*qoM6N<$f-zN!qW}N^ literal 0 HcmV?d00001 diff --git a/Projectiles/Typeless/SerpentsBiteHook.png b/Projectiles/Typeless/SerpentsBiteHook.png new file mode 100644 index 0000000000000000000000000000000000000000..c4a48f39eeaefeedf8599893f0827d698d68719c GIT binary patch literal 486 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rf|mUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;UIIA^$sR$z3=CCj3=9n|3=F@3LJcn%7)lKo7+xhXFj&oCU=S~uvn$XBD8ZKG z?e4e%=8G23a};*rXA(4&@jT$=nCr4eCr2me z?U(&Ge#x^~3rb6KJ9=;lvPe62xTq%l@%R$(#cxq|Vb3ndwPu%f-f!6a`^=fuHtOf) z7uI*Bm~lGz&tJ{3=(#|{=~tW#u@PPGzRkZ|vYv^fIh>)Wcwb;a@Xl)tyS^@DSfaez zg~3PnJVU{j$ZPv!Wu(qA2;4Dc$e3rB)!vbu(v@%jR Date: Tue, 5 Nov 2019 12:07:47 -0500 Subject: [PATCH 07/20] adamantite tools can mine voidstone --- Tiles/Abyss/Voidstone.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/Abyss/Voidstone.cs b/Tiles/Abyss/Voidstone.cs index 0d9b69e724..2fb46a569c 100644 --- a/Tiles/Abyss/Voidstone.cs +++ b/Tiles/Abyss/Voidstone.cs @@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.Abyss TileID.Sets.ChecksForMerge[Type] = true; soundType = 21; mineResist = 10f; - minPick = 190; + minPick = 180; drop = ModContent.ItemType(); AddMapEntry(new Color(10, 10, 10)); } From c722d1e51c5093a0aac10e3a0b6d641772ac40bc Mon Sep 17 00:00:00 2001 From: Cameron Ewell Date: Tue, 5 Nov 2019 12:11:16 -0500 Subject: [PATCH 08/20] adamantite tools can mine voidstone slabs --- Tiles/FurnitureVoid/VoidstoneSlab.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/FurnitureVoid/VoidstoneSlab.cs b/Tiles/FurnitureVoid/VoidstoneSlab.cs index da8a3184b2..cb3753725a 100644 --- a/Tiles/FurnitureVoid/VoidstoneSlab.cs +++ b/Tiles/FurnitureVoid/VoidstoneSlab.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Tiles.FurnitureVoid Main.tileBlockLight[Type] = true; soundType = 21; mineResist = 7f; - minPick = 190; + minPick = 180; drop = ModContent.ItemType(); AddMapEntry(new Color(27, 24, 31)); animationFrameHeight = 270; From 857c51abe87ab1405b320cb91f9e96fe7a233035 Mon Sep 17 00:00:00 2001 From: Cameron Ewell Date: Tue, 5 Nov 2019 12:12:08 -0500 Subject: [PATCH 09/20] adamantite tools can mine smooth voidstone --- Tiles/FurnitureVoid/SmoothVoidstone.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/FurnitureVoid/SmoothVoidstone.cs b/Tiles/FurnitureVoid/SmoothVoidstone.cs index 0d2b46d765..0575eeaa53 100644 --- a/Tiles/FurnitureVoid/SmoothVoidstone.cs +++ b/Tiles/FurnitureVoid/SmoothVoidstone.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Tiles.FurnitureVoid soundType = 21; mineResist = 7f; - minPick = 190; + minPick = 180; drop = ModContent.ItemType(); AddMapEntry(new Color(27, 24, 31)); } From 9e87671ed6c92c3693e2af99935e6e479d559963 Mon Sep 17 00:00:00 2001 From: Cameron Ewell Date: Tue, 5 Nov 2019 12:13:03 -0500 Subject: [PATCH 10/20] profaned rock isn't stupidly durable anymore --- Tiles/FurnitureProfaned/ProfanedRock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/FurnitureProfaned/ProfanedRock.cs b/Tiles/FurnitureProfaned/ProfanedRock.cs index afd5fba6bc..8f8b8f1b51 100644 --- a/Tiles/FurnitureProfaned/ProfanedRock.cs +++ b/Tiles/FurnitureProfaned/ProfanedRock.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned TileMerge.MergeSmoothTiles(Type); soundType = 21; - mineResist = 15f; + mineResist = 4f; minPick = 225; drop = ModContent.ItemType(); AddMapEntry(new Color(84, 38, 33)); From c70edb6ec5e88fadc6bcc0ad18c7807347a831f5 Mon Sep 17 00:00:00 2001 From: Cameron Ewell Date: Tue, 5 Nov 2019 12:16:40 -0500 Subject: [PATCH 11/20] reduced profaned slab durability --- Tiles/FurnitureProfaned/ProfanedSlab.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/FurnitureProfaned/ProfanedSlab.cs b/Tiles/FurnitureProfaned/ProfanedSlab.cs index fe5640caa4..8431951683 100644 --- a/Tiles/FurnitureProfaned/ProfanedSlab.cs +++ b/Tiles/FurnitureProfaned/ProfanedSlab.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned TileMerge.MergeTile(Type, ModContent.TileType()); soundType = 21; - mineResist = 10f; + mineResist = 4f; minPick = 225; drop = ModContent.ItemType(); AddMapEntry(new Color(122, 66, 59)); From 6ae950ccb436e5f8ecc74ea06036f5d37522dec9 Mon Sep 17 00:00:00 2001 From: Cameron Ewell Date: Tue, 5 Nov 2019 12:17:34 -0500 Subject: [PATCH 12/20] reduced runic profaned brick durability --- Tiles/FurnitureProfaned/RunicProfanedBrick.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiles/FurnitureProfaned/RunicProfanedBrick.cs b/Tiles/FurnitureProfaned/RunicProfanedBrick.cs index d9a3e67289..2a20cc9f67 100644 --- a/Tiles/FurnitureProfaned/RunicProfanedBrick.cs +++ b/Tiles/FurnitureProfaned/RunicProfanedBrick.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Tiles.FurnitureProfaned TileMerge.MergeSmoothTiles(Type); soundType = 21; - mineResist = 10f; + mineResist = 4f; minPick = 225; drop = ModContent.ItemType(); AddMapEntry(new Color(122, 66, 59)); From 2a840104cb594a57ef2e302192cfe3bcc4d6e74d Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 5 Nov 2019 16:08:31 -0500 Subject: [PATCH 13/20] renamed eater of shoals to devourer of cods --- .../{EaterofShoals.cs => TheDevourerofCods.cs} | 8 ++++---- .../{EaterofShoals.png => TheDevourerofCods.png} | Bin ...terofShoalsBobber.cs => DevourerofCodsBobber.cs} | 8 ++++---- ...rofShoalsBobber.png => DevourerofCodsBobber.png} | Bin ...fShoalsBobberGlow.png => DevourerofCodsGlow.png} | Bin 5 files changed, 8 insertions(+), 8 deletions(-) rename Items/Fishing/FishingRods/{EaterofShoals.cs => TheDevourerofCods.cs} (91%) rename Items/Fishing/FishingRods/{EaterofShoals.png => TheDevourerofCods.png} (100%) rename Projectiles/Typeless/{EaterofShoalsBobber.cs => DevourerofCodsBobber.cs} (95%) rename Projectiles/Typeless/{EaterofShoalsBobber.png => DevourerofCodsBobber.png} (100%) rename Projectiles/Typeless/{EaterofShoalsBobberGlow.png => DevourerofCodsGlow.png} (100%) diff --git a/Items/Fishing/FishingRods/EaterofShoals.cs b/Items/Fishing/FishingRods/TheDevourerofCods.cs similarity index 91% rename from Items/Fishing/FishingRods/EaterofShoals.cs rename to Items/Fishing/FishingRods/TheDevourerofCods.cs index 0f56880551..f3ce7c4ab5 100644 --- a/Items/Fishing/FishingRods/EaterofShoals.cs +++ b/Items/Fishing/FishingRods/TheDevourerofCods.cs @@ -8,13 +8,13 @@ using Terraria.ModLoader; using CalamityMod.Items.Materials; namespace CalamityMod.Items.Fishing.FishingRods { - public class EaterofShoals : ModItem + public class TheDevourerofCods : ModItem { public override void SetStaticDefaults() { - DisplayName.SetDefault("Eater of Shoals"); + DisplayName.SetDefault("The Devourer of Cods"); Tooltip.SetDefault("Fires ten lines at once. Line never snaps and can fish from lava.\n" + - "The devourer enjoyed eating fish as much as eating gods."); + "The devourer was once just an Eater of Shoals."); } public override void SetDefaults() @@ -28,7 +28,7 @@ namespace CalamityMod.Items.Fishing.FishingRods item.UseSound = SoundID.Item1; item.fishingPole = 75; item.shootSpeed = 20f; - item.shoot = ModContent.ProjectileType(); + item.shoot = ModContent.ProjectileType(); item.value = Item.buyPrice(1, 80, 0, 0); item.rare = 10; item.Calamity().postMoonLordRarity = 14; diff --git a/Items/Fishing/FishingRods/EaterofShoals.png b/Items/Fishing/FishingRods/TheDevourerofCods.png similarity index 100% rename from Items/Fishing/FishingRods/EaterofShoals.png rename to Items/Fishing/FishingRods/TheDevourerofCods.png diff --git a/Projectiles/Typeless/EaterofShoalsBobber.cs b/Projectiles/Typeless/DevourerofCodsBobber.cs similarity index 95% rename from Projectiles/Typeless/EaterofShoalsBobber.cs rename to Projectiles/Typeless/DevourerofCodsBobber.cs index 132f6b7438..dc524bc79c 100644 --- a/Projectiles/Typeless/EaterofShoalsBobber.cs +++ b/Projectiles/Typeless/DevourerofCodsBobber.cs @@ -7,7 +7,7 @@ using Terraria.ModLoader; using CalamityMod.Items.Fishing.FishingRods; namespace CalamityMod.Projectiles.Typeless { - public class EaterofShoalsBobber : ModProjectile + public class DevourerofCodsBobber : ModProjectile { private static int red = 252; private static int green = 109; @@ -15,7 +15,7 @@ namespace CalamityMod.Projectiles.Typeless public override void SetStaticDefaults() { - DisplayName.SetDefault("Eater of Shoals Bobber"); //dodger blue line + DisplayName.SetDefault("Devourer of Cods Bobber"); } public override void SetDefaults() @@ -32,7 +32,7 @@ namespace CalamityMod.Projectiles.Typeless /*public override void PostDraw(SpriteBatch spriteBatch, Color lightColor) { Vector2 origin = new Vector2(6.5f, 6.5f); - spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Projectiles/Typeless/EaterofShoalsBobberGlow"), projectile.Center - Main.screenPosition, null, Color.White, projectile.rotation, origin, 1f, SpriteEffects.None, 0f); + spriteBatch.Draw(ModContent.GetTexture("CalamityMod/Projectiles/Typeless/DevourerofCodsGlow"), projectile.Center - Main.screenPosition, null, Color.White, projectile.rotation, origin, 1f, SpriteEffects.None, 0f); }*/ public override bool PreDrawExtras(SpriteBatch spriteBatch) @@ -48,7 +48,7 @@ namespace CalamityMod.Projectiles.Typeless int type = Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type; float gravDir = Main.player[projectile.owner].gravDir; - if (type == ModContent.ItemType()) + if (type == ModContent.ItemType()) { pPosX += (float)(45 * Main.player[projectile.owner].direction); if (Main.player[projectile.owner].direction < 0) diff --git a/Projectiles/Typeless/EaterofShoalsBobber.png b/Projectiles/Typeless/DevourerofCodsBobber.png similarity index 100% rename from Projectiles/Typeless/EaterofShoalsBobber.png rename to Projectiles/Typeless/DevourerofCodsBobber.png diff --git a/Projectiles/Typeless/EaterofShoalsBobberGlow.png b/Projectiles/Typeless/DevourerofCodsGlow.png similarity index 100% rename from Projectiles/Typeless/EaterofShoalsBobberGlow.png rename to Projectiles/Typeless/DevourerofCodsGlow.png From f3d5102aa2b2ba13913a3a8a81a857d516e05688 Mon Sep 17 00:00:00 2001 From: DominicKarma Date: Tue, 5 Nov 2019 16:26:21 -0600 Subject: [PATCH 14/20] Bouncing Betty Fix --- Items/Weapons/Rogue/BouncingBetty.cs | 5 +- Projectiles/Rogue/BouncingBettyProjectile.cs | 96 ++++++++------------ 2 files changed, 38 insertions(+), 63 deletions(-) diff --git a/Items/Weapons/Rogue/BouncingBetty.cs b/Items/Weapons/Rogue/BouncingBetty.cs index 37f92918d6..b9b191a7c7 100644 --- a/Items/Weapons/Rogue/BouncingBetty.cs +++ b/Items/Weapons/Rogue/BouncingBetty.cs @@ -39,11 +39,10 @@ namespace CalamityMod.Items.Weapons.Rogue public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) { Vector2 velocity = new Vector2(speedX, speedY); - float strikeValue = player.Calamity().StealthStrikeAvailable().ToInt(); //0 if false, 1 if true - int projectileIndex = Projectile.NewProjectile(position, velocity, ModContent.ProjectileType(), damage, knockBack, player.whoAmI, ai1: strikeValue); + int projectileIndex = Projectile.NewProjectile(position, velocity, type, damage, knockBack, player.whoAmI); if (player.Calamity().StealthStrikeAvailable()) { - Main.projectile[projectileIndex].Calamity().stealthStrike = strikeValue == 1f; + Main.projectile[projectileIndex].Calamity().stealthStrike = true; } return false; } diff --git a/Projectiles/Rogue/BouncingBettyProjectile.cs b/Projectiles/Rogue/BouncingBettyProjectile.cs index e654dc437d..b8b2223d3f 100644 --- a/Projectiles/Rogue/BouncingBettyProjectile.cs +++ b/Projectiles/Rogue/BouncingBettyProjectile.cs @@ -19,11 +19,44 @@ namespace CalamityMod.Projectiles.Rogue projectile.width = 16; projectile.height = 22; projectile.friendly = true; - projectile.penetrate = -1; projectile.timeLeft = 600; projectile.penetrate = 3; projectile.Calamity().rogue = true; } + //This is definitely not a near copy of the Blast Barrel nosiree :> + private void Explode() + { + Main.PlaySound(2, projectile.Center, 14); + //This is definitely not a near copy of the Blast Barrel nosiree :> + bool stealthS = projectile.Calamity().stealthStrike; + int projectileCount = 2; + if (stealthS) + { + projectileCount += 2; + } + for (int i = 0; i < projectileCount; i++) + { + if (Main.rand.NextBool(4)) + { + Vector2 shrapnelVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-7, 4f))).RotatedByRandom((double)MathHelper.ToRadians(30f)); + Projectile.NewProjectile(projectile.Center, projectile.velocity + shrapnelVelocity, + ModContent.ProjectileType(), BouncingBetty.BaseDamage, 3f, projectile.owner); + } + else + { + Vector2 fireVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-7, 4f))).RotatedByRandom((double)MathHelper.ToRadians(40f)); + int fireIndex = Projectile.NewProjectile(projectile.Center, projectile.velocity + fireVelocity, + Main.rand.Next(ProjectileID.MolotovFire, ProjectileID.MolotovFire3 + 1), + BlastBarrel.BaseDamage, 1f, projectile.owner); + Main.projectile[fireIndex].thrown = false; + Main.projectile[fireIndex].Calamity().forceRogue = true; + Main.projectile[fireIndex].penetrate = -1; + Main.projectile[fireIndex].usesLocalNPCImmunity = true; + Main.projectile[fireIndex].localNPCHitCooldown = 9; + Main.projectile[fireIndex].timeLeft = 120; + } + } + } public override void AI() { projectile.rotation = projectile.velocity.ToRotation() + MathHelper.PiOver2; @@ -32,36 +65,7 @@ namespace CalamityMod.Projectiles.Rogue WorldGen.SolidTile(Main.tile[tileCoords.X, tileCoords.Y + 1]) && projectile.timeLeft < 575) { - Main.PlaySound(2, projectile.Center, 14); - //This is definitely not a near copy of the Blast Barrel nosiree :> - bool stealthS = projectile.Calamity().stealthStrike; - int projectileCount = 2; - if (stealthS) - { - projectileCount += 2; - } - for (int i = 0; i < projectileCount; i++) - { - if (Main.rand.NextBool(4)) - { - Vector2 shrapnelVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-7, 4f))).RotatedByRandom((double)MathHelper.ToRadians(30f)); - Projectile.NewProjectile(projectile.Center, projectile.velocity + shrapnelVelocity, - ModContent.ProjectileType(), BlastBarrel.BaseDamage, 3f, projectile.owner); - } - else - { - Vector2 fireVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-7, 4f))).RotatedByRandom((double)MathHelper.ToRadians(40f)); - int fireIndex = Projectile.NewProjectile(projectile.Center, projectile.velocity + fireVelocity, - Main.rand.Next(ProjectileID.MolotovFire, ProjectileID.MolotovFire3 + 1), - BlastBarrel.BaseDamage, 1f, projectile.owner); - Main.projectile[fireIndex].thrown = false; - Main.projectile[fireIndex].Calamity().forceRogue = true; - Main.projectile[fireIndex].penetrate = -1; - Main.projectile[fireIndex].usesLocalNPCImmunity = true; - Main.projectile[fireIndex].localNPCHitCooldown = 9; - Main.projectile[fireIndex].timeLeft = 120; - } - } + Explode(); projectile.Kill(); } else @@ -77,35 +81,7 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { Main.PlaySound(2, projectile.Center, 14); - //This is definitely not a near copy of the Blast Barrel nosiree :> - bool stealthS = projectile.Calamity().stealthStrike; - int projectileCount = 2; - if (stealthS) - { - projectileCount += 2; - } - for (int i = 0; i < projectileCount; i++) - { - if (Main.rand.NextBool(4)) - { - Vector2 shrapnelVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-3, 12f))).RotatedByRandom((double)MathHelper.ToRadians(30f)); - Projectile.NewProjectile(projectile.Center, projectile.velocity + shrapnelVelocity, - ModContent.ProjectileType(), BlastBarrel.BaseDamage, 3f, projectile.owner); - } - else - { - Vector2 fireVelocity = (Vector2.UnitY * (-16f + Main.rand.NextFloat(-3, 12f))).RotatedByRandom((double)MathHelper.ToRadians(40f)); - int fireIndex = Projectile.NewProjectile(projectile.Center, projectile.velocity + fireVelocity, - Main.rand.Next(ProjectileID.MolotovFire, ProjectileID.MolotovFire3 + 1), - BlastBarrel.BaseDamage, 1f, projectile.owner); - Main.projectile[fireIndex].thrown = false; - Main.projectile[fireIndex].Calamity().forceRogue = true; - Main.projectile[fireIndex].penetrate = -1; - Main.projectile[fireIndex].usesLocalNPCImmunity = true; - Main.projectile[fireIndex].localNPCHitCooldown = 9; - Main.projectile[fireIndex].timeLeft = 120; - } - } + Explode(); projectile.velocity *= -1f; } } From 0c2b52e1eda8a652b255dbe0c672a15e846728ad Mon Sep 17 00:00:00 2001 From: DominicKarma Date: Tue, 5 Nov 2019 16:33:50 -0600 Subject: [PATCH 15/20] Shrapnel Fix --- Projectiles/Rogue/BouncingBettyShrapnel.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Projectiles/Rogue/BouncingBettyShrapnel.cs b/Projectiles/Rogue/BouncingBettyShrapnel.cs index a191403d53..8422f39467 100644 --- a/Projectiles/Rogue/BouncingBettyShrapnel.cs +++ b/Projectiles/Rogue/BouncingBettyShrapnel.cs @@ -31,6 +31,10 @@ namespace CalamityMod.Projectiles.Rogue { projectile.rotation = projectile.velocity.ToRotation() + MathHelper.PiOver2; } + else + { + projectile.rotation = MathHelper.PiOver2; + } projectile.velocity.Y += 0.2f; } } From 4fb6bb80b8a7bb7997803adce9a780192af32c67 Mon Sep 17 00:00:00 2001 From: Shucks Date: Tue, 5 Nov 2019 17:21:27 -0600 Subject: [PATCH 16/20] Made extra projectiles from enchanted axe not last as long --- Projectiles/Rogue/EnchantedAxe2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Rogue/EnchantedAxe2.cs b/Projectiles/Rogue/EnchantedAxe2.cs index ea425f3f08..1fcbab5b14 100644 --- a/Projectiles/Rogue/EnchantedAxe2.cs +++ b/Projectiles/Rogue/EnchantedAxe2.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Projectiles.Rogue projectile.friendly = true; projectile.tileCollide = false; projectile.penetrate = 2; - projectile.timeLeft = 600; + projectile.timeLeft = 150; projectile.usesLocalNPCImmunity = true; projectile.localNPCHitCooldown = -1; projectile.Calamity().rogue = true; From e392dfde9dd43b197ddb5308549b007246200c6a Mon Sep 17 00:00:00 2001 From: Shucks Date: Tue, 5 Nov 2019 17:58:42 -0600 Subject: [PATCH 17/20] Changed Bouncing betty tooltip a bit --- Items/Weapons/Rogue/BouncingBetty.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Items/Weapons/Rogue/BouncingBetty.cs b/Items/Weapons/Rogue/BouncingBetty.cs index b9b191a7c7..080a2ae867 100644 --- a/Items/Weapons/Rogue/BouncingBetty.cs +++ b/Items/Weapons/Rogue/BouncingBetty.cs @@ -11,7 +11,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void SetStaticDefaults() { DisplayName.SetDefault("Bouncing Betty"); - Tooltip.SetDefault("Act like grenades, but bounce on explosion\n" + + Tooltip.SetDefault("Throws a grenade which bounces after exploding\n" + "Stealth Strike Effect: Explodes into a violent blast of fire and shrapnel on bounce"); } From e29602403723e984adf7f7aa7eaca14d36a2e40d Mon Sep 17 00:00:00 2001 From: Shucks Date: Tue, 5 Nov 2019 18:20:28 -0600 Subject: [PATCH 18/20] Made it so you cant recall the hell sun projectiles if you dont have any --- Items/Weapons/Rogue/HellsSun.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Items/Weapons/Rogue/HellsSun.cs b/Items/Weapons/Rogue/HellsSun.cs index 35397c5ede..2ed3d77179 100644 --- a/Items/Weapons/Rogue/HellsSun.cs +++ b/Items/Weapons/Rogue/HellsSun.cs @@ -51,8 +51,15 @@ namespace CalamityMod.Items.Weapons.Rogue { if (player.altFunctionUse == 2) { - return true; - } + if (player.ownedProjectileCounts[item.shoot] > 0) + { + return true; + } + else + { + return false; + } + } else { int UseMax = item.stack - 1; From 1f384e3496de93a0f72284eb19e137ea9302adeb Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 5 Nov 2019 19:38:55 -0500 Subject: [PATCH 19/20] same as above commit but for sky stabber --- Items/Weapons/Rogue/SkyStabber.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Items/Weapons/Rogue/SkyStabber.cs b/Items/Weapons/Rogue/SkyStabber.cs index faa7c35b80..588a67a383 100644 --- a/Items/Weapons/Rogue/SkyStabber.cs +++ b/Items/Weapons/Rogue/SkyStabber.cs @@ -49,8 +49,15 @@ namespace CalamityMod.Items.Weapons.Rogue { if (player.altFunctionUse == 2) { - return true; - } + if (player.ownedProjectileCounts[item.shoot] > 0) + { + return true; + } + else + { + return false; + } + } else { int UseMax = item.stack - 1; From d30abade8fb8b017a23df38f75699a6d32472bc5 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 5 Nov 2019 19:54:25 -0500 Subject: [PATCH 20/20] renamed an image --- .../SunkenSeaCatches/{Clamfish.png => SurfClam.png} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename Items/Fishing/SunkenSeaCatches/{Clamfish.png => SurfClam.png} (100%) diff --git a/Items/Fishing/SunkenSeaCatches/Clamfish.png b/Items/Fishing/SunkenSeaCatches/SurfClam.png similarity index 100% rename from Items/Fishing/SunkenSeaCatches/Clamfish.png rename to Items/Fishing/SunkenSeaCatches/SurfClam.png