Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Corspman Access & Airlocks #892

Merged
merged 6 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<string> acc
"ChiefEngineer",
"ChiefMedicalOfficer",
"Clown", // DeltaV - Add Clown access
"Corpsman", // DeltaV - Add Corpsman access
"Command",
"Cryogenics",
"Engineering",
Expand All @@ -67,7 +68,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<string> acc
"Janitor",
"Kitchen",
"Lawyer",
"Library", // DeltaV - Add Library access
"Library", // DeltaV - Add Library access
"Maintenance",
"Medical",
"Mime", // DeltaV - Add Mime access
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
id-card-access-level-orders = Orders
id-card-access-level-mantis = Psionic Mantis
id-card-access-level-corpsman = Corpsman
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@
- Musician # DeltaV - Add Musician access
- Reporter # DeltaV - Add Reporter access
- Zookeeper # DeltaV - Add Zookeeper access
- Corpsman # DeltaV - Add Corpsman access
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#- Brig #Delta V removed
- Detective
- Cryogenics
- Corpsman # DeltaV - add Corpsman access

- type: accessGroup
id: Armory
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/suit_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@
- id: OxygenTankFilled
- id: ClothingOuterHardsuitCombatCorpsman
- id: ClothingMaskBreath
- type: AccessReader
access: [ [ "Corpsman" ] ]

# DeltaV - End Changes

Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/DeltaV/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Command
- Security
- Detective
- Corpsman
# - Armory
- Lawyer
- Engineering
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/DeltaV/Access/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- type: accessLevel
id: Corpsman
name: id-card-access-level-corpsman
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,19 @@
components:
- type: AccessReader
access: [["Mantis"]]

- type: entity
parent: AirlockSecurity
id: AirlockCorpsmanLocked
suffix: Corpsman, Locked
components:
- type: AccessReader
access: [["Corpsman"]]

- type: entity
parent: AirlockSecurityGlass
id: AirlockCorpsmanGlassLocked
suffix: Corpsman, Locked
components:
- type: AccessReader
access: [["Corpsman"]]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#- Brig #Delta V: Removed brig access
- Maintenance
- External
- Corpsman
extendedAccess:
- Chemistry
special:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- ChiefEngineer
- ChiefMedicalOfficer
- Clown #Delta V: Add Clown Access
- Corpsman # DeltaV: Add Corpsman access
- Command
- Engineering
- External
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
stateDoorOpen: armory_open
stateDoorClosed: brigmedic_door
- type: AccessReader
access: [["Medical"]]
access: [["Corpsman"]] # DeltaV - add corpsman access

# Security Officer
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- Service
- External
- Detective
- Corpsman # DeltaV - added Corpsman access
- Cryogenics
special:
- !type:AddImplantSpecial
Expand Down
Loading