Hand pickup and drop triggers (#39663)

This commit is contained in:
slarticodefast
2025-08-18 01:47:26 +02:00
committed by GitHub
parent 9d32e7db4e
commit e16bca5b18
6 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Triggers an item when it is equipped into a hand slot.
/// The user is the entity that picked the item up.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnGotEquippedHandComponent : BaseTriggerOnXComponent;