Go to file
Auke Kok 011ad78b42 Improve Chest appearance - opening chests.
Adds a mesh model that appears when a chest is opened. The chest
stays visibly open as long as the player keeps it open. When the
player closes the formspec, the chest returns back to the closed
shape. While opening and closing, a sound plays.

A second person inspecting the chest will trigger a second sound
open. However, only after the last player closes the chest, does the
chest actually visually close and is the sound close played. This
keeps mesh updates to a minimum.

While it's possible that a server shutting down may cause chests
to remain open, this does not affect the chests' working matter,
and opening or closing them should fix them.

Old chests are converted to the new style by LBM. I previously
had them converted on open but this was unreliable, and LBMs
don't have that problem.

Open chests cannot be dug up. This prevents people from keeping
a chest open and digging it out as well, since closing a chest
would place a chest back (swap) at the spot. We could protect
against this, but it still messes up the client and causes a lot
of "missing node inventory" error messages otherwise. It's
unlikely but possible that a player lagging out causes a chest
to stay "open" and thus unremovable by digging, but there are
other ways of dealing with that - a server restart fixes that
issue.

If the lid of the chest is obstructed, the sounds continue to play,
but the lid isn't opened. Obstructed means that a node is present
above the chest lid, however, we ignore several node types like signs,
torches (not 3d) and wallmounted nodeboxes (typically signs) since
they don't pose any major obstruction in almost any case, and are
typically found above chests. Additionally, the selection box of the
opened chest does not include the lid, and so one can still interact
with e.g. a sign behind an open lid.

Due to the fact that chests now have 7+ textures, we can no longer
use materials (limit: 6) to texture the chest, and so there is now
a single UV mapped image that applies both to open and closed chests.
While this does mean texture pack makers need to create it, this
is extremely simple and consists of a simple cut'n'paste over the
template and should be really easy to do. Only one texture file is
now then used for both open and closed chests.
2017-05-01 19:36:35 +01:00
menu New header image 'Minetest Game' 2015-10-10 16:28:40 +01:00
mods Improve Chest appearance - opening chests. 2017-05-01 19:36:35 +01:00
.gitignore Gitignore: Update to ignore additional ide/editors 2016-06-26 06:10:49 +01:00
.luacheckrc Fix .luacheckrc (missing Settings class) 2017-04-11 16:53:38 +02:00
.travis.yml Use travis' container-based infrastructure (#1314) 2016-11-23 22:00:35 -08:00
game_api.txt Bushes: Add saplings 2017-04-12 17:18:50 +01:00
game.conf Rename to Minetest Game 2015-09-30 23:33:12 +01:00
LICENSE.txt License.txt: Include full official LGPL 2.1 .txt file 2017-01-07 22:01:24 +00:00
minetest.conf Minetest.conf: Move mapgen flags to engine .conf 2015-04-14 02:32:06 +01:00
minetest.conf.example Fire: Rewrite fire sound code 2016-12-07 08:28:08 +00:00
README.txt Add LICENSE.txt 2017-01-02 18:38:36 +00:00
settingtypes.txt PB&J Pup: Remove mod 2017-04-12 17:18:35 +01:00

Minetest Game [minetest_game]
=============================
The main subgame for the Minetest engine
========================================

To use this subgame with the Minetest engine, insert this repository as
	/games/minetest_game

The Minetest engine can be found in:
	https://github.com/minetest/minetest/

Compatibility
--------------
The Minetest Game github master HEAD is generally compatible with the github
master HEAD of the Minetest engine.

Additionally, when the Minetest engine is tagged to be a certain version (eg.
0.4.10), Minetest Game is tagged with the version too.

When stable releases are made, Minetest Game is packaged and made available in
	http://minetest.net/download
and in case the repository has grown too much, it may be reset. In that sense,
this is not a "real" git repository. (Package maintainers please note!)

Licensing
---------

See LICENSE.txt