fishes.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. -------------------------------------------------------------------------------------------
  2. -- Fishing - crabman77 version
  3. -- Rewrited from original Fishing - Mossmanikin's version - Fishes 0.0.4
  4. -- License (code & textures): WTFPL
  5. -----------------------------------------------------------------------------------------------
  6. -----------------------------------------------------------------------------------------------
  7. -- Fish
  8. -----------------------------------------------------------------------------------------------
  9. minetest.register_craftitem("fishing:fish_raw", {
  10. description = fishing_setting.func.S("Fish"),
  11. groups = {fishbait=1, fishraw=1},
  12. inventory_image = "fishing_fish_raw.png",
  13. on_use = minetest.item_eat(2),
  14. })
  15. -----------------------------------------------------
  16. -- Roasted Fish
  17. -----------------------------------------------------
  18. minetest.register_craftitem("fishing:fish_cooked", {
  19. description = fishing_setting.func.S("Roasted Fish"),
  20. groups = {},
  21. inventory_image = "fishing_fish_cooked.png",
  22. on_use = minetest.item_eat(4),
  23. })
  24. -----------------------------------------------------
  25. -- Sushi
  26. -----------------------------------------------------
  27. minetest.register_craftitem("fishing:sushi", {
  28. description = fishing_setting.func.S("Sushi (Hoso Maki)"),
  29. groups = {},
  30. inventory_image = "fishing_sushi.png",
  31. on_use = minetest.item_eat(6),
  32. })
  33. -----------------------------------------------------------------------------------------------
  34. -- clownfish
  35. -----------------------------------------------------------------------------------------------
  36. minetest.register_craftitem("fishing:clownfish_raw", {
  37. description = fishing_setting.func.S("Clownfish"),
  38. groups = {fishbait=1, fishraw=1},
  39. inventory_image = "fishing_clownfish_raw.png",
  40. on_use = minetest.item_eat(2),
  41. })
  42. -----------------------------------------------------------------------------------------------
  43. -- bluewhite
  44. -----------------------------------------------------------------------------------------------
  45. minetest.register_craftitem("fishing:bluewhite_raw", {
  46. description = fishing_setting.func.S("Bluewhite"),
  47. groups = {fishbait=1, fishraw=1},
  48. inventory_image = "fishing_bluewhite_raw.png",
  49. on_use = minetest.item_eat(2),
  50. })
  51. -----------------------------------------------------------------------------------------------
  52. -- exoticfish
  53. -----------------------------------------------------------------------------------------------
  54. minetest.register_craftitem("fishing:exoticfish_raw", {
  55. description = fishing_setting.func.S("Exotic"),
  56. groups = {fishbait=1, fishraw=1},
  57. inventory_image = "fishing_exoticfish_raw.png",
  58. on_use = minetest.item_eat(2),
  59. })
  60. -----------------------------------------------------------------------------------------------
  61. -- carp
  62. -----------------------------------------------------------------------------------------------
  63. minetest.register_craftitem("fishing:carp_raw", {
  64. description = fishing_setting.func.S("Carp"),
  65. groups = {fishbait=1, fishraw=1},
  66. inventory_image = "fishing_carp_raw.png",
  67. on_use = minetest.item_eat(2),
  68. })
  69. -----------------------------------------------------------------------------------------------
  70. -- perch
  71. -----------------------------------------------------------------------------------------------
  72. minetest.register_craftitem("fishing:perch_raw", {
  73. description = fishing_setting.func.S("Perch"),
  74. groups = {fishbait=1, fishraw=1},
  75. inventory_image = "fishing_perch_raw.png",
  76. on_use = minetest.item_eat(2),
  77. })
  78. -----------------------------------------------------------------------------------------------
  79. -- catfish
  80. -----------------------------------------------------------------------------------------------
  81. minetest.register_craftitem("fishing:catfish_raw", {
  82. description = fishing_setting.func.S("Catfish"),
  83. groups = {fishbait=1, fishraw=1},
  84. inventory_image = "fishing_catfish_raw.png",
  85. on_use = minetest.item_eat(2),
  86. })
  87. -----------------------------------------------------------------------------------------------
  88. -- Whatthef... it's a freakin' Shark!
  89. -----------------------------------------------------------------------------------------------
  90. minetest.register_craftitem("fishing:shark_raw", {
  91. description = fishing_setting.func.S("Shark"),
  92. groups = {fishbait=1},
  93. inventory_image = "fishing_shark_raw.png",
  94. on_use = minetest.item_eat(2),
  95. })
  96. -----------------------------------------------------
  97. -- Roasted Shark
  98. -----------------------------------------------------
  99. minetest.register_craftitem("fishing:shark_cooked", {
  100. description = fishing_setting.func.S("Roasted Shark"),
  101. groups = {},
  102. inventory_image = "fishing_shark_cooked.png",
  103. on_use = minetest.item_eat(6),
  104. })
  105. -----------------------------------------------------------------------------------------------
  106. -- Pike
  107. -----------------------------------------------------------------------------------------------
  108. minetest.register_craftitem("fishing:pike_raw", {
  109. description = fishing_setting.func.S("Northern Pike"),
  110. groups = {fishbait=1},
  111. inventory_image = "fishing_pike_raw.png",
  112. on_use = minetest.item_eat(2),
  113. })
  114. -----------------------------------------------------
  115. -- Roasted Pike
  116. -----------------------------------------------------
  117. minetest.register_craftitem("fishing:pike_cooked", {
  118. description = fishing_setting.func.S("Roasted Northern Pike"),
  119. groups = {},
  120. inventory_image = "fishing_pike_cooked.png",
  121. on_use = minetest.item_eat(6),
  122. })