Skip to content
  •  
  •  
  •  
27 changes: 26 additions & 1 deletion Content.Shared/Access/Components/IdCardConsoleComponent.cs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put all of these accesses in one block at the bottom. The list will be getting sorted, so we don't need to worry about it being in alphabetic order. This will save us from having a billion // DeltaV comments.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheque mark

Original file line number Diff line number Diff line change
Expand Up @@ -42,38 +42,63 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<ProtoId<Acc
[DataField, AutoNetworkedField]
public List<ProtoId<AccessLevelPrototype>> AccessLevels = new()
{
// DeltaV note: make sure any additions to this list are also added to both:
// 1. AllAccess in Resources\Prototypes\Access\misc.yml
// 2. ComputerIdAdmeme in Resources\Prototypes\_DV\Entities\Structures\Machines\computers.yml
"Armory",
"Atmospherics",
"Bar",
"Brig",
//"Brig" Delta V - Removed Brig Access
"Boxer", // DeltaV - Add Boxer access
"Detective",
"Captain",
"Cargo",
"Chapel",
"Chemistry",
"ChiefEngineer",
"ChiefJustice", // DeltaV - Add Chief Justice access
"ChiefMedicalOfficer",
"Clerk", // Delta V - Add Clerk access
"Clown", // DeltaV - Add Clown access
"Corpsman", // DeltaV - Add Corpsman access
"Command",
"Cryogenics",
"EmergencyShuttleRepealAll", // DeltaV - fix mismatch with Access/misc.yml
"Engineering",
"External",
"Funding", // DeltaV - Add Funding access
"GenpopEnter",
"GenpopLeave",
"HeadOfPersonnel",
"HeadOfSecurity",
"Hydroponics",
"Janitor",
"Justice", // DeltaV - Add Justice access
"Kitchen",
"Lawyer",
"Library", // DeltaV - Add Library access
// TODO: RE-ENABLE MAIL
// "Mail", // DeltaV - Mail, see Resources/Prototypes/Nyanotrasen/Access/cargo.yml
"Maintenance",
"Mantis", // DeltaV - Psionic Mantis, see Resources/Prototypes/_DV/Access/epistemics.yml
"Medical",
"Mime", // DeltaV - Add Mime access
"Musician", // DeltaV - Add Musician access
"Orders", // DeltaV - Orders, see Resources/Prototypes/_DV/Access/cargo.yml
"Paramedic", // DeltaV - Add Paramedic access
"Prosecutor", // Delta V - Add Prosecutor access
"Psychologist", // DeltaV - Add Psychologist access
"Quartermaster",
"Reporter", // DeltaV - Add Reporter access
"Research",
"ResearchDirector",
"Robotics", // DeltaV
"Salvage",
"Security",
"Service",
"Surgery", // Delta V - Add Surgery access
"Theatre",
"Zookeeper", // DeltaV - Add Zookeeper access
};

[Serializable, NetSerializable]
Expand Down
28 changes: 27 additions & 1 deletion Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
- type: accessGroup
id: AllAccess
tags:
# DeltaV note: make sure any additions to this list are also added to both:
# 1. AccessLevels in Content.Shared\Access\Components\IdCardConsoleComponent.cs
# 2. ComputerIdAdmeme in Resources\Prototypes\_DV\Entities\Structures\Machines\computers.yml
- EmergencyShuttleRepealAll
- Captain
- HeadOfPersonnel
Expand All @@ -13,7 +16,7 @@
- Security
- Detective
- Armory
- Brig
# - Brig # DeltaV remove brig
- Lawyer
- Engineering
- Medical
Expand All @@ -34,6 +37,29 @@
- Atmospherics
- GenpopEnter
- GenpopLeave
# Begin DeltaV Additions
# TODO: Re-enable mail access
# - Mail
- Orders
- Mantis
- Paramedic
- Psychologist
- Boxer
- Clown
- Library
- Mime
- Musician
- Reporter
- Zookeeper
- Justice
- ChiefJustice
- Prosecutor
- Clerk
- Corpsman
- Robotics
- Surgery
- Funding
# End DeltaV Additions

- type: accessGroup
id: General
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
suffix: Freezer
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/freezer.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/freezer.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockService

Expand All @@ -14,7 +14,7 @@
suffix: Engineering
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/engineering.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/engineering.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockEngineering

Expand All @@ -24,15 +24,15 @@
suffix: Atmospherics
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/atmospherics.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/atmospherics.rsi # DeltaV - Resprite Doors

- type: entity
parent: Airlock
id: AirlockCargo
suffix: Cargo
suffix: Logistics # DeltaV - Logi replaces Cargo
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/cargo.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/cargo.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockCargo

Expand All @@ -42,7 +42,7 @@
suffix: Salvage
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/salvage.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/salvage.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockCargo

Expand All @@ -52,7 +52,7 @@
suffix: Hydroponics
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/hydroponics.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/hydroponics.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockService

Expand All @@ -62,7 +62,7 @@
suffix: Medical
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/medical.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/medical.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockMedical

Expand All @@ -72,23 +72,23 @@
suffix: Virology
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/virology.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/virology.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockMedical
id: AirlockChemistry
suffix: Chemistry
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/chemistry.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/chemistry.rsi # DeltaV - Resprite Doors

- type: entity
parent: Airlock
id: AirlockScience
suffix: Science
suffix: Epistemics # DeltaV - Epi replaces science
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/science.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/science.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockScience

Expand All @@ -98,7 +98,7 @@
suffix: Command
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/command.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/command.rsi # DeltaV - Resprite Doors
- type: WiresPanelSecurity
securityLevel: medSecurity
- type: Wires
Expand All @@ -110,7 +110,7 @@
suffix: Security
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/security.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/security.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockSecurity

Expand All @@ -120,15 +120,15 @@
name: maintenance access
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/maint.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/maint.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockSecurity # if you get syndie door somehow it counts as sec
id: AirlockSyndicate
suffix: Syndicate
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/syndicate.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/syndicate.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockCargo
Expand All @@ -148,7 +148,7 @@
suffix: Central Command
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Standard/centcomm.rsi
sprite: _DVA/Structures/Doors/Airlocks/Standard/centcomm.rsi # DeltaV - Resprite Doors

- type: entity
parent: Airlock
Expand Down Expand Up @@ -196,7 +196,7 @@
suffix: Engineering
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/engineering.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/engineering.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockEngineering

Expand All @@ -206,23 +206,23 @@
suffix: Maintenance
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/maint.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/maint.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockEngineeringGlass
id: AirlockAtmosphericsGlass
suffix: Atmospherics
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/atmospherics.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/atmospherics.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockGlass
id: AirlockCargoGlass
suffix: Cargo
suffix: Logistics # DeltaV - Logi replaces Cargo
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/cargo.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/cargo.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockCargo

Expand All @@ -232,7 +232,7 @@
suffix: Salvage
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/salvage.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/salvage.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockCargo

Expand All @@ -242,7 +242,7 @@
suffix: Hydroponics
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/hydroponics.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/hydroponics.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockService

Expand All @@ -252,7 +252,7 @@
suffix: Medical
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/medical.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/medical.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockMedical

Expand All @@ -262,23 +262,23 @@
suffix: Chemistry
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/chemistry.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/chemistry.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockMedicalGlass
id: AirlockVirologyGlass
suffix: Virology
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/virology.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/virology.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockGlass
id: AirlockScienceGlass
suffix: Science
suffix: Epistemics # DeltaV - Epi replaces science
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/science.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/science.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockScience

Expand All @@ -288,7 +288,7 @@
suffix: Command
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/command.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/command.rsi # DeltaV - Resprite Doors
- type: WiresPanelSecurity
securityLevel: medSecurity
- type: Wires
Expand All @@ -300,7 +300,7 @@
suffix: Security
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/security.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/security.rsi # DeltaV - Resprite Doors
- type: Wires
layoutId: AirlockSecurity

Expand All @@ -310,7 +310,7 @@
suffix: Syndicate
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/syndicate.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/syndicate.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockCargoGlass
Expand All @@ -328,7 +328,7 @@
suffix: Central Command
components:
- type: Sprite
sprite: Structures/Doors/Airlocks/Glass/centcomm.rsi
sprite: _DVA/Structures/Doors/Airlocks/Glass/centcomm.rsi # DeltaV - Resprite Doors

- type: entity
parent: AirlockGlass
Expand Down
Loading
Loading