Various improvements to job greetings. (#4777)

This commit is contained in:
Vera Aguilera Puerto
2021-10-06 13:51:11 +02:00
committed by GitHub
parent eac2fd3cf0
commit 419edc710d
24 changed files with 53 additions and 1 deletions

View File

@@ -18,12 +18,21 @@ namespace Content.Shared.Roles
[DataField("id", required: true)]
public string ID { get; } = default!;
[DataField("supervisors")]
public string Supervisors { get; } = "nobody";
/// <summary>
/// The name of this job as displayed to players.
/// </summary>
[DataField("name")]
public string Name { get; } = string.Empty;
[DataField("joinNotifyCrew")]
public bool JoinNotifyCrew { get; } = false;
[DataField("requireAdminNotify")]
public bool RequireAdminNotify { get; } = false;
/// <summary>
/// Whether this job is a head.
/// The job system will try to pick heads before other jobs on the same priority level.