basalt_and_pumice.lua 974 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. minetest.register_node(":gloopblocks:basalt", {
  2. description = "Basalt",
  3. tiles = {"gloopblocks_basalt.png"},
  4. sounds = default.node_sound_stone_defaults(),
  5. groups = utility.dig_groups("hardstone"),
  6. movement_speed_multiplier = default.ROAD_SPEED,
  7. })
  8. minetest.register_node(":gloopblocks:pumice", {
  9. description = "Pumice",
  10. tiles = {"gloopblocks_pumice.png"},
  11. sounds = default.node_sound_stone_defaults(),
  12. groups = utility.dig_groups("softstone"),
  13. -- This doesn't really make sense for pumice,
  14. -- but we must keep it because a lot of players have relied on it.
  15. movement_speed_multiplier = default.ROAD_SPEED,
  16. })
  17. stairs.register_stair_and_slab(
  18. "basalt",
  19. "gloopblocks:basalt",
  20. utility.dig_groups("stone"),
  21. {"gloopblocks_basalt.png"},
  22. "Basalt",
  23. default.node_sound_stone_defaults()
  24. )
  25. stairs.register_stair_and_slab(
  26. "pumice",
  27. "gloopblocks:pumice",
  28. utility.dig_groups("stone"),
  29. {"gloopblocks_pumice.png"},
  30. "Pumice",
  31. default.node_sound_stone_defaults()
  32. )