From 96a69636f01805e141eb15be7df3dbbd6256d15a Mon Sep 17 00:00:00 2001 From: Ombridride Date: Wed, 11 Mar 2015 18:17:01 +0100 Subject: [PATCH] tweak the fishing mod --- mods/fishing/bobber.lua | 2 +- mods/fishing/bobber_shark.lua | 2 +- mods/fishing/settings.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/fishing/bobber.lua b/mods/fishing/bobber.lua index de168328..154a2507 100644 --- a/mods/fishing/bobber.lua +++ b/mods/fishing/bobber.lua @@ -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() diff --git a/mods/fishing/bobber_shark.lua b/mods/fishing/bobber_shark.lua index 329af2b5..1ea4e9ab 100644 --- a/mods/fishing/bobber_shark.lua +++ b/mods/fishing/bobber_shark.lua @@ -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 diff --git a/mods/fishing/settings.txt b/mods/fishing/settings.txt index 4327eca2..633eaa86 100644 --- a/mods/fishing/settings.txt +++ b/mods/fishing/settings.txt @@ -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 \ No newline at end of file