Resolves LightBulbVisualizer is Obsolete (#13889)
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
using Content.Server.Light.EntitySystems;
|
||||
using Content.Shared.Light;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server.Light.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Component that represents a light bulb. Can be broken, or burned, which turns them mostly useless.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(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");
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using Content.Shared.Light;
|
||||
using Content.Shared.Light.Component;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Threading;
|
||||
using Content.Server.Light.EntitySystems;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Light;
|
||||
using Content.Shared.Light.Component;
|
||||
using Content.Shared.MachineLinking;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Containers;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Content.Server.Light.Components;
|
||||
using Content.Shared.Destructible;
|
||||
using Content.Shared.Light;
|
||||
using Content.Shared.Light.Component;
|
||||
using Content.Shared.Throwing;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
@@ -2,7 +2,7 @@ using System.Linq;
|
||||
using Content.Server.Light.Components;
|
||||
using Content.Server.Storage.Components;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Light;
|
||||
using Content.Shared.Light.Component;
|
||||
using Content.Shared.Popups;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
@@ -14,6 +14,7 @@ using Content.Shared.Database;
|
||||
using Content.Shared.Hands.EntitySystems;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Light;
|
||||
using Content.Shared.Light.Component;
|
||||
using Content.Shared.Popups;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
Reference in New Issue
Block a user