nodes.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. local S = etherium_stuff.intllib
  2. minetest.register_node("etherium_stuff:sand", {
  3. description = S("Etherium Sand"),
  4. tiles = {"etherium_sand.png"},
  5. groups = {crumbly = 3, falling_node = 1, sand = 1},
  6. sounds = default.node_sound_sand_defaults(),
  7. })
  8. minetest.register_node("etherium_stuff:sandstone", {
  9. description = S("Etherium Sandstone"),
  10. tiles = {"etherium_sandstone.png"},
  11. groups = {crumbly = 1, cracky = 3},
  12. sounds = default.node_sound_stone_defaults(),
  13. })
  14. minetest.register_node("etherium_stuff:sandstone_brick", {
  15. description = S("Etherium Sandstone Brick"),
  16. paramtype2 = "facedir",
  17. place_param2 = 0,
  18. tiles = {"etherium_sandstone_brick.png"},
  19. is_ground_content = false,
  20. groups = {cracky = 2},
  21. sounds = default.node_sound_stone_defaults(),
  22. })
  23. minetest.register_node("etherium_stuff:sandstone_block", {
  24. description = S("Etherium Sandstone Block"),
  25. tiles = {"etherium_sandstone_block.png"},
  26. is_ground_content = false,
  27. groups = {cracky = 2},
  28. sounds = default.node_sound_stone_defaults(),
  29. })
  30. minetest.register_node("etherium_stuff:glass", {
  31. description = S("Etherium Glass"),
  32. drawtype = "glasslike_framed_optional",
  33. tiles = {"etherium_glass.png", "etherium_glass_detail.png"},
  34. paramtype = "light",
  35. paramtype2 = "glasslikeliquidlevel",
  36. sunlight_propagates = true,
  37. is_ground_content = false,
  38. groups = {cracky = 3, oddly_breakable_by_hand = 3},
  39. sounds = default.node_sound_glass_defaults(),
  40. })
  41. minetest.register_node("etherium_stuff:crystal_glass", {
  42. description = S("Etherium Crystal Glass"),
  43. drawtype = "glasslike_framed_optional",
  44. tiles = {"etherium_crystal_glass.png", "etherium_crystal_glass_detail.png"},
  45. paramtype = "light",
  46. paramtype2 = "glasslikeliquidlevel",
  47. sunlight_propagates = true,
  48. is_ground_content = false,
  49. light_source = default.LIGHT_MAX - 1,
  50. groups = {cracky = 3, oddly_breakable_by_hand = 3},
  51. sounds = default.node_sound_glass_defaults(),
  52. })
  53. minetest.register_node("etherium_stuff:sandstone_light_block", {
  54. description = S("Etherium Sandstone Light Block"),
  55. tiles = {"etherium_sandstone_light_block.png"},
  56. paramtype = "light",
  57. light_source = 12,
  58. groups = {cracky = 2, oddly_breakable_by_hand = 3},
  59. sounds = default.node_sound_glass_defaults()
  60. })