using Content.Shared.Ghost.Components;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityConditions.Conditions.Generic;
///
/// Returns true if the entity is a ghost.
///
public sealed class IsGhostConditionSystem : EntityConditionSystem
{
protected override void Condition(Entity entity, ref EntityConditionEvent args)
{
args.Result = HasComp(entity);
}
}
///
public sealed partial class IsGhostCondition : EntityConditionBase
{
public override string EntityConditionGuidebookText(IPrototypeManager prototype) => String.Empty;
}