Files
CalamityModPublic/Items/Placeables/FurnitureBotanic/BotanicBookcase.cs
T

25 lines
750 B
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureBotanic
{
public class BotanicBookcase : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.FurnitureBotanic.BotanicBookcase>());
Item.value = Item.sellPrice(copper: 60);
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<UelibloomBrick>(20).
AddIngredient(ItemID.Book, 10).
AddTile(TileID.LivingLoom).
Register();
}
}
}