Update locker storage to entity tables (#37809)

* Update locker storage to entity tables

* tidy

* Requested changes

---------

Co-authored-by: Velcroboy <velcroboy333@hotmail.com>
This commit is contained in:
Velcroboy
2025-05-25 14:48:10 -05:00
committed by GitHub
parent 11d0799e1a
commit 1f2d4e7efc
4 changed files with 255 additions and 158 deletions

View File

@@ -1,49 +1,84 @@
- type: entity - type: entity
id: ClosetL3Filled id: ClosetL3Filled
suffix: Filled, Generic suffix: Filled, Generic
parent: ClosetL3 parent: ClosetL3
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillBiohazardGearGeneric
- type: entityTable
id: FillBiohazardGearGeneric
table: !type:AllSelector
children:
- id: ClothingOuterBioGeneral - id: ClothingOuterBioGeneral
- id: ClothingHeadHatHoodBioGeneral - id: ClothingHeadHatHoodBioGeneral
- type: entity - type: entity
id: ClosetL3VirologyFilled id: ClosetL3VirologyFilled
suffix: Filled, Virology suffix: Filled, Virology
parent: ClosetL3Virology parent: ClosetL3Virology
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillBiohazardGearVirology
- type: entityTable
id: FillBiohazardGearVirology
table: !type:AllSelector
children:
- id: ClothingOuterBioVirology - id: ClothingOuterBioVirology
- id: ClothingHeadHatHoodBioVirology - id: ClothingHeadHatHoodBioVirology
- type: entity - type: entity
id: ClosetL3SecurityFilled id: ClosetL3SecurityFilled
suffix: Filled, Security suffix: Filled, Security
parent: ClosetL3Security parent: ClosetL3Security
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillBiohazardGearSecurity
- type: entityTable
id: FillBiohazardGearSecurity
table: !type:AllSelector
children:
- id: ClothingOuterBioSecurity - id: ClothingOuterBioSecurity
- id: ClothingHeadHatHoodBioSecurity - id: ClothingHeadHatHoodBioSecurity
- type: entity - type: entity
id: ClosetL3JanitorFilled id: ClosetL3JanitorFilled
suffix: Filled, Janitor suffix: Filled, Janitor
parent: ClosetL3Janitor parent: ClosetL3Janitor
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillBiohazardGearJanitor
- type: entityTable
id: FillBiohazardGearJanitor
table: !type:AllSelector
children:
- id: ClothingOuterBioJanitor - id: ClothingOuterBioJanitor
- id: ClothingHeadHatHoodBioJanitor - id: ClothingHeadHatHoodBioJanitor
- type: entity - type: entity
id: ClosetL3ScienceFilled id: ClosetL3ScienceFilled
suffix: Filled, Science suffix: Filled, Science
parent: ClosetL3Science parent: ClosetL3Science
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillBiohazardGearScience
- type: entityTable
id: FillBiohazardGearScience
table: !type:AllSelector
children:
- id: ClothingOuterBioScientist - id: ClothingOuterBioScientist
- id: ClothingHeadHatHoodBioScientist - id: ClothingHeadHatHoodBioScientist

View File

@@ -3,8 +3,15 @@
parent: ClosetTool parent: ClosetTool
suffix: Filled suffix: Filled
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillClosetTool
- type: entityTable
id: FillClosetTool
table: !type:AllSelector
children:
- id: ClothingOuterVestHazard - id: ClothingOuterVestHazard
prob: 0.4 prob: 0.4
- id: FlashlightLantern - id: FlashlightLantern
@@ -29,14 +36,19 @@
prob: 0.2 prob: 0.2
- id: ClothingHandsGlovesColorYellow - id: ClothingHandsGlovesColorYellow
prob: 0.05 prob: 0.05
- id: ClothingHeadHatHardhatRed - !type:GroupSelector
prob: 0.4 prob: 0.4
children:
- id: ClothingHeadHatHardhatRed
- id: ClothingHeadHatHardhatBlue
- id: ClothingHeadHatHardhatOrange
- id: ClothingHeadHatHardhatWhite
- id: ClothingHeadHatHardhatYellow
- id: ClothingHeadHatHardhatYellowDark
- id: CableApcStack - id: CableApcStack
prob: 0.3 prob: 0.3
- id: CableApcStack rolls: !type:ConstantNumberSelector
prob: 0.3 value: 3
- id: CableApcStack
prob: 0.3
- id: SprayPainter - id: SprayPainter
prob: 0.7 prob: 0.7
@@ -45,18 +57,29 @@
suffix: Filled suffix: Filled
parent: LockerElectricalSupplies parent: LockerElectricalSupplies
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillElectricalSupplies
- type: entityTable
id: FillElectricalSupplies
table: !type:AllSelector
children:
- id: ToolboxElectricalFilled - id: ToolboxElectricalFilled
prob: 0.7 prob: 0.7
- id: FirelockElectronics - id: FirelockElectronics
prob: 0.05 prob: 0.05
- id: APCElectronics - id: APCElectronics
prob: 0.1 prob: 0.1
- id: CableMVStack - !type:GroupSelector
prob: 0.2 prob: 0.5
children:
- id: CableApcStack - id: CableApcStack
prob: 0.3 weight: 5
- id: CableMVStack
- id: CableHVStack
weight: 0.5
- type: entity - type: entity
id: LockerWeldingSuppliesFilled id: LockerWeldingSuppliesFilled
@@ -104,26 +127,29 @@
suffix: Filled, Hardsuit suffix: Filled, Hardsuit
parent: LockerAtmospherics parent: LockerAtmospherics
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
- id: ClothingOuterHardsuitAtmos entity_storage: !type:AllSelector
- id: ClothingMaskGasAtmos children:
- id: ClothingOuterSuitAtmosFire - !type:NestedSelector
- id: ClothingHeadHelmetAtmosFire tableId: FillLockerAtmospherics
- id: GasAnalyzer - !type:NestedSelector
- id: MedkitOxygenFilled tableId: FillAtmosphericsHardsuit
- id: HolofanProjector
- id: RCD
- id: RCDAmmo
- id: AirGrenade
- type: entity - type: entity
id: LockerAtmosphericsFilled id: LockerAtmosphericsFilled
suffix: Filled suffix: Filled
parent: LockerAtmospherics parent: LockerAtmospherics
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillLockerAtmospherics
- type: entityTable
id: FillLockerAtmospherics
table: !type:AllSelector
children:
- id: ClothingMaskGasAtmos - id: ClothingMaskGasAtmos
- id: ClothingOuterSuitAtmosFire - id: ClothingOuterSuitAtmosFire
- id: ClothingHeadHelmetAtmosFire - id: ClothingHeadHelmetAtmosFire
@@ -134,28 +160,42 @@
- id: RCDAmmo - id: RCDAmmo
- id: AirGrenade - id: AirGrenade
- type: entityTable
id: FillAtmosphericsHardsuit
table: !type:AllSelector
children:
- id: ClothingOuterHardsuitAtmos
- id: OxygenTankFilled
- id: ClothingMaskBreath
- type: entity - type: entity
id: LockerEngineerFilledHardsuit id: LockerEngineerFilledHardsuit
suffix: Filled, Hardsuit suffix: Filled, Hardsuit
parent: LockerEngineer parent: LockerEngineer
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
- id: ClothingOuterHardsuitEngineering entity_storage: !type:AllSelector
- id: ClothingHandsGlovesColorYellow children:
- id: ClothingMaskGas - !type:NestedSelector
- id: ClothingShoesBootsMag tableId: FillLockerEngineer
- id: RCD - !type:NestedSelector
- id: RCDAmmo tableId: FillEngineerHardsuit
- id: MetalFoamGrenade
- type: entity - type: entity
id: LockerEngineerFilled id: LockerEngineerFilled
suffix: Filled suffix: Filled
parent: LockerEngineer parent: LockerEngineer
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillLockerEngineer
- type: entityTable
id: FillLockerEngineer
table: !type:AllSelector
children:
- id: ClothingHandsGlovesColorYellow - id: ClothingHandsGlovesColorYellow
- id: ClothingMaskGas - id: ClothingMaskGas
- id: trayScanner - id: trayScanner
@@ -163,14 +203,32 @@
- id: RCDAmmo - id: RCDAmmo
- id: MetalFoamGrenade - id: MetalFoamGrenade
- type: entityTable
id: FillEngineerHardsuit
table: !type:AllSelector
children:
- id: ClothingOuterHardsuitEngineering
- id: OxygenTankFilled
- id: ClothingShoesBootsMag
- id: ClothingMaskBreath
- type: entity - type: entity
id: ClosetRadiationSuitFilled id: ClosetRadiationSuitFilled
parent: ClosetRadiationSuit parent: ClosetRadiationSuit
suffix: Filled suffix: Filled
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillRadiationSuit
- type: entityTable
id: FillRadiationSuit
table: !type:AllSelector
children:
- id: ClothingOuterSuitRad - id: ClothingOuterSuitRad
amount: 2 amount: !type:ConstantNumberSelector
value: 2
- id: GeigerCounter - id: GeigerCounter
amount: 2 amount: !type:ConstantNumberSelector
value: 2

View File

@@ -3,8 +3,15 @@
suffix: Filled suffix: Filled
parent: LockerScientist parent: LockerScientist
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
entity_storage: !type:NestedSelector
tableId: FillLockerScientist
- type: entityTable
id: FillLockerScientist
table: !type:AllSelector
children:
- id: ClothingHandsGlovesLatex - id: ClothingHandsGlovesLatex
- id: ClothingHeadsetScience - id: ClothingHeadsetScience
- id: ClothingMaskSterile - id: ClothingMaskSterile

View File

@@ -95,12 +95,10 @@
parent: SuitStorageBase parent: SuitStorageBase
suffix: Station Engineer suffix: Station Engineer
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
- id: OxygenTankFilled entity_storage: !type:NestedSelector
- id: ClothingShoesBootsMag tableId: FillEngineerHardsuit
- id: ClothingOuterHardsuitEngineering
- id: ClothingMaskBreath
- type: AccessReader - type: AccessReader
access: [["Engineering"]] access: [["Engineering"]]
@@ -110,11 +108,10 @@
parent: SuitStorageBase parent: SuitStorageBase
suffix: Atmospheric Technician suffix: Atmospheric Technician
components: components:
- type: StorageFill - type: EntityTableContainerFill
contents: containers:
- id: OxygenTankFilled entity_storage: !type:NestedSelector
- id: ClothingOuterHardsuitAtmos tableId: FillAtmosphericsHardsuit
- id: ClothingMaskBreath
- type: AccessReader - type: AccessReader
access: [["Atmospherics"]] access: [["Atmospherics"]]