Skip to content

Commit

Permalink
Hide all unnecessary jobs and departments.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril committed Dec 17, 2024
1 parent a308cbe commit be02966
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Content.Shared/Roles/DepartmentPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public sealed partial class DepartmentPrototype : IPrototype
/// Toggles the display of the department in the priority setting menu in the character editor.
/// </summary>
[DataField]
public bool EditorHidden;
public bool EditorHidden { get; private set; } = true;
}

/// <summary>
Expand Down
5 changes: 1 addition & 4 deletions Content.Shared/Roles/JobPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public sealed partial class JobPrototype : IPrototype
/// Should this job appear in preferences menu?
/// </summary>
[DataField("setPreference")]
public bool SetPreference { get; private set; } = true;
public bool SetPreference { get; private set; }

/// <summary>
/// Should the selected traits be applied for this job?
Expand Down Expand Up @@ -126,9 +126,6 @@ public sealed partial class JobPrototype : IPrototype
[DataField]
public EntProtoId? JobPreviewEntity = null;

[DataField]
public bool RoleVisibleInPreferences { get; private set; }

[DataField]
public ProtoId<JobIconPrototype> Icon { get; private set; } = "JobIconUnknown";

Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/Civilian/assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
startingGear: PassengerGear
icon: "JobIconPassenger"
supervisors: job-supervisors-everyone
setPreference: true
access:
- Maintenance

Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
id: Civilian
name: department-Civilian
description: department-Civilian-description
editorHidden: false
color: "#9FED58"
weight: -10
roles:
Expand Down

0 comments on commit be02966

Please sign in to comment.