2015-04-16 21:33:56 +02:00
|
|
|
|
2015-09-26 19:03:14 +02:00
|
|
|
fishing_setting.prizes["rivers"] = {}
|
|
|
|
fishing_setting.prizes["rivers"]["little"] = {
|
|
|
|
{"fishing", "fish_raw", 0, "a Fish."},
|
|
|
|
{"fishing", "carp_raw", 0, "a Carp."},
|
|
|
|
}
|
2015-04-16 21:33:56 +02:00
|
|
|
|
2015-09-26 19:03:14 +02:00
|
|
|
fishing_setting.prizes["rivers"]["big"] = {
|
|
|
|
{"fishing", "pike_raw", 0, "a Northern Pike."},
|
|
|
|
{"fishing", "perch_raw", 0, "a Perch."},
|
|
|
|
{"fishing", "catfish_raw", 0, "a Catfish."},
|
2015-06-26 22:33:51 +02:00
|
|
|
}
|
|
|
|
|
2015-09-26 19:03:14 +02:00
|
|
|
|
|
|
|
fishing_setting.prizes["sea"] = {}
|
|
|
|
fishing_setting.prizes["sea"]["little"] = {
|
|
|
|
{"fishing", "clownfish_raw", 0, "a Clownfish."},
|
|
|
|
{"fishing", "bluewhite_raw", 0, "a Bluewhite."},
|
|
|
|
{"fishing", "exoticfish_raw", 0, "a Exoticfish."},
|
|
|
|
}
|
|
|
|
|
|
|
|
fishing_setting.prizes["sea"]["big"] = {
|
2015-06-27 20:33:36 +02:00
|
|
|
{"fishing", "shark_raw", 0, "a small Shark."},
|
2015-06-09 23:09:47 +02:00
|
|
|
}
|
2015-06-16 01:42:05 +02:00
|
|
|
|
|
|
|
|
2015-12-21 17:10:47 +01:00
|
|
|
if (minetest.get_modpath("flowers_plus")) then -- exception flowers_plus register flowers:*
|
|
|
|
minetest.register_alias("flowers_plus:seaweed", "flowers:seaweed")
|
|
|
|
end
|
|
|
|
|
2015-06-26 22:33:51 +02:00
|
|
|
local stuff = {
|
2015-12-21 17:10:47 +01:00
|
|
|
-- mod item wear message ("You caught "..) chance
|
|
|
|
{"flowers_plus", "seaweed", 0, "some Seaweed.", 10},
|
|
|
|
{"farming", "string", 0, "a String.", 5},
|
|
|
|
{"trunks", "twig_1", 0, "a Twig.", 5},
|
|
|
|
{"mobs", "rat", 0, "a Rat.", 5},
|
|
|
|
{"default", "stick", 0, "a Twig.", 5},
|
|
|
|
{"seaplants", "kelpgreen", 0, "a Green Kelp.", 5},
|
|
|
|
{"3d_armor", "boots_steel", "random", "some very old Boots.", 2},
|
|
|
|
{"3d_armor", "leggings_gold", "random", "some very old Leggings.", 5},
|
|
|
|
{"3d_armor", "chestplate_bronze", "random", "a very old ChestPlate.", 5},
|
|
|
|
{"fishing", "pole_wood", "randomtools", "an old Fishing Pole.", 10},
|
|
|
|
{"3d_armor", "boots_wood", "random", "some very old Boots.", 5},
|
|
|
|
{"maptools", "gold_coin", 0, "a Gold Coin.", 1},
|
|
|
|
{"3d_armor", "helmet_diamond", "random", "a very old Helmet.", 1},
|
|
|
|
{"shields", "shield_enhanced_cactus", "random", "a very old Shield.", 2},
|
|
|
|
{"default", "sword_bronze", "random", "a very old Sword.", 2},
|
|
|
|
{"default", "sword_mese", "random", "a very old Sword.", 2},
|
|
|
|
{"default", "sword_nyan", "random", "a very old Sword.", 2},
|
2015-04-16 21:33:56 +02:00
|
|
|
}
|
2015-12-21 17:10:47 +01:00
|
|
|
|
|
|
|
fishing_setting.prizes["stuff"] = {}
|
|
|
|
local nrmin = 1
|
|
|
|
for i,v in ipairs(stuff) do
|
|
|
|
if minetest.get_modpath(v[1]) ~= nil and minetest.registered_items[v[1]..":"..v[2]] ~= nil then
|
|
|
|
table.insert(fishing_setting.prizes["stuff"], {v[1], v[2], v[3], v[4], nrmin, v[5]})
|
|
|
|
nrmin = nrmin + v[5]
|
|
|
|
end
|
|
|
|
end
|
2015-04-16 21:33:56 +02:00
|
|
|
|
2015-06-16 01:42:05 +02:00
|
|
|
|
2015-07-15 15:54:05 +02:00
|
|
|
local treasure = {
|
2015-06-26 22:33:51 +02:00
|
|
|
{"default", "mese", 0, "a mese block."},
|
|
|
|
{"default", "nyancat", 0, "a Nyan Cat."},
|
|
|
|
{"default", "diamondblock", 0, "a Diamond Block."},
|
|
|
|
}
|
2015-07-15 15:54:05 +02:00
|
|
|
fishing_setting.prizes["treasure"] = fishing_setting.func.ignore_mod(treasure)
|
2015-06-16 01:42:05 +02:00
|
|
|
|
2015-12-09 00:34:11 +01:00
|
|
|
|
|
|
|
-- to true fish mobs
|
|
|
|
fishing_setting.prizes["true_fish"] = {little = {}, big = {}}
|
|
|
|
--to mobs_fish modpack
|
|
|
|
if (minetest.get_modpath("mobs_fish")) then
|
|
|
|
fishing_setting.prizes["true_fish"]["little"]["mobs_fish:clownfish"] = {"mobs_fish", "clownfish", 0, "a Clownfish."}
|
|
|
|
fishing_setting.prizes["true_fish"]["little"]["mobs_fish:tropical"] = {"mobs_fish", "tropical", 0, "a tropical fish."}
|
|
|
|
end
|
|
|
|
--to mobs_fish modpack
|
|
|
|
if (minetest.get_modpath("mobs_sharks")) then
|
|
|
|
fishing_setting.prizes["true_fish"]["big"]["mobs_sharks:shark_lg"] = {"mobs_sharks", "shark_lg", 0, "a small Shark."}
|
|
|
|
fishing_setting.prizes["true_fish"]["big"]["mobs_sharks:shark_md"] = {"mobs_sharks", "shark_md", 0, "a small Shark."}
|
|
|
|
fishing_setting.prizes["true_fish"]["big"]["mobs_sharks:shark_sm"] = {"mobs_sharks", "shark_sm", 0, "a small Shark."}
|
|
|
|
end
|
|
|
|
|