123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- fishing_setting.prizes["rivers"] = {}
- fishing_setting.prizes["rivers"]["little"] = {
- {"fishing", "fish_raw", 0, "a Fish."},
- {"fishing", "carp_raw", 0, "a Carp."},
- }
- fishing_setting.prizes["rivers"]["big"] = {
- {"fishing", "pike_raw", 0, "a Northern Pike."},
- {"fishing", "perch_raw", 0, "a Perch."},
- {"fishing", "catfish_raw", 0, "a Catfish."},
- }
- 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"] = {
- {"fishing", "shark_raw", 0, "a small Shark."},
- }
- if (minetest.get_modpath("flowers_plus")) then -- exception flowers_plus register flowers:*
- minetest.register_alias("flowers_plus:seaweed", "flowers:seaweed")
- end
- local stuff = {
- -- 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},
- }
- 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
- local treasure = {
- {"default", "mese", 0, "a mese block."},
- {"default", "nyancat", 0, "a Nyan Cat."},
- {"default", "diamondblock", 0, "a Diamond Block."},
- }
- fishing_setting.prizes["treasure"] = fishing_setting.func.ignore_mod(treasure)
- -- 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
|