using Decimation.Content.Items.Misc.Souls; using Decimation.Lib.Items; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace Decimation.Content.Items.Placeable { internal class TitanForge : DecimationPlaceableItem { protected override string ItemName => "Titan Forge"; protected override string ItemTooltip => "Used to craft powerful weapons and armor."; protected override int Tile => ModContent.TileType(); protected override void InitPlaceable() { item.width = 32; item.height = 32; item.value = Item.sellPrice(gold: 42, silver: 25); item.maxStack = 1; } protected override ModRecipe GetRecipe() { ModRecipe recipe = GetNewModRecipe(this, 1, ModContent.TileType(), true); recipe.AddIngredient(ItemID.AdamantiteForge); recipe.AddIngredient(ItemID.Autohammer); recipe.AddIngredient(ItemID.AdamantiteBar, 5); recipe.AddIngredient(ItemID.TitaniumBar, 5); recipe.AddIngredient(ItemID.LavaBucket); recipe.AddIngredient(ItemID.SoulofMight, 5); recipe.AddIngredient(ItemID.SoulofFright, 5); recipe.AddIngredient(ItemID.SoulofSight, 5); recipe.AddIngredient(ModContent.ItemType(), 5); recipe.AddIngredient(ItemID.SoulofFlight, 5); return recipe; } } }