Guest User

Untitled

a guest
Sep 8th, 2012
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Nodes --
  2. minetest.register_node("blox101:chrome", {
  3.  
  4. tile_images = {"blox101_chrome.png"},
  5.  
  6. inventory_image = minetest.inventorycube("blox101_chrome.png"),
  7.  
  8. is_ground_content = true,
  9.  
  10. material = minetest.digprop_stonelike(1.0),
  11.  
  12. })
  13.  
  14. minetest.register_node("blox101:garage_door", {
  15.  
  16. tile_images = {"blox101_garagedoor.png"},
  17.  
  18. inventory_image = minetest.inventorycube("blox101_garagedoor.png"),
  19.  
  20. is_ground_content = true,
  21.  
  22. material = minetest.digprop_stonelike(1.0),
  23.  
  24. })
  25.  
  26. minetest.register_node("blox101:garage_window", {
  27.  
  28. tile_images = {"blox101:garagewindow.png"},
  29.  
  30. inventory_image = minetest.inventorycube("blox101_garagewindow.png"),
  31.  
  32. is_ground_content = true,
  33.  
  34. material = minetest.digprop_stonelike(1.0),
  35.  
  36. })
  37. --Crafting--
  38. minetest.register_craft({
  39.  
  40. output = 'craft "blox101:chrome"',
  41.  
  42. recipe = {
  43.  
  44. {'node "default:steel_ingot"', 'node "default:steel_ingot"', 'node "default:steel_ingot"'},
  45.  
  46. {'node "defaultcoal_lump"', 'node "defaultcoal_lump"', 'node "defaultcoal_lump"'},
  47.  
  48. {'node "defaultcoal_lump"', 'node "default:steel_ingot"', 'node "defaultcoal_lump"'},
  49.  
  50. }
  51.  
  52. })
  53.  
  54. minetest.register_craft({
  55.  
  56. output = 'craft "blox101:garage_door"',
  57.  
  58. recipe = {
  59.  
  60. {'node "default:steel_ingot"', 'node "default:steel_ingot"', 'node "default:steel_ingot"'},
  61.  
  62. {'node "default:steel_ingot"', '""', 'node "default:steel_ingot"'},
  63.  
  64. {'node "default:steel_ingot"', 'node "default:steel_ingot"', 'node "default:steel_ingot"'},
  65.  
  66. }
  67.  
  68. })
  69. minetest.register_craft({
  70.  
  71. output = 'craft "blox101:garage_window"',
  72.  
  73. recipe = {
  74.  
  75. {'node "default:steel_ingot"', 'node "default:steel_ingot"', 'node "default:steel_ingot"'},
  76.  
  77. {'node "default:steel_ingot"', 'node "default:glass"', 'node "default:steel_ingot"'},
  78.  
  79. {'node "default:steel_ingot"', 'node "default:steel_ingot"', 'node "default:steel_ingot"'},
  80.  
  81. }
  82.  
  83. })
RAW Paste Data