A question I have is about making a simple mod for personal development with the minetest API. I want to make a simple block that automatically mines a set area. Here is some pseudo code:
Code: Select all
If minetest.register_abm = true For loop < 100: posArray = [posY = current.y - 1, posXP = current.x + 1, posXN = current.x - 1, posZP = current.z + 1, posZN = current.z - 1] set node(posArray) to node(default:air) End For End If
Please realize that I am only starting with minetest and so all help would be great. I haven't really used LUA for a lot at all. I have come from learning python, java and now C++ for desktop applications.
I am only experimenting at the moment as I need a project to keep me busy and this might be it but that depends on the support.