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:
Verm
2025-04-21 13:25:22 -05:00
committed by GitHub
parent e8ee73dd33
commit dd308c6d2d
4 changed files with 68 additions and 3 deletions

View 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;
}