mirror of
https://github.com/MinetestForFun/fishing.git
synced 2025-07-21 17:40:27 +02:00
use groups to create baitball and cooked craft instead of redundant code, thanks Chem871
fix indentation
This commit is contained in:
31
baitball.lua
31
baitball.lua
@ -24,35 +24,6 @@ minetest.register_craftitem("fishing:baitball_shark", {
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:fish_raw"}
|
||||
recipe = {"group:fishbait", "group:fishbait"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:shark_raw", "fishing:shark_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:pike_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:shark_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:fish_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "fishing:baitball_shark 20",
|
||||
recipe = {"fishing:shark_raw", "fishing:pike_raw"}
|
||||
})
|
||||
|
Reference in New Issue
Block a user