fish-station/Content.Server/_Sunrise/TransitHub/StationTransitHubComponent.cs

26 lines
796 B
C#

using Content.Server.Shuttles.Systems;
using Content.Shared.Parallax.Biomes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
using Robust.Shared.Utility;
namespace Content.Server._Sunrise.TransitHub;
[RegisterComponent, Access( typeof(EmergencyShuttleSystem))]
public sealed partial class StationTransitHubComponent : Component
{
[DataField]
public ResPath Map = new("/Maps/centcomm.yml");
[DataField]
public EntityUid? Entity;
[DataField]
public EntityUid? MapEntity;
[ViewVariables(VVAccess.ReadOnly),
DataField(customTypeSerializer: typeof(PrototypeIdListSerializer<BiomeTemplatePrototype>))]
public List<string> Biomes = new();
[DataField]
public Color PlanetLightColor = Color.FromHex("#2b3143");
}