using Robust.Shared.Prototypes;
namespace Content.Shared.EntityConditions.Conditions.Generic;
///
/// Returns true if the entity is in space.
///
public sealed class InSpaceConditionSystem : EntityConditionSystem
{
protected override void Condition(Entity entity, ref EntityConditionEvent args)
{
args.Result = entity.Comp.GridUid == null;
}
}
///
public sealed partial class InSpaceCondition : EntityConditionBase
{
public override string EntityConditionGuidebookText(IPrototypeManager prototype) => String.Empty;
}