AddTagOnTrigger, RemoveTagOnTrigger, SwapPositionOnTrigger, JitterOnTrigger (#41476)

* more triggers

* comment

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
slarticodefast
2025-11-19 02:58:50 +01:00
committed by GitHub
parent e3c0e01934
commit 414817e38a
7 changed files with 173 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Effects;
/// <summary>
/// Swaps the location of the target and the user of the trigger when triggered.
/// <see cref="BaseXOnTriggerComponent.TargetUser"/> is ignored.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class SwapLocationOnTriggerComponent : BaseXOnTriggerComponent;