Add docking window to shuttle consoles (#8756)
* lewd * A * Realtime * Sleepy dork * Draw radar position * Accurate infiltrator * experiments * Better drawing * Labels * I need aan adult * Cleanup * Show toggles * display I guess * A * fix * fix * cleanupsies * Bit more polish * Make sure mass scanners actually work * Remove dummy state * fren * opposite * aghost crash * comment * What's in a name * woops * Show docking ports * Dock highlighting * Drawing dock * Shitty docks * Lots of docking drawing * Autodock working * dork * More graceful shutdown * zoomies * Lines and distance change * revert * Good enough * cleanup * Fix default range * Dock UI and loc update * Update on undock * Loc fixes
This commit is contained in:
14
Content.Server/Shuttles/Components/AutoDockComponent.cs
Normal file
14
Content.Server/Shuttles/Components/AutoDockComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Content.Server.Shuttles.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Added to entities when they are actively trying to dock with something else.
|
||||
/// We track it because checking every dock constantly would be expensive.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class AutoDockComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Track who has requested autodocking so we can know when to be removed.
|
||||
/// </summary>
|
||||
public HashSet<EntityUid> Requesters = new();
|
||||
}
|
||||
Reference in New Issue
Block a user