* Bully the fuck out of inventory shit Inventory Stuff Inventories technically work It works technicaly speaking Yeah this part too Lets do it! Inventories completed Motherfucker * Remove unnecessary usings and fix one thing * Submodule update * Adds a bunch of various clothing prototypes for each current inventory slot
26 lines
741 B
C#
26 lines
741 B
C#
using System.Collections.Generic;
|
|
using static Content.Shared.GameObjects.Components.Inventory.EquipmentSlotDefines;
|
|
|
|
namespace Content.Shared.GameObjects
|
|
{
|
|
public abstract class Inventory
|
|
{
|
|
abstract public int Columns { get; }
|
|
|
|
abstract public List<Slots> SlotMasks { get; }
|
|
}
|
|
|
|
public class HumanInventory : Inventory
|
|
{
|
|
public override int Columns => 3;
|
|
|
|
public override List<Slots> SlotMasks => new List<Slots>()
|
|
{
|
|
Slots.EYES, Slots.HEAD, Slots.EARS,
|
|
Slots.OUTERCLOTHING, Slots.MASK, Slots.INNERCLOTHING,
|
|
Slots.BACKPACK, Slots.BELT, Slots.GLOVES,
|
|
Slots.NONE, Slots.SHOES, Slots.IDCARD
|
|
};
|
|
}
|
|
}
|