Justice patch 06/09/2024 (#1340)

* Removed service access from attorney, added sec playtime to prosecutor

* Fixed many bugs
This commit is contained in:
Timemaster99 2024-06-10 06:17:38 -04:00 committed by GitHub
parent 6eb6c276fa
commit 4455e1ec30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
24 changed files with 82 additions and 10 deletions

View File

@ -90,6 +90,7 @@ public sealed partial class IdCardConsoleComponent : Component
"ChiefJustice", // DeltaV - Add Chief Justice access
"Justice", // DeltaV - Add Justice access
"Prosecutor", // Delta V - Add Prosecutor access
"Clerk", // Delta V - Add Clerk access
};
[Serializable, NetSerializable]

View File

@ -34,3 +34,4 @@ station-beacon-corpsman = Corpsman
station-beacon-justice = Justice
station-beacon-chiefjustice = Chief Justice
station-beacon-prosecutor = Prosecutor
station-beacon-clerk = Clerk

View File

@ -2,5 +2,6 @@ id-card-access-level-orders = Orders
id-card-access-level-mantis = Psionic Mantis
id-card-access-level-chief-justice = Chief Justice
id-card-access-level-prosecutor = Prosecutor
id-card-access-level-clerk = Clerk
id-card-access-level-justice = Justice
id-card-access-level-corpsman = Corpsman

View File

@ -47,4 +47,5 @@
- Justice # DeltaV - Add Justice dept access
- ChiefJustice # DeltaV - Add Chief Justice access
- Prosecutor # DeltaV - Add Prosecutor access
- Clerk # DeltaV - Add Clerk access
- Corpsman # DeltaV - Add Corpsman access

View File

@ -12,7 +12,7 @@
ClothingUniformJumpsuitLawyerGood: 1
ClothingUniformJumpskirtLawyerGood: 1
ClothingShoesBootsLaceup: 2
ClothingHeadsetService: 2
ClothingHeadsetJustice: 2 # DeltaV - Justice dept
ClothingNeckLawyerbadge: 2
BriefcaseBrown: 2
LuxuryPen: 2

View File

@ -9,12 +9,17 @@
- type: accessLevel
id: Prosecutor
name: id-card-access-level-prosecutor
- type: accessLevel
id: Clerk
name: id-card-access-level-clerk
- type: accessGroup
id: Justice
tags:
- Justice
- Prosecutor
- Clerk
- ChiefJustice
- Lawyer

View File

@ -49,4 +49,5 @@
- Zookeeper
- Justice
- Prosecutor
- Clerk

View File

@ -53,7 +53,6 @@
containers:
key_slots:
- EncryptionKeyJustice
- EncryptionKeyPrison
- EncryptionKeySecurity
- EncryptionKeyCommon
- type: Sprite
@ -72,7 +71,6 @@
containers:
key_slots:
- EncryptionKeyJustice
- EncryptionKeyPrison
- EncryptionKeySecurity
- EncryptionKeyCommon
- EncryptionKeyCommand

View File

@ -117,3 +117,11 @@
components:
- type: AccessReader
access: [["Prosecutor"]]
- type: entity
parent: DoorElectronics
id: DoorElectronicsClerk
suffix: Clerk, Locked
components:
- type: AccessReader
access: [["Clerk"]]

View File

@ -160,3 +160,11 @@
components:
- type: NavMapBeacon
defaultText: station-beacon-prosecutor
- type: entity
parent: DefaultStationBeaconJustice
id: DefaultStationBeaconClerk
suffix: Clerk
components:
- type: NavMapBeacon
defaultText: station-beacon-clerk

View File

@ -71,6 +71,24 @@
containers:
board: [ DoorElectronicsProsecutor ]
- type: entity
parent: AirlockJustice
id: AirlockClerkLocked
suffix: Clerk, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsClerk ]
- type: entity
parent: AirlockJusticeGlass
id: AirlockClerkGlassLocked
suffix: Clerk, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsClerk ]
# Maintenance
- type: entity
parent: AirlockMaint
@ -99,6 +117,15 @@
containers:
board: [ DoorElectronicsProsecutor ]
- type: entity
parent: AirlockMaint
id: AirlockMaintClerkLocked
suffix: Clerk, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsClerk ]
- type: entity
parent: AirlockSecurity
id: AirlockCorpsmanLocked

View File

@ -51,6 +51,15 @@
- type: ContainerFill
containers:
board: [ DoorElectronicsProsecutor ]
- type: entity
parent: WindoorSecure
id: WindoorSecureClerkLocked
suffix: Clerk, Locked
components:
- type: ContainerFill
containers:
board: [ DoorElectronicsClerk ]
- type: entity
parent: WindoorSecure

View File

@ -22,4 +22,4 @@
stateDoorOpen: clerk_open
stateDoorClosed: clerk_door
- type: AccessReader
access: [["Justice"]]
access: [["Clerk"]]

View File

@ -173,7 +173,7 @@
- type: loadoutGroup
id: ProsecutorNeck
name: loadout-group-prosecutor-jumpsuit
name: loadout-group-prosecutor-neck
minLimit: 0
loadouts:
- ProsecutorNeck

View File

@ -34,6 +34,7 @@
- ChiefJusticeOuterClothing
- CommonBackpack
- ChiefJusticeShoes
- Glasses
- Trinkets
- type: roleLoadout
@ -44,6 +45,7 @@
- ClerkOuterClothing
- CommonBackpack
- ClerkShoes
- Glasses
- Trinkets
- type: roleLoadout
@ -52,4 +54,5 @@
- ProsecutorJumpsuit
- ProsecutorNeck
- LawyerBackpack
- Glasses
- Trinkets

View File

@ -26,6 +26,9 @@
- Command
- ChiefJustice
- Justice
- Lawyer
- Prosecutor
- Clerk
- Security
- Maintenance
- External

View File

@ -20,6 +20,7 @@
canBeAntag: false
access:
- Justice
- Clerk
- Security
- Maintenance

View File

@ -6,6 +6,9 @@
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 # 10 hrs
- !type:DepartmentTimeRequirement # DeltaV - Security dept time requirement
department: Security
time: 21600 # 6 hours
startingGear: ProsecutorGear
icon: "JobIconProsecutor"
supervisors: job-supervisors-cj

View File

@ -24,4 +24,4 @@
id: JobIconProsecutor
icon:
sprite: /Textures/DeltaV/Interface/Misc/job_icons.rsi
state: Prosecutor #need prosecutor
state: Prosecutor

View File

@ -3,7 +3,7 @@
name: chat-radio-justice
keycode: "j"
frequency: 1420
color: "#701442"
color: "#c70667"
- type: radioChannel
id: Prison

View File

@ -63,6 +63,7 @@
- ChiefJustice #Delta V: Add Chief Justice Access
- Prosecutor #Delta V: Add Prosecutor Access
- Justice #Delta V: Add Justice Access
- Clerk #Delta V: Add Clerk Access
privilegedIdSlot:
name: id-card-console-privileged-id
ejectSound: /Audio/Machines/id_swipe.ogg

View File

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

View File

@ -14,7 +14,8 @@
icon: "JobIconLawyer"
supervisors: job-supervisors-cj # Delta V - Change supervisor to chief justice
access:
- Service
# - Service - DeltaV, removed from service department
- Justice # DeltaV - Justice dept
- Lawyer
- Maintenance

View File

@ -49,7 +49,7 @@
# - Salvage
# - Security # NoooOoOo!! My HoPcurity!1
# - Brig
- Lawyer
# - Lawyer # Lawyer is now part of the justice dept
# - Cargo
# - Atmospherics
# - Medical