Access/Airlock Revamp (#21701)
* Access/Airlock Revamp * Fix migration error, and update IDCardConsoleComp * Goofed on that one * Requested changes * Ooops * Undo migration --------- Co-authored-by: Jeff <velcroboy333@hotmail.com>
This commit is contained in:
@@ -63,6 +63,7 @@ public sealed partial class IdCardConsoleComponent : Component
|
||||
"Hydroponics",
|
||||
"Janitor",
|
||||
"Kitchen",
|
||||
"Lawyer",
|
||||
"Maintenance",
|
||||
"Medical",
|
||||
"Quartermaster",
|
||||
|
||||
@@ -5,7 +5,6 @@ id-card-access-level-head-of-personnel = Head of Personnel
|
||||
id-card-access-level-head-of-security = Head of Security
|
||||
id-card-access-level-security = Security
|
||||
id-card-access-level-armory = Armory
|
||||
id-card-access-level-brig = Brig
|
||||
id-card-access-level-detective = Detective
|
||||
|
||||
id-card-access-level-chief-engineer = Chief Engineer
|
||||
@@ -25,12 +24,14 @@ id-card-access-level-cargo = Cargo
|
||||
id-card-access-level-salvage = Salvage
|
||||
|
||||
id-card-access-level-bar = Bar
|
||||
id-card-access-level-brig = Brig
|
||||
id-card-access-level-kitchen = Kitchen
|
||||
id-card-access-level-hydroponics = Hydroponics
|
||||
id-card-access-level-service = Service
|
||||
id-card-access-level-janitor = Janitor
|
||||
id-card-access-level-theatre = Theatre
|
||||
id-card-access-level-chapel = Chapel
|
||||
id-card-access-level-lawyer = Lawyer
|
||||
|
||||
id-card-access-level-maintenance = Maintenance
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
- Detective
|
||||
- Armory
|
||||
- Brig
|
||||
- Lawyer
|
||||
- Engineering
|
||||
- Medical
|
||||
- Quartermaster
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
id: Chapel
|
||||
name: id-card-access-level-chapel
|
||||
|
||||
- type: accessLevel
|
||||
id: Lawyer
|
||||
name: id-card-access-level-lawyer
|
||||
|
||||
- type: accessGroup
|
||||
id: Service
|
||||
tags:
|
||||
@@ -37,3 +41,4 @@
|
||||
- Janitor
|
||||
- Theatre
|
||||
- Chapel
|
||||
- Lawyer
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
- Hydroponics
|
||||
- Janitor
|
||||
- Kitchen
|
||||
- Lawyer
|
||||
- Maintenance
|
||||
- Medical
|
||||
- Quartermaster
|
||||
|
||||
@@ -7,6 +7,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Service"]]
|
||||
|
||||
- type: entity
|
||||
parent: Airlock
|
||||
id: AirlockLawyerLocked
|
||||
suffix: Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: Airlock
|
||||
id: AirlockTheatreLocked
|
||||
@@ -127,6 +135,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Kitchen"], ["Hydroponics"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockFreezer
|
||||
id: AirlockFreezerHydroponicsLocked
|
||||
suffix: Hydroponics, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Hydroponics"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockEngineering
|
||||
id: AirlockEngineeringLocked
|
||||
@@ -295,6 +311,16 @@
|
||||
- type: Wires
|
||||
layoutId: AirlockSecurity
|
||||
|
||||
- type: entity
|
||||
parent: AirlockSecurity
|
||||
id: AirlockSecurityLawyerLocked
|
||||
suffix: Security/Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Security"], ["Lawyer"]]
|
||||
- type: Wires
|
||||
layoutId: AirlockSecurity
|
||||
|
||||
- type: entity
|
||||
parent: AirlockSecurity
|
||||
id: AirlockArmoryLocked
|
||||
@@ -330,6 +356,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Service"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockGlass
|
||||
id: AirlockLawyerGlassLocked
|
||||
suffix: Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockGlass
|
||||
id: AirlockBarGlassLocked
|
||||
@@ -442,6 +476,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Salvage"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockChemistryGlass
|
||||
id: AirlockChemistryGlassLocked
|
||||
suffix: Chemistry, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Chemistry"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMedicalGlass
|
||||
id: AirlockMedicalGlassLocked
|
||||
@@ -562,6 +604,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Brig"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockSecurityGlass
|
||||
id: AirlockSecurityLawyerGlassLocked
|
||||
suffix: Security/Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Security"], ["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockSecurityGlass
|
||||
id: AirlockArmoryGlassLocked
|
||||
@@ -691,6 +741,22 @@
|
||||
- type: AccessReader
|
||||
access: [["Janitor"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintLawyerLocked
|
||||
suffix: Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintServiceLocked
|
||||
suffix: Service, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Service"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintTheatreLocked
|
||||
@@ -779,6 +845,46 @@
|
||||
- type: AccessReader
|
||||
access: [["Captain"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintChiefEngineerLocked
|
||||
suffix: ChiefEngineer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["ChiefEngineer"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintChiefMedicalOfficerLocked
|
||||
suffix: ChiefMedicalOfficer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["ChiefMedicalOfficer"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintHeadOfSecurityLocked
|
||||
suffix: HeadOfSecurity, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["HeadOfSecurity"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintResearchDirectorLocked
|
||||
suffix: ResearchDirector, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["ResearchDirector"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockMaint
|
||||
id: AirlockMaintArmoryLocked
|
||||
suffix: Armory, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Armory"]]
|
||||
|
||||
- type: entity
|
||||
parent: AirlockSyndicate
|
||||
id: AirlockSyndicateLocked
|
||||
|
||||
@@ -180,6 +180,16 @@
|
||||
- type: PaintableAirlock
|
||||
group: Glass
|
||||
|
||||
- type: entity
|
||||
parent: AirlockGlass
|
||||
id: AirlockChemistryGlass
|
||||
suffix: Chemistry
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Doors/Airlocks/Glass/medical.rsi
|
||||
- type: PaintableAirlock
|
||||
group: Glass
|
||||
|
||||
- type: entity
|
||||
parent: AirlockGlass
|
||||
id: AirlockMedicalGlass
|
||||
|
||||
@@ -175,6 +175,14 @@
|
||||
- type: AccessReader
|
||||
access: [["Kitchen"]]
|
||||
|
||||
- type: entity
|
||||
parent: WindoorSecureSecurityLocked
|
||||
id: WindoorSecureSecurityLawyerLocked
|
||||
suffix: Security/Lawyer, Locked
|
||||
components:
|
||||
- type: AccessReader
|
||||
access: [["Security"], ["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: WindoorSecure
|
||||
id: WindoorSecureMedicalLocked
|
||||
|
||||
@@ -1454,7 +1454,7 @@
|
||||
- state: panel
|
||||
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||
- type: AccessReader
|
||||
access: [["Brig"]]
|
||||
access: [["Lawyer"]]
|
||||
|
||||
- type: entity
|
||||
parent: VendingMachine
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
icon: "JobIconJanitor"
|
||||
supervisors: job-supervisors-hop
|
||||
access:
|
||||
- Service
|
||||
- Janitor
|
||||
- Maintenance
|
||||
special:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
supervisors: job-supervisors-hop
|
||||
access:
|
||||
- Service
|
||||
- Brig
|
||||
- Lawyer
|
||||
- Maintenance
|
||||
|
||||
- type: startingGear
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
icon: "JobIconLibrarian"
|
||||
supervisors: job-supervisors-hop
|
||||
access:
|
||||
- Service
|
||||
- Maintenance
|
||||
|
||||
- type: startingGear
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
- Salvage
|
||||
- Security
|
||||
- Brig
|
||||
- Lawyer
|
||||
- Cargo
|
||||
- Atmospherics
|
||||
- Medical
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
canBeAntag: false
|
||||
access:
|
||||
- Security
|
||||
- Brig
|
||||
- Armory
|
||||
- Maintenance
|
||||
- Service
|
||||
- Brig
|
||||
- External
|
||||
- Detective
|
||||
special:
|
||||
|
||||
Reference in New Issue
Block a user