[Access] Detective personal access (#15109)

* [Access] Detective personal access

* [Add] technical airlock with detective access.

* vendind and locker change access

* Detective access on ID card console
This commit is contained in:
Puro
2023-04-06 05:48:04 +03:00
committed by GitHub
parent e1cd163344
commit e47fe6b4eb
9 changed files with 39 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ namespace Content.Shared.Access.Components
"Atmospherics", "Atmospherics",
"Bar", "Bar",
"Brig", "Brig",
// "Detective", "Detective",
"Captain", "Captain",
"Cargo", "Cargo",
"Chapel", "Chapel",

View File

@@ -1,4 +1,4 @@
- type: accessGroup - type: accessGroup
id: AllAccess id: AllAccess
tags: tags:
- EmergencyShuttleRepealAll - EmergencyShuttleRepealAll
@@ -10,6 +10,7 @@
- ResearchDirector - ResearchDirector
- Command - Command
- Security - Security
- Detective
- Armory - Armory
- Brig - Brig
- Engineering - Engineering

View File

@@ -14,8 +14,9 @@
id: Brig id: Brig
name: id-card-access-level-brig name: id-card-access-level-brig
#- type: accessLevel - type: accessLevel
# id: Detective id: Detective
name: id-card-access-level-detective
- type: accessGroup - type: accessGroup
id: Security id: Security
@@ -24,7 +25,7 @@
- Security - Security
- Armory - Armory
- Brig - Brig
# - Detective - Detective
- type: accessGroup - type: accessGroup
id: Armory id: Armory

View File

@@ -259,6 +259,16 @@
- type: Wires - type: Wires
LayoutId: AirlockSecurity LayoutId: AirlockSecurity
- type: entity
parent: AirlockSecurity
id: AirlockDetectiveLocked
suffix: Detective, Locked
components:
- type: AccessReader
access: [["Detective"]]
- type: Wires
LayoutId: AirlockSecurity
- type: entity - type: entity
parent: AirlockSecurity parent: AirlockSecurity
id: AirlockBrigLocked id: AirlockBrigLocked
@@ -504,6 +514,14 @@
- type: AccessReader - type: AccessReader
access: [["Security"]] access: [["Security"]]
- type: entity
parent: AirlockSecurityGlass
id: AirlockDetectiveGlassLocked
suffix: Detective, Locked
components:
- type: AccessReader
access: [["Detective"]]
- type: entity - type: entity
parent: AirlockSecurityGlass parent: AirlockSecurityGlass
id: AirlockBrigGlassLocked id: AirlockBrigGlassLocked
@@ -689,6 +707,14 @@
- type: AccessReader - type: AccessReader
access: [["Security"]] access: [["Security"]]
- type: entity
parent: AirlockMaint
id: AirlockMaintDetectiveLocked
suffix: Detective, Locked
components:
- type: AccessReader
access: [["Detective"]]
- type: entity - type: entity
parent: AirlockMaint parent: AirlockMaint
id: AirlockMaintHOPLocked id: AirlockMaintHOPLocked

View File

@@ -1573,7 +1573,7 @@
- state: panel - state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"] map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: AccessReader - type: AccessReader
access: [["Security"]] access: [["Detective"]]
- type: entity - type: entity
parent: VendingMachine parent: VendingMachine

View File

@@ -329,7 +329,7 @@
description: Usually cold and empty... like your heart. description: Usually cold and empty... like your heart.
components: components:
- type: AccessReader - type: AccessReader
access: [["Security"]] # TODO access [["Detective"]] access: [["Detective"]]
- type: entity - type: entity
id: LockerEvidence id: LockerEvidence

View File

@@ -16,6 +16,7 @@
- Brig - Brig
- Maintenance - Maintenance
- Service - Service
- Detective
- type: startingGear - type: startingGear
id: DetectiveGear id: DetectiveGear

View File

@@ -27,6 +27,7 @@
- Maintenance - Maintenance
- Service - Service
- External - External
- Detective
- type: startingGear - type: startingGear
id: HoSGear id: HoSGear

View File

@@ -18,6 +18,7 @@
- Service - Service
- Brig - Brig
- External - External
- Detective
- type: startingGear - type: startingGear
id: WardenGear id: WardenGear