From: Zealith-Gamer <61980908+Zealith-Gamer@users.noreply.github.com> Date: Mon, 1 Apr 2024 02:28:14 +0000 (-0700) Subject: Gave Blast door access permissions (#26606) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5bb0179c25ee34c02e6fd241c43672dc3f09ad72;p=space-station-14.git Gave Blast door access permissions (#26606) Added access reader to all blast doors. Added pre configured blast doors for engineering and science. --- diff --git a/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door.yml b/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door.yml index 97f3c1b9e3..0700a5a3e7 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door.yml @@ -4,6 +4,7 @@ name: blast door description: This one says 'BLAST DONGER'. components: + - type: AccessReader - type: Sprite sprite: Structures/Doors/Shutters/blastdoor.rsi layers: diff --git a/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door_autolink.yml b/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door_autolink.yml index 399760616c..3386703ec9 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door_autolink.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Shutter/blast_door_autolink.yml @@ -56,6 +56,8 @@ parent: BlastDoor suffix: Autolink, Bridge components: + - type: AccessReader + access: [["Command"]] - type: AutoLinkReceiver channel: Bridge @@ -64,9 +66,51 @@ parent: BlastDoorOpen suffix: Open, Autolink, Bridge components: + - type: AccessReader + access: [["Command"]] - type: AutoLinkReceiver channel: Bridge +- type: entity + id: BlastDoorEngineering + parent: BlastDoor + suffix: Autolink, Engineering + components: + - type: AccessReader + access: [["Command"], ["Engineering"]] + - type: AutoLinkReceiver + channel: Engineering + +- type: entity + id: BlastDoorEngineeringOpen + parent: BlastDoorOpen + suffix: Open, Autolink, Engineering + components: + - type: AccessReader + access: [["Command"], ["Engineering"]] + - type: AutoLinkReceiver + channel: Engineering + +- type: entity + id: BlastDoorScience + parent: BlastDoor + suffix: Autolink, Science + components: + - type: AccessReader + access: [["Command"], ["Research"]] + - type: AutoLinkReceiver + channel: Research + +- type: entity + id: BlastDoorScienceOpen + parent: BlastDoorOpen + suffix: Open, Autolink, Science + components: + - type: AccessReader + access: [["Command"], ["Research"]] + - type: AutoLinkReceiver + channel: Research + - type: entity id: BlastDoorWindows parent: BlastDoor