35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureStatigel
|
|
{
|
|
// TODO -- StatigelWorkBench. I do not want to deal with capitalization issues.
|
|
public class StatigelWorkbench : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
SacrificeTotal = 1;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.SetNameOverride("Statigel Work Bench");
|
|
Item.width = 28;
|
|
Item.height = 14;
|
|
Item.maxStack = 99;
|
|
Item.useTurn = true;
|
|
Item.autoReuse = true;
|
|
Item.useAnimation = 15;
|
|
Item.useTime = 10;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.consumable = true;
|
|
Item.createTile = ModContent.TileType<Tiles.FurnitureStatigel.StatigelWorkbench>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(1).AddIngredient(ModContent.ItemType<StatigelBlock>(), 10).AddTile(ModContent.TileType<StaticRefiner>()).Register();
|
|
}
|
|
}
|
|
}
|