Advertisement
Guest User

Untitled

a guest
Aug 30th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. minetest.register_node("looper:looping_node", {
  2. tiles = {"default:stone"},
  3. groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
  4. sounds = default.node_sound_wood_defaults(),
  5. description="Looper",
  6. active = false,
  7. technic_power_machine=1,
  8. paramtype = "light",
  9. is_ground_content = true,
  10.  
  11. })
  12.  
  13.  
  14. minetest.register_abm(
  15. {nodenames = {"looper:looping_node"},
  16. interval = 1,
  17. chance = 1,
  18. action = function(pos, node, active_object_count, active_object_count_wider)
  19. do
  20. print ("looped")
  21. while true
  22. end,
  23. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement