Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  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 = { -0.5, -0.5, -0.5, 1.5, 2.5, 1.5 }
  21. },
  22. node_box = {
  23. type = "fixed",
  24. fixed = { -0.5, -0.5, -0.5, 1.5, 2.5, 1.5 }
  25. }
  26. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement