Visitor job (#23972)

* Adds Visitor role and ShowInIdCardConsole property

* Add visitor to Agent ID card

* Fixes yaml test

* Fixes based on feedback

* Fixes based on feedback
This commit is contained in:
SlamBamActionman
2024-02-01 11:13:44 +01:00
committed by GitHub
parent ed0f2aa221
commit 1862f8aa17
11 changed files with 37 additions and 1 deletions

View File

@@ -53,6 +53,13 @@ namespace Content.Shared.Roles
[DataField("setPreference")]
public bool SetPreference { get; private set; } = true;
/// <summary>
/// Whether this job should show in the ID Card Console.
/// If set to null, it will default to SetPreference's value.
/// </summary>
[DataField]
public bool? OverrideConsoleVisibility { get; private set; } = null;
[DataField("canBeAntag")]
public bool CanBeAntag { get; private set; } = true;