crafting.lua 747 B

12345678910111213141516171819202122232425262728293031
  1. if not mese_crystals.crafts_registered then
  2. minetest.register_craft({
  3. output = "mese_crystals:mese_crystal_seed 2",
  4. recipe = {
  5. {'mese_crystals:zentamine','mese_crystals:zentamine','mese_crystals:zentamine'},
  6. {'mese_crystals:zentamine','rackstone:bluerack','mese_crystals:zentamine'},
  7. {'mese_crystals:zentamine','mese_crystals:zentamine','mese_crystals:zentamine'},
  8. }
  9. })
  10. minetest.register_craft({
  11. output = "mese_crystals:crystaline_bell",
  12. recipe = {
  13. {'default:diamond'},
  14. {'default:glass'},
  15. {'default:stick'},
  16. }
  17. })
  18. minetest.register_craft({
  19. type = "cooking",
  20. output = "mese_crystals:zentamine",
  21. recipe = "default:mese_crystal_fragment",
  22. cooktime = 2,
  23. })
  24. mese_crystals.crafts_registered = true
  25. end