baitball.lua 737 B

123456789101112131415161718192021222324252627282930
  1. -- baitball
  2. minetest.register_craftitem("fishing:baitball", {
  3. description = fishing_setting.func.S("Bait Ball"),
  4. inventory_image = "fishing_baitball.png",
  5. stack_max = 99,
  6. })
  7. minetest.register_craft({
  8. type = "shapeless",
  9. output = "fishing:baitball 20",
  10. recipe = {"farming:flour", "farming:corn", "bucket:bucket_water"},
  11. replacements = {{ "bucket:bucket_water", "bucket:bucket_empty"}}
  12. })
  13. -- baitball_shark
  14. minetest.register_craftitem("fishing:baitball_shark", {
  15. description = fishing_setting.func.S("Shark Bait Ball"),
  16. inventory_image = "fishing_baitball_shark.png",
  17. stack_max = 99,
  18. })
  19. minetest.register_craft({
  20. type = "shapeless",
  21. output = "fishing:baitball_shark 20",
  22. recipe = {"group:fishbait", "group:fishbait"}
  23. })