Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created July 3, 2013 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilzAdam/5921533 to your computer and use it in GitHub Desktop.
Save PilzAdam/5921533 to your computer and use it in GitHub Desktop.
for x=-2,2 do
for y=2,11 do
for z=-2,2 do
if minetest.get_node({x=x,y=y,z=z}).name == "air" then
table.insert(tab, {pos={x=x,y=y,z=z},prob=-1})
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment