using Content.Shared.Chemistry.Reagent; using Robust.Shared.Audio; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Silicons.Bots; /// /// Used by the server for NPC medibot injection. /// Currently no clientside prediction done, only exists in shared for emag handling. /// [RegisterComponent] [Access(typeof(MedibotSystem))] public sealed partial class MedibotComponent : Component { /// /// Med the bot will inject when UNDER the standard med damage threshold. /// [DataField("standardMed", customTypeSerializer: typeof(PrototypeIdSerializer))] public string StandardMed = "Tricordrazine"; [DataField("standardMedAmount")] public float StandardMedAmount = 30f; /// /// Med the bot will inject when OVER the emergency med damage threshold. /// [DataField("emergencyMed", customTypeSerializer: typeof(PrototypeIdSerializer))] public string EmergencyMed = "Inaprovaline"; [DataField("emergencyMedAmount")] public float EmergencyMedAmount = 15f; /// /// Sound played after injecting a patient. /// [DataField("injectSound")] public SoundSpecifier InjectSound = new SoundPathSpecifier("/Audio/Items/hypospray.ogg"); public const float StandardMedDamageThreshold = 0f; public const float StandardMedDamageThresholdStop = 50f; public const float EmergencyMedDamageThreshold = 100f; }