init.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. minetest.register_node("ocd:stone_in_cobble", {
  2. description = "Stone in cobble",
  3. tiles = {"ocd_stone_in_cobble.png"},
  4. is_ground_content = true,
  5. groups = {cracky=3, stone=1},
  6. drop = 'default:cobble',
  7. sounds = default.node_sound_stone_defaults(),
  8. })
  9. minetest.register_node("ocd:cobble_in_stone", {
  10. description = "Cobble in stone",
  11. tiles = {"ocd_cobble_in_stone.png"},
  12. is_ground_content = true,
  13. groups = {cracky=3, stone=1},
  14. drop = 'default:cobble',
  15. sounds = default.node_sound_stone_defaults(),
  16. })
  17. minetest.register_node("ocd:stone_brick", {
  18. description = "Stone Brick",
  19. tiles = {"ocd_stone_brick.png"},
  20. is_ground_content = true,
  21. groups = {cracky=3, stone=1},
  22. drop = 'default:cobble',
  23. sounds = default.node_sound_stone_defaults(),
  24. })
  25. minetest.register_craft({
  26. output = 'ocd:cobble_in_stone 9',
  27. recipe = {
  28. {'default:stone', 'default:stone', 'default:stone'},
  29. {'default:stone', 'default:cobble', 'default:stone'},
  30. {'default:stone', 'default:stone', 'default:stone'},
  31. }
  32. })
  33. minetest.register_craft({
  34. output = 'ocd:stone_brick 4',
  35. recipe = {
  36. {'ocd:stone_in_cobble', 'ocd:stone_in_cobble'},
  37. {'ocd:stone_in_cobble', 'ocd:stone_in_cobble'},
  38. }
  39. })
  40. minetest.register_craft({
  41. output = 'ocd:stone_in_cobble 9',
  42. recipe = {
  43. {'default:cobble', 'default:cobble', 'default:cobble'},
  44. {'default:cobble', 'default:stone', 'default:cobble'},
  45. {'default:cobble', 'default:cobble', 'default:cobble'},
  46. }
  47. })