From 649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a Mon Sep 17 00:00:00 2001 From: Ezhh Date: Sat, 16 Dec 2017 16:02:08 +0000 Subject: Give subgames the ability to disallow specific mapgens (#6792) --- doc/lua_api.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 7ffd17a42..aba01fa1d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -53,7 +53,7 @@ Games are looked up from: where `gameid` is unique to each game. -The game directory contains the file `game.conf`, which contains these fields: +The game directory contains the file `game.conf`, which contains: name = @@ -61,6 +61,16 @@ e.g. name = Minetest +Optionally, game.conf can also contain: + + disallowed_mapgens = + +e.g. + + disallowed_mapgens = v5,v6,flat + +These mapgens are removed from the list of mapgens for the game. + The game directory can contain the file minetest.conf, which will be used to set default settings when running the particular game. It can also contain a settingtypes.txt in the same format as the one in builtin. -- cgit v1.2.3