quartz.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. minetest.register_node('masonry:quartz_pillar', {
  2. description = 'Quartz Pillar',
  3. tiles = {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_top.png','masonry_quartz_pillar_side.png'},
  4. paramtype2 = 'facedir',
  5. on_place = minetest.rotate_node,
  6. sounds = default.node_sound_stone_defaults(),
  7. groups = {cracky=3}
  8. })
  9. minetest.register_node('masonry:quartz_pillar_stair', {
  10. description = 'Quartz Pillar',
  11. drawtype = "nodebox",
  12. tiles = {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_side.png'},
  13. paramtype2 = 'facedir',
  14. on_place = minetest.rotate_node,
  15. sounds = default.node_sound_stone_defaults(),
  16. groups = {cracky=3},
  17. node_box = {
  18. type = "fixed",
  19. fixed = {
  20. {-0.5, -0.5, -0.5, 0.5, 0.0, 0.5},
  21. {-0.5, 0.0, 0.0, 0.5, 0.5, 0.5},
  22. },
  23. },
  24. })
  25. minetest.register_node('masonry:quartz_pillar_slab', {
  26. description = 'Quartz Pillar',
  27. drawtype = "nodebox",
  28. tiles = {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_top.png','masonry_quartz_pillar_side.png'},
  29. paramtype2 = 'facedir',
  30. on_place = minetest.rotate_node,
  31. sounds = default.node_sound_stone_defaults(),
  32. groups = {cracky=3},
  33. node_box = {
  34. type = "fixed",
  35. fixed = {
  36. {-0.5, -0.5, -0.5, 0.5, 0.0, 0.5},
  37. },
  38. },
  39. })
  40. minetest.register_node('masonry:quartz_pillar_inner_stair', {
  41. description = 'Quartz Pillar',
  42. drawtype = "nodebox",
  43. tiles = {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_top.png','masonry_quartz_pillar_side.png'},
  44. paramtype2 = 'facedir',
  45. on_place = minetest.rotate_node,
  46. sounds = default.node_sound_stone_defaults(),
  47. groups = {cracky=3},
  48. node_box = {
  49. type = "fixed",
  50. fixed = {
  51. {-0.5, -0.5, -0.5, 0.5, 0.0, 0.5},
  52. {-0.5, 0.0, 0.0, 0.5, 0.5, 0.5},
  53. {-0.5, 0.0, -0.5, 0.0, 0.5, 0.0},
  54. },
  55. },
  56. })
  57. minetest.register_node('masonry:quartz_pillar_outer_stair', {
  58. description = 'Quartz Pillar',
  59. drawtype = "nodebox",
  60. tiles = {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_top.png','masonry_quartz_pillar_side.png'},
  61. paramtype2 = 'facedir',
  62. on_place = minetest.rotate_node,
  63. sounds = default.node_sound_stone_defaults(),
  64. groups = {cracky=3},
  65. node_box = {
  66. type = "fixed",
  67. fixed = {
  68. {-0.5, -0.5, -0.5, 0.5, 0.0, 0.5},
  69. {-0.5, 0.0, 0.0, 0.0, 0.5, 0.5},
  70. },
  71. },
  72. })
  73. stairs.register_stair_and_slab(
  74. "quartz_pillar",
  75. "masonry:quartz_pillar",
  76. {cracky = 3},
  77. {'masonry_quartz_pillar_top.png', 'masonry_quartz_pillar_side.png'},
  78. "Quartz Pillar Stair",
  79. "Quartz Pillar Slab",
  80. default.node_sound_stone_defaults(),
  81. false
  82. )