Add legal option to items
This commit is contained in:
18
ReallifeGamemode.Server/Inventory/Items/BaseItem.cs
Normal file
18
ReallifeGamemode.Server/Inventory/Items/BaseItem.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using ReallifeGamemode.Server.Inventory.Interfaces;
|
||||
|
||||
namespace ReallifeGamemode.Server.Inventory.Items
|
||||
{
|
||||
public abstract class BaseItem : IItem
|
||||
{
|
||||
public abstract int Id { get; }
|
||||
public abstract string Name { get; }
|
||||
public abstract string Description { get; }
|
||||
public abstract int Gewicht { get; }
|
||||
public abstract string Einheit { get; }
|
||||
public abstract int Price { get; }
|
||||
public virtual bool Legal => true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user