X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fscript%2Flua_api%2Fl_env.h;h=ad9a0f50981d43e128768baf9c62538bb76e8011;hb=eb6aca8b4a67ef55108231e71ff29a18a29bf5ae;hp=e1b89494b32a29d6b63ca8658165ea1de2d43584;hpb=8de51dae97aa2fe6ea02e4cf437bfe2b2a38eb06;p=dragonfireclient.git diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h index e1b89494b..ad9a0f509 100644 --- a/src/script/lua_api/l_env.h +++ b/src/script/lua_api/l_env.h @@ -56,6 +56,11 @@ class ModApiEnvMod : public ModApiBase { // timeofday: nil = current time, 0 = night, 0.5 = day static int l_get_node_light(lua_State *L); + // get_natural_light(pos, timeofday) + // pos = {x=num, y=num, z=num} + // timeofday: nil = current time, 0 = night, 0.5 = day + static int l_get_natural_light(lua_State *L); + // place_node(pos, node) // pos = {x=num, y=num, z=num} static int l_place_node(lua_State *L);