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.
Daniel Vidmar 04f227f332 Item fixes
Added a new property to ToolItem
- Base Durability
Added a new property to SwordItem
- Damage
Created base classes for Axes, Hoes, Pickaxes, and Shovels
Fixes
- Fixed format issues
2015-01-26 16:25:11 -07:00

18 lines
442 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TrueCraft.Core.Logic.Items
{
public abstract class FoodItem : ItemProvider
{
/// <summary>
/// The amount of health this food restores.
/// </summary>
public abstract float Restores { get; }
//Most foods aren't stackable
public override sbyte MaximumStack { get { return 1; } }
}
}