From 4eaaa0ec538ee0a00d80936719ddf2118ad21fe1 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 8 Apr 2012 23:32:53 +0300 Subject: [PATCH] Add minimal documentation about the $world/game/ addition --- doc/lua_api.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3072b1f57..bc4114419 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -46,6 +46,19 @@ On an installed version on linux: ~/.minetest/mods/gameid/ <-- User-installed mods ~/.minetest/worlds/worldname/worldmods +Mod load path for world-specific games +-------------------------------------- +It is possible to include a game in a world; in this case, no mods or +games are loaded or checked from anywhere else. + +This is useful for eg. adventure worlds. + +This happens if the following directory exists: + $world/game/ + +Mods should be then be placed in: + $world/game/mods/ + Mod directory structure ------------------------ mods