minetest_game/mods/beds
sfan5 31133a371e Fix set_node(air) calls
In the fireflies case it can be replaced with remove_node.
In the beds case we fix the logic to do what it should. Coincidentally the end result was correct nonetheless.
2024-04-13 13:32:18 +02:00
..
locale Tweak capitalization in Esperanto translation 2024-01-28 11:42:02 +01:00
textures Replace beds_transparent.png with blank.png 2024-03-29 11:35:05 +01:00
README.txt Grammar updates README.txt 2019-10-01 21:47:58 +02:00
api.lua Fix set_node(air) calls 2024-04-13 13:32:18 +02:00
beds.lua Replace beds_transparent.png with blank.png 2024-03-29 11:35:05 +01:00
functions.lua Fix bed night skip race condition (#3067) 2023-09-29 22:31:13 +02:00
init.lua Beds: Replace hardcoded values of day interval with constants (#2990) 2022-09-28 11:07:50 +02:00
license.txt Beds: Use mod textures instead of default_wood.png 2018-10-29 22:08:25 +00:00
mod.conf Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
spawns.lua Reset spawn position on bed destruction 2020-01-26 18:59:44 +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)
 All textures unless otherwise noted

TumeniNodes (CC BY-SA 3.0)
 beds_bed_under.png

This mod adds a bed to Minetest which allows players to skip the night.
To sleep, right click on 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 half 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.