description="Floods all connected nodes of the same type starting at pos1 with <replace_node>, in a box-shape with a radius of <radius>, which defaults to 50.",
privs={worldedit=true},
-- TODO: Integrate will the safe_region feature of regular worldedit
worldedit.player_notify(name,nodes_replaced.." nodes replaced in "..(os.clock()-start_time).."s")
minetest.log("action",name.." used floodfill at "..worldeditadditions.vector.tostring(worldedit.pos1[name])..", replacing "..nodes_replaced.." nodes in "..(os.clock()-start_time).."s")