From 3aedfac9685c2d9ae8bac5a5b7e72e527f22c08d Mon Sep 17 00:00:00 2001 From: proller Date: Sat, 27 Jul 2013 22:34:30 +0400 Subject: Weather support --- src/script/lua_api/l_env.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/script/lua_api/l_env.h') 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[]; -- cgit v1.2.3