From 65d36c0d4782c576d69887b7380cd4d43988a809 Mon Sep 17 00:00:00 2001 From: MetalSage <74924875+MetalSage@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:22:49 +0300 Subject: [PATCH] Add more door with access (#5080) Co-authored-by: MetalSage --- .../Doors/Airlocks/accesses-almayer.yml | 33 ++--- .../Doors/Double/accesses-almayer.yml | 118 ++++++++++++++++++ .../Doors/Double/accesses-command.yml | 15 +++ .../Doors/Double/accesses-marine.yml | 31 +++++ .../Double/{double_door.yml => airlocks.yml} | 0 5 files changed, 173 insertions(+), 24 deletions(-) create mode 100644 Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-almayer.yml create mode 100644 Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-command.yml create mode 100644 Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-marine.yml rename Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/{double_door.yml => airlocks.yml} (100%) diff --git a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Airlocks/accesses-almayer.yml b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Airlocks/accesses-almayer.yml index d4422db2179..77ba83b961c 100644 --- a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Airlocks/accesses-almayer.yml +++ b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Airlocks/accesses-almayer.yml @@ -166,6 +166,7 @@ - type: PaintableAirlock department: CMOther +# Security - type: entity parent: CMAirlockSecurity id: CMAirlockSecurityLocked @@ -182,30 +183,6 @@ - type: AccessReader access: [ [ "CMAccessBrig" ], [ "CMAccessCommand" ] ] -- type: entity - parent: CMDoubleDoorSecurityGlass - id: CMDoubleDoorSecurityGlassLocked - suffix: Security, Glass, Locked - components: - - type: AccessReader - access: [ [ "CMAccessBrig" ], [ "CMAccessCommand" ] ] - -- type: entity - parent: CMDoubleDoorSecuritySolid - id: CMDoubleDoorSecuritySolidLocked - suffix: Security, Solid, Locked - components: - - type: AccessReader - access: [ [ "CMAccessBrig" ], [ "CMAccessCommand" ] ] - -- type: entity - parent: CMDoubleDoorMedicalGlass - id: CMDoubleDoorMedicalGlassLocked - suffix: Medical, Glass, Locked - components: - - type: AccessReader - access: [ [ "CMAccessMedical" ], [ "CMAccessCommand" ] ] - # Liaison - type: entity parent: CMAirlock @@ -214,3 +191,11 @@ components: - type: AccessReader access: [ [ "RMCAccessWeYa" ] ] + +- type: entity + parent: CMAirlockMaint + id: CMAirlockMaintLiaisonLocked + suffix: Liaison, Locked, Maint + components: + - type: AccessReader + access: [ [ "RMCAccessWeYa" ] ] diff --git a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-almayer.yml b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-almayer.yml new file mode 100644 index 00000000000..ac7b57ac229 --- /dev/null +++ b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-almayer.yml @@ -0,0 +1,118 @@ +# Req +- type: entity + parent: CMDoubleDoorAlmayerGlass + id: CMDoubleDoorRequisitionsGlassLocked + suffix: Requisitions, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessRequisitions" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorAlmayerSolid + id: CMDoubleDoorRequisitionsSolidLocked + suffix: Requisitions, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessRequisitions" ], [ "CMAccessCommand" ] ] + +# Engi +- type: entity + parent: CMDoubleDoorEngineerGlass + id: CMDoubleDoorEngineerGlassLocked + suffix: Engineer, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessEngineering" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorEngineerSolid + id: CMDoubleDoorEngineerSolidLocked + suffix: Engineer, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessEngineering" ], [ "CMAccessCommand" ] ] + +# Medical +- type: entity + parent: CMDoubleDoorMedicalGlass + id: CMDoubleDoorMedicalGlassLocked + suffix: Medical, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMedical" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorMedicalSolid + id: CMDoubleDoorMedicalSolidLocked + suffix: Medical, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMedical" ], [ "CMAccessCommand" ] ] + +# Chemistry +- type: entity + parent: CMDoubleDoorMedicalGlass + id: CMDoubleDoorChemistryGlassLocked + suffix: Chemistry, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessChemistry" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorMedicalSolid + id: CMDoubleDoorChemistrySolidLocked + suffix: Chemistry, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessChemistry" ], [ "CMAccessCommand" ] ] + +# Research +- type: entity + parent: CMDoubleDoorMedicalGlass + id: CMDoubleDoorResearchGlassLocked + suffix: Research, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessResearch" ], [ "RMCAccessWeYa" ] ] + +- type: entity + parent: CMDoubleDoorMedicalSolid + id: CMDoubleDoorResearchSolidLocked + suffix: Research, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessResearch" ], [ "RMCAccessWeYa" ] ] + +# Pilots +- type: entity + parent: CMDoubleDoorGenericGlass + id: CMDoubleDoorPilotsGlassLocked + suffix: Pilots, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessDropship" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorGenericSolid + id: CMDoubleDoorPilotsSolidLocked + suffix: Pilots, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessDropship" ], [ "CMAccessCommand" ] ] + +# Security +- type: entity + parent: CMDoubleDoorSecurityGlass + id: CMDoubleDoorSecurityGlassLocked + suffix: Security, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessBrig" ], [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorSecuritySolid + id: CMDoubleDoorSecuritySolidLocked + suffix: Security, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessBrig" ], [ "CMAccessCommand" ] ] diff --git a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-command.yml b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-command.yml new file mode 100644 index 00000000000..0747368ce5d --- /dev/null +++ b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-command.yml @@ -0,0 +1,15 @@ +- type: entity + parent: CMDoubleDoorCommandGlass + id: CMDoubleDoorCommandGlassLocked + suffix: Command, Glass, Locked + components: + - type: AccessReader + access: [ [ "CMAccessCommand" ] ] + +- type: entity + parent: CMDoubleDoorCommandSolid + id: CMDoubleDoorCommandSolidLocked + suffix: Command, Solid, Locked + components: + - type: AccessReader + access: [ [ "CMAccessCommand" ] ] diff --git a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-marine.yml b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-marine.yml new file mode 100644 index 00000000000..bd576140466 --- /dev/null +++ b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/accesses-marine.yml @@ -0,0 +1,31 @@ +- type: entity + parent: CMDoubleDoorPreparationsAlpha + id: CMDoubleDoorPreparationsAlphaLocked + suffix: Preparations, Alpha, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMarinePrep" ], [ "CMAccessRequisitions" ], [ "CMAccessAlpha" ], [ "CMAccessBravo" ] ] + +- type: entity + parent: CMDoubleDoorPreparationsBravo + id: CMDoublCMDoubleDoorPreparationsBravoLocked + suffix: Preparations, Bravo, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMarinePrep" ], [ "CMAccessRequisitions" ], [ "CMAccessAlpha" ], [ "CMAccessBravo" ] ] + +- type: entity + parent: CMDoubleDoorPreparationsCharlie + id: CMDoubleDoorPreparationsCharlieLocked + suffix: Preparations, Charlie, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMarinePrep" ], [ "CMAccessRequisitions" ], [ "CMAccessCharlie" ], [ "CMAccessDelta" ] ] + +- type: entity + parent: CMDoubleDoorPreparationsDelta + id: CMDoublCMDoubleDoorPreparationsDeltaLocked + suffix: Preparations, Delta, Locked + components: + - type: AccessReader + access: [ [ "CMAccessMarinePrep" ], [ "CMAccessRequisitions" ], [ "CMAccessCharlie" ], [ "CMAccessDelta" ] ] diff --git a/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/double_door.yml b/Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/airlocks.yml similarity index 100% rename from Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/double_door.yml rename to Resources/Prototypes/_RMC14/Entities/Structures/Doors/Double/airlocks.yml