Files
CalamityModPublic/Items/LoreItems/KnowledgeYharon.cs
T

38 lines
1.2 KiB
C#

using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
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.");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Red;
Item.consumable = false;
Item.Calamity().customRarity = CalamityRarity.DarkBlue;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe(1).AddTile(TileID.Bookcases).AddIngredient(ModContent.ItemType<YharonTrophy>()).AddIngredient(ModContent.ItemType<VictoryShard>(), 10).Register();
}
}
}