21 lines
550 B
C#
21 lines
550 B
C#
using System;
|
|
using TrueCraft.API.Logic;
|
|
|
|
namespace TrueCraft.Core.Logic.Items
|
|
{
|
|
public class CoalItem : ItemProvider, IBurnableItem
|
|
{
|
|
public static readonly short ItemID = 0x107;
|
|
|
|
public override short ID { get { return 0x107; } }
|
|
|
|
public override Tuple<int, int> GetIconTexture(byte metadata)
|
|
{
|
|
return new Tuple<int, int>(7, 0);
|
|
}
|
|
|
|
public override string DisplayName { get { return "Coal"; } }
|
|
|
|
public TimeSpan BurnTime { get { return TimeSpan.FromSeconds(80); } }
|
|
}
|
|
} |