
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
18 lines
442 B
C#
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; } }
|
|
}
|
|
} |