]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add morgue access door (#26852)
authorlzk <124214523+lzk228@users.noreply.github.com>
Fri, 26 Apr 2024 12:45:30 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Fri, 26 Apr 2024 12:45:30 +0000 (22:45 +1000)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Devices/Electronics/door_access.yml
Resources/Prototypes/Entities/Structures/Doors/Airlocks/access.yml

index bb2f48164432be6a5f31590a01753189a95974c9..dc3ddefbae292fd854040ae4cc45bb92953ce181 100644 (file)
 # Science
 - type: entity
   parent: DoorElectronics
+  id: DoorElectronicsMorgue
+  suffix: Morgue, Locked
+  components:
+  - type: AccessReader
+    access: [["Medical"], ["Detective"], ["Chapel"]]
+
+- type: entity
+  parent: DoorElectronics
+  id: DoorElectronicsCommand
+  suffix: Command, Locked
   id: DoorElectronicsResearchDirector
   suffix: ResearchDirector, Locked
   components:
index 5a337cb1368861446db2bd40d82bb689329aac9f..d798d0c3be72bbded4a8221ca12c27338c097e54 100644 (file)
     containers:
       board: [ DoorElectronicsChemistry ]
 
+- type: entity
+  parent: AirlockMedical
+  id: AirlockMedicalMorgueLocked
+  suffix: Morgue, Locked
+  components:
+  - type: ContainerFill
+    containers:
+      board: [ DoorElectronicsMorgue ]
+
+
 - type: entity
   parent: AirlockScience
   id: AirlockScienceLocked