1
0
Fork
You've already forked beds
0
forked from tenplus1/beds
add coloured mesh beds into minetest
  • Lua 100%
Find a file
2024年05月19日 18:54:03 -05:00
locale tweak esperanto translation 2024年05月19日 18:54:03 -05:00
models Initial 1.2 upload 2021年06月03日 08:46:14 +01:00
textures add new white simple bed, change red bed recipes to use red wool, add my own screenshot 2022年05月11日 08:15:30 +01:00
api.lua nil checks and 53 support check 2022年03月01日 08:47:00 +00:00
beds.lua add more beds as fuel, add mini-game respawn flag. 2022年05月12日 08:22:01 +01:00
Changelog.txt add setting to show when player sleeps in chat 2023年11月16日 08:17:49 +00:00
functions.lua add setting to show when player sleeps in chat 2023年11月16日 08:17:49 +00:00
init.lua removed intllib 2023年08月08日 18:18:39 +01:00
license.txt add new white simple bed, change red bed recipes to use red wool, add my own screenshot 2022年05月11日 08:15:30 +01:00
mod.conf update mod.conf 2023年09月30日 07:51:32 +01:00
README.md add more beds as fuel, add mini-game respawn flag. 2022年05月12日 08:22:01 +01:00
screenshot.jpg add new white simple bed, change red bed recipes to use red wool, add my own screenshot 2022年05月11日 08:15:30 +01:00
settingtypes.txt add setting to show when player sleeps in chat 2023年11月16日 08:17:49 +00:00
spawns.lua add more beds as fuel, add mini-game respawn flag. 2022年05月12日 08:22:01 +01:00

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.

screenshot.jpg

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 more beds, so along with the Red simple bed we now have White and Blue, and the fance beds has the original Red and now 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

Mini-Game Support

If enable_bed_respawn is set to true and a player dies when playing a mini-game then this can interrupt the game, so a special beds.respawn[player_name] flag has been added which is set to 'true' by default to always respawn player at their bed, but can be set to 'false' during a mini-game to stop this behaviour.

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