All high-security airlocks now have proper access restrictions (#5573)

This commit is contained in:
Elijahrane
2021-12-05 11:20:06 +08:00
committed by GitHub
parent d1ab9592aa
commit 7de3608130
12 changed files with 4574 additions and 4507 deletions

View File

@@ -1,6 +1,6 @@
#- type: accessLevel
# id: ChiefEngineer
# name: Chief Engineer
- type: accessLevel
id: ChiefEngineer
name: Chief Engineer
- type: accessLevel
id: Engineering

View File

@@ -1,6 +1,6 @@
#- type: accessLevel
# id: ChiefMedicalOfficer
# name: Chief Medical Officer
- type: accessLevel
id: ChiefMedicalOfficer
name: Chief Medical Officer
- type: accessLevel
id: Medical

View File

@@ -1,6 +1,6 @@
#- type: accessLevel
# id: ResearchDirector
# name: Research Director
- type: accessLevel
id: ResearchDirector
name: Research Director
- type: accessLevel
id: Research

View File

@@ -1,15 +1,15 @@
#- type: accessLevel
# id: HeadOfSecurity
# name: Head of Security
- type: accessLevel
id: HeadOfSecurity
name: Head of Security
- type: accessLevel
id: Security
- type: accessLevel
id: Armory
#- type: accessLevel
# id: Brig
#- type: accessLevel
# id: Detective
- type: accessLevel
id: Armory

View File

@@ -79,6 +79,54 @@
- type: AccessReader
access: [["Command"]]
- type: entity
parent: AirlockCommand
id: AirlockCaptainLocked
suffix: Captain, Locked
components:
- type: AccessReader
access: [["Captain"]]
- type: entity
parent: AirlockCommand
id: AirlockChiefMedicalOfficerLocked
suffix: ChiefMedicalOfficer, Locked
components:
- type: AccessReader
access: [["ChiefMedicalOfficer"]]
- type: entity
parent: AirlockCommand
id: AirlockChiefEngineerLocked
suffix: ChiefEngineer, Locked
components:
- type: AccessReader
access: [["ChiefEngineer"]]
- type: entity
parent: AirlockCommand
id: AirlockHeadOfSecurityLocked
suffix: HeadOfSecurity, Locked
components:
- type: AccessReader
access: [["HeadOfSecurity"]]
- type: entity
parent: AirlockCommand
id: AirlockResearchDirectorLocked
suffix: ResearchDirector, Locked
components:
- type: AccessReader
access: [["ResearchDirector"]]
- type: entity
parent: AirlockCommand
id: AirlockHeadOfPersonnelLocked
suffix: HeadOfPersonnel, Locked
components:
- type: AccessReader
access: [["HeadOfPersonnel"]]
- type: entity
parent: AirlockSecurity
id: AirlockSecurityLocked
@@ -87,14 +135,6 @@
- type: AccessReader
access: [["Security"]]
- type: entity
parent: AirlockSecurity
id: AirlockVaultLocked
suffix: Vault, Locked
components:
- type: AccessReader
access: [["Security", "Command"]]
- type: entity
parent: AirlockSecurity
id: AirlockArmoryLocked
@@ -103,6 +143,14 @@
- type: AccessReader
access: [["Armory"]]
- type: entity
parent: AirlockSecurity
id: AirlockVaultLocked
suffix: Vault, Locked
components:
- type: AccessReader
access: [["Security", "Command"]]
- type: entity
parent: AirlockCommand
id: AirlockEVALocked
@@ -280,3 +328,11 @@
components:
- type: AccessReader
access: [["Security"]]
- type: entity
parent: AirlockMaint
id: AirlockMaintHOPLocked
suffix: HeadOfPersonnel, Locked
components:
- type: AccessReader
access: [["HeadOfPersonnel"]]

View File

@@ -17,6 +17,10 @@
# Guys please don't fight
- Captain
- HeadOfPersonnel
- ChiefEngineer
- ChiefMedicalOfficer
- HeadOfSecurity
- ResearchDirector
- Command
- Security
- Armory
@@ -24,7 +28,6 @@
- Engineering
- Medical
- Cargo
# - ResearchDirector
- Research
- Service
- Maintenance
@@ -33,7 +36,7 @@
- Theatre
- Bar
- Chemistry
- type: startingGear
id: CaptainGear
equipment:

View File

@@ -15,6 +15,7 @@
- Engineering
- Command
- External
- ChiefEngineer
- type: startingGear
id: ChiefEngineerGear

View File

@@ -17,6 +17,7 @@
- Command
- Maintenance
- Chemistry
- ChiefMedicalOfficer
- type: startingGear
id: CMOGear

View File

@@ -14,6 +14,7 @@
- Research
- Command
- Maintenance
- ResearchDirector
- type: startingGear
id: ResearchDirectorGear

View File

@@ -11,6 +11,7 @@
supervisors: "the captain"
canBeAntag: false
access:
- HeadOfSecurity
- Command
# - Brig
- Security