* Adds Reach II * Updated Reach II to work after refactor * removing old map * Adding the Central Command outpost * Reachii isn't meant to be in here at all. * updated possible error in .yml * updating .yml * Updated CentComm, fixed some issues like lighting. * Imagine if we also docked at centcomm * a Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
38 lines
949 B
C#
38 lines
949 B
C#
using Robust.Shared.Map;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
/// <summary>
|
|
/// Added to a component when it is queued or is travelling through hyperspace
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class HyperspaceComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
public HyperspaceState State = HyperspaceState.Starting;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float StartupTime = 0f;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float TravelTime = 0f;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float Accumulator = 0f;
|
|
|
|
/// <summary>
|
|
/// Target Uid to dock with at the end of hyperspace.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("targetUid")]
|
|
public EntityUid? TargetUid;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("targetCoordinates")]
|
|
public EntityCoordinates TargetCoordinates;
|
|
}
|
|
|
|
public enum HyperspaceState : byte
|
|
{
|
|
Starting,
|
|
Travelling,
|
|
}
|