init.lua 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. -- Minetest 0.4 mod: bone_collector
  2. -- Bones can be crafted to clay, sand or coal to motivate players clear the playground.
  3. --
  4. -- See README.txt for licensing and other information.
  5. minetest.register_craft({
  6. output = 'default:clay_lump 8',
  7. type = 'shapeless',
  8. recipe = {"group:bones", "bucket:bucket_water"},
  9. replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
  10. })
  11. minetest.register_craft({
  12. output = 'default:clay_lump',
  13. type = 'shapeless',
  14. recipe = {"group:bones"},
  15. })
  16. minetest.register_craft({
  17. output = 'default:gravel',
  18. recipe = {
  19. {"group:bones", "group:bones", "group:bones"},
  20. },
  21. })
  22. minetest.register_craft({
  23. output = 'default:sand',
  24. recipe = {
  25. {"group:bones", "", "group:bones"},
  26. {"", "default:cobble", ""},
  27. {"group:bones", "", "group:bones"},
  28. },
  29. })
  30. minetest.register_craft({
  31. output = 'default:coal_lump',
  32. recipe = {
  33. {"", "group:bones", ""},
  34. {"group:bones", "default:clay_lump", "group:bones"},
  35. {"", "group:bones", ""},
  36. },
  37. })
  38. minetest.register_craft({
  39. output = 'default:dirt',
  40. recipe = {
  41. {"group:bones", "group:bones", "group:bones"},
  42. {"group:bones", "group:bones", "group:bones"},
  43. {"group:bones", "group:bones", "group:bones"},
  44. },
  45. })