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. |
||
---|---|---|
menu | ||
mods | ||
.gitignore | ||
.luacheckrc | ||
.travis.yml | ||
game.conf | ||
game_api.txt | ||
LICENSE.txt | ||
minetest.conf | ||
minetest.conf.example | ||
README.md | ||
schematic_tables.txt | ||
screenshot.png | ||
settingtypes.txt |
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