using Content.Shared.Throwing;
using Content.Shared.Xenoarchaeology.Artifact.Components;
using Content.Shared.Xenoarchaeology.Artifact.XAT.Components;
namespace Content.Shared.Xenoarchaeology.Artifact.XAT;
///
/// System for xeno artifact trigger that requires hand-held artifact to be thrown (and land).
///
public sealed class XATItemLandSystem : BaseXATSystem
{
///
public override void Initialize()
{
base.Initialize();
XATSubscribeDirectEvent(OnLand);
}
private void OnLand(Entity artifact, Entity node, ref LandEvent args)
{
Trigger(artifact, node);
}
}