This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
TrueCraft/TrueCraft.Core/Logic/Items/MushroomStewItem.cs
2015-09-30 18:29:07 -04:00

48 lines
1.2 KiB
C#

using System;
using TrueCraft.API.Logic;
using TrueCraft.API;
using TrueCraft.Core.Logic.Blocks;
namespace TrueCraft.Core.Logic.Items
{
public class MushroomStewItem : FoodItem, ICraftingRecipe
{
public static readonly short ItemID = 0x11A;
public override short ID { get { return 0x11A; } }
public override Tuple<int, int> GetIconTexture(byte metadata)
{
return new Tuple<int, int>(8, 4);
}
public override sbyte MaximumStack { get { return 1; } }
public override float Restores { get { return 5; } }
public override string DisplayName { get { return "Mushroom Stew"; } }
public ItemStack[,] Pattern
{
get
{
return new[,]
{
{ new ItemStack(RedMushroomBlock.BlockID) },
{ new ItemStack(BrownMushroomBlock.BlockID) },
{ new ItemStack(BowlItem.ItemID) }
};
}
}
public ItemStack Output
{
get { return new ItemStack(ItemID); }
}
public bool SignificantMetadata
{
get { return false; }
}
}
}