Files
crystall-punk-14/Content.Shared/Inventory/SlotFlags.cs
Ed b5df675187 Spellcaster slowdown, mole nerf, new shoulder slot, healing staff (#538)
* healing staff sprite

* new back slot and move all big things to whis slot

* replace ring to staff

* caster sowdown! Mole rebalance

* loadouts fix

* fix weapon rotation

* Update spawners.yml
2024-11-05 19:05:40 +03:00

38 lines
776 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Inventory;
/// <summary>
/// Defines what slot types an item can fit into.
/// </summary>
[Serializable, NetSerializable]
[Flags]
public enum SlotFlags
{
NONE = 0,
PREVENTEQUIP = 1 << 0,
HEAD = 1 << 1,
EYES = 1 << 2,
EARS = 1 << 3,
MASK = 1 << 4,
OUTERCLOTHING = 1 << 5,
INNERCLOTHING = 1 << 6,
NECK = 1 << 7,
BACK = 1 << 8,
BELT = 1 << 9,
GLOVES = 1 << 10,
IDCARD = 1 << 11,
POCKET = 1 << 12,
LEGS = 1 << 13,
FEET = 1 << 14,
SUITSTORAGE = 1 << 15,
RING = 1 << 16, //CP14
PANTS = 1 << 17, //CP14
SHIRT = 1 << 18, //CP14
CLOAK = 1 << 19, //CP14
KEYS = 1 << 20, //CP14
All = ~NONE,
WITHOUT_POCKET = All & ~POCKET
}