26 lines
801 B
C#
26 lines
801 B
C#
using CalamityMod.Tiles.Furniture.CraftingStations;
|
|
using CalamityMod.Tiles.FurnitureProfaned;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Items.Placeables.FurnitureProfaned
|
|
{
|
|
[LegacyName("ProfanedWorkbench")]
|
|
public class ProfanedWorkBench : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetDefaults()
|
|
{
|
|
Item.DefaultToPlaceableTile(ModContent.TileType<ProfanedWorkBenchTile>());
|
|
Item.value = Item.sellPrice(copper: 30);
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<ProfanedRock>(10).
|
|
AddTile<ProfanedCrucible>().
|
|
Register();
|
|
}
|
|
}
|
|
}
|