Decimation_Mod/Content/Items/Placeable/ChlorophyteAnvil.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

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 = 20;
item.height = 20;
this.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;
}
}
}