19 lines
406 B
C#
19 lines
406 B
C#
using GTANetworkAPI;
|
|
using reallife_gamemode.Server.Inventory.Interfaces;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace reallife_gamemode.Server.Inventory.Items
|
|
{
|
|
public abstract class FoodItem : IUsableItem
|
|
{
|
|
public abstract int HpAmount { get; }
|
|
|
|
public void Use(Client player)
|
|
{
|
|
player.Health += HpAmount;
|
|
}
|
|
}
|
|
}
|