From 6a3fa9df12d5982f84e83e1c61ff757edc1043f4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 18 Oct 2013 11:53:19 +0300 Subject: Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness --- src/script/lua_api/l_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_object.h') diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index b41938ca7..2c53d1a69 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -228,6 +228,9 @@ private: // set_sky(self, type, list) static int l_set_sky(lua_State *L); + // override_day_night_ratio(self, type, list) + static int l_override_day_night_ratio(lua_State *L); + public: ObjectRef(ServerActiveObject *object); -- cgit v1.2.3