using Content.Shared.Decals;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
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", customTypeSerializer: typeof(PrototypeIdSerializer))]
public string? ToggleAction = "ActionToggleLight";
[DataField("toggleActionEntity")] public EntityUid? ToggleActionEntity;
///
/// ID that determines the list
/// of colors to select from when we get emagged
///
[DataField("emaggedColorsPrototype")]
[ViewVariables(VVAccess.ReadWrite)]
public string EmaggedColorsPrototype = "Emagged";
}