Files
CalamityModPublic/Items/LoreItems/Knowledge28.cs
T

37 lines
1.1 KiB
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class Knowledge28 : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Leviathan and Siren");
Tooltip.SetDefault("An odd pair of creatures; one seeking companionship and the other seeking sustenance.\n" +
"Perhaps two genetic misfits outcast from their homes that found comfort in assisting one another.\n" +
"Place in your inventory to gain increased max health while wearing the siren heart and treasure detect while wearing the strange orb.\n" +
"Allows the young siren pet to move normally while outside of liquids.");
}
public override void SetDefaults()
{
item.width = 20;
item.height = 20;
item.rare = 7;
item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void UpdateInventory(Player player)
{
CalamityPlayer modPlayer = player.GetModPlayer<CalamityPlayer>(mod);
modPlayer.leviathanAndSirenLore = true;
}
}
}