From 4e99f5ce319bf246a9bd93c11c61a5221d18a08f Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Fri, 15 Nov 2024 17:20:40 -0500 Subject: [PATCH] Rename Bolt to TheStormLightningShot --- Items/Weapons/Ranged/BladedgeRailbow.cs | 3 ++- Items/Weapons/Ranged/TheStorm.cs | 10 ++++------ .../Mods.CalamityMod.Projectiles.Ranged.hjson | 2 +- Projectiles/Ranged/Bolt.png | Bin 454 -> 0 bytes .../Ranged/{Bolt.cs => TheStormLightningShot.cs} | 7 ++----- 5 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 Projectiles/Ranged/Bolt.png rename Projectiles/Ranged/{Bolt.cs => TheStormLightningShot.cs} (96%) diff --git a/Items/Weapons/Ranged/BladedgeRailbow.cs b/Items/Weapons/Ranged/BladedgeRailbow.cs index c870e43a22..323cf7ae91 100644 --- a/Items/Weapons/Ranged/BladedgeRailbow.cs +++ b/Items/Weapons/Ranged/BladedgeRailbow.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Items.Weapons.Ranged { public new string LocalizationCategory => "Items.Weapons.Ranged"; + // TODO -- This is a List. It should be handled in the way the new Collections are handled. #region GFB Arrow Array public static int[] arrowArr = { @@ -80,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Ranged ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), - ModContent.ProjectileType(), + ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), diff --git a/Items/Weapons/Ranged/TheStorm.cs b/Items/Weapons/Ranged/TheStorm.cs index f5af9095f4..83e6dd9282 100644 --- a/Items/Weapons/Ranged/TheStorm.cs +++ b/Items/Weapons/Ranged/TheStorm.cs @@ -1,8 +1,6 @@ -using System; -using CalamityMod.Projectiles.Ranged; +using CalamityMod.Projectiles.Ranged; using CalamityMod.Rarities; using Microsoft.Xna.Framework; -using rail; using Terraria; using Terraria.Audio; using Terraria.DataStructures; @@ -35,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Ranged Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice; Item.rare = ModContent.RarityType(); Item.autoReuse = true; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 12f; Item.useAmmo = AmmoID.Arrow; } @@ -64,11 +62,11 @@ namespace CalamityMod.Items.Weapons.Ranged if (CalamityUtils.CheckWoodenAmmo(type, player)) { - Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, ModContent.ProjectileType(), (int)(damage * (i == 0 ? 1.5f : 1f)), knockback, -1, i == 0 ? 5 : 0); + Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, ModContent.ProjectileType(), (int)(damage * (i == 0 ? 1.5f : 1f)), knockback, -1, i == 0 ? 5 : 0); } else { - Projectile arrow1 = Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, i == 0 ? ModContent.ProjectileType() : type, damage, knockback); + Projectile arrow1 = Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, i == 0 ? ModContent.ProjectileType() : type, damage, knockback); arrow1.noDropItem = true; arrow1.tileCollide = false; } diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson index aab4382c9a..cc99967c1b 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson @@ -26,7 +26,6 @@ BloodClotFriendly.DisplayName: Blood Clot BloodfireArrowProj.DisplayName: Bloodfire Arrow BloodfireBulletProj.DisplayName: Bloodfire Bullet BloodflareSoul.DisplayName: Blood Soul -Bolt.DisplayName: Storm Bolt BoltArrow.DisplayName: Bolt Arrow BouncingShotgunPellet.DisplayName: Shotgun Pellet BrimstoneBolt.DisplayName: Brimstone Bolt @@ -230,6 +229,7 @@ TheMaelstromExplosion.DisplayName: Reaper Explosion TheMaelstromShark.DisplayName: Reaper Shark ThePackMinissile.DisplayName: Pack Minissile ThePackMissile.DisplayName: Pack Missile +TheStormLightningShot.DisplayName: Storm Bolt TitaniumRailgunScope.DisplayName: Titanium Scope TitaniumRailgunShot.DisplayName: Titanium Decimator TorrentialArrow.DisplayName: Torrential Arrow diff --git a/Projectiles/Ranged/Bolt.png b/Projectiles/Ranged/Bolt.png deleted file mode 100644 index c9fe916dbf1ef76fa60ab7ae689978b38973a1e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 454 zcmV;%0XhDOP)b;@5JlIBK5cG5h1`S#(5K)C6zNl-L`t=C6^SS}px_7;^c;XRkt=SHTY$1Ve@y8%Ta%p2FkmFTVDlU&mi)XRW!qL}pI}QTD2jx9~W5jIYbr(_{v<1|PZe zB!)!fXy0-n!+u0U_Plc^`;q|>b|j}uGK>-W(Q~Z5++Q6Kkx*+O^D}dztokL{$0&8m z^^X-%K7Ej1QfFKc$!uiRkBA^YJtPuEBHFR6FY}Kg5yVutB)yZi+U-M(;Gc%0?R-S? zgCgwcsaIF%jDqfO7&VxWpe$Bg_6#~?Mgm`P(}{i0hEl8?%>)#y?y?4<0-){;`JcTs z2VAodCq71ukIILlt2vvLcS=tB|JU-^K "Projectiles.Ranged"; public override string Texture => "CalamityMod/Projectiles/InvisibleProj";