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

View File

@@ -3,60 +3,83 @@
parent: ClosetTool
suffix: Filled
components:
- type: StorageFill
contents:
- id: ClothingOuterVestHazard
prob: 0.4
- id: FlashlightLantern
prob: 0.7
- id: Screwdriver
prob: 0.7
- id: Wrench
prob: 0.7
- id: Welder
prob: 0.7
- id: Crowbar
prob: 0.7
- id: Wirecutter
prob: 0.7
- id: Multitool
prob: 0.2
- id: trayScanner
prob: 0.7
- id: GasAnalyzer
prob: 0.7
- id: ClothingBeltUtility
prob: 0.2
- id: ClothingHandsGlovesColorYellow
prob: 0.05
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillClosetTool
- type: entityTable
id: FillClosetTool
table: !type:AllSelector
children:
- id: ClothingOuterVestHazard
prob: 0.4
- id: FlashlightLantern
prob: 0.7
- id: Screwdriver
prob: 0.7
- id: Wrench
prob: 0.7
- id: Welder
prob: 0.7
- id: Crowbar
prob: 0.7
- id: Wirecutter
prob: 0.7
- id: Multitool
prob: 0.2
- id: trayScanner
prob: 0.7
- id: GasAnalyzer
prob: 0.7
- id: ClothingBeltUtility
prob: 0.2
- id: ClothingHandsGlovesColorYellow
prob: 0.05
- !type:GroupSelector
prob: 0.4
children:
- id: ClothingHeadHatHardhatRed
prob: 0.4
- id: CableApcStack
prob: 0.3
- id: CableApcStack
prob: 0.3
- id: CableApcStack
prob: 0.3
- id: SprayPainter
prob: 0.7
- id: ClothingHeadHatHardhatBlue
- id: ClothingHeadHatHardhatOrange
- id: ClothingHeadHatHardhatWhite
- id: ClothingHeadHatHardhatYellow
- id: ClothingHeadHatHardhatYellowDark
- id: CableApcStack
prob: 0.3
rolls: !type:ConstantNumberSelector
value: 3
- id: SprayPainter
prob: 0.7
- type: entity
id: LockerElectricalSuppliesFilled
suffix: Filled
parent: LockerElectricalSupplies
components:
- type: StorageFill
contents:
- id: ToolboxElectricalFilled
prob: 0.7
- id: FirelockElectronics
prob: 0.05
- id: APCElectronics
prob: 0.1
- id: CableMVStack
prob: 0.2
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillElectricalSupplies
- type: entityTable
id: FillElectricalSupplies
table: !type:AllSelector
children:
- id: ToolboxElectricalFilled
prob: 0.7
- id: FirelockElectronics
prob: 0.05
- id: APCElectronics
prob: 0.1
- !type:GroupSelector
prob: 0.5
children:
- id: CableApcStack
prob: 0.3
weight: 5
- id: CableMVStack
- id: CableHVStack
weight: 0.5
- type: entity
id: LockerWeldingSuppliesFilled
@@ -104,73 +127,108 @@
suffix: Filled, Hardsuit
parent: LockerAtmospherics
components:
- type: StorageFill
contents:
- id: ClothingOuterHardsuitAtmos
- id: ClothingMaskGasAtmos
- id: ClothingOuterSuitAtmosFire
- id: ClothingHeadHelmetAtmosFire
- id: GasAnalyzer
- id: MedkitOxygenFilled
- id: HolofanProjector
- id: RCD
- id: RCDAmmo
- id: AirGrenade
- type: EntityTableContainerFill
containers:
entity_storage: !type:AllSelector
children:
- !type:NestedSelector
tableId: FillLockerAtmospherics
- !type:NestedSelector
tableId: FillAtmosphericsHardsuit
- type: entity
id: LockerAtmosphericsFilled
suffix: Filled
parent: LockerAtmospherics
components:
- type: StorageFill
contents:
- id: ClothingMaskGasAtmos
- id: ClothingOuterSuitAtmosFire
- id: ClothingHeadHelmetAtmosFire
- id: GasAnalyzer
- id: MedkitOxygenFilled
- id: HolofanProjector
- id: RCD
- id: RCDAmmo
- id: AirGrenade
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillLockerAtmospherics
- type: entityTable
id: FillLockerAtmospherics
table: !type:AllSelector
children:
- id: ClothingMaskGasAtmos
- id: ClothingOuterSuitAtmosFire
- id: ClothingHeadHelmetAtmosFire
- id: GasAnalyzer
- id: MedkitOxygenFilled
- id: HolofanProjector
- id: RCD
- id: RCDAmmo
- id: AirGrenade
- type: entityTable
id: FillAtmosphericsHardsuit
table: !type:AllSelector
children:
- id: ClothingOuterHardsuitAtmos
- id: OxygenTankFilled
- id: ClothingMaskBreath
- type: entity
id: LockerEngineerFilledHardsuit
suffix: Filled, Hardsuit
parent: LockerEngineer
components:
- type: StorageFill
contents:
- id: ClothingOuterHardsuitEngineering
- id: ClothingHandsGlovesColorYellow
- id: ClothingMaskGas
- id: ClothingShoesBootsMag
- id: RCD
- id: RCDAmmo
- id: MetalFoamGrenade
- type: EntityTableContainerFill
containers:
entity_storage: !type:AllSelector
children:
- !type:NestedSelector
tableId: FillLockerEngineer
- !type:NestedSelector
tableId: FillEngineerHardsuit
- type: entity
id: LockerEngineerFilled
suffix: Filled
parent: LockerEngineer
components:
- type: StorageFill
contents:
- id: ClothingHandsGlovesColorYellow
- id: ClothingMaskGas
- id: trayScanner
- id: RCD
- id: RCDAmmo
- id: MetalFoamGrenade
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillLockerEngineer
- type: entityTable
id: FillLockerEngineer
table: !type:AllSelector
children:
- id: ClothingHandsGlovesColorYellow
- id: ClothingMaskGas
- id: trayScanner
- id: RCD
- id: RCDAmmo
- id: MetalFoamGrenade
- type: entityTable
id: FillEngineerHardsuit
table: !type:AllSelector
children:
- id: ClothingOuterHardsuitEngineering
- id: OxygenTankFilled
- id: ClothingShoesBootsMag
- id: ClothingMaskBreath
- type: entity
id: ClosetRadiationSuitFilled
parent: ClosetRadiationSuit
suffix: Filled
components:
- type: StorageFill
contents:
- id: ClothingOuterSuitRad
amount: 2
- id: GeigerCounter
amount: 2
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillRadiationSuit
- type: entityTable
id: FillRadiationSuit
table: !type:AllSelector
children:
- id: ClothingOuterSuitRad
amount: !type:ConstantNumberSelector
value: 2
- id: GeigerCounter
amount: !type:ConstantNumberSelector
value: 2

View File

@@ -3,13 +3,20 @@
suffix: Filled
parent: LockerScientist
components:
- type: StorageFill
contents:
- id: ClothingHandsGlovesLatex
- id: ClothingHeadsetScience
- id: ClothingMaskSterile
- id: ClothingOuterCoatRnd
- id: AnomalyScanner
- id: NodeScanner
- id: NetworkConfigurator
prob: 0.5
- type: EntityTableContainerFill
containers:
entity_storage: !type:NestedSelector
tableId: FillLockerScientist
- type: entityTable
id: FillLockerScientist
table: !type:AllSelector
children:
- id: ClothingHandsGlovesLatex
- id: ClothingHeadsetScience
- id: ClothingMaskSterile
- id: ClothingOuterCoatRnd
- id: AnomalyScanner
- id: NodeScanner
- id: NetworkConfigurator
prob: 0.5

View File

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