Izzy 1f492b80a5 disable beds 6 rokov pred
..
textures edb02e9d33 Add beds 9 rokov pred
README.txt 6171fb43f0 Change WTFPL to MIT (part 3) 8 rokov pred
api.lua 0131639e7b tons of new stuff 7 rokov pred
beds.lua 75caa9167c Fix whitespace errors to silence luacheck. 8 rokov pred
depends.txt edb02e9d33 Add beds 9 rokov pred
functions.lua 1f492b80a5 disable beds 6 rokov pred
init.lua 45bc0b245f Beds: Fix code style issues 8 rokov pred
license.txt 6171fb43f0 Change WTFPL to MIT (part 3) 8 rokov pred
spawns.lua 4473627de0 Remove unused and clean up missused variable-value assignments. 8 rokov pred

README.txt

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. If playing in singleplayer mode the night gets skipped
immediately. If playing multiplayer you get shown how many other players are in bed too,
if all players are sleeping the night gets skipped. The night skip can be forced if more
than 50% of the players are lying in bed and use this option.

Another feature is a controlled respawning. If you have slept in bed (not just lying in
it) your respawn point is set to the beds location and you will respawn there after
death.
You can disable the respawn at beds by setting "enable_bed_respawn = false" in
minetest.conf.
You can disable the night skip feature by setting "enable_bed_night_skip = false" in
minetest.conf or by using the /set command in-game.