Makes EventRole Ids properly set ID names. (#28958)
* Add id binding system * Change so it activates when added too * Add to eventhumanoid * Add PDA binding, try to fix some things * Still not fixed, PDA is working right * Move to server, add on mind instead * Implement suggestions * Fix things * Finish review stuff * Messed up cluwne * Remove after only changing id too --------- Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
14
Content.Server/Access/Components/IdBindComponent.cs
Normal file
14
Content.Server/Access/Components/IdBindComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Server.Access.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class IdBindComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// If true, also tries to get the PDA and set the owner to the entity
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool BindPDAOwner = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user