Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Doctor Who mod for Minetest
  2. --
  3. -- Main coder: Joel Leclerc
  4.  
  5. local dr_who = {}
  6.  
  7. dr_who_mod_prefix = "dr_who"
  8. function dr_who:gen_name(n)
  9. return dr_who_mod_prefix .. ":" .. n
  10. end
  11.  
  12. minetest.register_node(dr_who:gen_name("tardis_box"), {
  13. description = "TARDIS",
  14. paramtype = "light",
  15. paramtype2 = "facedir",
  16. walkable = true,
  17. --tile_images = {"default_wood.png", "default_wood.png", "default_wood.png"},
  18. selection_box = {
  19. type = "fixed",
  20. fixed = {
  21. { -0.5, -0.5, -0.5, 1.5, 2.5, 1.5 }
  22. }
  23. },
  24. node_box = {
  25. type = "fixed",
  26. fixed = {
  27. { -0.5, -0.5, -0.5, 1.5, 2.5, 1.5 }
  28. }
  29.  
  30. }
  31. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement