diff options
author | proller <proller@github.com> | 2013-07-27 22:34:30 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-07-27 23:21:48 +0400 |
commit | 3aedfac9685c2d9ae8bac5a5b7e72e527f22c08d (patch) | |
tree | d1f9067040acb0b5dad42a2ae8935b91124a36d3 /src/script/lua_api/l_env.h | |
parent | e65d8ad6553d7ae0acf63b43e9818059088a00b6 (diff) | |
download | minetest-3aedfac9685c2d9ae8bac5a5b7e72e527f22c08d.tar.gz minetest-3aedfac9685c2d9ae8bac5a5b7e72e527f22c08d.tar.bz2 minetest-3aedfac9685c2d9ae8bac5a5b7e72e527f22c08d.zip |
Weather support
Diffstat (limited to 'src/script/lua_api/l_env.h')
-rw-r--r-- | src/script/lua_api/l_env.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h index 713cfa69f..eaef16180 100644 --- a/src/script/lua_api/l_env.h +++ b/src/script/lua_api/l_env.h @@ -67,6 +67,19 @@ private: // pos = {x=num, y=num, z=num} static int l_punch_node(lua_State *L); + + // minetest.get_node_max_level(pos) + // pos = {x=num, y=num, z=num} + static int l_get_node_max_level(lua_State *L); + + // minetest.get_node_level(pos) + // pos = {x=num, y=num, z=num} + static int l_get_node_level(lua_State *L); + + // minetest.add_node_level(pos) + // pos = {x=num, y=num, z=num} + static int l_add_node_level(lua_State *L); + // minetest.get_meta(pos) static int l_get_meta(lua_State *L); @@ -135,6 +148,12 @@ private: // minetest.find_path(pos1, pos2, searchdistance, // max_jump, max_drop, algorithm) -> table containing path static int l_find_path(lua_State *L); + + // minetest.transforming_liquid_add(pos) + static int l_transforming_liquid_add(lua_State *L); + + static int l_get_heat(lua_State *L); + static int l_get_humidity(lua_State *L); static struct EnumString es_MapgenObject[]; |