diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-09-08 18:43:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 18:43:49 +0200 |
commit | e97cbcf34d6f50483a1097ad74d8a661d9433afb (patch) | |
tree | eb1ca2bb082c14fcbc5f4aeb65cc2388cf0aea68 /doc/client_lua_api.txt | |
parent | 52e3b4bc7229895c2e9ac37d72bead40f0c7cf74 (diff) | |
download | hax-minetest-server-e97cbcf34d6f50483a1097ad74d8a661d9433afb.tar.gz hax-minetest-server-e97cbcf34d6f50483a1097ad74d8a661d9433afb.zip |
Lua API documentation: Various fixes (#8914)
Remove unusable 'minetest.setting_*' from client_lua_api.txt
lua_api.txt:
- Define the 'mod.conf' format
- More precise 'settingtypes.txt' format reference
- Document special sound files 'player_*damage'
- Group, sort and add 'not_in_creative_inventory' special group
- Define the 'Settings' format
- Warning about incorrect byte saving in 'StorageRef'
- Note about non-persistent player definitions fields
- Better 'leveldiff' and 'level' group description
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 2c670645f..4bb53f403 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -111,9 +111,6 @@ The main Lua script. Running this script should register everything it wants to register. Subsequent execution depends on minetest calling the registered callbacks. -`minetest.setting_get(name)` and `minetest.setting_getbool(name)` can be used -to read custom or existing settings at load time, if necessary. - ### `sounds` Media files (sounds) that will be transferred to the client and will be available for use by the mod. |