using Content.Shared.Body.Components;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityConditions.Conditions.Body;
///
/// Returns true if this entity is using internals. False if they are not or cannot use internals.
///
///
public sealed partial class InternalsOnEntityConditionSystem : EntityConditionSystem
{
protected override void Condition(Entity entity, ref EntityConditionEvent args)
{
args.Result = entity.Comp.GasTankEntity != null;
}
}
///
public sealed partial class InternalsCondition : EntityConditionBase
{
public override string EntityConditionGuidebookText(IPrototypeManager prototype) =>
Loc.GetString("reagent-effect-condition-guidebook-internals", ("usingInternals", !Inverted));
}