Add ImplicitRoofComponent (#36112)

* Add ImplicitRoofComponent

So shuttles get marked as rooved.

* Early-out

So the new render doesn't suck up perf unnecessarily.
This commit is contained in:
metalgearsloth
2025-05-18 17:47:35 +10:00
committed by GitHub
parent 4f4f9fc0d3
commit fc5c63ac09
3 changed files with 50 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
/// <summary>
/// Assumes the entire attached grid is rooved.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ImplicitRoofComponent : Component
{
[DataField, AutoNetworkedField]
public Color Color = Color.Black;
}