1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-10-02 09:20:34 +02:00

tweak the fishing mod

This commit is contained in:
Ombridride 2015-03-11 18:17:01 +01:00
parent 7f062dd50a
commit 96a69636f0
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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

View File

@ -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