Minetest Game - A lightweight and well-maintained base for Luanti, intended for modding https://content.luanti.org/packages/Minetest/minetest_game/
Find a file Use this template
Alex Yst 19709ec868
Remove leaf decay/sneak key gotcha'
When a player places leaves, those leaves aren't subject to leaf decay, because the player deliberately placed them there, and thus clearly wants them to stay. However, if the player happens to be holding the "sneak" key - for example, if they're up on top of something high and trying not to fall off - the "param2" value of the leaf node doesn't get set, meaning that the leaves aren't marked as being player-placed, and are not immune to leaf decay. There is absolutely *no* indication of this in-game. My leaves kept disappearing on me, with no apparent cause, leading me to believe some sort of bug was at work here, and not a deliberately-coded feature.

My proposal is that this annoying quirk be removed. If a player places leaves, they probably want them there, and if they don't, they can remove them when they're done with them. This pull request does just that.

An alternative, if you want to keep this behaviour, would be to inform the player of this counter-intuitive functionality in some way. For example, the screwdriver includes usage information in its "description" field, so when  a player looks at what the screwdriver is, they see the usage information. Similarly, while carts don't have full usage information in their "description" field, they do have instructions for the most difficult thing to figure out: picking them up and putting them back into the players' inventory. Similarly, leaf nodes could contain information about this in their descriptions as well.
2019-09-27 22:44:50 -07:00
menu New header image 'Minetest Game' 2015-10-10 16:28:40 +01:00
mods Remove leaf decay/sneak key gotcha' 2019-09-27 22:44:50 -07:00
.gitignore Gitignore: Update to ignore additional ide/editors 2016-06-26 06:10:49 +01:00
.luacheckrc Add loot to dungeons (#1921) 2017-10-27 13:34:41 +02:00
.travis.yml Enable colored Luacheck output on Travis CI 2019-02-24 19:46:48 +01:00
game.conf Capitalize author in game.conf to match ContentDB 2019-05-26 20:16:52 +01:00
game_api.txt Fix glass panes sides (#2500) 2019-09-27 00:35:06 +02: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 Add option for non-jumpable fences and walls 2019-09-16 21:38:02 +01:00
README.md Convert README.txt to Markdown format 2019-09-05 22:39:24 +01:00
schematic_tables.txt Large cactus schematic: Don't force-place root node 2019-06-07 20:34:13 +01:00
screenshot.png Add screenshot.png, and more info to game.conf 2019-02-05 00:07:06 +00:00
settingtypes.txt Add option for non-jumpable fences and walls 2019-09-16 21:38:02 +01:00

Minetest Game

The default game bundled in the Minetest engine.

For further information, check this forum topic.
Also see the Minetest Wiki for more information.

Installation

  • Unzip the archive, rename the folder to minetest_game and place it in .. minetest/games/

  • GNU/Linux: If you use a system-wide installation place it in ~/.minetest/games/.

The Minetest engine can be found at GitHub.

For further information or help, see:
https://wiki.minetest.net/Installing_Mods

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 (e.g. 0.4.10), Minetest Game is tagged with the version too.

When stable releases are made, Minetest Game and the Minetest engine is packaged and made available at https://minetest.net/downloads/

Licensing

See LICENSE.txt