Surviving Mars

Surviving Mars

Lua Console
正在显示第 1 - 10 项,共 10 项条目
更新于:2018 年 4 月 8 日 上午 5:03

Fixes the history (arrow up/down) that broke with the Spirit update.

更新于:2018 年 3 月 27 日 上午 9:49

Adds stack traces.

Adds helper function lcDebug(...) that'll write its arguments to the console like lcPrint() does but also lists local variables and their values from the calling function.

更新于:2018 年 3 月 27 日 上午 5:30

Another fix after testing the previous one on Mac.

更新于:2018 年 3 月 27 日 上午 5:23

Minor adjustments after Mac testing.

更新于:2018 年 3 月 27 日 上午 5:10

This update introduces support for Waywocket's Mod Config mod. A number of additional options become available through it if Mod Config is installed.

Also now includes a copy of Inconsolata Regular, an open source monospace font. If Mod Config is available, ticking the custom font checkbox (handbox?) causes the console to install this bundled font into the game's install location. It will then be available after a restart.

更新于:2018 年 3 月 25 日 上午 5:37

This update introduces the "trace" command. Type "trace myFunction()" or something like that to evaluate an expression while tracing its execution. It's really slow though.

"Reload Mods" will now refuse to re-load if it finds a syntax error in any of the mods that are currently loaded. There's also a "Verify Mod Syntax" menu option now so you can check at any time.

Multiple return values are now handled correctly in that all of them are displayed instead of only the first one.

更新于:2018 年 3 月 24 日 上午 3:19

I put the mod on github and this update is mostly to sync the workshop with github.
https://github.com/thatfool/SMars-Lua-Console

I think there were some minor fixes as well, but I wouldn't know since that would have been before the import into git :P

更新于:2018 年 3 月 22 日 上午 6:22

This update introduced watch expressions and the scratch pad.

更新于:2018 年 3 月 21 日 上午 7:21

This update moved Lua Console into its own window.

更新于:2018 年 3 月 19 日 上午 6:35

The initial version was just a cheap 20 line hack that turned on the built-in console with all its flaws and drawbacks.