minetest_game/mods/beds
Auke Kok 78c632ebd4 Allow interaction with nodes while wielding these items.
- beds
- boats
- carts
- key/skeleton key
- seeds

All these had on_place handlers that did not allow nodes with
an on_rightclick() handler to be used first (if not using
sneak). This code is taken from the torches mod and applied
everywhere.

This allows all these items to e.g. be inserted into the `frame`
mod's item frames.
2017-02-28 18:16:12 -08:00
..
textures Add beds 2015-02-24 20:59:04 +01:00
README.txt Change WTFPL to MIT (part 3) 2016-09-07 04:44:53 +01:00
api.lua Allow interaction with nodes while wielding these items. 2017-02-28 18:16:12 -08:00
beds.lua Fix whitespace errors to silence luacheck. 2016-11-19 19:39:51 -08:00
depends.txt Add beds 2015-02-24 20:59:04 +01:00
functions.lua Fix whitespace errors to silence luacheck. 2016-11-19 19:39:51 -08:00
init.lua Beds: Fix code style issues 2016-03-09 02:44:32 +00:00
license.txt Change WTFPL to MIT (part 3) 2016-09-07 04:44:53 +01:00
spawns.lua Remove unused and clean up missused variable-value assignments. 2016-07-15 21:58:49 +01:00

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.