From 9736548720a96c9c7f739edb0435d9ba4ad80652 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Thu, 15 Jan 2015 16:20:05 -0500 Subject: Add ability to delete MapBlocks from map Also add a Lua API and chatcommand for this --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 6d6625348..6359ef6de 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1880,6 +1880,8 @@ and `minetest.auth_reload` call the authetification handler. * Generate all registered decorations within the VoxelManip specified by `vm`. * `minetest.clear_objects()` * clear all objects in the environments +* `minetest.delete_area(pos1, pos2)` + * delete all mapblocks in the area from pos1 to pos2, inclusive * `minetest.line_of_sight(pos1, pos2, stepsize)`: returns `boolean, pos` * Check if there is a direct line of sight between `pos1` and `pos2` * Returns the position of the blocking node when `false` -- cgit v1.2.3