diff --git a/Items/LegendaryItem.cs b/Items/LegendaryItem.cs index 0b0024fe72..30d4a04c79 100644 --- a/Items/LegendaryItem.cs +++ b/Items/LegendaryItem.cs @@ -12,7 +12,8 @@ namespace CalamityMod.Items public Color? ExtensionIndicatorColor => null; // All full flavor tooltips use the same localization key. - // Unfortunately, as full tooltip color is different for each item, it must be set manually. + // Flavor tooltip color defaults to none, but can be overriden as desired for each item. public string TooltipExtensionKey => "LegendaryText"; + public virtual Color? TooltipExtensionColor => null; } } diff --git a/Items/Weapons/Magic/SHPC.cs b/Items/Weapons/Magic/SHPC.cs index 827f9848e5..95b348d751 100644 --- a/Items/Weapons/Magic/SHPC.cs +++ b/Items/Weapons/Magic/SHPC.cs @@ -33,6 +33,8 @@ namespace CalamityMod.Items.Weapons.Magic public const float SightHomingRange = 288f; // Range of homing for Sight bombs, in pixels public const int FrightFlatDamage = 20; + public override Color? TooltipExtensionColor => new Color(31, 251, 255); + public override void SetStaticDefaults() => ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true; public override void SetDefaults() diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson index f76271b1ee..f3c551bc30 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson @@ -786,10 +786,10 @@ SHPC: { ''' LegendaryText: ''' - [c/1FFBFF:'Though soul-powered machines were a near failure, potential remained in souls as a form of fuel.] - [c/1FFBFF:To avoid my last experiments' main flaw, the Soul-Harnessing Plasma Cannon was designed to expel souls as projectiles before they exert control over the weapon.] - [c/1FFBFF:Each soul type appears to react differently to the base plasma. Yet, lacking volunteers, obtaining potential ammunition is currently too difficult to undergo further testing.] - [c/1FFBFF:A shame, for a weapon that could have practically unlimited ammunition in the battlefield. Perhaps some day, its potential can be truly tested.'] + 'Though soul-powered machines were a near failure, potential remained in souls as a form of fuel. + To avoid my last experiments' main flaw, the Soul-Harnessing Plasma Cannon was designed to expel souls as projectiles before they exert control over the weapon. + Each soul type appears to react differently to the base plasma. Yet, lacking volunteers, obtaining potential ammunition is currently too difficult to undergo further testing. + A shame, for a weapon that could have practically unlimited ammunition in the battlefield. Perhaps some day, its potential can be truly tested.' ''' TooltipGFB: It scales again :) }