description="Generates a maze covering the currently selected area (must be at least 3x3 on the x,z axes) with replace_node as the walls. Optionally takes a (integer) seed and the path length and width (see the documentation in the worldeditadditions README for more information).",
worldedit.player_notify(name,replaced.." nodes replaced in "..time_taken.."s")
minetest.log("action",name.." used //maze at "..worldeditadditions.vector.tostring(worldedit.pos1[name])..", replacing "..replaced.." nodes in "..time_taken.."s")
worldedit.player_notify(name,"Error: Invalid input '"..params_text.."' (specifically the replace node). Try '/help /maze' to learn how to use this command.")
return0
end
ifnotseedandhas_seedthen
worldedit.player_notify(name,"Error: Invalid input '"..params_text.."' (specifically the seed). Try '/help /maze' to learn how to use this command.")
description="Generates a 3d maze covering the currently selected area (must be at least 3x3x3) with replace_node as the walls. Optionally takes a (integer) seed and the path length, width, and depth (see the documentation in the worldeditadditions README for more information).",
worldedit.player_notify(name,replaced.." nodes replaced in "..time_taken.."s")
minetest.log("action",name.." used //maze at "..worldeditadditions.vector.tostring(worldedit.pos1[name])..", replacing "..replaced.." nodes in "..time_taken.."s")
worldedit.player_notify(name,"Error: Invalid input '"..params_text.."' (specifically the replace node). Try '/help /maze3d' to learn how to use this command.")
return0
end
ifnotseedandhas_seedthen
worldedit.player_notify(name,"Error: Invalid input '"..params_text.."' (specifically the seed). Try '/help /maze3d' to learn how to use this command.")