1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 15:00:18 +01:00
minetest_game/mods/beds
ExeVirus 6bd059915c
Safe texture compression (#2808)
Only a single program was used to safely compress all textures in MTG.

 * `optipng -o7 -zm1-9 -nc -strip all -clobber %%f`

The key command used is -nc, which stops color mode changes. I.e. any RGBA textures will remain RGBA textures, with none being changes to 8-bit indexed mode.

utils/optimize_textures.sh performs this compression automatically, assuming optipng is installed.
2021-02-12 20:55:18 +01:00
..
locale Update translation templates 2021-02-06 15:07:07 +01:00
textures Safe texture compression (#2808) 2021-02-12 20:55:18 +01:00
api.lua Fix deprecated alpha / use_texture_alpha use 2021-02-07 11:48:05 +01:00
beds.lua Fix simple bed height, make player lay down just above it, not inside it 2020-02-08 03:11:44 +00:00
functions.lua Fix crash on exit of bed formspec if not sleeping (#2826) 2021-02-11 12:30:37 +01:00
init.lua Escape translated text in 'beds' mod formspec 2019-11-22 21:47:47 +00: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
README.txt Grammar updates README.txt 2019-10-01 21:47:58 +02:00
spawns.lua Reset spawn position on bed destruction 2020-01-26 18:59:44 +01:00

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.