mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +01:00
tweak the fishing mod
This commit is contained in:
parent
7f062dd50a
commit
96a69636f0
@ -125,7 +125,7 @@ local FISHING_BOBBER_ENTITY={
|
||||
on_rightclick = function (self, clicker)
|
||||
local item = clicker:get_wielded_item()
|
||||
local player = clicker:get_player_name()
|
||||
if item:get_name() == "fishing:pole" then
|
||||
if item:get_name() == "fishing:pole" or "fishing:pole_perfect" then
|
||||
local inv = clicker:get_inventory()
|
||||
local say = minetest.chat_send_player
|
||||
local pos = self.object:getpos()
|
||||
|
@ -75,7 +75,7 @@ local FISHING_BOBBER_ENTITY_SHARK={
|
||||
local item = clicker:get_wielded_item()
|
||||
local player = clicker:get_player_name()
|
||||
local say = minetest.chat_send_player
|
||||
if item:get_name() == "fishing:pole" then
|
||||
if item:get_name() == "fishing:pole" or "fishing:pole_perfect" then
|
||||
local inv = clicker:get_inventory()
|
||||
local pos = self.object:getpos()
|
||||
-- catch visible plant
|
||||
|
@ -6,4 +6,4 @@ WORM_CHANCE = 66
|
||||
WEAR_OUT = true
|
||||
BOBBER_CHECK_RADIUS = 5
|
||||
SIMPLE_DECO_FISHING_POLE = true
|
||||
SHARK_CHANCE = 35
|
||||
SHARK_CHANCE = 35
|
Loading…
Reference in New Issue
Block a user