1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

Fishing pole can be used 1500 times

This commit is contained in:
LeMagnesium 2015-03-11 17:32:56 +01:00
parent 87c975ce30
commit 55ff47595a

View File

@ -80,7 +80,7 @@ minetest.register_tool("fishing:pole", {
if WEAR_OUT == true if WEAR_OUT == true
and not minetest.setting_getbool("creative_mode") then and not minetest.setting_getbool("creative_mode") then
return rod_wear(itemstack, user, pointed_thing, 30) return rod_wear(itemstack, user, pointed_thing, 1500)
else else
return {name="fishing:pole", count=1, wear=0, metadata=""} return {name="fishing:pole", count=1, wear=0, metadata=""}
end end
@ -97,7 +97,7 @@ minetest.register_tool("fishing:pole", {
if WEAR_OUT == true if WEAR_OUT == true
and not minetest.setting_getbool("creative_mode") then and not minetest.setting_getbool("creative_mode") then
return rod_wear(itemstack, user, pointed_thing, 30) return rod_wear(itemstack, user, pointed_thing, 1500)
else else
return {name="fishing:pole", count=1, wear=0, metadata=""} return {name="fishing:pole", count=1, wear=0, metadata=""}
end end
@ -153,7 +153,7 @@ minetest.register_tool("fishing:pole_perfect", {
if WEAR_OUT == true if WEAR_OUT == true
and not minetest.setting_getbool("creative_mode") then and not minetest.setting_getbool("creative_mode") then
return rod_wear(itemstack, user, pointed_thing, 30) return rod_wear(itemstack, user, pointed_thing, 1500)
else else
return {name="fishing:pole_perfect", count=1, wear=0, metadata=""} return {name="fishing:pole_perfect", count=1, wear=0, metadata=""}
end end
@ -170,7 +170,7 @@ minetest.register_tool("fishing:pole_perfect", {
if WEAR_OUT == true if WEAR_OUT == true
and not minetest.setting_getbool("creative_mode") then and not minetest.setting_getbool("creative_mode") then
return rod_wear(itemstack, user, pointed_thing, 30) return rod_wear(itemstack, user, pointed_thing, 1500)
else else
return {name="fishing:pole_perfect", count=1, wear=0, metadata=""} return {name="fishing:pole_perfect", count=1, wear=0, metadata=""}
end end