VoxeLibre/mods/ITEMS/mcl_beds
nixnoxus 3975449ad2 fix mcl_beds: ignore players in other dimensions than overwold (#4257)
beds ignore players in other dimensions than "overworld" (because players can only sleep in the "overworld")

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4257
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: nixnoxus <nixnoxus@web.de>
Co-committed-by: nixnoxus <nixnoxus@web.de>
2024-05-02 03:13:27 +00:00
..
locale French translation update (#4006) 2023-11-25 01:08:06 +00:00
models
api.lua Add additional bed placing attempts 2024-04-27 10:42:20 +00:00
beds.lua
functions.lua fix mcl_beds: ignore players in other dimensions than overwold (#4257) 2024-05-02 03:13:27 +00:00
init.lua
license.txt
mod.conf Beds mesecons dependency incorrectly named 2023-05-09 23:34:07 +00:00
README.txt
respawn_anchor.lua Remove deprecated usages of image property in tile defs 2023-03-26 22:56:33 +00:00

Minetest Game mod: beds
=======================
See license.txt for license information.

Authors of source code
----------------------
Originally by BlockMen (MIT)
Various Minetest developers and contributors (MIT)

Authors of media (textures)
---------------------------
BlockMen (CC BY-SA 3.0)

This mod adds a bed to Minetest which allows to skip the night.
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
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.

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