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:
Velcroboy
2023-11-16 16:20:48 -06:00
committed by GitHub
parent 00d7b35903
commit 86f1977a64
14 changed files with 140 additions and 6 deletions

View File

@@ -38,6 +38,7 @@
- Hydroponics
- Janitor
- Kitchen
- Lawyer
- Maintenance
- Medical
- Quartermaster

View File

@@ -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

View File

@@ -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
@@ -240,4 +250,4 @@
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi
- type: PaintableAirlock
group: Glass
group: Glass

View File

@@ -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

View File

@@ -1454,7 +1454,7 @@
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: AccessReader
access: [["Brig"]]
access: [["Lawyer"]]
- type: entity
parent: VendingMachine