Files
CalamityModPublic/Items/ExhumedItem.cs
T
CongratsIsTrash 9d1213a8a3 Added an ExhumedItem class for exhumed item extended flavor tooltips
* Cinders of Lament, Gruesome Eminence, Metastasis, and Rancor use this class
* Implemented the new flavor tooltips written by Rebecca and enamoured
2024-08-04 11:26:35 -04:00

21 lines
952 B
C#

using Microsoft.Xna.Framework;
using Terraria.ModLoader;
namespace CalamityMod.Items
{
// Note the lack of ILocalizedModType.
// Unfortunately, since all exhumed items do not use the same localization category, ILocalizedModType must be placed on each individual item file.
public abstract class ExhumedItem : ModItem, IHoldShiftTooltipItem
{
// All exhumed items use the same extension indicator tooltip.
// This is given a null color, as it is colored manually.
public string ExtensionIndicatorKey => "Items.Misc.ExhumeShortTooltip";
public Color? ExtensionIndicatorColor => null;
// All full flavor tooltips use the same localization key.
// All full tooltips also use the same color: #C61B40. This is the standard tooltip color for Calamitas text.
public string TooltipExtensionKey => "Calamitas";
public Color? TooltipExtensionColor => new(198, 27, 64);
}
}