35 lines
1001 B
C#
35 lines
1001 B
C#
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureProfaned
|
|
{
|
|
public class ProfanedWorkbench : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.SetNameOverride("Profaned 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 = 1;
|
|
item.consumable = true;
|
|
item.createTile = ModContent.TileType<Tiles.ProfanedWorkbench>();
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(null, "ProfanedRock", 10);
|
|
recipe.SetResult(this, 1);
|
|
recipe.AddTile(null, "ProfanedBasin");
|
|
recipe.AddRecipe();
|
|
}
|
|
}
|
|
}
|