Files
crystall-punk-14/Content.Shared/Trigger/Components/Triggers/TriggerOnSimpleToolUsage.cs

13 lines
493 B
C#
Raw Normal View History

2025-08-26 20:04:10 +02:00
using Content.Shared.Tools.Components;
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Triggers an entity with <see cref="SimpleToolUsageComponent"/> when the correct tool
/// is used on it and the DoAfter has finished.
/// The user is the player using the tool.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnSimpleToolUsageComponent : BaseTriggerOnXComponent;