crown_molding.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. minetest.register_node('sss_map:crown_1', {
  2. description = 'Crown Molding (1x1)',
  3. drawtype = 'mesh',
  4. mesh = 'sss_map_crown_1.obj',
  5. tiles = {'sss_map_crown_1.png'},
  6. paramtype = 'light',
  7. paramtype2 = 'facedir',
  8. wield_scale = {x = .5, y = .5, z = .5},
  9. selection_box = {
  10. type = 'fixed',
  11. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  12. },
  13. collision_box = {
  14. type = 'fixed',
  15. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  16. },
  17. groups = {breakable=1}
  18. })
  19. minetest.register_node('sss_map:crown_2', {
  20. description = 'Crown Molding (2x1)',
  21. drawtype = 'mesh',
  22. mesh = 'sss_map_crown_2.obj',
  23. tiles = {'sss_map_crown_2.png'},
  24. paramtype = 'light',
  25. paramtype2 = 'facedir',
  26. wield_scale = {x = .5, y = .5, z = .5},
  27. selection_box = {
  28. type = 'fixed',
  29. fixed = {-.5, -.5, -.3125, 1.5, .5, .3125},
  30. },
  31. collision_box = {
  32. type = 'fixed',
  33. fixed = {-.5, -.5, -.3125, 1.5, .5, .3125},
  34. },
  35. groups = {breakable=1}
  36. })
  37. minetest.register_node('sss_map:crown_corner', {
  38. description = 'Crown Molding (corner)',
  39. drawtype = 'mesh',
  40. mesh = 'sss_map_crown_corner.obj',
  41. tiles = {'sss_map_crown_corner.png'},
  42. paramtype = 'light',
  43. paramtype2 = 'facedir',
  44. wield_scale = {x = .5, y = .5, z = .5},
  45. selection_box = {
  46. type = 'fixed',
  47. fixed = {-.5, -.5, -.3125, 1.5, .5, .3125},
  48. },
  49. collision_box = {
  50. type = 'fixed',
  51. fixed = {-.5, -.5, -.3125, 1.5, .5, .3125},
  52. },
  53. groups = {breakable=1}
  54. })
  55. minetest.register_node('sss_map:crown_t', {
  56. description = 'Crown Molding (T)',
  57. drawtype = 'mesh',
  58. mesh = 'sss_map_crown_t.obj',
  59. tiles = {'sss_map_crown_t.png'},
  60. paramtype = 'light',
  61. paramtype2 = 'facedir',
  62. wield_scale = {x = .5, y = .5, z = .5},
  63. selection_box = {
  64. type = 'fixed',
  65. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  66. },
  67. collision_box = {
  68. type = 'fixed',
  69. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  70. },
  71. groups = {breakable=1}
  72. })
  73. minetest.register_node('sss_map:crown_x', {
  74. description = 'Crown Molding (Cross)',
  75. drawtype = 'mesh',
  76. mesh = 'sss_map_crown_x.obj',
  77. tiles = {'sss_map_crown_x.png'},
  78. paramtype = 'light',
  79. paramtype2 = 'facedir',
  80. wield_scale = {x = .5, y = .5, z = .5},
  81. selection_box = {
  82. type = 'fixed',
  83. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  84. },
  85. collision_box = {
  86. type = 'fixed',
  87. fixed = {-.5, -.5, -.3125, .5, .5, .3125},
  88. },
  89. groups = {breakable=1}
  90. })