using Content.Shared.Light.EntitySystems;
using Content.Shared.Storage;
using Robust.Shared.Audio;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
namespace Content.Server.Light.Components;
///
/// Device that allows user to quikly change bulbs in
/// Can be reloaded by new light tubes or light bulbs
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedLightReplacerSystem))]
public sealed partial class LightReplacerComponent : Component
{
[DataField("sound")]
public SoundSpecifier Sound = new SoundPathSpecifier("/Audio/Weapons/click.ogg")
{
Params = new()
{
Volume = -4f
}
};
///
/// Bulbs that were inserted inside light replacer
///
[ViewVariables]
public Container InsertedBulbs = default!;
///
/// The default starting bulbs
///
[DataField("contents")]
public List Contents = new();
}