ExtinguishOnTrigger and TriggerOnInteractHand (#39537)

* simplely one commit

* simplelly two commit

* requested changes

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda
2025-08-11 14:21:11 -05:00
committed by GitHub
parent 85708cad7f
commit a5351b8c77
8 changed files with 87 additions and 40 deletions

View File

@@ -0,0 +1,11 @@
using Content.Shared.Interaction;
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Trigger on <see cref="InteractHandEvent"/>, aka clicking on an entity with an empty hand.
/// User is the player with the hand doing the clicking.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnInteractHandComponent : BaseTriggerOnXComponent;