A Basic Example Mod for those new to lua
This is a basic mod with very simple coding introducing the method of adding blocks to Minetest. It is a WTFPL so you can look at the code and change it, although there is only about 5 lines of it. It basically adds a nice decorative block that when crafted, yields 2.
The recipe can be found in the init.lua. You can use the image however you want. Again, this mod is only here to demonstrate a working addition of a block that is easy to understand by complete beginners (I hope!).
Download at https://www.dropbox.com/s/aab2mbkhj5wuhvo/deco%20block.zip
The added block with proof that it glows.

The recipe can be found in the init.lua. You can use the image however you want. Again, this mod is only here to demonstrate a working addition of a block that is easy to understand by complete beginners (I hope!).
Download at https://www.dropbox.com/s/aab2mbkhj5wuhvo/deco%20block.zip
The added block with proof that it glows.