tool lock

This commit is contained in:
slarticodefast
2025-08-26 20:04:10 +02:00
parent 4505f61ff2
commit f4056e854b
6 changed files with 95 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
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;