Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. -- Conveyor mod for Minetest
  2. -- Copyright 2012 Mark Holmquist <mtraceur@member.fsf.org>
  3. --
  4. -- The Conveyor mod is free software: you can redistribute it and/or modify
  5. -- it under the terms of the GNU General Public License as published by
  6. -- the Free Software Foundation, either version 3 of the License, or
  7. -- (at your option) any later version.
  8. --
  9. -- The Conveyor mod is distributed in the hope that it will be useful,
  10. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. -- GNU General Public License for more details.
  13. --
  14. -- You should have received a copy of the GNU General Public License
  15. -- along with the Conveyor mod. If not, see <http://www.gnu.org/licenses/>.
  16.  
  17. minetest.register_node("conveyor:conveyor", {
  18. description = "Conveyor Belt",
  19. drawtype = "nodebox",
  20. paramtype = "light",
  21. paramtype2 = "facedir",
  22. inventory_image = "conveyor_top.png",
  23. wieldimage = "conveyor_top.png",
  24. tiles = {
  25. {name="conveyor_top_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}},
  26. "conveyor_side.png"},
  27. node_box = {
  28. type = "fixed",
  29. fixed = {
  30. {-0.500000,-0.500000,-0.500000,0.500000,0.000000,0.500000},
  31. },
  32. },
  33. groups = {oddly_breakable_by_hand=2},
  34. drop = "conveyor:conveyor",
  35. })
  36.  
  37. minetest.register_craft( {
  38. output = 'conveyor:conveyor',
  39. recipe = {
  40. { 'rubber_sheet:rubber_sheet', 'rubber_sheet:rubber_sheet', 'rubber_sheet:rubber_sheet' },
  41. { 'gears:gear', 'gears:gear', 'gears:gear' },
  42. { 'rubber_sheet:rubber_sheet', 'rubber_sheet:rubber_sheet', 'rubber_sheet:rubber_sheet' }
  43. }
  44. } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement