aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-05-21 16:23:30 +0100
committerGitHub <noreply@github.com>2022-05-21 16:23:30 +0100
commit4e9e230e34912d08ec0f0fc01d14ef80654c7cac (patch)
treeae06c4fc9971808dd0a87d07aba702d8561b05ef /doc/lua_api.txt
parentdc45b85a543b4c8ad72f69a554ecfe7f0a60c533 (diff)
downloadhax-minetest-server-4e9e230e34912d08ec0f0fc01d14ef80654c7cac.tar.gz
hax-minetest-server-4e9e230e34912d08ec0f0fc01d14ef80654c7cac.zip
Deprecate game.conf name, use title instead (#12030)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index abfaf08aa..6046a5902 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -62,7 +62,8 @@ Where `<gameid>` is unique to each game.
The game directory can contain the following files:
* `game.conf`, with the following keys:
- * `name`: Required, a human readable title to address the game, e.g. `name = Minetest`.
+ * `title`: Required, a human-readable title to address the game, e.g. `title = Minetest Game`.
+ * `name`: (Deprecated) same as title.
* `description`: Short description to be shown in the content tab
* `allowed_mapgens = <comma-separated mapgens>`
e.g. `allowed_mapgens = v5,v6,flat`