Files
CalamityModPublic/Items/LoreItems/KnowledgeYharon.cs
T

43 lines
1.2 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeYharon : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Jungle Dragon, Yharon");
Tooltip.SetDefault("I would not be able to bear a world without my faithful companion by my side.\n" +
"Fortunately, fate will have it so that it is a world I shall never have to see, for better or for worse.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<DarkBlue>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<YharonTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}