using Content.Shared.Botany.Components; using Content.Shared.Botany.Systems; namespace Content.Shared.EntityEffects.Effects.Botany.PlantAttributes; /// /// Entity effect that adjusts the water of a plant. /// /// public sealed partial class PlantAdjustWaterEntityEffectSystem : EntityEffectSystem { [Dependency] private PlantTraySystem _plantTray = default!; protected override void Effect(Entity entity, ref EntityEffectEvent args) { _plantTray.AdjustWater(entity.AsNullable(), args.Effect.Amount); } } /// public sealed partial class PlantAdjustWater : BasePlantAdjustAttribute { public override string GuidebookAttributeName { get; set; } = "plant-attribute-water"; }