From 86088c535c029656dd22bc9cf8fef9fcf764fcc5 Mon Sep 17 00:00:00 2001 From: lapatison <100279397+lapatison@users.noreply.github.com> Date: Mon, 23 Jan 2023 23:46:05 +0300 Subject: [PATCH] Random filling for cabinets (#13633) --- .../Structures/Storage/filing_cabinets.yml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml b/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml index 6cf754dad8..5a27e969c9 100644 --- a/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml +++ b/Resources/Prototypes/Entities/Structures/Storage/filing_cabinets.yml @@ -2,6 +2,7 @@ name: filing cabinet parent: BaseStructureDynamic id: filingCabinet + suffix: Empty description: A cabinet for all your filing needs. components: - type: Storage @@ -45,6 +46,7 @@ name: tall cabinet parent: filingCabinet id: filingCabinetTall + suffix: Empty components: - type: Sprite sprite: Structures/Storage/cabinets.rsi @@ -58,6 +60,7 @@ name: chest drawer parent: BaseStructureDynamic id: filingCabinetDrawer + suffix: Empty description: A small drawer for all your filing needs, Now with wheels! components: - type: Storage @@ -96,3 +99,51 @@ - type: ContainerContainer containers: storagebase: !type:Container + +- type: entity + abstract: true + id: BaseBureaucraticStorageFill + components: + - type: StorageFill + contents: + - id: Pen + prob: 0.5 + - id: PaperOffice + - id: PaperOffice + prob: 0.5 + - id: PaperOffice + prob: 0.4 + orGroup: Folder + - id: BoxFolderBlue + prob: 0.10 + orGroup: Folder + - id: BoxFolderRed + prob: 0.10 + orGroup: Folder + - id: BoxFolderYellow + prob: 0.10 + orGroup: Folder + - id: BoxFolderWhite + prob: 0.10 + orGroup: Folder + - id: BoxFolderGrey + prob: 0.10 + orGroup: Folder + - id: BoxFolderBlack + prob: 0.10 + orGroup: Folder + +- type: entity + parent: [filingCabinet, BaseBureaucraticStorageFill] + id: filingCabinetRandom + suffix: Random + +- type: entity + parent: [filingCabinetTall, BaseBureaucraticStorageFill] + id: filingCabinetTallRandom + suffix: Random + +- type: entity + parent: [filingCabinetDrawer, BaseBureaucraticStorageFill] + id: filingCabinetDrawerRandom + suffix: Random