Skip to content

Commit

Permalink
Merge pull request #30 from ss14-harmony/timerRevamp
Browse files Browse the repository at this point in the history
Set role timers for sensitive roles to 3 hours and Captain 3 hours of…
  • Loading branch information
KeldWolf authored Sep 7, 2024
2 parents 0a37aeb + d8c3fb4 commit d5cf8a0
Show file tree
Hide file tree
Showing 19 changed files with 44 additions and 45 deletions.
8 changes: 4 additions & 4 deletions Resources/Prototypes/Roles/Jobs/Cargo/quartermaster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
requirements:
- !type:RoleTimeRequirement
role: JobCargoTechnician
time: 21600 #6 hrs
time: 0 #0 hrs
- !type:RoleTimeRequirement
role: JobSalvageSpecialist
time: 10800 #3 hrs
time: 0 #0 hrs
- !type:DepartmentTimeRequirement
department: Cargo
time: 36000 #10 hours
time: 10800 #3 hours
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 10800 #3 hrs
- !type:AgeRequirement
requiredAge: 21
weight: 10
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/Cargo/salvage_specialist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
requirements:
- !type:DepartmentTimeRequirement
department: Cargo
time: 10800 # 3 hrs
time: 0 # 3 hrs
- !type:OverallPlaytimeRequirement
time: 36000 #10 hrs
time: 0 #10 hrs
icon: "JobIconShaftMiner"
startingGear: SalvageSpecialistGear
supervisors: job-supervisors-qm
Expand Down
8 changes: 4 additions & 4 deletions Resources/Prototypes/Roles/Jobs/Command/captain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
requirements:
- !type:DepartmentTimeRequirement
department: Engineering
time: 54000 # 15 hours
time: 0 # 15 hours
- !type:DepartmentTimeRequirement
department: Medical
time: 54000 # 15 hours
time: 0 # 15 hours
- !type:DepartmentTimeRequirement
department: Security
time: 54000 # 15 hours
time: 0 # 15 hours
- !type:DepartmentTimeRequirement
department: Command
time: 54000 # 15 hours
time: 10800 # 15 hours
- !type:AgeRequirement
requiredAge: 21
weight: 20
Expand Down
8 changes: 4 additions & 4 deletions Resources/Prototypes/Roles/Jobs/Command/head_of_personnel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
requirements:
- !type:DepartmentTimeRequirement
department: Engineering
time: 36000 # 10 hours
time: 0 # 10 hours
- !type:DepartmentTimeRequirement
department: Medical
time: 36000 # 10 hours
time: 0 # 10 hours
- !type:DepartmentTimeRequirement
department: Security
time: 36000 # 10 hrs
time: 0 # 10 hrs
- !type:DepartmentTimeRequirement
department: Command
time: 36000 # 10 hours
time: 10800 # 10 hours
- !type:AgeRequirement
requiredAge: 21
weight: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Engineering
time: 54000 # 15 hrs
time: 0 # 15 hrs
startingGear: AtmosphericTechnicianGear
icon: "JobIconAtmosphericTechnician"
supervisors: job-supervisors-ce
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
requirements:
- !type:RoleTimeRequirement
role: JobAtmosphericTechnician
time: 21600 #6 hrs
time: 0 #6 hrs
- !type:RoleTimeRequirement
role: JobStationEngineer
time: 21600 #6 hrs
time: 0 #6 hrs
- !type:DepartmentTimeRequirement
department: Engineering
time: 36000 #10 hrs
time: 10800 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 10800 #40 hrs
- !type:AgeRequirement
requiredAge: 21
weight: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Engineering
time: 14400 #4 hrs
time: 0 #4 hrs
startingGear: StationEngineerGear
icon: "JobIconStationEngineer"
supervisors: job-supervisors-ce
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Roles/Jobs/Medical/chemist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Medical
time: 14400 #4 hrs
time: 0 #4 hrs
startingGear: ChemistGear
icon: "JobIconChemist"
supervisors: job-supervisors-cmo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
requirements:
- !type:RoleTimeRequirement
role: JobChemist
time: 10800 #3 hrs
time: 0 #3 hrs
- !type:RoleTimeRequirement
role: JobMedicalDoctor
time: 21600 #6 hrs
time: 0 #6 hrs
- !type:DepartmentTimeRequirement
department: Medical
time: 36000 #10 hrs
time: 10800 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 10800 #40 hrs
- !type:AgeRequirement
requiredAge: 21
weight: 10
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Roles/Jobs/Medical/medical_doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Medical
time: 14400 #4 hrs
time: 0 #4 hrs
startingGear: DoctorGear
icon: "JobIconMedicalDoctor"
supervisors: job-supervisors-cmo
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/Medical/paramedic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
requirements:
- !type:RoleTimeRequirement
role: JobMedicalDoctor
time: 14400 #4 hrs
time: 0 #4 hrs
- !type:OverallPlaytimeRequirement
time: 54000 # 15 hrs
time: 0 # 15 hrs
startingGear: ParamedicGear
icon: "JobIconParamedic"
supervisors: job-supervisors-cmo
Expand Down
7 changes: 3 additions & 4 deletions Resources/Prototypes/Roles/Jobs/Science/borg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
description: job-description-station-ai
playTimeTracker: JobStationAi
requirements:
- !type:RoleTimeRequirement
role: JobBorg
time: 18000 # 5 hrs
- !type:OverallPlaytimeRequirement
time: 10800 # 3 hrs
canBeAntag: false
icon: JobIconStationAi
supervisors: job-supervisors-rd
Expand All @@ -20,7 +19,7 @@
playTimeTracker: JobBorg
requirements:
- !type:OverallPlaytimeRequirement
time: 216000 # 60 hrs
time: 0 # 60 hrs
canBeAntag: false
icon: JobIconBorg
supervisors: job-supervisors-rd
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/Science/research_director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
requirements:
- !type:DepartmentTimeRequirement
department: Science
time: 36000 #10 hrs
time: 10800 #10 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 10800 #40 hrs
- !type:AgeRequirement
requiredAge: 21
weight: 10
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Roles/Jobs/Science/scientist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Science
time: 14400 #4 hrs
time: 0 #4 hrs
startingGear: ScientistGear
icon: "JobIconScientist"
supervisors: job-supervisors-rd
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Roles/Jobs/Security/detective.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 54000 # 15 hours
time: 0 # 15 hours
startingGear: DetectiveGear
icon: "JobIconDetective"
supervisors: job-supervisors-hos
Expand Down
8 changes: 4 additions & 4 deletions Resources/Prototypes/Roles/Jobs/Security/head_of_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
requirements:
- !type:RoleTimeRequirement
role: JobWarden
time: 10800 #3 hrs
time: 0 #3 hrs
- !type:RoleTimeRequirement
role: JobSecurityOfficer
time: 36000 #10 hrs
time: 0 #10 hrs
- !type:DepartmentTimeRequirement
department: Security
time: 108000 # 30 hrs
time: 10800 # 30 hrs
- !type:OverallPlaytimeRequirement
time: 144000 #40 hrs
time: 10800 #40 hrs
- !type:AgeRequirement
requiredAge: 21
weight: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
playTimeTracker: JobSecurityCadet
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 #10 hrs
time: 0 #10 hrs
- !type:DepartmentTimeRequirement
department: Security
time: 54000 #15 hrs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 36000 #10 hrs
time: 0 #10 hrs
startingGear: SecurityOfficerGear
icon: "JobIconSecurityOfficer"
supervisors: job-supervisors-hos
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Roles/Jobs/Security/warden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
description: job-description-warden
playTimeTracker: JobWarden
requirements:
- !type:RoleTimeRequirement
role: JobSecurityOfficer
time: 36000 #10 hrs
- !type:DepartmentTimeRequirement
department: Security
time: 10800 # 30 hrs
startingGear: WardenGear
icon: "JobIconWarden"
requireAdminNotify: true
Expand Down

0 comments on commit d5cf8a0

Please sign in to comment.