using Content.Shared.Chemistry.Reagent; using Robust.Shared.Prototypes; namespace Content.Server.Xenoarchaeology.Artifact.XAE.Components; /// /// Generates foam from the artifact when activated. /// [RegisterComponent, Access(typeof(XAEFoamSystem))] public sealed partial class XAEFoamComponent : Component { /// /// The list of reagents that will randomly be picked from /// to choose the foam reagent. /// [DataField(required: true)] public List> Reagents = new(); /// /// The foam reagent. /// [DataField] public string? SelectedReagent; /// /// How long does the foam last? /// [DataField] public float Duration = 10f; /// /// How much reagent is in the foam? /// [DataField] public float ReagentAmount = 100f; /// /// Minimum radius of foam spawned. /// [DataField] public int MinFoamAmount = 15; /// /// Maximum radius of foam spawned. /// [DataField] public int MaxFoamAmount = 20; /// /// Marker, if entity where this component is placed should have description replaced with selected chemicals /// on component init. /// [DataField] public bool ReplaceDescription; }