Files
tbd-station-14/Content.Server/Station/Components/StationBiomeComponent.cs
Ed e82034c16b Component of planet initialization on the map (#26510)
* no cl no fun

* DevPlanet

* fix europa?

* Update Content.Server/Station/Components/StationBiomeComponent.cs

* Update Content.Server/Station/Components/StationBiomeComponent.cs

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-04-18 21:27:54 +10:00

20 lines
535 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;
}