Search found 4 matches

by CODE_MACHINE
Wed Jul 03, 2013 21:16
Forum: WIP Mods
Topic: Simple Auto-Mining Block?
Replies: 2
Views: 1124

could someone give me an example of how I can run the loop within the minetest.register_abm function. minetest.register_abm({ nodenames = {"yourmod:yournode"}, interval=1.0, -- in seconds chance=1, action = function(pos, node, ...) for x=-1,1 do for y=-1,1 do for z=-1,1 do minetest.remove...
by CODE_MACHINE
Sat Jun 29, 2013 16:11
Forum: WIP Mods
Topic: While and For Loops within Minetest.
Replies: 3
Views: 682

Issue sorted now. Made a few little errors that escaped my notice ;)
by CODE_MACHINE
Sat Jun 29, 2013 11:40
Forum: WIP Mods
Topic: While and For Loops within Minetest.
Replies: 3
Views: 682

While and For Loops within Minetest.

Hi there everyone, My name is CODE_MACHINE and I have a lot of programming experience in variable different languages BUT despite that I use regular lua a fair bit I am struggling to implement For and While loops within a minetest.register_abm function. Your help would be gratefully accepted! Thanks.
by CODE_MACHINE
Sat Jun 29, 2013 10:31
Forum: Minetest-related projects
Topic: Minetest Periodic Table
Replies: 20
Views: 5374

Guys let's not get in an argument over this. It's obviously for a bit of fun. Nice work Jordach.