mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
# Description Port fix for pods escape from [Harmony](https://github.com/ss14-harmony/ss14-harmony) Prs: https://github.com/ss14-harmony/ss14-harmony/pull/364 https://github.com/ss14-harmony/ss14-harmony/pull/372 --- <details><summary><h1>Media</h1></summary> <p> https://github.com/user-attachments/assets/0ca72881-fb99-4544-8e4b-44b929cd0f6a </p> </details> --- # Changelog 🆑 Zap527, spanky-spanky and Will-Oliver-Br - fix: Escape pods now correctly dock at centcomm. --------- Co-authored-by: jajsha <corbinbinouche7@gmail.com> Co-authored-by: Spanky <scott@wearejacob.com>
45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using Content.Shared.Shuttles.Components;
|
|
using Robust.Shared.Physics.Dynamics.Joints;
|
|
|
|
namespace Content.Server.Shuttles.Components
|
|
{
|
|
[RegisterComponent]
|
|
public sealed partial class DockingComponent : SharedDockingComponent
|
|
{
|
|
[DataField("dockedWith")]
|
|
public EntityUid? DockedWith;
|
|
|
|
[ViewVariables]
|
|
public Joint? DockJoint;
|
|
|
|
[DataField("dockJointId")]
|
|
public string? DockJointId;
|
|
|
|
[ViewVariables]
|
|
public override bool Docked => DockedWith != null;
|
|
|
|
// Harmony
|
|
/// <summary>
|
|
/// True if there is currently a grid in FTL trying to dock here.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool QueuedDocked = false;
|
|
// End Harmony
|
|
|
|
/// <summary>
|
|
/// Color that gets shown on the radar screen.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("radarColor")]
|
|
public Color RadarColor = Color.DarkViolet;
|
|
|
|
/// <summary>
|
|
/// Color that gets shown on the radar screen when the dock is highlighted.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("highlightedRadarColor")]
|
|
public Color HighlightedRadarColor = Color.Magenta;
|
|
|
|
[ViewVariables]
|
|
public int PathfindHandle = -1;
|
|
}
|
|
}
|