Predict Mind Roles (#39611)

This commit is contained in:
slarticodefast
2025-08-21 03:10:07 +02:00
committed by GitHub
parent b124d0def5
commit 9c546a0072
8 changed files with 53 additions and 63 deletions

View File

@@ -1,8 +1,7 @@
using Content.Shared.GameTicking;
using Content.Shared.Mind.Components;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
using Robust.Shared.Network;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
namespace Content.Shared.Mind;
@@ -100,10 +99,16 @@ public sealed partial class MindComponent : Component
public bool PreventSuicide { get; set; }
/// <summary>
/// Mind Role Entities belonging to this Mind
/// Mind Role Entities belonging to this Mind are stored in this container.
/// </summary>
[DataField, AutoNetworkedField]
public List<EntityUid> MindRoles = new List<EntityUid>();
[ViewVariables]
public Container MindRoleContainer = default!;
/// <summary>
/// The id for the MindRoleContainer.
/// </summary>
[ViewVariables]
public const string MindRoleContainerId = "mind_roles";
/// <summary>
/// The mind's current antagonist/special role, or lack thereof;