From c624ec656892a8c5d27f5ddc9982772e5981b0a5 Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Sat, 22 Oct 2022 10:49:26 -0300 Subject: [PATCH] Added variations for some commands and improved their descriptions --- Barotrauma/BarotraumaServer/ServerSource/DebugConsole.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Barotrauma/BarotraumaServer/ServerSource/DebugConsole.cs b/Barotrauma/BarotraumaServer/ServerSource/DebugConsole.cs index 03a39904a..319f9ffd3 100644 --- a/Barotrauma/BarotraumaServer/ServerSource/DebugConsole.cs +++ b/Barotrauma/BarotraumaServer/ServerSource/DebugConsole.cs @@ -1262,7 +1262,7 @@ namespace Barotrauma GameMain.LuaCs.HandleException(ex, LuaCsMessageOrigin.LuaMod); } })); - commands.Add(new Command("cs", "cs: runs a string", (string[] args) => + commands.Add(new Command("cs", "cs: Runs a string", (string[] args) => { if (LuaCsSetup.GetPackage("CsForBarotrauma", false, true) == null) { return; } @@ -1270,13 +1270,13 @@ namespace Barotrauma GameMain.LuaCs.RecreateCsScript(); })); - commands.Add(new Command("reloadlua", "reloads lua", (string[] args) => + commands.Add(new Command("reloadlua|reloadcs|reloadluacs", "Re-initializes the LuaCs environment.", (string[] args) => { GameMain.LuaCs.Initialize(); })); #if WINDOWS - commands.Add(new Command("install_cl_lua", "Installs Client-Side Lua into your client.", (string[] args) => + commands.Add(new Command("install_cl_lua|install_cl|install_cl_cs|install_cl_luacs", "Installs Client-Side LuaCs into your client.", (string[] args) => { LuaCsInstaller.Install(); }));