using Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Systems; using Robust.Shared.Audio; using Content.Shared.Polymorph; using Robust.Shared.Prototypes; namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components; /// /// Artifact polymorphs surrounding entities when triggered. /// [RegisterComponent] [Access(typeof(PolyOthersArtifactSystem))] public sealed partial class PolyOthersArtifactComponent : Component { /// /// The polymorph effect to trigger. /// [DataField] public ProtoId PolymorphPrototypeName = "ArtifactMonkey"; /// /// range of the effect. /// [DataField] public float Range = 2f; /// /// Sound to play on polymorph. /// [DataField] public SoundSpecifier PolySound = new SoundPathSpecifier("/Audio/Weapons/Guns/Gunshots/Magic/staff_animation.ogg"); }