2015-06-26 22:33:51 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Fishing - crabman77 version
|
|
|
|
-- Rewrited from original Fishing - Mossmanikin's version - Recipes 0.0.8
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- License (code & textures): WTFPL
|
|
|
|
-- Contains code from: animal_clownfish, animal_fish_blue_white, fishing (original), stoneage
|
|
|
|
-- Looked at code from:
|
|
|
|
-- Dependencies: default, farming
|
|
|
|
-- Supports: animal_clownfish, animal_fish_blue_white, animal_rat, mobs
|
|
|
|
-----------------------------------------------------------------------------------------------
|
2015-04-16 21:33:56 +02:00
|
|
|
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Fishing Pole
|
|
|
|
-----------------------------------------------------------------------------------------------
|
2015-06-16 01:42:05 +02:00
|
|
|
-- Wood Fishing Pole
|
2015-04-16 21:33:56 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "fishing:pole_wood",
|
2015-08-20 16:08:03 +02:00
|
|
|
recipe = {
|
2015-06-26 22:33:51 +02:00
|
|
|
{"", "", "group:stick" },
|
|
|
|
{"", "group:stick", "farming:string" },
|
|
|
|
{"group:stick", "", "farming:string" },
|
2015-04-16 21:33:56 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
if minetest.get_modpath("moreblocks") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "fishing:pole_wood",
|
2015-08-20 16:08:03 +02:00
|
|
|
recipe = {
|
2015-06-26 22:33:51 +02:00
|
|
|
{"", "", "group:stick" },
|
|
|
|
{"", "group:stick", "moreblocks:rope" },
|
|
|
|
{"group:stick", "", "moreblocks:rope" },
|
2015-04-16 21:33:56 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("ropes") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "fishing:pole_wood",
|
2015-08-20 16:08:03 +02:00
|
|
|
recipe = {
|
2015-06-26 22:33:51 +02:00
|
|
|
{"", "", "group:stick" },
|
|
|
|
{"", "group:stick", "ropes:rope" },
|
|
|
|
{"group:stick", "", "ropes:rope" },
|
2015-04-16 21:33:56 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Mithril Fishing Pole
|
2016-06-03 19:40:47 +02:00
|
|
|
-- Some subgames have bundled all of moreores' content in their default mod; just check for mithril
|
|
|
|
if (minetest.get_modpath("moreores") ~= nil or minetest.registered_items["default:mithril_ingot"]) and minetest.get_modpath("mobs") ~= nil then
|
2015-04-16 21:33:56 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
output = "fishing:pole_perfect",
|
2015-08-20 16:08:03 +02:00
|
|
|
recipe = {
|
2015-06-26 22:33:51 +02:00
|
|
|
{"", "", "moreores:mithril_ingot" },
|
|
|
|
{"", "moreores:mithril_ingot", "mobs:spider_cobweb" },
|
|
|
|
{"moreores:mithril_ingot", "", "mobs:spider_cobweb" },
|
2015-04-16 21:33:56 +02:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Fishing bait
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
--bait corn
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "fishing:bait_corn 9",
|
|
|
|
recipe = {
|
|
|
|
{"", "farming:corn", ""},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-06-16 01:42:05 +02:00
|
|
|
--bait bread
|
2015-04-16 21:33:56 +02:00
|
|
|
minetest.register_craft({
|
2015-06-16 01:42:05 +02:00
|
|
|
output = "fishing:bait_bread 9",
|
2015-04-16 21:33:56 +02:00
|
|
|
recipe = {
|
|
|
|
{"", "farming:bread", ""},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2015-06-26 22:33:51 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Roasted Fish
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = "fishing:fish_raw",
|
2015-06-26 22:33:51 +02:00
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = "fishing:clownfish_raw",
|
2015-06-26 22:33:51 +02:00
|
|
|
cooktime = 2,
|
|
|
|
})
|
2015-09-26 19:03:14 +02:00
|
|
|
|
2015-06-26 22:33:51 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = "fishing:bluewhite_raw",
|
2015-06-26 22:33:51 +02:00
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
2015-09-26 19:03:14 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "fishing:exoticfish_raw",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "fishing:carp_raw",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "fishing:perch_raw",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "fishing:catfish_raw",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
2015-06-26 22:33:51 +02:00
|
|
|
|
2015-12-09 00:34:11 +01:00
|
|
|
if minetest.get_modpath("mobs_fish") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "mobs_fish:clownfish",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:fish_cooked",
|
|
|
|
recipe = "mobs_fish:tropical",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2015-06-26 22:33:51 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Wheat Seed
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "farming:seed_wheat",
|
|
|
|
recipe = {"farming:wheat"},
|
|
|
|
})
|
2015-04-16 21:33:56 +02:00
|
|
|
|
|
|
|
-----------------------------------------------------------------------------------------------
|
2015-06-26 22:33:51 +02:00
|
|
|
-- Sushi
|
2015-04-16 21:33:56 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
2015-06-26 22:33:51 +02:00
|
|
|
if minetest.get_modpath("flowers_plus") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:sushi",
|
2015-12-21 17:10:47 +01:00
|
|
|
recipe = {"fishing:fish_cooked", "farming:seed_wheat", "flowers_plus:seaweed" },
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("seaplants") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:sushi",
|
|
|
|
recipe = {"fishing:fish_cooked", "farming:seed_wheat", "seaplants:kelpgreen" },
|
|
|
|
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Roasted Shark
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:shark_cooked",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = "fishing:shark_raw",
|
2015-06-26 22:33:51 +02:00
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
2015-12-09 00:34:11 +01:00
|
|
|
if minetest.get_modpath("mobs_sharks") ~= nil then
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:shark_cooked",
|
|
|
|
recipe = "mobs_sharks:shark_lg",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:shark_cooked",
|
|
|
|
recipe = "mobs_sharks:shark_md",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:shark_cooked",
|
|
|
|
recipe = "mobs_sharks:shark_sm",
|
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2015-06-26 22:33:51 +02:00
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
-- Roasted Pike
|
|
|
|
-----------------------------------------------------------------------------------------------
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "fishing:pike_cooked",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = "fishing:pike_raw",
|
2015-06-26 22:33:51 +02:00
|
|
|
cooktime = 2,
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
-- baitball
|
|
|
|
minetest.register_craftitem("fishing:baitball", {
|
|
|
|
description = fishing_setting.func.S("Bait Ball"),
|
|
|
|
inventory_image = "fishing_baitball.png",
|
|
|
|
stack_max = 99,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball 20",
|
|
|
|
recipe = {"farming:flour", "farming:corn", "bucket:bucket_water"},
|
|
|
|
replacements = {{ "bucket:bucket_water", "bucket:bucket_empty"}}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
-- baitball_shark
|
|
|
|
minetest.register_craftitem("fishing:baitball_shark", {
|
|
|
|
description = fishing_setting.func.S("Shark Bait Ball"),
|
|
|
|
inventory_image = "fishing_baitball_shark.png",
|
|
|
|
stack_max = 99,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:fish_raw", "fishing:fish_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:clownfish_raw", "fishing:clownfish_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:clownfish_raw", "fishing:fish_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = {"fishing:bluewhite_raw", "fishing:bluewhite_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = {"fishing:bluewhite_raw", "fishing:fish_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = {"fishing:clownfish_raw", "fishing:bluewhite_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:clownfish_raw", "fishing:shark_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:clownfish_raw", "fishing:pike_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = {"fishing:bluewhite_raw", "fishing:shark_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-28 21:39:41 +02:00
|
|
|
recipe = {"fishing:bluewhite_raw", "fishing:pike_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
2015-06-27 20:33:36 +02:00
|
|
|
recipe = {"fishing:shark_raw", "fishing:shark_raw"}
|
2015-06-26 22:33:51 +02:00
|
|
|
})
|
|
|
|
|
2015-06-27 20:33:36 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
|
|
|
recipe = {"fishing:pike_raw", "fishing:pike_raw"}
|
|
|
|
})
|
2015-06-26 22:33:51 +02:00
|
|
|
|
2015-06-27 20:33:36 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
|
|
|
recipe = {"fishing:fish_raw", "fishing:shark_raw"}
|
|
|
|
})
|
2015-06-26 22:33:51 +02:00
|
|
|
|
2015-06-27 20:33:36 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
|
|
|
recipe = {"fishing:fish_raw", "fishing:pike_raw"}
|
|
|
|
})
|
2015-06-26 22:33:51 +02:00
|
|
|
|
2015-06-27 20:33:36 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = "fishing:baitball_shark 20",
|
|
|
|
recipe = {"fishing:shark_raw", "fishing:pike_raw"}
|
|
|
|
})
|
2015-04-16 21:33:56 +02:00
|
|
|
|