Files
LonaRPG-Online-Games/ModScripts/_Mods/LonaCraft/Config/LonaCraft.json
T

21 lines
1.4 KiB
JSON
Raw Normal View History

2026-10-29 21:59:06 +04:00
// LonaCraft switches (read once when the game starts; restart after editing).
// Lines starting with // are comments. A mistake here means the defaults are used, with one line
// starting "LonaCraft Config" in the console (Console.bat), never a message box.
//
// "debug": true turns on the numpad debug keys (Numpad 0 1 3 5 7 9 + - * / and ., see README.md
// "Debug and self-test") and, with "self_test", the start-up self-test. Default false.
// THIS DEVELOPER BUILD SHIPS WITH true; players should keep it false.
// "self_test": true runs the self-test at start when "debug" is true: it checks the game methods,
// items, maps, events, pictures and files LonaCraft relies on, plus the mod's own data, and
// reports a game update that broke something. Default true (it only runs with "debug").
// "self_test_log": where the self-test writes its report, relative to the game folder (the one
// with Game.exe). Written again at every start. Default "UserData/LonaCraft_selftest.log".
// "viewport_guard": true keeps any sprite or window from outliving the viewport it is drawn in
// (the crafting-screen crash of 2026-10-06/07, RGSS301.dll access violation): when a viewport
// is disposed, whatever is still on it is disposed first, and with "debug" the crash trace
// (UserData/LonaCraft_trace.log) names it. Works without "debug". Default true.
{
"debug": false,
"self_test": true,
"self_test_log": "UserData/LonaCraft_selftest.log"
}