Files
CalamityModPublic/Items/Placeables/FurnitureOtherworldly/OtherworldlyWorkBench.cs
T

30 lines
1.0 KiB
C#

using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Placeables.FurnitureOtherworldly
{
[LegacyName("OccultWorkbench", "OccultWorkBench")]
public class OtherworldlyWorkBench : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetDefaults()
{
Item.SetNameOverride("Otherworldly Work Bench");
Item.width = 28;
Item.height = 20;
Item.maxStack = 9999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.createTile = ModContent.TileType<Tiles.FurnitureOtherworldly.OtherworldlyWorkBench>();
}
public override void AddRecipes()
{
CreateRecipe(1).AddIngredient(ModContent.ItemType<OtherworldlyStone>(), 10).AddTile(TileID.LunarCraftingStation).Register();
}
}
}