From 7cab1756144131402d50de4f519e1e2361341ee1 Mon Sep 17 00:00:00 2001 From: Nairod <110078045+Nairodian@users.noreply.github.com> Date: Tue, 8 Nov 2022 15:13:55 -0600 Subject: [PATCH] Access group, locker fill and entity (#12244) --- Resources/Prototypes/Access/security.yml | 7 +++++++ .../Catalog/Fills/Lockers/security.yml | 1 + .../Entities/Objects/Devices/door_remote.yml | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/Resources/Prototypes/Access/security.yml b/Resources/Prototypes/Access/security.yml index 05d29498d9..ec6cfa49ba 100644 --- a/Resources/Prototypes/Access/security.yml +++ b/Resources/Prototypes/Access/security.yml @@ -25,3 +25,10 @@ - Armory - Brig # - Detective + +- type: accessGroup + id: Armory + tags: + - Security + - Armory + - Brig \ No newline at end of file diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml index c766545b79..598e7f82ec 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/security.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/security.yml @@ -19,6 +19,7 @@ - id: ClothingOuterCoatWarden - id: ClothingOuterWinterWarden - id: RubberStampWarden + - id: DoorRemoteArmory - type: entity id: LockerSecurityFilled diff --git a/Resources/Prototypes/Entities/Objects/Devices/door_remote.yml b/Resources/Prototypes/Entities/Objects/Devices/door_remote.yml index 5a6b1c39b2..bbd76a25eb 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/door_remote.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/door_remote.yml @@ -43,6 +43,22 @@ groups: - Security +- type: entity + parent: DoorRemoteDefault + id: DoorRemoteArmory + name: armory door remote + components: + - type: Sprite + layers: + - state: door_remotebase + - state: door_remotelightscolour + color: "#e80000" + - state: door_remotescreencolour + color: "#a80000" + - type: Access + groups: + - Armory + - type: entity parent: DoorRemoteDefault id: DoorRemoteService