crafting.lua 399 B

12345678910111213141516171819202122232425262728
  1. --
  2. -- Crafting recipes
  3. --
  4. minetest.register_craft({
  5. output = "keys:skeleton_key",
  6. recipe = {
  7. {"default:gold_ingot"},
  8. }
  9. })
  10. --
  11. -- Cooking recipes
  12. --
  13. minetest.register_craft({
  14. type = "cooking",
  15. output = "default:gold_ingot",
  16. recipe = "keys:key",
  17. cooktime = 5,
  18. })
  19. minetest.register_craft({
  20. type = "cooking",
  21. output = "default:gold_ingot",
  22. recipe = "keys:skeleton_key",
  23. cooktime = 5,
  24. })