* Docking config changes - Should be more flexible with tight bounds. - Arrivals should always go for the 4-way dock. - Don't think it fixes Omega. * weh * Basic test
24 lines
625 B
C#
24 lines
625 B
C#
using Content.Server.Shuttles.Components;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Content.Server.Shuttles;
|
|
|
|
/// <summary>
|
|
/// Stores the data for a valid docking configuration for the emergency shuttle
|
|
/// </summary>
|
|
public sealed class DockingConfig
|
|
{
|
|
/// <summary>
|
|
/// The pairs of docks that can connect.
|
|
/// </summary>
|
|
public List<(EntityUid DockAUid, EntityUid DockBUid, DockingComponent DockA, DockingComponent DockB)> Docks = new();
|
|
|
|
/// <summary>
|
|
/// Target grid for docking.
|
|
/// </summary>
|
|
public EntityUid TargetGrid;
|
|
|
|
public EntityCoordinates Coordinates;
|
|
public Angle Angle;
|
|
}
|