From d4b0fc446ac2a411fa9fdf2897f50db5bbb90efc Mon Sep 17 00:00:00 2001 From: Timemaster99 <57200767+Timemaster99@users.noreply.github.com> Date: Sun, 9 Jun 2024 02:23:00 -0400 Subject: [PATCH 1/2] Removed service access from attorney, added sec playtime to prosecutor --- Resources/Prototypes/DeltaV/Roles/Jobs/Justice/prosecutor.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/DeltaV/Roles/Jobs/Justice/prosecutor.yml b/Resources/Prototypes/DeltaV/Roles/Jobs/Justice/prosecutor.yml index b9e0d48bb5a..d98933bd9b5 100644 --- a/Resources/Prototypes/DeltaV/Roles/Jobs/Justice/prosecutor.yml +++ b/Resources/Prototypes/DeltaV/Roles/Jobs/Justice/prosecutor.yml @@ -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 diff --git a/Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml b/Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml index 47c0dd3d896..93c43eaf2ac 100644 --- a/Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml +++ b/Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml @@ -14,7 +14,7 @@ icon: "JobIconLawyer" supervisors: job-supervisors-cj # Delta V - Change supervisor to chief justice access: - - Service + # - Service - DeltaV, removed from service department - Lawyer - Maintenance From 08184c93f827f9c304f798ce3247aef49c8db05d Mon Sep 17 00:00:00 2001 From: Timemaster99 <57200767+Timemaster99@users.noreply.github.com> Date: Mon, 10 Jun 2024 00:32:46 -0400 Subject: [PATCH 2/2] Fixed many bugs --- .../Components/IdCardConsoleComponent.cs | 1 + .../deltav/navmap-beacons/station-beacons.ftl | 1 + .../deltav/prototypes/access/accesses.ftl | 1 + Resources/Prototypes/Access/misc.yml | 1 + .../VendingMachines/Inventories/lawdrobe.yml | 2 +- .../Prototypes/DeltaV/Access/justice.yml | 5 ++++ Resources/Prototypes/DeltaV/Access/misc.yml | 1 + .../Entities/Clothing/Ears/headsets.yml | 2 -- .../Devices/Electronics/door_access.yml | 8 ++++++ .../Objects/Devices/station_beacon.yml | 8 ++++++ .../Structures/Doors/Airlocks/access.yml | 27 +++++++++++++++++++ .../Structures/Doors/Windoors/windoor.yml | 9 +++++++ .../Storage/Closets/Lockers/lockers.yml | 2 +- .../DeltaV/Loadouts/loadout_groups.yml | 2 +- .../DeltaV/Loadouts/role_loadouts.yml | 3 +++ .../Roles/Jobs/Justice/chief_justice.yml | 3 +++ .../DeltaV/Roles/Jobs/Justice/clerk.yml | 1 + .../Prototypes/DeltaV/StatusEffects/job.yml | 2 +- .../Prototypes/DeltaV/radio_channels.yml | 2 +- .../Objects/Tools/access_configurator.yml | 1 + .../Structures/Machines/vending_machines.yml | 2 +- .../Prototypes/Roles/Jobs/Civilian/lawyer.yml | 1 + .../Roles/Jobs/Command/head_of_personnel.yml | 2 +- 23 files changed, 78 insertions(+), 9 deletions(-) diff --git a/Content.Shared/Access/Components/IdCardConsoleComponent.cs b/Content.Shared/Access/Components/IdCardConsoleComponent.cs index a34709807b1..e13540eb6f3 100644 --- a/Content.Shared/Access/Components/IdCardConsoleComponent.cs +++ b/Content.Shared/Access/Components/IdCardConsoleComponent.cs @@ -90,6 +90,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List