forked from Mirrorlandia_minetest/minetest
master #3
@ -5920,7 +5920,7 @@ Environment access
|
|||||||
* `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
|
* `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
|
||||||
* `minetest.get_timeofday()`
|
* `minetest.get_timeofday()`
|
||||||
* `minetest.get_gametime()`: returns the time, in seconds, since the world was
|
* `minetest.get_gametime()`: returns the time, in seconds, since the world was
|
||||||
created.
|
created. The time is not available (`nil`) before the first server step.
|
||||||
* `minetest.get_day_count()`: returns number days elapsed since world was
|
* `minetest.get_day_count()`: returns number days elapsed since world was
|
||||||
created.
|
created.
|
||||||
* accounts for time changes.
|
* accounts for time changes.
|
||||||
|
Loading…
Reference in New Issue
Block a user