From 673a5a49fa9de12a8153306a9878fd8ea193603b Mon Sep 17 00:00:00 2001 From: Killerqu00 Date: Thu, 4 Jul 2024 18:27:41 +0200 Subject: [PATCH] add role timers back according to the draft --- Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml | 6 ++++++ .../Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Command/captain.yml | 6 ++++++ .../Prototypes/Roles/Jobs/Command/head_of_personnel.yml | 3 +++ .../Roles/Jobs/Engineering/atmospheric_technician.yml | 3 +++ .../Prototypes/Roles/Jobs/Engineering/chief_engineer.yml | 6 ++++++ .../Prototypes/Roles/Jobs/Engineering/station_engineer.yml | 3 +++ .../Roles/Jobs/Engineering/technical_assistant.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Medical/chemist.yml | 3 +++ .../Prototypes/Roles/Jobs/Medical/chief_medical_officer.yml | 6 ++++++ Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Science/borg.yml | 3 +++ .../Prototypes/Roles/Jobs/Science/research_director.yml | 6 ++++++ Resources/Prototypes/Roles/Jobs/Science/scientist.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Security/detective.yml | 3 +++ .../Prototypes/Roles/Jobs/Security/head_of_security.yml | 6 ++++++ Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml | 3 +++ .../Prototypes/Roles/Jobs/Security/security_officer.yml | 3 +++ Resources/Prototypes/Roles/Jobs/Security/warden.yml | 3 +++ 20 files changed, 78 insertions(+) diff --git a/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml b/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml index ae0e54e87517..626a0a517c8c 100644 --- a/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml +++ b/Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml @@ -3,6 +3,12 @@ name: job-name-qm description: job-description-qm playTimeTracker: JobQuartermaster + requirements: + - !type:DepartmentTimeRequirement + department: Cargo + time: 18000 #5 hrs + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 10 startingGear: QuartermasterGear icon: "JobIconQuarterMaster" diff --git a/Resources/Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml b/Resources/Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml index 49b87ba13487..e7406f41da99 100644 --- a/Resources/Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml +++ b/Resources/Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml @@ -3,6 +3,9 @@ name: job-name-salvagespec description: job-description-salvagespec playTimeTracker: JobSalvageSpecialist + requirements: + - !type:OverallPlaytimeRequirement + time: 7200 #2 hrs icon: "JobIconShaftMiner" startingGear: SalvageSpecialistGear supervisors: job-supervisors-qm diff --git a/Resources/Prototypes/Roles/Jobs/Command/captain.yml b/Resources/Prototypes/Roles/Jobs/Command/captain.yml index 5c38fa9f5fe1..2dad3a9c9e9b 100644 --- a/Resources/Prototypes/Roles/Jobs/Command/captain.yml +++ b/Resources/Prototypes/Roles/Jobs/Command/captain.yml @@ -3,6 +3,12 @@ name: job-name-captain description: job-description-captain playTimeTracker: JobCaptain + requirements: + - !type:DepartmentTimeRequirement + department: Command + time: 36000 #10 hrs + - !type:OverallPlaytimeRequirement + time: 72000 #20 hrs weight: 20 startingGear: CaptainGear icon: "JobIconCaptain" diff --git a/Resources/Prototypes/Roles/Jobs/Command/head_of_personnel.yml b/Resources/Prototypes/Roles/Jobs/Command/head_of_personnel.yml index db2460dd4f60..b66139647529 100644 --- a/Resources/Prototypes/Roles/Jobs/Command/head_of_personnel.yml +++ b/Resources/Prototypes/Roles/Jobs/Command/head_of_personnel.yml @@ -3,6 +3,9 @@ name: job-name-hop description: job-description-hop playTimeTracker: JobHeadOfPersonnel + requirements: + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 20 startingGear: HoPGear icon: "JobIconHeadOfPersonnel" diff --git a/Resources/Prototypes/Roles/Jobs/Engineering/atmospheric_technician.yml b/Resources/Prototypes/Roles/Jobs/Engineering/atmospheric_technician.yml index 76817826f138..13476642ae44 100644 --- a/Resources/Prototypes/Roles/Jobs/Engineering/atmospheric_technician.yml +++ b/Resources/Prototypes/Roles/Jobs/Engineering/atmospheric_technician.yml @@ -3,6 +3,9 @@ name: job-name-atmostech description: job-description-atmostech playTimeTracker: JobAtmosphericTechnician + requirements: + - !type:OverallPlaytimeRequirement + time: 7200 #2 hrs startingGear: AtmosphericTechnicianGear icon: "JobIconAtmosphericTechnician" supervisors: job-supervisors-ce diff --git a/Resources/Prototypes/Roles/Jobs/Engineering/chief_engineer.yml b/Resources/Prototypes/Roles/Jobs/Engineering/chief_engineer.yml index 1ab8ca49bc8d..bce86eeaf593 100644 --- a/Resources/Prototypes/Roles/Jobs/Engineering/chief_engineer.yml +++ b/Resources/Prototypes/Roles/Jobs/Engineering/chief_engineer.yml @@ -3,6 +3,12 @@ name: job-name-ce description: job-description-ce playTimeTracker: JobChiefEngineer + requirements: + - !type:DepartmentTimeRequirement + department: Engineering + time: 32400 #9 hrs + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 10 startingGear: ChiefEngineerGear icon: "JobIconChiefEngineer" diff --git a/Resources/Prototypes/Roles/Jobs/Engineering/station_engineer.yml b/Resources/Prototypes/Roles/Jobs/Engineering/station_engineer.yml index 9f105c2146cc..6db97493f1e1 100644 --- a/Resources/Prototypes/Roles/Jobs/Engineering/station_engineer.yml +++ b/Resources/Prototypes/Roles/Jobs/Engineering/station_engineer.yml @@ -3,6 +3,9 @@ name: job-name-engineer description: job-description-engineer playTimeTracker: JobStationEngineer + requirements: + - !type:OverallPlaytimeRequirement + time: 5400 #1.5 hrs startingGear: StationEngineerGear icon: "JobIconStationEngineer" supervisors: job-supervisors-ce diff --git a/Resources/Prototypes/Roles/Jobs/Engineering/technical_assistant.yml b/Resources/Prototypes/Roles/Jobs/Engineering/technical_assistant.yml index 29042911d36c..cc1ccd1905b6 100644 --- a/Resources/Prototypes/Roles/Jobs/Engineering/technical_assistant.yml +++ b/Resources/Prototypes/Roles/Jobs/Engineering/technical_assistant.yml @@ -3,6 +3,9 @@ name: job-name-technical-assistant description: job-description-technical-assistant playTimeTracker: JobTechnicalAssistant + requirements: + - !type:OverallPlaytimeRequirement + time: 3600 #1 hrs, often picked by raiders startingGear: TechnicalAssistantGear icon: "JobIconTechnicalAssistant" supervisors: job-supervisors-engineering diff --git a/Resources/Prototypes/Roles/Jobs/Medical/chemist.yml b/Resources/Prototypes/Roles/Jobs/Medical/chemist.yml index 9143130fa2b2..631f698a2215 100644 --- a/Resources/Prototypes/Roles/Jobs/Medical/chemist.yml +++ b/Resources/Prototypes/Roles/Jobs/Medical/chemist.yml @@ -3,6 +3,9 @@ name: job-name-chemist description: job-description-chemist playTimeTracker: JobChemist + requirements: + - !type:OverallPlaytimeRequirement + time: 5400 #1.5 hrs startingGear: ChemistGear icon: "JobIconChemist" supervisors: job-supervisors-cmo diff --git a/Resources/Prototypes/Roles/Jobs/Medical/chief_medical_officer.yml b/Resources/Prototypes/Roles/Jobs/Medical/chief_medical_officer.yml index ff4124203f38..11a4cddcb45e 100644 --- a/Resources/Prototypes/Roles/Jobs/Medical/chief_medical_officer.yml +++ b/Resources/Prototypes/Roles/Jobs/Medical/chief_medical_officer.yml @@ -5,6 +5,12 @@ name: job-name-cmo description: job-description-cmo playTimeTracker: JobChiefMedicalOfficer + requirements: + - !type:DepartmentTimeRequirement + department: Medical + time: 18000 #5 hrs + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 10 startingGear: CMOGear icon: "JobIconChiefMedicalOfficer" diff --git a/Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml b/Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml index a14c65ac1708..4b3cf6bc0b84 100644 --- a/Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml +++ b/Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml @@ -3,6 +3,9 @@ name: job-name-doctor description: job-description-doctor playTimeTracker: JobMedicalDoctor + requirements: + - !type:OverallPlaytimeRequirement + time: 3600 #1 hrs startingGear: DoctorGear icon: "JobIconMedicalDoctor" supervisors: job-supervisors-cmo diff --git a/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml b/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml index 4acfdb027103..5a46564f5791 100644 --- a/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml +++ b/Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml @@ -3,6 +3,9 @@ name: job-name-paramedic description: job-description-paramedic playTimeTracker: JobParamedic + requirements: + - !type:OverallPlaytimeRequirement + time: 3600 #1 hrs startingGear: ParamedicGear icon: "JobIconParamedic" supervisors: job-supervisors-cmo diff --git a/Resources/Prototypes/Roles/Jobs/Science/borg.yml b/Resources/Prototypes/Roles/Jobs/Science/borg.yml index 872c65cbe241..8311e6a72fcb 100644 --- a/Resources/Prototypes/Roles/Jobs/Science/borg.yml +++ b/Resources/Prototypes/Roles/Jobs/Science/borg.yml @@ -3,6 +3,9 @@ name: job-name-borg description: job-description-borg playTimeTracker: JobBorg + requirements: + - !type:OverallPlaytimeRequirement + time: 7200 #2 hrs canBeAntag: false icon: JobIconBorg supervisors: job-supervisors-rd diff --git a/Resources/Prototypes/Roles/Jobs/Science/research_director.yml b/Resources/Prototypes/Roles/Jobs/Science/research_director.yml index 7255e0abf843..93ccdbae0daa 100644 --- a/Resources/Prototypes/Roles/Jobs/Science/research_director.yml +++ b/Resources/Prototypes/Roles/Jobs/Science/research_director.yml @@ -3,6 +3,12 @@ name: job-name-rd description: job-description-rd playTimeTracker: JobResearchDirector + requirements: + - !type:DepartmentTimeRequirement + department: Science + time: 18000 #5 hrs + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 10 startingGear: ResearchDirectorGear icon: "JobIconResearchDirector" diff --git a/Resources/Prototypes/Roles/Jobs/Science/scientist.yml b/Resources/Prototypes/Roles/Jobs/Science/scientist.yml index 061b367441d2..47ecc3b3c417 100644 --- a/Resources/Prototypes/Roles/Jobs/Science/scientist.yml +++ b/Resources/Prototypes/Roles/Jobs/Science/scientist.yml @@ -3,6 +3,9 @@ name: job-name-scientist description: job-description-scientist playTimeTracker: JobScientist + requirements: + - !type:OverallPlaytimeRequirement + time: 3600 #1 hrs startingGear: ScientistGear icon: "JobIconScientist" supervisors: job-supervisors-rd diff --git a/Resources/Prototypes/Roles/Jobs/Security/detective.yml b/Resources/Prototypes/Roles/Jobs/Security/detective.yml index 5003a9aedae1..f8418bbd7846 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/detective.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/detective.yml @@ -3,6 +3,9 @@ name: job-name-detective description: job-description-detective playTimeTracker: JobDetective + requirements: + - !type:OverallPlaytimeRequirement + time: 7200 #2 hrs startingGear: DetectiveGear icon: "JobIconDetective" supervisors: job-supervisors-hos diff --git a/Resources/Prototypes/Roles/Jobs/Security/head_of_security.yml b/Resources/Prototypes/Roles/Jobs/Security/head_of_security.yml index baa837844dff..234bc368a000 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/head_of_security.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/head_of_security.yml @@ -3,6 +3,12 @@ name: job-name-hos description: job-description-hos playTimeTracker: JobHeadOfSecurity + requirements: + - !type:DepartmentTimeRequirement + department: Security + time: 32400 #9 hrs + - !type:OverallPlaytimeRequirement + time: 36000 #10 hrs weight: 10 startingGear: HoSGear icon: "JobIconHeadOfSecurity" diff --git a/Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml b/Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml index 5cc320be5f4e..588325e13bd7 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml @@ -3,6 +3,9 @@ name: job-name-cadet description: job-description-cadet playTimeTracker: JobSecurityCadet + requirements: + - !type:OverallPlaytimeRequirement + time: 3600 #1 hrs startingGear: SecurityCadetGear icon: "JobIconSecurityCadet" supervisors: job-supervisors-security diff --git a/Resources/Prototypes/Roles/Jobs/Security/security_officer.yml b/Resources/Prototypes/Roles/Jobs/Security/security_officer.yml index cd70deab658c..24ec907d27d8 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/security_officer.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/security_officer.yml @@ -3,6 +3,9 @@ name: job-name-security description: job-description-security playTimeTracker: JobSecurityOfficer + requirements: + - !type:OverallPlaytimeRequirement + time: 7200 #2 hrs startingGear: SecurityOfficerGear icon: "JobIconSecurityOfficer" supervisors: job-supervisors-hos diff --git a/Resources/Prototypes/Roles/Jobs/Security/warden.yml b/Resources/Prototypes/Roles/Jobs/Security/warden.yml index e08618cc4b1f..ac4dd5d22080 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/warden.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/warden.yml @@ -3,6 +3,9 @@ name: job-name-warden description: job-description-warden playTimeTracker: JobWarden + requirements: + - !type:OverallPlaytimeRequirement + time: 18000 #5 hrs startingGear: WardenGear icon: "JobIconWarden" supervisors: job-supervisors-hos