-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathReversivityCoinTier3Data.cs
More file actions
30 lines (27 loc) · 1016 Bytes
/
Copy pathReversivityCoinTier3Data.cs
File metadata and controls
30 lines (27 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.GameContent.UI;
using Terraria.Localization;
namespace AlchemistNPC
{
public class ReversivityCoinTier3Data : CustomCurrencySingleCoin
{
public Color ReversivityCoinTier3TextColor = Color.Orange;
public ReversivityCoinTier3Data(int coinItemID, long currencyCap) : base(coinItemID, currencyCap)
{
}
public override void GetPriceText(string[] lines, ref int currentLine, int price)
{
Color color = ReversivityCoinTier3TextColor * ((float)Main.mouseTextColor / 255f);
lines[currentLine++] = string.Format("[c/{0:X2}{1:X2}{2:X2}:{3} {4} {5}]", new object[]
{
color.R,
color.G,
color.B,
Language.GetTextValue("LegacyTooltip.50"),
price,
Language.GetTextValue("Mods.AlchemistNPC.ReversivityCoinTier3")
});
}
}
}