mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-07-10 03:50:26 +02:00
Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still.
This commit is contained in:
@ -276,8 +276,8 @@ Executes <code> as a Lua chunk in the global namespace.
|
||||
|
||||
Executes <code> as a Lua chunk in the global namespace with the variable pos available, for each node in the current WorldEdit region.
|
||||
|
||||
//luatransform minetest.env:add_node(pos, {name="default:stone"})
|
||||
//luatransform if minetest.env:get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
|
||||
//luatransform minetest.add_node(pos, {name="default:stone"})
|
||||
//luatransform if minetest.get_node(pos).name == "air" then minetest.env:add_node(pos, {name="default:water_source"})
|
||||
|
||||
### //mtschemcreate <file>
|
||||
|
||||
|
Reference in New Issue
Block a user