change stuff with objects

This commit is contained in:
2021-04-13 17:57:33 +02:00
parent 2a82f72f14
commit 61da1edcb9
15 changed files with 200 additions and 108 deletions

View File

@@ -1,10 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
using ReallifeGamemode.Database.Entities;
namespace ReallifeGamemode.Server.Inventory.Items
{
class Bier : FoodItem
internal class Bier : ConsumableItem
{
public override int Id => 102;
public override string Name => "Bier";
@@ -14,5 +15,12 @@ namespace ReallifeGamemode.Server.Inventory.Items
public override int HpAmount => 10;
public override uint Object => 2240524752;
public override int Price => 20;
public override float Cooldown => 1000;
public override void Consume(UserItem uItem)
{
//nothing
}
}
}