* 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.
29 lines
696 B
C#
29 lines
696 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Shared.Shuttles
|
|
{
|
|
public abstract class SharedShuttleComponent : Component
|
|
{
|
|
public override string Name => "Shuttle";
|
|
|
|
[ViewVariables]
|
|
public virtual bool Enabled { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// How much our linear impulse is multiplied by.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float SpeedMultipler { get; set; } = 200.0f;
|
|
|
|
[ViewVariables]
|
|
public ShuttleMode Mode { get; set; } = ShuttleMode.Docking;
|
|
}
|
|
|
|
public enum ShuttleMode : byte
|
|
{
|
|
Docking,
|
|
Cruise,
|
|
}
|
|
}
|