Respritening: Fix style for all closet related YAML (#46188)

* style: correct closets.yml key ordering

The canonical ordering is
- type
- parent
- id

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: correct wardrobe.yml key ordering

The canonical ordering is
- type
- parent
- id

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: correct wall_lockers.yml key ordering

The canonical ordering is
- type
- parent
- id

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: correct base_structureclosets.yml key ordering

The canonical ordering is
- type
- parent
- id

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: correct lockers.yml key ordering and remove unnecessary whitespace

The canonical ordering is
- type
- parent
- id

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: fix closets.yml indentation

Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
Signed-off-by: Mazzie <mazziechai@gmail.com>

* style: minor reorderings in closet related protos per convention

Signed-off-by: Mazzie <mazziechai@gmail.com>

---------

Signed-off-by: Mazzie <mazziechai@gmail.com>
Co-authored-by: AftrLite <61218133+aftrlite@users.noreply.github.com>
This commit is contained in:
mazzie 2026-09-27 00:27:01 +00:00 • committed by GitHub
parent 015a1a44d0
commit bc4237e2fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 126 additions and 128 deletions

View file

@ -1,6 +1,6 @@
- type: entity
id: LockerBooze
parent: LockerBase
id: LockerBooze
name: booze storage
description: This is where the bartender keeps the booze.
components:
@ -9,7 +9,6 @@
stateBaseClosed: cabinet
stateDoorOpen: cabinet_open
stateDoorClosed: cabinet_door
- type: AccessReader
access: [["Bar"]]
- type: EntityStorage
@ -22,8 +21,8 @@
# Basic
- type: entity
id: LockerSteel
parent: LockerBase
id: LockerSteel
name: secure closet
components:
- type: Appearance
@ -34,8 +33,8 @@
# Cargo
- type: entity
id: LockerQuarterMaster
parent: LockerBase
id: LockerQuarterMaster
name: quartermaster's locker
components:
- type: Appearance
@ -47,8 +46,8 @@
access: [["Quartermaster"]]
- type: entity
id: LockerSalvageSpecialist
parent: LockerBase
id: LockerSalvageSpecialist
name: salvage specialist's equipment
description: Nevermind the pickaxe.
components:
@ -62,8 +61,8 @@
# Command
- type: entity
id: LockerCaptain
parent: LockerBase
id: LockerCaptain
name: captain's locker
components:
- type: Appearance
@ -75,8 +74,8 @@
access: [["Captain"]]
- type: entity
id: LockerHeadOfPersonnel
parent: LockerBase
id: LockerHeadOfPersonnel
name: head of personnel's locker
components:
- type: Appearance
@ -89,8 +88,8 @@
# CE
- type: entity
id: LockerChiefEngineer
parent: LockerBase
id: LockerChiefEngineer
name: chief engineer's locker
components:
- type: Appearance
@ -103,8 +102,8 @@
# Electrical supplies
- type: entity
id: LockerElectricalSupplies
parent: LockerBase
id: LockerElectricalSupplies
name: electrical supplies locker
components:
- type: Appearance
@ -117,8 +116,8 @@
# Welding supplies
- type: entity
id: LockerWeldingSupplies
parent: LockerBase
id: LockerWeldingSupplies
name: welding supplies locker
components:
- type: Appearance
@ -131,8 +130,8 @@
# Atmos tech
- type: entity
id: LockerAtmospherics
parent: LockerBase
id: LockerAtmospherics
name: atmospheric technician's locker
components:
- type: Appearance
@ -145,8 +144,8 @@
# Engineer
- type: entity
id: LockerEngineer
parent: LockerBase
id: LockerEngineer
name: engineer's locker
components:
- type: Appearance
@ -174,8 +173,8 @@
# Freezer
- type: entity
id: LockerFreezerBase
parent: LockerBase
id: LockerFreezerBase
name: freezer
suffix: No Access
components:
@ -196,8 +195,8 @@
group: null
- type: entity
id: LockerFreezer
parent: LockerFreezerBase
id: LockerFreezer
name: freezer
suffix: Kitchen, Locked
components:
@ -206,8 +205,8 @@
# Botanist
- type: entity
id: LockerBotanist
parent: LockerBase
id: LockerBotanist
name: botanist's locker
components:
- type: Appearance
@ -220,8 +219,8 @@
# Medicine
- type: entity
id: LockerMedicine
parent: LockerBase
id: LockerMedicine
name: medicine locker
description: Filled to the brim with medical junk.
components:
@ -235,8 +234,8 @@
# Medical doctor
- type: entity
id: LockerMedical
parent: LockerBase
id: LockerMedical
name: medical doctor's locker
components:
- type: Appearance
@ -249,8 +248,8 @@
# Paramedic
- type: entity
id: LockerParamedic
parent: LockerBase
id: LockerParamedic
name: paramedic's locker
components:
- type: Appearance
@ -261,11 +260,10 @@
- type: AccessReader
access: [ [ "Medical" ] ]
# Chemical
- type: entity
id: LockerChemistry
parent: LockerBase
id: LockerChemistry
name: chemical locker
components:
- type: Appearance
@ -278,8 +276,8 @@
# CMO
- type: entity
id: LockerChiefMedicalOfficer
parent: LockerBase
id: LockerChiefMedicalOfficer
name: chief medical officer's locker
components:
- type: Appearance
@ -292,8 +290,8 @@
# Science
- type: entity
id: LockerResearchDirector
parent: LockerBase
id: LockerResearchDirector
name: research director's locker
components:
- type: Appearance
@ -305,8 +303,8 @@
access: [ [ "ResearchDirector" ] ]
- type: entity
id: LockerScientist
parent: LockerBase
id: LockerScientist
name: scientist's locker
components:
- type: Appearance
@ -319,8 +317,8 @@
# HoS
- type: entity
id: LockerHeadOfSecurity
parent: LockerBase
id: LockerHeadOfSecurity
name: head of security's locker
components:
- type: Appearance
@ -333,8 +331,8 @@
# Warden
- type: entity
id: LockerWarden
parent: LockerBase
id: LockerWarden
name: warden's locker
components:
- type: Appearance
@ -347,8 +345,8 @@
# Brigmedic
- type: entity
id: LockerBrigmedic
parent: LockerBase
id: LockerBrigmedic
name: brigmedic locker
components:
- type: Appearance
@ -361,8 +359,8 @@
# Security Officer
- type: entity
id: LockerSecurity
parent: LockerBase
id: LockerSecurity
name: security officer's locker
components:
- type: Appearance
@ -374,8 +372,8 @@
access: [["Security"]]
- type: entity
id: GunSafe
parent: LockerBase
id: GunSafe
name: gun safe
components:
- type: Appearance
@ -395,8 +393,8 @@
price: 660
- type: entity
id: GunSafeBaseSecure
parent: GunSafe
id: GunSafeBaseSecure
suffix: Armory, Locked
components:
- type: AccessReader
@ -516,8 +514,8 @@
# Detective
- type: entity
id: LockerDetective
parent: LockerBooze
id: LockerDetective
name: detective's cabinet
description: Usually cold and empty... like your heart.
components:
@ -525,8 +523,8 @@
access: [["Detective"]]
- type: entity
id: LockerEvidence
parent: LockerSecurity
id: LockerEvidence
name: evidence locker
description: To store bags of bullet casings and detainee belongings.
components:
@ -535,11 +533,11 @@
# Syndicate
- type: entity
parent: LockerBase
id: LockerSyndicatePersonal
name: blood-red locker
parent: LockerBase
description: It's a personal storage unit with a blood-red design.
suffix: "Locked"
description: It's a personal storage unit with a blood-red design.
components:
- type: Appearance
- type: EntityStorageVisuals
@ -583,9 +581,9 @@
# Clown
- type: entity
parent: LockerBase
id: LockerClown
name: clown locker
parent: LockerBase
components:
- type: Appearance
- type: AccessReader
@ -597,9 +595,9 @@
# Mime
- type: entity
parent: LockerBase
id: LockerMime
name: mime locker
parent: LockerBase
components:
- type: Appearance
- type: AccessReader
@ -611,9 +609,9 @@
# Representative
- type: entity
parent: LockerBase
id: LockerRepresentative
name: representative locker
parent: LockerBase
components:
- type: Appearance
- type: AccessReader

View file

@ -183,9 +183,9 @@
#Wall locker
- type: entity
id: BaseWallLocker
parent: BaseWallCloset
abstract: true
parent: BaseWallCloset
id: BaseWallLocker
components:
- type: AccessReader
- type: Lock

View file

@ -1,8 +1,8 @@
# Tool closet
- type: entity
parent: ClosetSteelBase
id: ClosetTool
name: tool closet
parent: ClosetSteelBase
description: It's a storage unit for tools.
components:
- type: Appearance
@ -13,9 +13,9 @@
# Radiation suit closet
- type: entity
parent: ClosetSteelBase
id: ClosetRadiationSuit
name: radiation suit closet
parent: ClosetSteelBase
description: "More comfortable than radiation poisioning."
components:
- type: Appearance
@ -26,9 +26,9 @@
# Emergency closet
- type: entity
parent: ClosetSteelBase
id: ClosetEmergency
name: emergency closet
parent: ClosetSteelBase
description: It's a storage unit for emergency breath masks and O2 tanks.
components:
- type: Appearance
@ -39,9 +39,9 @@
# Emergency N2 closet
- type: entity
parent: ClosetSteelBase
id: ClosetEmergencyN2
name: emergency nitrogen closet
parent: ClosetSteelBase
description: It's full of life-saving equipment. Assuming, that is, that you breathe nitrogen.
components:
- type: Appearance
@ -52,9 +52,9 @@
# Fire safety closet
- type: entity
parent: ClosetSteelBase
id: ClosetFire
name: fire-safety closet
parent: ClosetSteelBase
description: It's a storage unit for fire-fighting supplies.
components:
- type: Appearance
@ -65,9 +65,9 @@
# EOD closet
- type: entity
parent: ClosetSteelBase
id: ClosetBomb
name: EOD closet
parent: ClosetSteelBase
description: It's a storage unit for explosion-protective suits.
components:
- type: Appearance
@ -78,11 +78,11 @@
# Janitorial bomb suit closet
- type: entity
id: ClosetJanitorBomb
name: janitorial bomb suit closet
parent: ClosetSteelBase
description: It's a storage unit for janitorial explosion-protective suits.
id: ClosetJanitorBomb
categories: [ DoNotMap ]
name: janitorial bomb suit closet
description: It's a storage unit for janitorial explosion-protective suits.
components:
- type: Appearance
- type: EntityStorageVisuals
@ -94,8 +94,8 @@
# Base level 3 bio hazard closet
- type: entity
id: ClosetL3
parent: ClosetSteelBase
id: ClosetL3
name: level 3 biohazard gear closet
description: It's a storage unit for level 3 biohazard gear.
components:
@ -107,8 +107,8 @@
# Science Variant
- type: entity
id: ClosetL3Science
parent: ClosetL3
id: ClosetL3Science
components:
- type: Appearance
- type: EntityStorageVisuals
@ -118,8 +118,8 @@
# Virology variant
- type: entity
id: ClosetL3Virology
parent: ClosetL3
id: ClosetL3Virology
components:
- type: Appearance
- type: EntityStorageVisuals
@ -129,8 +129,8 @@
# Security variant
- type: entity
id: ClosetL3Security
parent: ClosetL3
id: ClosetL3Security
components:
- type: Appearance
- type: EntityStorageVisuals
@ -140,8 +140,8 @@
# Janitor variant
- type: entity
id: ClosetL3Janitor
parent: ClosetL3
id: ClosetL3Janitor
components:
- type: Appearance
- type: EntityStorageVisuals
@ -151,9 +151,9 @@
# Maintenance closet
- type: entity
parent: ClosetSteelBase
id: ClosetMaintenance
name: maintenance closet
parent: ClosetSteelBase
description: It's a storage unit.
components:
- type: Appearance
@ -171,9 +171,9 @@
# Syndicate
- type: entity
parent: ClosetSteelBase
id: LockerSyndicate
name: blood-red closet
parent: ClosetSteelBase
description: It's a storage unit with a blood-red design.
components:
- type: Appearance
@ -184,46 +184,46 @@
# Bluespace closet
- type: entity
parent: ClosetMaintenance
id: ClosetBluespace
name: suspicious closet
suffix: Bluespace
parent: ClosetMaintenance
description: It's a storage unit... right?
components:
- type: ArrivalsBlacklist
- type: BluespaceLocker
pickLinksFromSameMap: true
minBluespaceLinks: 1
behaviorProperties:
bluespaceEffectOnTeleportSource: true
autoLinksBidirectional: true
autoLinksUseProperties: true
autoLinkProperties:
bluespaceEffectOnTeleportSource: true
- type: ArrivalsBlacklist
- type: BluespaceLocker
pickLinksFromSameMap: true
minBluespaceLinks: 1
behaviorProperties:
bluespaceEffectOnTeleportSource: true
autoLinksBidirectional: true
autoLinksUseProperties: true
autoLinkProperties:
bluespaceEffectOnTeleportSource: true
# Unstable bluespace closet
- type: entity
parent: ClosetMaintenance
id: ClosetBluespaceUnstable
name: suspicious closet
suffix: Bluespace unstable
parent: ClosetMaintenance
description: It's a storage unit... right?
components:
- type: ArrivalsBlacklist
- type: BluespaceLocker
pickLinksFromSameMap: true
minBluespaceLinks: 1
behaviorProperties:
clearLinksDebluespaces: true
transportEntities: false
bluespaceEffectOnTeleportSource: true
clearLinksEvery: 2
autoLinksBidirectional: true
autoLinksUseProperties: true
usesSinceLinkClear: -1 # hacky
autoLinkProperties:
invalidateOneWayLinks: true
transportEntities: false
bluespaceEffectOnTeleportSource: true
destroyAfterUses: 2
destroyType: DeleteComponent
- type: ArrivalsBlacklist
- type: BluespaceLocker
pickLinksFromSameMap: true
minBluespaceLinks: 1
behaviorProperties:
clearLinksDebluespaces: true
transportEntities: false
bluespaceEffectOnTeleportSource: true
clearLinksEvery: 2
autoLinksBidirectional: true
autoLinksUseProperties: true
usesSinceLinkClear: -1 # hacky
autoLinkProperties:
invalidateOneWayLinks: true
transportEntities: false
bluespaceEffectOnTeleportSource: true
destroyAfterUses: 2
destroyType: DeleteComponent

View file

@ -1,6 +1,6 @@
- type: entity
id: ClosetWall
parent: BaseWallCloset
id: ClosetWall
name: maintenance wall closet
description: It's a storage unit.
components:
@ -10,9 +10,9 @@
stateDoorClosed: generic_door
- type: entity
parent: BaseWallCloset
id: ClosetWallEmergency
name: emergency wall closet
parent: BaseWallCloset
description: It's a storage unit for emergency breath masks and O2 tanks.
components:
- type: EntityStorageVisuals
@ -32,9 +32,9 @@
stateDoorClosed: n2_door
- type: entity
parent: BaseWallCloset
id: ClosetWallFire
name: fire-safety wall closet
parent: BaseWallCloset
description: It's a storage unit for fire-fighting supplies.
components:
- type: EntityStorageVisuals
@ -43,8 +43,8 @@
stateDoorClosed: fire_door
- type: entity
id: ClosetWallBlue
parent: BaseWallCloset
id: ClosetWallBlue
name: blue wall closet
description: "A wardrobe packed with stylish blue clothing."
components:
@ -54,8 +54,8 @@
stateDoorClosed: blue_door
- type: entity
id: ClosetWallPink
parent: BaseWallCloset
id: ClosetWallPink
name: pink wall closet
description: "A wardrobe packed with fabulous pink clothing."
components:
@ -65,8 +65,8 @@
stateDoorClosed: pink_door
- type: entity
id: ClosetWallBlack
parent: BaseWallCloset
id: ClosetWallBlack
name: black wall closet
description: "A wardrobe packed with stylish black clothing."
components:
@ -76,8 +76,8 @@
stateDoorClosed: black_door
- type: entity
id: ClosetWallGreen
parent: BaseWallCloset
id: ClosetWallGreen
name: green wall closet
description: "A wardrobe packed with stylish green clothing."
components:
@ -87,8 +87,8 @@
stateDoorClosed: green_door
- type: entity
id: ClosetWallOrange
parent: BaseWallCloset
id: ClosetWallOrange
name: prison wall closet
components:
- type: EntityStorageVisuals
@ -97,8 +97,8 @@
stateDoorClosed: orange_door
- type: entity
id: ClosetWallYellow
parent: BaseWallCloset
id: ClosetWallYellow
name: yellow wall closet
description: "A wardrobe packed with stylish yellow clothing."
components:
@ -108,8 +108,8 @@
stateDoorClosed: yellow_door
- type: entity
id: ClosetWallWhite
parent: BaseWallCloset
id: ClosetWallWhite
name: white wall closet
description: "A wardrobe packed with stylish white clothing."
components:
@ -119,8 +119,8 @@
stateDoorClosed: white_door
- type: entity
id: ClosetWallGrey
parent: BaseWallCloset
id: ClosetWallGrey
name: grey wall closet
description: "A wardrobe packed with a tide of grey clothing."
components:
@ -130,8 +130,8 @@
stateDoorClosed: gray_door
- type: entity
id: ClosetWallMixed
parent: BaseWallCloset
id: ClosetWallMixed
name: mixed wall closet
description: "A wardrobe packed with a mix of colorful clothing."
components:
@ -141,8 +141,8 @@
stateDoorClosed: mixed_door
- type: entity
id: ClosetWallAtmospherics
parent: BaseWallCloset
id: ClosetWallAtmospherics
name: atmospherics wall closet
components:
- type: EntityStorageVisuals
@ -151,8 +151,8 @@
stateDoorClosed: atmos_door
- type: entity
id: LockerWallMedical
parent: BaseWallLocker
id: LockerWallMedical
name: medical wall locker
components:
- type: EntityStorageVisuals
@ -239,11 +239,11 @@
stateDoorClosed: genpop_door_8
- type: entity
id: LockerWallSyndicate
parent: BaseWallLocker
id: LockerWallSyndicate
name: blood-red wall locker
description: It's a wall storage unit with a blood-red design.
suffix: "Locked"
description: It's a wall storage unit with a blood-red design.
components:
- type: Appearance
- type: EntityStorageVisuals

View file

@ -1,16 +1,16 @@
# Base
- type: entity
id: WardrobeBase
parent: ClosetSteelBase
abstract: true
parent: ClosetSteelBase
id: WardrobeBase
description: It's a storage unit for standard-issue Nanotrasen attire.
# Colored
# Blue wardrobe
- type: entity
id: WardrobeBlue
parent: WardrobeBase
id: WardrobeBlue
name: blue wardrobe
description: "A wardrobe packed with stylish blue clothing."
components:
@ -22,8 +22,8 @@
# Pink wardrobe
- type: entity
id: WardrobePink
parent: WardrobeBase
id: WardrobePink
name: pink wardrobe
description: "A wardrobe packed with fabulous pink clothing."
components:
@ -35,8 +35,8 @@
# Black wardrobe
- type: entity
id: WardrobeBlack
parent: WardrobeBase
id: WardrobeBlack
name: black wardrobe
description: "A wardrobe packed with stylish black clothing."
components:
@ -48,8 +48,8 @@
# Green wardrobe
- type: entity
id: WardrobeGreen
parent: WardrobeBase
id: WardrobeGreen
name: green wardrobe
description: "A wardrobe packed with stylish green clothing."
components:
@ -61,8 +61,8 @@
# Prison wardrobe
- type: entity
id: WardrobePrison
parent: WardrobeBase
id: WardrobePrison
name: prison wardrobe
components:
- type: Appearance
@ -73,8 +73,8 @@
# Yellow wardrobe
- type: entity
id: WardrobeYellow
parent: WardrobeBase
id: WardrobeYellow
name: yellow wardrobe
description: "A wardrobe packed with stylish yellow clothing."
components:
@ -86,8 +86,8 @@
# White wardrobe
- type: entity
id: WardrobeWhite
parent: WardrobeBase
id: WardrobeWhite
name: white wardrobe
description: "A wardrobe packed with stylish white clothing."
components:
@ -99,8 +99,8 @@
# Grey wardrobe
- type: entity
id: WardrobeGrey
parent: WardrobeBase
id: WardrobeGrey
name: grey wardrobe
description: "A wardrobe packed with a tide of grey clothing."
components:
@ -112,8 +112,8 @@
# Mixed wardrobe
- type: entity
id: WardrobeMixed
parent: WardrobeBase
id: WardrobeMixed
name: mixed wardrobe
description: "A wardrobe packed with a mix of colorful clothing."
components:
@ -126,8 +126,8 @@
# Jobs
- type: entity
id: WardrobeSecurity
parent: WardrobeBase
id: WardrobeSecurity
name: security wardrobe
components:
- type: Appearance
@ -137,8 +137,8 @@
stateDoorClosed: red_door
- type: entity
id: WardrobeAtmospherics
parent: WardrobeBase
id: WardrobeAtmospherics
name: atmospherics wardrobe
components:
- type: Appearance
@ -148,82 +148,82 @@
stateDoorClosed: atmos_wardrobe_door
- type: entity
id: ClosetJanitor
parent: WardrobeMixed
id: ClosetJanitor
name: custodial closet
description: It's a storage unit for janitorial clothes and gear.
- type: entity
id: WardrobeFormal
parent: WardrobeBlack
id: WardrobeFormal
name: formal closet
description: It's a storage unit for formal clothing.
- type: entity
id: ClosetChef
parent: WardrobeBlack
id: ClosetChef
name: chef's closet
description: It's a storage unit for foodservice garments and mouse traps.
- type: entity
id: WardrobeChapel
parent: WardrobeBlack
id: WardrobeChapel
name: chaplain's wardrobe
description: It's a storage unit for Nanotrasen-approved religious attire.
- type: entity
id: ClosetLegal
parent: WardrobeBlue
id: ClosetLegal
name: legal closet
description: It's a storage unit for courtroom apparel and items.
- type: entity
id: WardrobeCargo
parent: WardrobePrison
id: WardrobeCargo
name: cargo wardrobe
- type: entity
id: WardrobeSalvage
parent: WardrobeMixed
id: WardrobeSalvage
name: salvage wardrobe
description: Notably not salvaged.
- type: entity
id: WardrobeEngineering
parent: WardrobeYellow
id: WardrobeEngineering
name: engineering wardrobe
- type: entity
id: WardrobeMedicalDoctor
parent: WardrobeWhite
id: WardrobeMedicalDoctor
name: medical doctor's wardrobe
- type: entity
id: WardrobeRobotics
parent: WardrobeBlack
id: WardrobeRobotics
name: robotics wardrobe
- type: entity
id: WardrobeChemistry
parent: WardrobeWhite
id: WardrobeChemistry
name: chemistry wardrobe
- type: entity
id: WardrobeGenetics
parent: WardrobeWhite
id: WardrobeGenetics
name: genetics wardrobe
- type: entity
id: WardrobeVirology
parent: WardrobeWhite
id: WardrobeVirology
name: virology wardrobe
- type: entity
id: WardrobeScience
parent: WardrobeWhite
id: WardrobeScience
name: science wardrobe
- type: entity
id: WardrobeBotanist
parent: WardrobeGreen
id: WardrobeBotanist
name: botanist wardrobe