using Content.Shared.Decals;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Light.Components;
///
/// This is simplified version of .
/// It doesn't consume any power and can be toggle only by verb.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class UnpoweredFlashlightComponent : Component
{
[DataField("toggleFlashlightSound")]
public SoundSpecifier ToggleSound = new SoundPathSpecifier("/Audio/Items/flashlight_pda.ogg");
[DataField, AutoNetworkedField]
public bool LightOn;
[DataField]
public EntProtoId ToggleAction = "ActionToggleLight";
[DataField, AutoNetworkedField]
public EntityUid? ToggleActionEntity;
///
/// ID that determines the list
/// of colors to select from when we get emagged
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public ProtoId EmaggedColorsPrototype = "Emagged";
}