fishes.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. -----------------------------------------------------------------------------------------------
  2. -- Fishing - Mossmanikin's version - Fishes 0.0.4
  3. -- License (code & textures): WTFPL
  4. -----------------------------------------------------------------------------------------------
  5. -----------------------------------------------------------------------------------------------
  6. -- Fish
  7. -----------------------------------------------------------------------------------------------
  8. minetest.register_craftitem("fishing:fish_raw", {
  9. description = "Fish",
  10. groups = {},
  11. inventory_image = "fishing_fish.png",
  12. on_use = minetest.item_eat(2),
  13. })
  14. -----------------------------------------------------
  15. -- Roasted Fish
  16. -----------------------------------------------------
  17. minetest.register_craftitem("fishing:fish", {
  18. description = "Roasted Fish",
  19. groups = {},
  20. inventory_image = "fishing_fish_cooked.png",
  21. on_use = minetest.item_eat(4),
  22. })
  23. -----------------------------------------------------
  24. -- Sushi
  25. -----------------------------------------------------
  26. minetest.register_craftitem("fishing:sushi", {
  27. description = "Sushi (Hoso Maki)",
  28. groups = {},
  29. inventory_image = "fishing_sushi.png",
  30. on_use = minetest.item_eat(8),
  31. })
  32. -----------------------------------------------------------------------------------------------
  33. -- Whatthef... it's a freakin' Shark!
  34. -----------------------------------------------------------------------------------------------
  35. minetest.register_craftitem("fishing:shark", {
  36. description = "Shark",
  37. groups = {},
  38. inventory_image = "fishing_shark.png",
  39. on_use = minetest.item_eat(4),
  40. })
  41. -----------------------------------------------------
  42. -- Roasted Shark
  43. -----------------------------------------------------
  44. minetest.register_craftitem("fishing:shark_cooked", {
  45. description = "Roasted Shark",
  46. groups = {},
  47. inventory_image = "fishing_shark_cooked.png",
  48. on_use = minetest.item_eat(8),
  49. })
  50. -----------------------------------------------------------------------------------------------
  51. -- Pike
  52. -----------------------------------------------------------------------------------------------
  53. minetest.register_craftitem("fishing:pike", {
  54. description = "Northern Pike",
  55. groups = {},
  56. inventory_image = "fishing_pike.png",
  57. on_use = minetest.item_eat(4),
  58. })
  59. -----------------------------------------------------
  60. -- Roasted Pike
  61. -----------------------------------------------------
  62. minetest.register_craftitem("fishing:pike_cooked", {
  63. description = "Roasted Northern Pike",
  64. groups = {},
  65. inventory_image = "fishing_pike_cooked.png",
  66. on_use = minetest.item_eat(8),
  67. })