crafting.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. -----------------------------------------------------------------------------------------------
  2. -- Fishing - Mossmanikin's version - Recipes 0.0.5
  3. -----------------------------------------------------------------------------------------------
  4. -- original by wulfsdad (http://forum.minetest.net/viewtopic.php?id=4375)
  5. -- this version by Mossmanikin
  6. -- License (code & textures): WTFPL
  7. -- Contains code from: animal_clownfish, animal_fish_blue_white, fishing (original), stoneage
  8. -- Looked at code from:
  9. -- Dependencies: default, farming
  10. -- Supports: animal_clownfish, animal_fish_blue_white, animal_rat, mobs
  11. -----------------------------------------------------------------------------------------------
  12. -----------------------------------------------------------------------------------------------
  13. -- Fishing Pole
  14. -----------------------------------------------------------------------------------------------
  15. -- mc style
  16. minetest.register_craft({
  17. output = "fishing:pole",
  18. recipe = {
  19. {"", "", "default:stick" },
  20. {"", "default:stick", "farming:string"},
  21. {"default:stick", "", "farming:string"},
  22. }
  23. })
  24. minetest.register_craft({
  25. output = "fishing:pole",
  26. recipe = {
  27. {"", "", "default:stick" },
  28. {"", "default:stick", "moreblocks:rope"},
  29. {"default:stick", "", "moreblocks:rope"},
  30. }
  31. })
  32. minetest.register_craft({
  33. output = "fishing:pole",
  34. recipe = {
  35. {"", "", "default:stick" },
  36. {"", "default:stick", "ropes:rope" },
  37. {"default:stick", "", "ropes:rope" },
  38. }
  39. })
  40. -----------------------------------------------------------------------------------------------
  41. -- Fish
  42. -----------------------------------------------------------------------------------------------
  43. minetest.register_craft({
  44. type = "cooking",
  45. output = "fishing:fish",
  46. recipe = "fishing:fish_raw",
  47. cooktime = 2,
  48. })
  49. -----------------------------------------------------------------------------------------------
  50. -- Sushi
  51. -----------------------------------------------------------------------------------------------
  52. minetest.register_craft({
  53. type = "shapeless",
  54. output = "fishing:sushi",
  55. recipe = {"fishing:fish_raw","flowers:seaweed"},
  56. })
  57. minetest.register_craft({
  58. type = "shapeless",
  59. output = "fishing:sushi",
  60. recipe = {"fishing:fish_raw","seaplants:leavysnackgreen"},
  61. })