mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add Settings interface for Lua
This commit is contained in:
parent
10a38a3005
commit
d820a6bfd8
9 changed files with 331 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue