mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 03:51:05 +01:00
Add documentation for mcl_beds.is_night()
This commit is contained in:
parent
38ea214bfe
commit
4c5c20e514
1 changed files with 4 additions and 1 deletions
|
@ -15,4 +15,7 @@ This mod adds a bed to Minetest which allows to skip the night.
|
||||||
To sleep, rightclick the bed.
|
To sleep, rightclick the bed.
|
||||||
Another feature is a controlled respawning. If you have slept in bed your respawn point is set to the beds location and you will respawn there after
|
Another feature is a controlled respawning. If you have slept in bed your respawn point is set to the beds location and you will respawn there after
|
||||||
death.
|
death.
|
||||||
|
|
||||||
Use the mcl_playersSleepingPercentage setting to enable/disable night skipping or set a percentage of how many players need to sleep to skip the night.
|
Use the mcl_playersSleepingPercentage setting to enable/disable night skipping or set a percentage of how many players need to sleep to skip the night.
|
||||||
|
|
||||||
|
mcl_beds.is_night([ time of day ]) - returns wether it's night with optional argument of a minetest time of day value between 0 and 1
|
||||||
|
|
Loading…
Reference in a new issue