Refactor minds to be entities with components, make roles components (#19591)
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
11
Content.Server/Ghost/ObserverRoleComponent.cs
Normal file
11
Content.Server/Ghost/ObserverRoleComponent.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Content.Server.Ghost
|
||||
{
|
||||
/// <summary>
|
||||
/// This is used to mark Observers properly, as they get Minds
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class ObserverRoleComponent : Component
|
||||
{
|
||||
public string Name => Loc.GetString("observer-role-name");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user