31 lines
825 B
C#
31 lines
825 B
C#
using Decimation.Lib.Items;
|
|
using Decimation.Lib.Util;
|
|
using Decimation.Lib.Util.Builder;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace Decimation.Content.Items.Misc.ConcentratedSouls
|
|
{
|
|
public abstract class ConcentratedSoul : DecimationItem
|
|
{
|
|
public abstract int Soul { get; }
|
|
|
|
protected override void Init()
|
|
{
|
|
item.width = 38;
|
|
item.height = 50;
|
|
item.value = Item.sellPrice(gold: 1, silver: 50);
|
|
item.rare = Rarity.Pink.GetRarityValue();
|
|
item.maxStack = 99;
|
|
}
|
|
|
|
protected override ModRecipe GetRecipe()
|
|
{
|
|
return new RecipeBuilder(this)
|
|
.WithIngredient(Soul, 50)
|
|
.WithStation(TileID.AlchemyTable)
|
|
.Build();
|
|
}
|
|
}
|
|
} |