namespace Sasalka; [GameResource( "Base Item Definition", "inv", "", Category = "Sasalka", Icon = "inventory_2" )] public class BaseItemDefinition : GameResource { public string Name { get; set; } public string Description { get; set; } [ResourceType( "prefab" )] public GameObject Prefab { get; set; } = GameObject.GetPrefab( "prefabs/item_parcel.prefab" ); public Texture ImageTexture { get; set; } public string ImageUrl { get; set; } public int MaxCount { get; set; } = 1; public virtual Inventar.InventorySlot? GetSlot() => null; }