1 using Content.Server.Botany.Components;
2 using Content.Server.Botany.Systems;
3 using Content.Shared.EntityEffects;
4 using Content.Shared.EntityEffects.Effects.Botany.PlantAttributes;
6 namespace Content.Server.EntityEffects.Effects.Botany.PlantAttributes;
8 public sealed partial class PlantAdjustNutritionEntityEffectSystem : EntityEffectSystem<PlantHolderComponent, PlantAdjustNutrition>
10 [Dependency] private readonly PlantHolderSystem _plantHolder = default!;
12 protected override void Effect(Entity<PlantHolderComponent> entity, ref EntityEffectEvent<PlantAdjustNutrition> args)
14 _plantHolder.AdjustNutrient(entity, args.Effect.Amount, entity);