daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Aug 14th, 2014 216 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_abm({
  2. nodenames = "ubw:spawner",
  3. interval = 3.0,
  4. chance = 1,
  5. action =
  6.  
  7. function(pos)
  8.         ---[[
  9.         savedpos = pos
  10.         savedz = pos.z
  11.         for i = 0, 25, 1  do
  12.                 pos.x = pos.x+1
  13.                 for p = 0, 25, 1 do
  14.                         pos.z = pos.z + 1
  15.                         minetest.set_node(pos, {name = "ubw:dirt_active"})
  16.                 end
  17.                 pos.z = savedz
  18.         end
  19.         --]]
  20.         minetest.remove_node(savedpos)
  21. end
  22. })
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top