using Content.Shared.Actions.ActionTypes; using Content.Shared.Decals; using Robust.Shared.Audio; namespace Content.Shared.Light.Components; /// /// This is simplified version of . /// It doesn't consume any power and can be toggle only by verb. /// [RegisterComponent] public sealed partial class UnpoweredFlashlightComponent : Component { [DataField("toggleFlashlightSound")] public SoundSpecifier ToggleSound = new SoundPathSpecifier("/Audio/Items/flashlight_pda.ogg"); [ViewVariables] public bool LightOn = false; [DataField("toggleAction", required: true)] public InstantAction ToggleAction = new(); /// /// ID that determines the list /// of colors to select from when we get emagged /// [DataField("emaggedColorsPrototype")] [ViewVariables(VVAccess.ReadWrite)] public string EmaggedColorsPrototype = "Emagged"; }