From 03453c4e27495004dcf695b9d54b2e5ed2d93ce9 Mon Sep 17 00:00:00 2001 From: Gnome Ann <> Date: Sat, 11 Dec 2021 23:46:30 -0500 Subject: [PATCH] Change script directory tree Userscripts have been moved from /scripts/userscripts to /userscripts. Core scripts have been moved from /scripts/corescripts to /cores. --- aiserver.py | 4 ++-- {scripts/corescripts => cores}/default.lua | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {scripts/corescripts => cores}/default.lua (100%) diff --git a/aiserver.py b/aiserver.py index ed75cf4e..5fc97fc7 100644 --- a/aiserver.py +++ b/aiserver.py @@ -1160,8 +1160,8 @@ vars.lua_state = lupa.LuaRuntime(unpack_returned_tuples=True) # Load bridge.lua bridged = { - "corescript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "corescripts"), - "userscript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "userscripts"), + "corescript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "cores"), + "userscript_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "userscripts"), "lib_path": os.path.join(os.path.dirname(os.path.realpath(__file__)), "extern", "lualibs"), "load_callback": load_callback, "decode": lua_decode, diff --git a/scripts/corescripts/default.lua b/cores/default.lua similarity index 100% rename from scripts/corescripts/default.lua rename to cores/default.lua