Let PopupOnTrigger display names of user and item (#41157)

* waved away

* waves at you with my [Prime Cut Corgi Meat]

* pls dont litter the repository with unnecessary components

* forgot to remove a variable from testing

* guh

* the more things change, the more things stay the same

* and then she ternaried everywhere

* owie
This commit is contained in:
korczoczek
2025-11-22 01:08:06 +01:00
committed by GitHub
parent 619f432cda
commit 7672076b43
3 changed files with 18 additions and 5 deletions

View File

@@ -5,6 +5,9 @@ namespace Content.Shared.Trigger.Components.Effects;
/// <summary>
/// Displays a popup on the target when triggered.
/// Supports following fluent variables:
/// $entity - displays the target entity's name
/// $user - displays the user's name
/// Will display the popup on the user when <see cref="BaseXOnTriggerComponent.TargetUser"/> is true.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]