using Decimation.Content.Items.Misc.Souls; using Terraria; using Terraria.ID; using Terraria.ModLoader; using Decimation.Lib.Items; using Decimation.Lib.Util.Builder; namespace Decimation.Content.Items.Placeable { internal class EnchantedAnvil : DecimationPlaceableItem { protected override string ItemName => "Enchanted Anvil"; protected override int Tile => ModContent.TileType(); protected override void InitPlaceable() { item.width = 44; item.height = 20; item.maxStack = 1; item.value = Item.buyPrice(gold: 1); } protected override ModRecipe GetRecipe() { return new RecipeBuilder(this) .AnyIronBar(true) .WithIngredient(ItemID.MythrilAnvil) .WithIngredient(ItemID.IronAnvil) .WithIngredient(ItemID.SoulofNight, 5) .WithIngredient(ModContent.ItemType(), 5) .WithStation(TileID.AdamantiteForge) .Build(); } } }