diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-09-09 22:50:25 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-09-10 18:31:38 +0200 |
commit | d820a6bfd807b6d181a858f3ea8a0d0f5c2b1879 (patch) | |
tree | 23b6052c527213c854289b1a5ea742897a130fd4 /doc/menu_lua_api.txt | |
parent | 10a38a3005e420ec16a821117bf9f025b6e2c61b (diff) | |
download | minetest-d820a6bfd807b6d181a858f3ea8a0d0f5c2b1879.tar.gz minetest-d820a6bfd807b6d181a858f3ea8a0d0f5c2b1879.tar.bz2 minetest-d820a6bfd807b6d181a858f3ea8a0d0f5c2b1879.zip |
Add Settings interface for Lua
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r-- | doc/menu_lua_api.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index d4bc093b0..5763f875c 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -182,3 +182,9 @@ string:split(separator) ^ eg. string:split("a,b", ",") == {"a","b"} string:trim() ^ eg. string.trim("\n \t\tfoo bar\t ") == "foo bar" +minetest.is_yes(string) +^ returns whether string can be interpreted as yes + +Class reference +---------------- +Settings: see lua_api.txt |