Skip to content

Commit

Permalink
Fix attempt to job priority (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 authored Jan 10, 2025
1 parent 207d4cd commit 0f54067
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Content.IntegrationTests/Tests/Round/JobTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Content.IntegrationTests.Tests.Round;
public sealed class JobTest
{
private static readonly ProtoId<JobPrototype> Passenger = "Contractor"; // Frontier: use job prototypes that exist
private static readonly ProtoId<JobPrototype> Engineer = "Pilot"; // Frontier
private static readonly ProtoId<JobPrototype> Engineer = "Prisoner"; // Frontier
private static readonly ProtoId<JobPrototype> Captain = "StationRepresentative"; // Frontier

private static string _map = "JobTestMap";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
canBeAntag: false
icon: "JobIconPrisoner"
supervisors: job-supervisors-prisoner
weight: 10 # Frontier
displayWeight: 10 # Frontier
special:
- !type:AddImplantSpecial
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name: department-Civilian
description: department-NFCivilian-description # Frontier
color: "#9FED58"
weight: 0 # Frontier: -10<0 accounted for in jobs
weight: -10
roles:
# - Bartender # Frontier
# - Botanist # Frontier
Expand Down Expand Up @@ -79,7 +79,7 @@
- Sheriff # Frontier
- StationTrafficController # Frontier
primary: false
weight: 2 # Frontier: 100<2 - accounted for in jobs
weight: 100

- type: department
id: Engineering
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
startingGear: ContractorGear
icon: "JobIconContractor"
supervisors: job-supervisors-hire
weight: -1 # Prioritize station & department jobs
displayWeight: 40 # Top
accessGroups: # Frontier
- GeneralAccess # Frontier
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/_NF/Roles/Jobs/Civilian/mercenary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
canBeAntag: true
icon: "JobIconMercenary"
supervisors: job-supervisors-hire
weight: -1 # Prioritize station & department jobs
weight: 3 # Prioritize station & department jobs
displayWeight: 20 # Second from the bottom
setPreference: true
access:
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/_NF/Roles/Jobs/Civilian/pilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
startingGear: PilotGear
icon: "JobIconPilot"
supervisors: job-supervisors-hire
weight: -1 # Prioritize station & department jobs
weight: 2 # Prioritize station & department jobs
displayWeight: 30 # Second from the top
accessGroups: # Frontier
- GeneralAccess
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/_NF/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
name: department-Frontier
description: department-NF-description
color: "#334E6D"
weight: 1 # accounted for in jobs
weight: 50 # accounted for in jobs
roles:
- StationRepresentative
- StationTrafficController
Expand All @@ -17,7 +17,7 @@
name: department-Antag
description: department-NFAntag-description
color: "#DE3A3A"
weight: -1 # accounted for in jobs
weight: -20 # accounted for in jobs
roles:
- PirateCaptain
- PirateFirstMate
Expand Down

0 comments on commit 0f54067

Please sign in to comment.