using Robust.Client.Animations; namespace Content.Client.Chemistry.Visualizers; /// /// A component that plays an animation when it is sprayed. /// [RegisterComponent] [Access(typeof(VaporVisualizerSystem))] public sealed class VaporVisualsComponent : Component { /// /// The id of the animation played when the vapor spawns in. /// public const string AnimationKey = "flick_animation"; /// /// The amount of time over which the spray animation is played. /// [DataField("animationTime")] public float AnimationTime = 0.25f; /// /// The RSI state that is flicked when the vapor is sprayed. /// [DataField("animationState")] public string AnimationState = "chempuff"; /// /// The animation that plays when the vapor is sprayed. /// Generated in /// public Animation VaporFlick = default!; }