From f833c5675aafa6b12bcbbe88d4c3b8dbb1e29bab Mon Sep 17 00:00:00 2001 From: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com> Date: Fri, 18 Apr 2025 13:37:56 -0400 Subject: [PATCH] Update filing cabinet inventories (#36185) * Entity tables, more folders, 1984 whitelist. * add easter eggs * oops typo * undent * adjust ranges * absolute instead of relative prob * woops forgot to 1984 a selector --- .../Structures/Storage/filing_cabinets.yml | 67 ++++++++++++------- 1 file changed, 43 insertions(+), 24 deletions(-) diff --git a/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml b/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml index 70c7647fcc..e8856923e3 100644 --- a/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml +++ b/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml @@ -1,3 +1,42 @@ +- type: entityTable + id: FilingCabinetFillTable + table: !type:AllSelector + children: + - !type:GroupSelector + rolls: !type:RangeNumberSelector + range: 2, 4 + children: + - id: BoxFolderBlue + - id: BoxFolderRed + - id: BoxFolderYellow + - id: BoxFolderWhite + - id: BoxFolderGrey + - id: BoxFolderBlack + - !type:GroupSelector + rolls: !type:RangeNumberSelector + range: 0, 3 + children: + - id: Paper + - id: PaperOffice + - !type:GroupSelector + prob: .3 + rolls: !type:ConstantNumberSelector + value: 2 + children: + - id: Pen + - !type:GroupSelector + prob: 0.15 + children: + - !type:AllSelector + weight: 0.2 + children: + - id: RubberStampApproved + - id: RubberStampDenied + - id: RubberStampGreytide + weight: 0.1 + - id: LuxuryPen + - id: NanoTaskCartridge + - type: entity parent: [ BaseStructureDynamic, BaseBagOpenClose ] id: BaseFilingCabinet @@ -9,11 +48,6 @@ grid: - 0,0,9,3 maxItemSize: Normal - whitelist: - tags: - - Document - - Folder - - Write - type: Sprite sprite: Structures/Storage/cabinets.rsi noRot: true @@ -126,25 +160,10 @@ id: BaseBureaucraticStorageFill suffix: Filled components: - - type: StorageFill - contents: - - id: Pen - prob: 0.5 - - id: PaperOffice - amount: 1 - maxAmount: 3 - - id: BoxFolderBlue - orGroup: Folder - - id: BoxFolderRed - orGroup: Folder - - id: BoxFolderYellow - orGroup: Folder - - id: BoxFolderWhite - orGroup: Folder - - id: BoxFolderGrey - orGroup: Folder - - id: BoxFolderBlack - orGroup: Folder + - type: EntityTableContainerFill + containers: + storagebase: !type:NestedSelector + tableId: FilingCabinetFillTable - type: entity parent: [BaseBureaucraticStorageFill, filingCabinet] -- 2.51.2