1
0
mirror of https://github.com/MinetestForFun/fishing.git synced 2025-07-26 20:00:32 +02:00

remove material.lua useless

added formspec to display hunger baits chance(admin only)
remove worm eat function
update hoes function
new prizes method
decrement bobber move when fish,too hard to click this
remove whitespace
remove function to place bobber on random node
This commit is contained in:
2015-08-20 16:08:03 +02:00
parent fe062390ed
commit f5486507b1
9 changed files with 143 additions and 155 deletions

View File

@ -12,27 +12,27 @@ fishing_setting.prizes["shark"] = {
}
-- Here's what you can prizes
local plants = {
-- MoD iTeM WeaR MeSSaGe ("You caught "..)
{"default", "stick", 0, "a Twig."},
{"mobs", "rat", 0, "a Rat."},
{"flowers", "seaweed", 0, "some Seaweed."},
{"seaplants", "kelpgreen", 0, "a Green Kelp."},
{"farming", "string", 0, "a String."},
{"trunks", "twig_1", 0, "a Twig."}
}
fishing_setting.prizes["plants"] = fishing_setting.func.ignore_mod(plants)
local stuff = {
{"fishing", "pole_wood", "randomtools", "an old Fishing Pole."},
{"3d_armor", "boots_wood", "random", "some very old Boots."},
{"maptools", "gold_coin", 0, "a Gold Coin."},
{"3d_armor", "helmet_diamond", "random", "a very old Helmet."},
{"shields", "shield_enhanced_cactus", "random", "a very old Shield."},
{"default", "sword_bronze", "random", "a very old Sword."},
{"default", "sword_mese", "random", "a very old Sword."},
{"default", "sword_nyan", "random", "a very old Sword."}
-- mod item wear message ("You caught "..) nrmin chance (1/67)
{"flowers", "seaweed", 0, "some Seaweed.", 1, 5},
{"farming", "string", 0, "a String.", 6, 5},
{"trunks", "twig_1", 0, "a Twig.", 11, 5},
{"mobs", "rat", 0, "a Rat.", 16, 5},
{"default", "stick", 0, "a Twig.", 21, 5},
{"seaplants", "kelpgreen", 0, "a Green Kelp.", 26, 5},
{"3d_armor", "boots_steel", "random", "some very old Boots.", 31, 2},
{"3d_armor", "leggings_gold", "random", "some very old Leggings.", 33, 5},
{"3d_armor", "chestplate_bronze", "random", "a very old ChestPlate.", 38, 5},
{"fishing", "pole_wood", "randomtools", "an old Fishing Pole.", 43, 10},
{"3d_armor", "boots_wood", "random", "some very old Boots.", 53, 5},
{"maptools", "gold_coin", 0, "a Gold Coin.", 58, 1},
{"3d_armor", "helmet_diamond", "random", "a very old Helmet.", 59, 1},
{"shields", "shield_enhanced_cactus", "random", "a very old Shield.", 60, 2},
{"default", "sword_bronze", "random", "a very old Sword.", 62, 2},
{"default", "sword_mese", "random", "a very old Sword.", 64, 2},
{"default", "sword_nyan", "random", "a very old Sword.", 66, 2},
-- nom mod nom item durabilité message dans le chat -- fin 67
-- de l'objet
}
fishing_setting.prizes["stuff"] = fishing_setting.func.ignore_mod(stuff)