diff --git a/Localization/en-US/Mods.CalamityMod.Common.hjson b/Localization/en-US/Mods.CalamityMod.Common.hjson index 9868158c52..96b23c9436 100644 --- a/Localization/en-US/Mods.CalamityMod.Common.hjson +++ b/Localization/en-US/Mods.CalamityMod.Common.hjson @@ -24,6 +24,11 @@ AbyssBreathLevel2: Moderately reduces breath loss in the abyss AbyssBreathLevel3: Greatly reduces breath loss in the abyss AlcoholWarning: Drinking more than 3 different alcohols might not end well with your liver ArmorPenetration: Ignores {0} points of enemy Defense +SalesmanShrinePitch: + ''' + 'You know that neat treasure you found when I was definitely not following you?' + 'Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?' + ''' AverageDamageInfo: This weapon scales with the average of all your damage stats CanMineUelibloom: Can mine Uelibloom Ore NotConsumable: Not consumable diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index fd3a9cc4de..702ce1bf18 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -877,11 +877,7 @@ FungalSymbiote: { Consuming mushrooms provides [cbuffplr:CalamityMod/Mushy], granting 5 defense and +1 HP/s life regen 10% increased damage while you have [cbuffplr:CalamityMod/Mushy] ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } GiantPearl: { @@ -920,11 +916,7 @@ GladiatorsLocket: { Enemies drop a healing orb on kill Gain an increase to your damage and movement speed the lower your health is, up to 20% at 50% life or below ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } GloveOfPrecision: { @@ -981,8 +973,8 @@ HeartofDarkness: { Tooltip: You constantly gain rage over time, and rage does not fade away when out of combat SalesPitch: ''' - ‘Some people enjoy simple truths in life: good and evil, health and sickness.’ - ‘I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!’ + 'Some people enjoy simple truths in life: good and evil, health and sickness.' + 'I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!' ''' } @@ -1144,11 +1136,7 @@ LuxorsGift: { Held item class is not updated when holding a tool When not in use, the scarab will condense itself into a small orb of light ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } ManaPolarizer: { @@ -1894,8 +1882,8 @@ StressPills: { ''' SalesPitch: ''' - ‘Some people enjoy simple truths in life: good and evil, health and sickness.’ - ‘I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!’ + 'Some people enjoy simple truths in life: good and evil, health and sickness.' + 'I’m not sure how healthy they are, but these edgy gadgets are bound to get your blood pumping! Help me give them simple labels and I’ll give you a heart-stopping discount!' ''' } @@ -2073,11 +2061,7 @@ TrinketofChi: { This buff expires on hit +{2} HP/s life regen for you and your teammates ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } UnholyTonic: { @@ -2096,11 +2080,7 @@ UnstableGraniteCore: { Gain an energy field that periodically zaps enemies with arcing energy The arcing energy ignores a substantial amount of enemy defense ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$CommonItemTooltip.SalesmanShrinePitch}" } V8Engine: { @@ -2330,11 +2310,7 @@ FrozenCube: { [DAMAGELINE] [c/7497ED:'What I wanna know is, where's the mammoth?'] ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" EquippedDebuff: Current Cold Debuff boost: +{0}% EquippedElumphant: Current Elumphant Power: +{0}% Unequipped: Equip this accessory to view its statistics diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson index 098b6865e4..1d0025d12a 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson @@ -677,11 +677,7 @@ CorruptionEffigy: { However, this comes at a cost of {1}% damage reduction This cannot be stacked with Crimson Effigy ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } AltarOfTheAccursedItem: { @@ -742,11 +738,7 @@ CrimsonEffigy: { However, this comes at a cost of {2}% maximum health This cannot be stacked with Corruption Effigy ''' - SalesPitch: - ''' - ‘You know that neat treasure you found when I was definitely not following you?’ - ‘Turns out there was a whole pile of those trinkets, stashed conveniently close to the treasure chest! Finders keepers - or perhaps you wanna seal a deal?’ - ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" } EffigyOfDecay: { diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson index 51aca3ab1b..44c29118dc 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson @@ -258,6 +258,7 @@ SeraphimAngelicLight2.DisplayName: Light Orb SeraphimBeamLarge.DisplayName: Holy Beam SeraphimDagger.DisplayName: Seraphim SeraphimProjectile.DisplayName: Seraphim +ShadySalesmanGunshot.DisplayName: Elephant-Killing Round ShatteredExplosion.DisplayName: Shattered Dawn Blast ShatteredDawnKnife.DisplayName: Shattered Dawn ShatteredDawnScorchedBlade.DisplayName: Scorched Blade diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Typeless.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Typeless.hjson index 99cdd0366f..dfdadd18a3 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Typeless.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Typeless.hjson @@ -136,7 +136,6 @@ SerpentsBiteHook.DisplayName: Serpent's Bite ShadeNimbus.DisplayName: Shade Nimbus ShadeNimbusRain.DisplayName: Shade Rain ShadeNimbusSpawner.DisplayName: Dank Creeper -ShadySalesmanGunshot.DisplayName: Elephant-Killing Round SkyFlareFriendly.DisplayName: Flare SlimeStream.DisplayName: Slime Stream SlurperBobber.DisplayName: Slurper Bobber diff --git a/Projectiles/Typeless/ShadySalesmanGunshot.cs b/Projectiles/Rogue/ShadySalesmanGunshot.cs similarity index 92% rename from Projectiles/Typeless/ShadySalesmanGunshot.cs rename to Projectiles/Rogue/ShadySalesmanGunshot.cs index 68d74e0661..0d2ac754c2 100644 --- a/Projectiles/Typeless/ShadySalesmanGunshot.cs +++ b/Projectiles/Rogue/ShadySalesmanGunshot.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using CalamityMod.Items.Accessories; -using CalamityMod.Items.Fishing; -using CalamityMod.Items.Fishing.FishingRods; -using CalamityMod.NPCs.TownNPCs; +using CalamityMod.NPCs.TownNPCs; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Terraria; @@ -16,7 +11,7 @@ namespace CalamityMod.Projectiles.Typeless public class ShadySalesmanGunshot : ModProjectile, ILocalizedModType { public override string Texture => "CalamityMod/Projectiles/InvisibleProj"; - public new string LocalizationCategory => "Projectiles.Typeless"; + public new string LocalizationCategory => "Projectiles.Rogue"; public override void SetDefaults() { @@ -26,6 +21,7 @@ namespace CalamityMod.Projectiles.Typeless Projectile.hostile = false; Projectile.penetrate = 3; Projectile.timeLeft = 600; + Projectile.npcProj = true; Projectile.tileCollide = true; Projectile.ignoreWater = true; Projectile.extraUpdates = 10;