* backported https://github.com/minetest/minetest_game/pull/2990
* backported commit 2e8ac46120
minetest mod Beds
This mod improves beds which allows sleep, featured to (auto) skip the night.
Information
This mod is named beds
to sleep, by rightclick the bed. It featured
in singleplayer mode that the night gets skipped immediately. If playing
in multiplayer you get shown how many other players are in bed too,
if all players are sleeping the night gets skipped.
Tech information
This mod sustitute default one, you must disable the default of minetest game if present or override it.
Features
- Night Skypping:
This mod auto featured night skip in singleplayer, in multiplayer it skipped if more than a set percentage (default 50%) of the players are lying in bed and use this option. Check configuration section for more info.
- 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. Check configuration section for more info.
- More beds:
It features two more beds, the "Blue Simple Bed" like the "Simple Bed" but in blue, and the "Pink Fancy Bed" like the "Fancy Bed" but in pink.
Dependencies
- default
- player_api (for newer engines)
Optional dependences:
- intllib (only for older engines)
- pova (optional)
The pova mod are not xplicit set as optional depends, due the circular depends bug, its detected and used.
Configuration
Configuration | type | default | place file | Notes about |
---|---|---|---|---|
enable_bed_respawn | bool | true | minetest.conf | Enable respawn point set to last sleep bed |
enable_bed_night_skip | bool | false | minetest.conf | You can disable the night skip feature |
bed_sleep_divide | int | 2 | minetest.conf | Division of players needed to skip night |
Nodes
Crafting are same as original default mod, but colored uses a white plus the other color.
Node name | Description name |
---|---|
beds:bed | Simple bed |
beds:bed_blue | Simple bed blue |
beds:fancy_bed | Fancy shaped bed |
beds:fancy_bed_pink | Fancy shaped bed pink |
Nodes and Aliasing
mod name : node name | new mod name : new node |
---|---|
beds:bed_top_red | beds:bed_top |
beds:bed_bottom_red | beds:bed_bottom |
License
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
JP (WTFPL) All models unless otherwise noted
Check license.txt