crafting.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. -----------------------------------------------------------------------------------------------
  2. -- Fishing - Mossmanikin's version - Recipes 0.0.7
  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", "ropes:rope" },
  19. {"default:stick", "", "ropes:rope" },
  20. }
  21. })
  22. minetest.register_craft({
  23. output = "fishing:pole",
  24. recipe = {
  25. {"", "", "default:stick" },
  26. {"", "default:stick", "farming:string"},
  27. {"default:stick", "", "farming:string"},
  28. }
  29. })
  30. -----------------------------------------------------------------------------------------------
  31. -- Roasted Fish
  32. -----------------------------------------------------------------------------------------------
  33. minetest.register_craft({
  34. type = "cooking",
  35. output = "fishing:fish",
  36. recipe = "fishing:fish_raw",
  37. cooktime = 2,
  38. })
  39. -----------------------------------------------------------------------------------------------
  40. -- Wheat Seed
  41. -----------------------------------------------------------------------------------------------
  42. minetest.register_craft({
  43. type = "shapeless",
  44. output = "farming:seed_wheat",
  45. recipe = {"farming:wheat"},
  46. })
  47. -----------------------------------------------------------------------------------------------
  48. -- Sushi
  49. -----------------------------------------------------------------------------------------------
  50. minetest.register_craft({
  51. type = "shapeless",
  52. output = "fishing:sushi",
  53. recipe = {"fishing:fish_raw","farming:seed_wheat","flowers:seaweed"},
  54. })
  55. minetest.register_craft({
  56. type = "shapeless",
  57. output = "fishing:sushi",
  58. recipe = {"fishing:fish_raw","farming:seed_wheat","seaplants:kelpgreen"},
  59. })
  60. minetest.register_craft({
  61. type = "shapeless",
  62. output = "fishing:sushi",
  63. recipe = {"fishing:fish_raw","farming:seed_wheat","seaplants:kelpgreenmiddle"},
  64. })
  65. -----------------------------------------------------------------------------------------------
  66. -- Roasted Shark
  67. -----------------------------------------------------------------------------------------------
  68. minetest.register_craft({
  69. type = "cooking",
  70. output = "fishing:shark_cooked",
  71. recipe = "fishing:shark",
  72. cooktime = 2,
  73. })
  74. -----------------------------------------------------------------------------------------------
  75. -- Roasted Pike
  76. -----------------------------------------------------------------------------------------------
  77. minetest.register_craft({
  78. type = "cooking",
  79. output = "fishing:pike_cooked",
  80. recipe = "fishing:pike",
  81. cooktime = 2,
  82. })