using Content.Shared.Nutrition.Components; using Content.Shared.Nutrition.EntitySystems; using Robust.Shared.Prototypes; namespace Content.Shared.EntityEffects.Effects; /// /// Washes the cream pie off of this entity face. /// /// /// TODO: This can probably be made into a generic "CleanEntityEffect" which multiple components listen to... public sealed partial class WashCreamPieEntityEffectSystem : EntityEffectSystem { [Dependency] private readonly SharedCreamPieSystem _creamPie = default!; protected override void Effect(Entity entity, ref EntityEffectEvent args) { _creamPie.SetCreamPied(entity, entity.Comp, false); } } /// public sealed partial class WashCreamPie : EntityEffectBase { public override string EntityEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys) => Loc.GetString("entity-effect-guidebook-wash-cream-pie-reaction", ("chance", Probability)); }