From 9a04170e8667052716a73acffbb4a1c33d6273d5 Mon Sep 17 00:00:00 2001
From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Date: Sat, 11 May 2024 05:11:20 -0700
Subject: [PATCH] Fix shuttle cvars comments (#27923)
* Fix shuttle cvars comments
* Add another line to ftl mass limit
---
Content.Shared/CCVar/CCVars.cs | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/Content.Shared/CCVar/CCVars.cs b/Content.Shared/CCVar/CCVars.cs
index 912e52c71b..67122463ac 100644
--- a/Content.Shared/CCVar/CCVars.cs
+++ b/Content.Shared/CCVar/CCVars.cs
@@ -1,6 +1,7 @@
using Content.Shared.Maps;
using Robust.Shared;
using Robust.Shared.Configuration;
+using Robust.Shared.Physics.Components;
namespace Content.Shared.CCVar
{
@@ -1382,37 +1383,38 @@ namespace Content.Shared.CCVar
CVarDef.Create("shuttle.preload_grids", true, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// How long the warmup time before FTL start should be.
///
public static readonly CVarDef FTLStartupTime =
CVarDef.Create("shuttle.startup_time", 5.5f, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// How long a shuttle spends in FTL.
///
public static readonly CVarDef FTLTravelTime =
CVarDef.Create("shuttle.travel_time", 20f, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// How long the final stage of FTL before arrival should be.
///
public static readonly CVarDef FTLArrivalTime =
CVarDef.Create("shuttle.arrival_time", 5f, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// How much time needs to pass before a shuttle can FTL again.
///
public static readonly CVarDef FTLCooldown =
CVarDef.Create("shuttle.cooldown", 10f, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// The maximum a grid can have before it becomes unable to FTL.
+ /// Any value equal to or less than zero will disable this check.
///
public static readonly CVarDef FTLMassLimit =
CVarDef.Create("shuttle.mass_limit", 300f, CVar.SERVERONLY);
///
- /// Whether to automatically spawn escape shuttles.
+ /// How long to knock down entities for if they aren't buckled when FTL starts and stops.
///
public static readonly CVarDef HyperspaceKnockdownTime =
CVarDef.Create("shuttle.hyperspace_knockdown_time", 5f, CVar.SERVERONLY);
--
2.51.2