1 using Content.Server.Botany.Components;
2 using Content.Shared.EntityEffects;
3 using Content.Shared.EntityEffects.Effects.Botany.PlantAttributes;
5 namespace Content.Server.EntityEffects.Effects.Botany.PlantAttributes;
7 public sealed partial class PlantAdjustMutationModEntityEffectSystem : EntityEffectSystem<PlantHolderComponent, PlantAdjustMutationMod>
9 protected override void Effect(Entity<PlantHolderComponent> entity, ref EntityEffectEvent<PlantAdjustMutationMod> args)
11 if (entity.Comp.Seed == null || entity.Comp.Dead)
14 entity.Comp.MutationMod += args.Effect.Amount;