using Robust.Shared.Prototypes; using Robust.Shared.Audio; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.GameStates; namespace Content.Shared.Abilities.Firestarter; /// /// Lets its owner entity ignite flammables around it and also heal some damage. /// [RegisterComponent, NetworkedComponent, Access(typeof(SharedFirestarterSystem))] public sealed partial class FirestarterComponent : Component { /// /// Radius of objects that will be ignited if flammable. /// [DataField("ignitionRadius")] public float IgnitionRadius = 4f; /// /// The action entity. /// [DataField("fireStarterAction", customTypeSerializer: typeof(PrototypeIdSerializer))] public string? FireStarterAction = "ActionFireStarter"; [DataField("fireStarterActionEntity")] public EntityUid? FireStarterActionEntity; /// /// Radius of objects that will be ignited if flammable. /// [DataField("igniteSound")] public SoundSpecifier IgniteSound = new SoundPathSpecifier("/Audio/Magic/rumble.ogg"); }