6
2026-01-24 12:49:55 +03:00

17 lines
456 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
/// <summary>
/// Will draw lighting in a range around the tile.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TileEmissionComponent : Component
{
[DataField, AutoNetworkedField]
public float Range = 0.25f;
[DataField(required: true), AutoNetworkedField]
public Color Color = Color.Transparent;
}