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

View File

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

View File

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