aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-09 23:29:55 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-09 23:32:13 +0300
commit93cdc9b9dc240aef70ec5016552c7f36ee019865 (patch)
tree55157b777205cb9891fa7dd567cb2fe21e6c88fc /doc
parent8ed74a342988b7d67a7c9eacc2257ba42acd00de (diff)
downloadminetest-93cdc9b9dc240aef70ec5016552c7f36ee019865.tar.gz
minetest-93cdc9b9dc240aef70ec5016552c7f36ee019865.tar.bz2
minetest-93cdc9b9dc240aef70ec5016552c7f36ee019865.zip
Support static_spawnpoint setting
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index aabc673f9..9bb0dfe98 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -514,6 +514,7 @@ string:trim()
^ eg. string.trim("\n \t\tfoo bar\t ") == "foo bar"
minetest.pos_to_string({x=X,y=Y,z=Z}) -> "(X,Y,Z)"
^ Convert position to a printable string
+minetest.string_to_pos(string) -> position
minetest namespace reference
-----------------------------
@@ -576,6 +577,7 @@ Setting-related:
minetest.setting_set(name, value)
minetest.setting_get(name) -> string or nil
minetest.setting_getbool(name) -> boolean value or nil
+minetest.setting_get_pos(name) -> position or nil
minetest.add_to_creative_inventory(itemstring)
Authentication: