MineClone2/mods/ITEMS/mcl_beds
2022-09-10 03:07:41 +02:00
..
locale Add translations 2022-08-23 02:33:27 +00:00
textures code from inital PR 2022-05-08 19:57:09 +00:00
api.lua fix beds dropping when burning up 2022-02-25 00:08:26 +00:00
beds.lua fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
functions.lua optional time_of_day arg for mcl_beds.is_night() 2022-09-10 03:07:41 +02:00
init.lua code from inital PR 2022-05-08 19:57:09 +00:00
license.txt Rename beds mod to mcl_beds 2017-05-07 20:21:37 +02:00
mod.conf update dependencies 2022-05-08 19:57:09 +00:00
README.txt Add documentation for mcl_beds.is_night() 2022-09-10 03:07:41 +02:00
respawn_anchor.lua Not Quite 'Nine' Lives Advancement 2022-07-01 13:11:26 -06: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