namespace Content.Server.Chemistry.Components; /// /// Used for embeddable entities that should try to inject their /// contained solution into the entity they are embedded in over time. /// [RegisterComponent] public sealed partial class SolutionInjectWhileEmbeddedComponent : BaseSolutionInjectOnEventComponent { /// /// The interval between injection attempts, in seconds. /// [DataField] public float UpdateInterval = 3.0f; /// /// Maximum number of injections that can be performed before the component removes itself. /// Null means unlimited. /// [DataField] public int? Injections = 5; /// /// Used to override the PierceArmor setting when fired from a SyringeGun. /// [ViewVariables(VVAccess.ReadWrite)] public bool? PierceArmorOverride; /// /// Used to speed up injections when fired from a SyringeGun. /// [ViewVariables(VVAccess.ReadWrite)] public float SpeedMultiplier = 1f; }