using Content.Server.Xenoarchaeology.XenoArtifacts; using Content.Shared.Chemistry.Reagent; using Robust.Shared.Prototypes; namespace Content.Server.Chemistry.ReagentEffects; public sealed partial class ActivateArtifact : ReagentEffect { public override void Effect(ReagentEffectArgs args) { var artifact = args.EntityManager.EntitySysManager.GetEntitySystem(); artifact.TryActivateArtifact(args.SolutionEntity); } protected override string? ReagentEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys) => Loc.GetString("reagent-effect-guidebook-activate-artifact", ("chance", Probability)); }