Decimation_Mod/Content/Items/Placeable/ChlorophyteAnvil.cs
2020-06-30 15:47:49 -04:00

37 lines
1.3 KiB
C#

using Decimation.Content.Items.Misc.Souls;
using Decimation.Lib.Items;
using Terraria.ID;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Placeable
{
internal class ChlorophyteAnvil : DecimationPlaceableItem
{
protected override string ItemName => "Chlorophyte Anvil";
protected override string ItemTooltip => "It reacts to the light.";
protected override int Tile => ModContent.TileType<Tiles.ChlorophyteAnvil>();
protected override void InitPlaceable()
{
item.width = 32;
item.height = 18;
item.maxStack = 1;
}
protected override ModRecipe GetRecipe()
{
ModRecipe recipe = GetNewModRecipe(this, 1, TileID.AdamantiteForge);
recipe.AddIngredient(ModContent.TileType<Tiles.EnchantedAnvil>());
recipe.AddIngredient(ItemID.ChlorophyteBar, 5);
recipe.AddIngredient(ItemID.Vine, 5);
recipe.AddIngredient(ItemID.JungleSpores, 16);
recipe.AddIngredient(ItemID.SoulofSight, 5);
recipe.AddIngredient(ModContent.ItemType<SoulofLife>(), 5);
recipe.AddIngredient(ModContent.ItemType<SoulofTime>(), 5);
recipe.AddIngredient(ItemID.SoulofFlight, 5);
return recipe;
}
}
}