Add suit storage (#7531)

This commit is contained in:
ZeroDayDaemon
2022-04-14 14:41:26 -04:00
committed by GitHub
parent a57e0ca199
commit d60392760c
3 changed files with 17 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using Robust.Shared.Serialization;
namespace Content.Shared.Inventory;
@@ -26,5 +26,6 @@ public enum SlotFlags
POCKET = 1 << 12,
LEGS = 1 << 13,
FEET = 1 << 14,
SUITSTORAGE = 1 << 15,
All = ~NONE,
}

View File

@@ -44,6 +44,7 @@
sprite: Objects/Tanks/oxygen.rsi
Slots:
- Back
- suitStorage
- type: entity
parent: OxygenTank
@@ -57,6 +58,7 @@
sprite: Objects/Tanks/yellow.rsi
Slots:
- Back
- suitStorage
- type: entity
parent: OxygenTank
@@ -70,6 +72,7 @@
sprite: Objects/Tanks/red.rsi
Slots:
- Back
- suitStorage
- type: entity
parent: OxygenTank
@@ -90,6 +93,7 @@
Slots:
- Pocket
- Belt
- suitStorage
- type: entity
parent: EmergencyOxygenTank
@@ -111,6 +115,7 @@
Slots:
- Pocket
- Belt
- suitStorage
- type: entity
parent: ExtendedEmergencyOxygenTank
@@ -129,6 +134,7 @@
Slots:
- Pocket
- Belt
- suitStorage
- type: entity
parent: GasTankBase
@@ -147,6 +153,7 @@
sprite: Objects/Tanks/generic.rsi
Slots:
- Back
- suitStorage
- type: entity
parent: GasTankBase
@@ -166,3 +173,4 @@
sprite: Objects/Tanks/plasma.rsi
Slots:
- Belt
- suitStorage

View File

@@ -69,6 +69,13 @@
uiWindowPos: 2,3
dependsOn: jumpsuit
displayName: Pocket 2
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
uiContainer: BottomLeft
uiWindowPos: 2,0
dependsOn: outerClothing
displayName: Suit Storage
- name: id
slotTexture: id
slotFlags: IDCARD