Skip to content

Commit

Permalink
Add Corspman Access & Airlocks (#65)
Browse files Browse the repository at this point in the history
## Mirror of PR #892: [Add Corspman Access &
Airlocks](DeltaV-Station/Delta-v#892) from <img
src="https://avatars.githubusercontent.com/u/131613340?v=4"
alt="DeltaV-Station" width="22"/>
[DeltaV-Station](https://github.com/DeltaV-Station)/[Delta-v](https://github.com/DeltaV-Station/Delta-v)

<aside>PR opened by <img
src="https://avatars.githubusercontent.com/u/52761126?v=4"
width="16"/><a href="https://github.com/rosieposieeee">
rosieposieeee</a> at 2024-02-23 18:21:40 UTC</aside>
<aside>PR merged by <img
src="https://avatars.githubusercontent.com/u/52761126?v=4"
width="16"/><a href="https://github.com/rosieposieeee">
rosieposieeee</a> at 2024-03-19 12:13:13 UTC</aside>
<sup>

`304fdcd35659c4bdcb17561d093d16b52b172b2e`

</sup>

---

PR changed 0 files with 0 additions and 0 deletions.

The PR had the following labels:
- Changes: YML
- Status: Needs Review
- Changes: C#
- Changes: Localization


---

<details open="true"><summary><h1>Original Body</h1></summary>

> <!-- Please read these guidelines before opening your PR:
https://docs.spacestation14.io/en/getting-started/pr-guideline -->
> <!-- The text between the arrows are comments - they will not be
visible on your PR. -->
> 
> ## About the PR
> <!-- What did you change in this PR? -->
> 
> <img width="524" alt="Content Client_AQ40yzRyFY"
src="https://github.com/DeltaV-Station/Delta-v/assets/52761126/eb18fc39-4cba-4d4d-8ea5-25c5aedb1e34">
> 
> 
> """Corpsman""" access previously was just medical access on their
locker (lol!) and NO access on their suit locker (LOL)
> 
> Tested and works. HoS was given the access too. Warden left out.
> 
> **Changelog**
> 🆑
> - add: Added Corpsman-only access and airlocks.
> 


</details>

Co-authored-by: rosieposie <[email protected]>
  • Loading branch information
SimpleStation14 and rosieposieeee authored Apr 8, 2024
1 parent 81bc8be commit 56e7e8e
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Content.Shared/Access/Components/IdCardConsoleComponent.cs
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

0 comments on commit 56e7e8e

Please sign in to comment.