Merge pull request #58 from oiltanker/unstable-tests

cs script runner + mod store + cs-lua interface
This commit is contained in:
Evil Factory
2022-04-17 14:31:44 -03:00
committed by GitHub
9 changed files with 374 additions and 75 deletions
@@ -1243,7 +1243,11 @@ namespace Barotrauma
commands.Add(new Command("lua", "lua: runs a string", (string[] args) =>
{
GameMain.LuaCs.DoString(string.Join(" ", args));
GameMain.LuaCs.Lua.DoString(string.Join(" ", args));
}));
commands.Add(new Command("cs", "cs: runs a string", (string[] args) =>
{
GameMain.LuaCs.CsScript.Run(string.Join(" ", args));
}));
commands.Add(new Command("reloadlua", "reloads lua", (string[] args) =>