* Revert "Fix world generation (#38713)" This reverts commit10fa6ff4af. * Revert "Biome rework (#37735)" This reverts commitfe7b96147c.
23 lines
598 B
C#
23 lines
598 B
C#
using Content.Server.Station.Systems;
|
|
using Content.Shared.Parallax.Biomes;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Station.Components;
|
|
|
|
/// <summary>
|
|
/// Runs EnsurePlanet against the largest grid on Mapinit.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(StationBiomeSystem))]
|
|
public sealed partial class StationBiomeComponent : Component
|
|
{
|
|
[DataField(required: true)]
|
|
public ProtoId<BiomeTemplatePrototype> Biome = "Grasslands";
|
|
|
|
// If null, its random
|
|
[DataField]
|
|
public int? Seed = null;
|
|
|
|
[DataField]
|
|
public Color MapLightColor = Color.Black;
|
|
}
|