Decimation_Mod/Content/Items/Placeable/EnchantedAnvil.cs
FyloZ ec4585bed5 - Changed Bloodshot Eye's music to Boss 1 Orchestra ( https://www.youtube.com/watch?time_continue=120&v=r-9nKGc85FQ )
- Added support for animated projectiles
- Refactoring
- Removed useless fields
- Fixed swords not dealing damages
- Added Hour Hand (from Evie's PR)
2020-03-21 00:11:07 -04:00

35 lines
1.0 KiB
C#

using Decimation.Content.Items.Misc.Souls;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Decimation.Lib.Items;
namespace Decimation.Content.Items.Placeable
{
internal class EnchantedAnvil : DecimationPlaceableItem
{
protected override string ItemName => "Enchanted Anvil";
protected override int Tile => ModContent.TileType<Tiles.EnchantedAnvil>();
protected override void InitPlaceable()
{
item.width = 20;
item.height = 20;
item.maxStack = 1;
}
protected override ModRecipe GetRecipe()
{
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.AdamantiteForge, true);
recipe.AddIngredient(ItemID.MythrilAnvil, 1);
recipe.AddIngredient(ItemID.IronAnvil, 1);
recipe.AddIngredient(ModContent.ItemType<SoulofLife>(), 5);
recipe.AddIngredient(ItemID.SoulofNight, 5);
recipe.AddIngredient(ItemID.SoulofMight, 5);
return recipe;
}
}
}