init.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. minetest.register_node("buildingblocks:blue_box", {
  2. description = "Blue box",
  3. tiles = {
  4. "blue_box_top.png",
  5. "blue_box_top.png",
  6. "blue_box_side.png",
  7. "blue_box_side.png",
  8. "blue_box_side.png",
  9. "blue_box_side.png"
  10. },
  11. groups = {breakable=1},
  12. })
  13. minetest.register_node("buildingblocks:green_box", {
  14. description = "Green box",
  15. tiles = {
  16. "box_top.png",
  17. "box_top.png",
  18. "box_side.png",
  19. "box_side.png",
  20. "box_side.png",
  21. "box_side.png"
  22. },
  23. groups = {breakable=1},
  24. })
  25. minetest.register_node("buildingblocks:red_box", {
  26. description = "Red box",
  27. tiles = {
  28. "red_box_top.png",
  29. "red_box_top.png",
  30. "red_box_side.png",
  31. "red_box_side.png",
  32. "red_box_side.png",
  33. "red_box_side.png"
  34. },
  35. groups = {breakable=1},
  36. })
  37. minetest.register_node("buildingblocks:floor", {
  38. description = "floor",
  39. tiles = {"floor.png"},
  40. groups = {breakable=1},
  41. })
  42. minetest.register_node("buildingblocks:floor_two", {
  43. description = "another floor",
  44. tiles = {"floor_two.png"},
  45. groups = {breakable=1},
  46. })
  47. minetest.register_node("buildingblocks:floor_three", {
  48. description = "Another floor",
  49. tiles = {"floor_three.png"},
  50. groups = {breakable=1},
  51. })
  52. minetest.register_node("buildingblocks:floor_four", {
  53. description = "Another Floor",
  54. tiles = {"floor_four.png"},
  55. groups = {breakable=1},
  56. })
  57. minetest.register_node("buildingblocks:floor_five", {
  58. description = "ANOTHER Floor",
  59. tiles = {"floor_fifth.png"},
  60. groups = {breakable=1},
  61. })
  62. minetest.register_node("buildingblocks:floor_six", {
  63. description = "ANOTHER FLOOR",
  64. tiles = {"floor_six.png"},
  65. groups = {breakable=1},
  66. })
  67. minetest.register_node("buildingblocks:floor_seven", {
  68. description = "AnOtHeR FlOoR",
  69. tiles = {"floor_seven.png"},
  70. groups = {breakable=1},
  71. })
  72. minetest.register_node("buildingblocks:wall", {
  73. description = "Wall",
  74. tiles = {"wall.png"},
  75. groups = {breakable=1},
  76. })
  77. minetest.register_node("buildingblocks:caution_block", {
  78. description = "caution block",
  79. tiles = {"caution.png"},
  80. groups = {breakable=1},
  81. })
  82. minetest.register_node("buildingblocks:vent", {
  83. description = "vent block",
  84. tiles = {"vent_top.png"},
  85. groups = {breakable=1},
  86. })