From 42b2d845f30145366d5f594d8afe6cfdf21600cd Mon Sep 17 00:00:00 2001 From: Peptide90 <78795277+Peptide90@users.noreply.github.com> Date: Mon, 17 Jan 2022 19:31:57 +0000 Subject: [PATCH] adds quartermaster access and airlocks (#6212) * adds quartermaster access and airlocks * QM access to role --- Resources/Prototypes/AccessLevels/cargo.yml | 4 ++-- .../Structures/Doors/Airlocks/access.yml | 16 ++++++++++++++++ .../Roles/Jobs/Cargo/quartermaster.yml | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/AccessLevels/cargo.yml b/Resources/Prototypes/AccessLevels/cargo.yml index 5c97b16051..4f42b57183 100644 --- a/Resources/Prototypes/AccessLevels/cargo.yml +++ b/Resources/Prototypes/AccessLevels/cargo.yml @@ -1,5 +1,5 @@ -#- type: accessLevel -# id: Quartermaster +- type: accessLevel + id: Quartermaster - type: accessLevel id: Cargo diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml index 3762e1c867..3d7e2fd4d5 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml @@ -95,6 +95,14 @@ components: - type: AccessReader access: [["Cargo"]] + +- type: entity + parent: AirlockCargo + id: AirlockQuartermasterLocked + suffix: Quartermaster, Locked + components: + - type: AccessReader + access: [["Quartermaster"]] - type: entity parent: AirlockMedical @@ -272,6 +280,14 @@ components: - type: AccessReader access: [["Cargo"]] + +- type: entity + parent: AirlockCargoGlass + id: AirlockQuartermasterGlassLocked + suffix: Quartermaster, Locked + components: + - type: AccessReader + access: [["Quartermaster"]] - type: entity parent: AirlockMedicalGlass diff --git a/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml b/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml index 0bc740a0ec..73bb8d2a95 100644 --- a/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml +++ b/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml @@ -8,7 +8,7 @@ supervisors: "the head of personnel" access: - Cargo - # - Quartermaster + - Quartermaster - Maintenance - External