aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-08 23:32:53 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-08 23:32:53 +0300
commit4eaaa0ec538ee0a00d80936719ddf2118ad21fe1 (patch)
tree7412fc3f8c867f63ca32189569a1bde6e59473da /doc
parent42323014eaf359f76b388e75e788486bb0bda280 (diff)
downloadminetest-4eaaa0ec538ee0a00d80936719ddf2118ad21fe1.tar.gz
minetest-4eaaa0ec538ee0a00d80936719ddf2118ad21fe1.tar.bz2
minetest-4eaaa0ec538ee0a00d80936719ddf2118ad21fe1.zip
Add minimal documentation about the $world/game/ addition
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt13
1 files changed, 13 insertions, 0 deletions
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