Go to file
Tai @ Flex c187742120 fix typos in readme 2017-01-25 18:24:52 +00:00
.gitignore initial working commit 2017-01-25 13:15:14 +00:00
LICENSE.txt add license 2017-01-25 14:36:53 +00:00
README.md fix typos in readme 2017-01-25 18:24:52 +00:00
depends.txt initial working commit 2017-01-25 13:15:14 +00:00
init.lua random selection of blocks 2017-01-25 14:40:02 +00:00
mod.conf initial working commit 2017-01-25 13:15:14 +00:00
nodes.lua deactivate demo nodes 2017-01-25 14:27:57 +00:00

README.md

Unstable Nodes for Minetest

Nodes that can be placed and built upon.

If you dig them, they may just give way.

Unlike falling nodes, only some of their neighbours will be caused to fall as well.

API

This mod does not by default add any nodes to the game. It serves as a library to make nodes defined by other mods unstable.

You can however edit the examples in nodes.lua to add any nodes for which you want unstable counterparts for.

There are 2 main ways of creating unstable nodes:

  1. Creating an unstable verison of an existing non-unstable node using unstable_nodes.add_unstable_version(nodename)
  2. Using unstablenodes.register_node(nodename, nodedef) instead of minetest.register_node(nodename, nodedef) to register a new node
    • The definition can also include a fallspeed parameter to determine the falling speed of the node - a positive integer.

License

(C) 2017 Tai "DuCake" Kedzierski

Provided under the terms of the GNU Lesser General Public License v3.0 (https://www.gnu.org/licenses/lgpl-3.0.html)

You are free to copy, modify and redistribute this software, as long as yu provide the same rights to the receippients of your changed copies.