using Content.Server.Light.EntitySystems; using Content.Shared.Light; using Content.Shared.Sound; namespace Content.Server.Light.Components { /// /// Component that represents a light bulb. Can be broken, or burned, which turns them mostly useless. /// [RegisterComponent, Friend(typeof(LightBulbSystem))] public sealed class LightBulbComponent : Component { [DataField("color")] public Color Color = Color.White; [DataField("bulb")] public LightBulbType Type = LightBulbType.Tube; [DataField("startingState")] public LightBulbState State = LightBulbState.Normal; [DataField("BurningTemperature")] public int BurningTemperature = 1400; [DataField("lightEnergy")] public float LightEnergy = 0.8f; [DataField("lightRadius")] public float LightRadius = 10; [DataField("lightSoftness")] public float LightSoftness = 1; [DataField("PowerUse")] public int PowerUse = 60; [DataField("breakSound")] public SoundSpecifier BreakSound = new SoundCollectionSpecifier("GlassBreak"); } }