39 lines
1.2 KiB
C#
39 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 KnowledgeSulphurSea : LoreItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Sulphur Sea");
|
|
Tooltip.SetDefault("I remember the serene waves and the clear breeze.\n" +
|
|
"The bitterness of my youth has long since subsided, but it is far too late. I must never repeat a mistake like this again.");
|
|
SacrificeTotal = 1;
|
|
ItemID.Sets.ItemNoGravity[Item.type] = true;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 20;
|
|
Item.height = 20;
|
|
Item.rare = ItemRarityID.Pink;
|
|
Item.consumable = false;
|
|
}
|
|
|
|
public override bool CanUseItem(Player player) => false;
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<AquaticScourgeTrophy>().
|
|
AddTile(TileID.Bookcases).
|
|
Register();
|
|
}
|
|
}
|
|
}
|