mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
Fishing pole can be used 1500 times
This commit is contained in:
parent
87c975ce30
commit
55ff47595a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user