32 lines
981 B
C#
32 lines
981 B
C#
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureProfaned
|
|
{
|
|
public class ProfanedTable : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 26;
|
|
Item.height = 26;
|
|
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.FurnitureProfaned.ProfanedTable>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<ProfanedRock>(8).
|
|
AddTile<ProfanedCrucible>().
|
|
Register();
|
|
}
|
|
}
|
|
}
|