Allow GhostTakeoverAvailable to use MakeSentient (#5616)

This commit is contained in:
metalgearsloth
2021-12-03 20:31:14 +11:00
committed by GitHub
parent 3f8f4c818e
commit c17ef0b3c8
3 changed files with 12 additions and 7 deletions

View File

@@ -14,6 +14,12 @@ namespace Content.Server.Ghost.Roles.Components
[DataField("rules")] private string _roleRules = "";
/// <summary>
/// Whether the <see cref="MakeSentientCommand"/> should run on the mob.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)] [DataField("makeSentient")]
protected bool MakeSentient = true;
// We do this so updating RoleName and RoleDescription in VV updates the open EUIs.
[ViewVariables(VVAccess.ReadWrite)]