97130f4c1c Update Chinese translation (#3008) 1 рік тому
..
locale 97130f4c1c Update Chinese translation (#3008) 1 рік тому
textures 6bd059915c Safe texture compression (#2808) 3 роки тому
README.txt ce1eaeebbe Grammar updates README.txt 5 роки тому
api.lua 08b13c9efb Fix deprecated alpha / use_texture_alpha use 3 роки тому
beds.lua 9bf64b61c2 Fix simple bed height, make player lay down just above it, not inside it 4 роки тому
functions.lua 2e8ac46120 Beds: Replace hardcoded values of day interval with constants (#2990) 2 роки тому
init.lua 2e8ac46120 Beds: Replace hardcoded values of day interval with constants (#2990) 2 роки тому
license.txt 5ccf965825 Beds: Use mod textures instead of default_wood.png 6 роки тому
mod.conf 9b226c7045 Switch to mod.conf, delete deprecated depends.txt 5 роки тому
spawns.lua 176ddba176 Reset spawn position on bed destruction 4 роки тому

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.