Clipboards added to autolathe (and other folder changes) (#37705)

* Added plastic clipboards; added plastic clipboards to the PTech machine; added clipboards & plastic clipboards to the autolathe

* Fixed plastic clipboard inhand sprites; added and implemented 'empty' clipboard prototypes

* Cleaned up code for empty clipboards; removed BoxFolderBaseEmpty since now it's redundant

* Extensive folder cleanup

* Bugfixed random folder spawns

* Reduced amount of paper in CrateServiceBureaucracy

* Medical folder sprite rename

* BaseTraitorSocialObjective sprite fix

* Added office paper to bureaucracy crate

* First pass at addressing recent review

* Second pass at addressing recent review

* Fix of weird migration.yml error

* whoops, forgot to undo the rename to folder-white.png in the last few commits

* whoops, didn't commit that last commit properly

* whoops, forgot to undo this reordering
This commit is contained in:
Hitlinemoss
2025-08-27 03:07:32 -04:00
committed by GitHub
parent 2965522cdd
commit 60ea2b37fb
22 changed files with 247 additions and 89 deletions

View File

@@ -10,15 +10,15 @@
- type: Sprite
sprite: Objects/Misc/folders.rsi
layers:
- state: folder-base
- state: folder-colormap
- state: folder-base
- state: folder-colormap
- type: RandomSpawner
offset: 0
prototypes:
- BoxFolderRed
- BoxFolderBlue
- BoxFolderYellow
- BoxFolderWhite
- BoxFolderGrey
- BoxFolderBlack
- BoxFolderGreen
- BoxFolderBase
- BoxFolderRed
- BoxFolderBlue
- BoxFolderYellow
- BoxFolderGrey
- BoxFolderBlack
- BoxFolderGreen

View File

@@ -1,6 +1,6 @@
- type: entity
id: BoxFolderNuclearCodes
parent: BaseItem
id: BoxFolderNuclearCodes
name: nuclear code folder
components:
- type: Sprite
@@ -19,8 +19,8 @@
- type: Appearance
- type: entity
id: BoxFolderBase
parent: BoxBase
id: BoxFolderBaseEmpty
name: folder
description: A folder filled with top secret paperwork.
components:
@@ -62,22 +62,42 @@
- type: Tag
tags:
- Folder
- type: StorageFill
contents:
- id: Paper
prob: 0.5
- id: PaperOffice
prob: 0.4
- id: Paper
prob: 0.3
- id: PaperOffice
prob: 0.2
- id: Paper
prob: 0.2
- type: entity
id: BoxFolderRed
parent: BoxFolderBase
abstract: true
id: BoxFolderFill # Include this as a parent prototype to add 0-5 random papers to a folder's inventory when spawned.
suffix: Filled
components:
- type: StorageFill
contents:
- id: Paper
prob: 0.5
- id: PaperOffice
prob: 0.4
- id: Paper
prob: 0.3
- id: PaperOffice
prob: 0.2
- id: Paper
prob: 0.2
- type: entity
abstract: true
id: BoxFolderFillThreePapers # Like BoxFolderFill, but always has exactly three sheets of standard paper; use for roles' startingGear
suffix: 3 papers
components:
- type: StorageFill
contents:
- id: Paper
amount: 3
- type: entity
parent: [BoxFolderBaseEmpty, BoxFolderFill]
id: BoxFolderBase
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderRedEmpty
suffix: Red
components:
- type: Sprite
@@ -87,8 +107,13 @@
- state: folder-base
- type: entity
id: BoxFolderBlue
parent: BoxFolderBase
parent: [BoxFolderRedEmpty, BoxFolderFill]
id: BoxFolderRed
suffix: Red, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderBlueEmpty
suffix: Blue
components:
- type: Sprite
@@ -98,8 +123,13 @@
- state: folder-base
- type: entity
id: BoxFolderYellow
parent: BoxFolderBase
parent: [BoxFolderBlueEmpty, BoxFolderFill]
id: BoxFolderBlue
suffix: Blue, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderYellowEmpty
suffix: Yellow
components:
- type: Sprite
@@ -109,18 +139,13 @@
- state: folder-base
- type: entity
id: BoxFolderWhite
parent: BoxFolderBase
suffix: White
components:
- type: Sprite
layers:
- state: folder-white
- state: folder-base
parent: [BoxFolderYellowEmpty, BoxFolderFill]
id: BoxFolderYellow
suffix: Yellow, Filled
- type: entity
id: BoxFolderGrey
parent: BoxFolderBase
parent: BoxFolderBaseEmpty
id: BoxFolderGreyEmpty
suffix: Grey
components:
- type: Sprite
@@ -130,8 +155,13 @@
- state: folder-base
- type: entity
id: BoxFolderBlack
parent: BoxFolderBase
parent: [BoxFolderGreyEmpty, BoxFolderFill]
id: BoxFolderGrey
suffix: Grey, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderBlackEmpty
suffix: Black
components:
- type: Sprite
@@ -141,8 +171,13 @@
- state: folder-base
- type: entity
id: BoxFolderGreen
parent: BoxFolderBase
parent: [BoxFolderBlackEmpty, BoxFolderFill]
id: BoxFolderBlack
suffix: Black, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderGreenEmpty
suffix: Green
components:
- type: Sprite
@@ -152,10 +187,30 @@
- state: folder-base
- type: entity
id: BoxFolderCentCom
name: CentComm folder
parent: BoxFolderBase
parent: [BoxFolderGreenEmpty, BoxFolderFill]
id: BoxFolderGreen
suffix: Green, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderWhiteEmpty
suffix: White
components:
- type: Sprite
layers:
- state: folder-white
- state: folder-base
- type: entity
parent: [BoxFolderWhiteEmpty, BoxFolderFill]
id: BoxFolderWhite
suffix: White, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderCentComEmpty
categories: [ DoNotMap ]
name: CentComm folder
description: CentComm's miserable little pile of secrets!
components:
- type: Sprite
@@ -164,8 +219,13 @@
- state: folder-base
- type: entity
id: BoxFolderClipboard
parent: BoxFolderBase
parent: [BoxFolderCentComEmpty, BoxFolderFill]
id: BoxFolderCentCom
suffix: DO NOT MAP, Filled
- type: entity
parent: BoxFolderBaseEmpty
id: BoxFolderClipboardEmpty
name: clipboard
description: The weapon of choice for those on the front lines of bureaucracy.
components:
@@ -223,8 +283,42 @@
Blunt: 6
- type: entity
id: BoxFolderCentComClipboard
parent: BoxFolderClipboard
parent: [BoxFolderClipboardEmpty, BoxFolderFill]
id: BoxFolderClipboard
- type: entity
parent: [BoxFolderClipboardEmpty, BoxFolderFillThreePapers]
id: BoxFolderClipboardThreePapers
- type: entity
parent: BoxFolderClipboardEmpty
id: BoxFolderPlasticClipboardEmpty
name: plastic clipboard
description: A cheap clipboard made of blue plastic. For those who aren't yet ready to wield the bureaucratic might of a proper wooden clipboard.
components:
- type: Sprite
sprite: Objects/Misc/plastic_clipboard.rsi
layers:
- state: clipboard
- state: clipboard_paper
map: ["clipboard_paper"]
visible: false
- state: clipboard_pen
map: ["clipboard_pen"]
visible: false
- state: clipboard_over
- type: Item
sprite: Objects/Misc/plastic_clipboard.rsi
- type: Clothing
sprite: Objects/Misc/plastic_clipboard.rsi
- type: entity
parent: [BoxFolderPlasticClipboardEmpty, BoxFolderFill]
id: BoxFolderPlasticClipboard
- type: entity
parent: BoxFolderClipboardEmpty
id: BoxFolderCentComClipboardEmpty
name: CentComm clipboard
description: A luxurious clipboard upholstered with green velvet. Often seen carried by CentComm officials, seldom seen actually used.
components:
@@ -245,8 +339,16 @@
sprite: Objects/Misc/cc-clipboard.rsi
- type: entity
parent: [BoxFolderCentComClipboardEmpty, BoxFolderFill]
id: BoxFolderCentComClipboard
- type: entity
parent: [BoxFolderCentComClipboardEmpty, BoxFolderFillThreePapers]
id: BoxFolderCentComClipboardThreePapers
- type: entity
parent: [BoxFolderClipboardEmpty, BaseGrandTheftContraband]
id: BoxFolderQmClipboard
parent: [BoxFolderClipboard, BaseGrandTheftContraband]
name: requisition digi-board
description: A bulky electric clipboard, filled with shipping orders and financing details. With so many compromising documents, you ought to keep this safe.
components:
@@ -278,8 +380,6 @@
grid:
- 0,0,4,3
quickInsert: true
- type: StorageFill
contents: [] #to override base clipboard fill
- type: ItemMapper
mapLayers:
qm_clipboard_paper:

View File

@@ -123,6 +123,7 @@
- PartsStatic
- AtmosStatic
- CablesStatic
- PaperworkStatic
- CargoStatic
- MaterialsStatic
- BasicChemistryStatic

View File

@@ -6,12 +6,13 @@
rolls: !type:RangeNumberSelector
range: 2, 4
children:
- id: BoxFolderBlue
- id: BoxFolderBase
- id: BoxFolderRed
- id: BoxFolderBlue
- id: BoxFolderYellow
- id: BoxFolderWhite
- id: BoxFolderGrey
- id: BoxFolderBlack
- id: BoxFolderGreen
- !type:GroupSelector
rolls: !type:RangeNumberSelector
range: 0, 3