mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
Minetest Game - A lightweight and well-maintained base for Luanti, intended for modding
https://content.luanti.org/packages/Minetest/minetest_game/
https://f.cloud.github.com/assets/950942/44526/bcc65de0-56c7-11e2-905e-d8a82d3e44a6.png When a node's can_dig() function is checked, it only tells if that player can dig the node. However, bones uses this function, then assumes the node can be dug by a nil player, as opposed to having the player himself/herself dig the node. This assumption isn't always accurate, and results in partial doors in some cases, as depicted in the screenshot above. Basically, the player themselves can dig the locked door, but the nil player cannot, resulting in the door's after_dig_node() not getting called This patch fixes this issue by assuming the nil player cannot dig any node that specifies a can_dig() function. This allows nodes that prefer to limit who can dig them to function as usual (such as locked doors) while still allowing bones to remove the majority of nodes (including unlocked doors) with no error. |
||
---|---|---|
menu | ||
mods | ||
.gitignore | ||
game.conf | ||
README.txt |
The main game for the Minetest game engine [minetest_game] ========================================================== To build the wholeness of the Minetest project, insert this repository as /games/minetest_game in the Minetest Engine. 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 minetest. Additionally, when the minetest engine is tagged to be a certain version (eg. 0.4.dev-20120326), 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.php 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!) License of source code ---------------------- Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com> See README.txt in each mod directory for information about other authors. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. License of media (textures and sounds) -------------------------------------- Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com> See README.txt in each mod directory for information about other authors. Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/ License of menu/header.png Copyright (C) 2013 BlockMen CC BY-3.0