crafting.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. -----------------------------------------------------------------------------------------------
  2. -- Fishing - Mossmanikin's version - Recipes 0.0.8
  3. -----------------------------------------------------------------------------------------------
  4. -- License (code & textures): WTFPL
  5. -- Contains code from: animal_clownfish, animal_fish_blue_white, fishing (original), stoneage
  6. -- Looked at code from:
  7. -- Dependencies: default, farming
  8. -- Supports: animal_clownfish, animal_fish_blue_white, animal_rat, mobs
  9. -----------------------------------------------------------------------------------------------
  10. -----------------------------------------------------------------------------------------------
  11. -- Fishing Pole
  12. -----------------------------------------------------------------------------------------------
  13. -- mc style
  14. minetest.register_craft({
  15. output = "fishing:pole",
  16. recipe = {
  17. {"", "", "default:stick" },
  18. {"", "default:stick", "farming:string"},
  19. {"default:stick", "", "farming:string"},
  20. }
  21. })
  22. minetest.register_craft({
  23. output = "fishing:pole",
  24. recipe = {
  25. {"", "", "default:stick" },
  26. {"", "default:stick", "moreblocks:rope"},
  27. {"default:stick", "", "moreblocks:rope"},
  28. }
  29. })
  30. minetest.register_craft({
  31. output = "fishing:pole",
  32. recipe = {
  33. {"", "", "default:stick" },
  34. {"", "default:stick", "ropes:rope" },
  35. {"default:stick", "", "ropes:rope" },
  36. }
  37. })
  38. -----------------------------------------------------------------------------------------------
  39. -- Roasted Fish
  40. -----------------------------------------------------------------------------------------------
  41. minetest.register_craft({
  42. type = "cooking",
  43. output = "fishing:fish",
  44. recipe = "fishing:fish_raw",
  45. cooktime = 2,
  46. })
  47. -----------------------------------------------------------------------------------------------
  48. -- Wheat Seed
  49. -----------------------------------------------------------------------------------------------
  50. minetest.register_craft({
  51. type = "shapeless",
  52. output = "farming:seed_wheat",
  53. recipe = {"farming:wheat"},
  54. })
  55. -----------------------------------------------------------------------------------------------
  56. -- Sushi
  57. -----------------------------------------------------------------------------------------------
  58. minetest.register_craft({
  59. type = "shapeless",
  60. output = "fishing:sushi",
  61. recipe = {"fishing:fish_raw","farming:seed_wheat","flowers:seaweed"},
  62. })
  63. minetest.register_craft({
  64. type = "shapeless",
  65. output = "fishing:sushi",
  66. recipe = {"fishing:fish_raw","farming:seed_wheat","seaplants:kelpgreen"},
  67. })
  68. -----------------------------------------------------------------------------------------------
  69. -- Roasted Shark
  70. -----------------------------------------------------------------------------------------------
  71. minetest.register_craft({
  72. type = "cooking",
  73. output = "fishing:shark_cooked",
  74. recipe = "fishing:shark",
  75. cooktime = 2,
  76. })
  77. -----------------------------------------------------------------------------------------------
  78. -- Roasted Pike
  79. -----------------------------------------------------------------------------------------------
  80. minetest.register_craft({
  81. type = "cooking",
  82. output = "fishing:pike_cooked",
  83. recipe = "fishing:pike",
  84. cooktime = 2,
  85. })