Random filling for cabinets (#13633)

This commit is contained in:
lapatison
2023-01-23 23:46:05 +03:00
committed by GitHub
parent cf8f30eda9
commit 86088c535c

View File

@@ -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