From 3be53369f544187af7bb88b1ee284ab1348f32af Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sun, 15 Nov 2009 04:05:31 -0800 Subject: luaterp (&^T): load files via terp_file option You can now specify Lua files to be loaded for use in the wizard Lua interpreter via "terp_file = file_path" in your init file. These files will be run in the context of dlua, as opposed to the clua context of files included with "lua_file = file_path". --- crawl-ref/source/options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/options.h') diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h index 3abd9bc1e6..b344176e99 100644 --- a/crawl-ref/source/options.h +++ b/crawl-ref/source/options.h @@ -168,7 +168,8 @@ public: std::string pizza; #ifdef WIZARD - int wiz_mode; // yes, no, never in wiz mode to start + int wiz_mode; // no, never, start in wiz mode + std::vector terp_files; // Lua files to load for luaterp #endif // internal use only: -- cgit v1.2.3-54-g00ecf