1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Give subgames the ability to disallow specific mapgens (#6792)

This commit is contained in:
Ezhh 2017-12-16 16:02:08 +00:00 committed by SmallJoker
parent 770eb09adc
commit 649eef9e4f
3 changed files with 47 additions and 15 deletions

View file

@ -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 = <Human-readable full name of the game>
@ -61,6 +61,16 @@ e.g.
name = Minetest
Optionally, game.conf can also contain:
disallowed_mapgens = <comma-separated 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.