Update lua_api.txt

set_sky does work with on_joinplayer
master
slemonide 2016-01-02 03:21:17 -08:00 committed by paramat
parent 57a461930b
commit 95c1b66722
1 changed files with 0 additions and 2 deletions

View File

@ -2636,8 +2636,6 @@ This is basically a reference to a C++ `ServerActiveObject`
* `"regular"`: Uses 0 textures, `bgcolor` ignored
* `"skybox"`: Uses 6 textures, `bgcolor` used
* `"plain"`: Uses 0 textures, `bgcolor` used
* **Note**: currently does not work directly in `on_joinplayer`; use
`minetest.after(0)` in there.
* `get_sky()`: returns bgcolor, type and a table with the textures
* `override_day_night_ratio(ratio or nil)`
* `0`...`1`: Overrides day-night ratio, controlling sunlight to a specific amount