Skip to content

Commit 537f511

Browse files
SmallJokersfan5
authored andcommitted
Lua API: document more game files and directories
1 parent 82ed395 commit 537f511

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

doc/lua_api.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,21 @@ The game directory can contain the following files:
108108
See [Translating content meta](#translating-content-meta).
109109
* `minetest.conf`:
110110
Used to set default settings when running this game.
111+
* `screenshot.{png,jpg,jpeg}`:
112+
Preview image, shown in the main menu.
111113
* `settingtypes.txt`:
112114
In the same format as the one in builtin.
113115
This settingtypes.txt will be parsed by the menu and the settings will be
114116
displayed in the "Games" category in the advanced settings tab.
115-
* `textures` directory:
116-
See chapter [Textures](#loading-order).
117+
118+
And the following directories:
119+
120+
* `menu`:
121+
Files related to the main menu, see chapter [Menu images](#menu-images).
122+
* `mods`:
123+
Mods provided by the game.
124+
* `textures`:
125+
See also chapter [Textures](#loading-order).
117126

118127
Menu images
119128
-----------
@@ -227,7 +236,7 @@ A `Settings` file that provides meta information about the mod.
227236
* `textdomain`: Textdomain used to translate title and description. Defaults to modname.
228237
See [Translating content meta](#translating-content-meta).
229238

230-
### `screenshot.png`
239+
### `screenshot.{png,jpg,jpeg}`
231240

232241
A screenshot shown in the mod manager within the main menu. It should
233242
have an aspect ratio of 3:2 and a minimum size of 300×200 pixels.

0 commit comments

Comments
 (0)