Add prevent suicide to minds and add tag control commands (#13307)

This commit is contained in:
Chief-Engineer
2023-02-16 18:36:10 -06:00
committed by GitHub
parent a0ea580260
commit b482463c91
5 changed files with 148 additions and 0 deletions

View File

@@ -122,6 +122,13 @@ namespace Content.Server.Mind
[DataField("preventGhosting")]
public bool PreventGhosting { get; set; }
/// <summary>
/// Prevents user from suiciding
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("preventSuicide")]
public bool PreventSuicide { get; set; }
/// <summary>
/// The session of the player owning this mind.
/// Can be null, in which case the player is currently not logged in.