* Broadphase refactor (content) * Shuttle jank * Fixes * Testing jank * Features and things * Balance stuffsies * AHHHHHHHHHHHHHHHH * Mass and stuff working * Fix drops * Another balance pass * Balance AGEN * Add in stuff for rotating shuttles for debugging * Nothing to see here * Testbed stuffsies * Fix some tests * Fixen test * Try fixing map * Shuttle movement balance pass * lasaggne * Basic Helmsman console working * Slight docking cleanup * Helmsman requires power * Basic shuttle test * Stuff * Fix computations * Add shuttle console to saltern * Rename helmsman to shuttleconsole * Final stretch * More tweaks * Fix piloting prediction for now.
22 lines
661 B
C#
22 lines
661 B
C#
using System.Collections.Generic;
|
|
using Content.Shared.Shuttles;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Server.Shuttles
|
|
{
|
|
[RegisterComponent]
|
|
[ComponentReference(typeof(SharedShuttleConsoleComponent))]
|
|
internal sealed class ShuttleConsoleComponent : SharedShuttleConsoleComponent
|
|
{
|
|
[ViewVariables]
|
|
public List<PilotComponent> SubscribedPilots = new();
|
|
|
|
/// <summary>
|
|
/// Whether the console can be used to pilot. Toggled whenever it gets powered / unpowered.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public bool Enabled { get; set; } = false;
|
|
}
|
|
}
|