mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
14 lines
673 B
C#
14 lines
673 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Trigger.Components.Triggers;
|
|
|
|
/// <summary>
|
|
/// Triggers if a StepTrigger is activated by someone stepping on this entity.
|
|
/// The user is the mob who stepped on it.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This is used for entities that want the more generic 'trigger' behavior after a step trigger occurs.
|
|
/// Not done by default, since it's not useful for everything and might cause weird behavior. But it is useful for a lot of stuff like mousetraps.
|
|
/// </remarks>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class TriggerOnStepTriggerComponent : BaseTriggerOnXComponent;
|