From 461807b0dc42df0bcb8cdf2f10a954672484bcc5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 25 May 2017 10:48:13 +0200 Subject: [PATCH] Remove messages for feeding/taming animals --- mods/ENTITIES/mobs/api.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mods/ENTITIES/mobs/api.lua b/mods/ENTITIES/mobs/api.lua index e47bf9ae61..d85116dee2 100644 --- a/mods/ENTITIES/mobs/api.lua +++ b/mods/ENTITIES/mobs/api.lua @@ -3074,8 +3074,6 @@ function mobs:capture_mob(self, clicker, chance_hand, chance_net, chance_lasso, if self.tamed == false and force_take == false then - minetest.chat_send_player(name, S("Not tamed!")) - return true -- false end @@ -3153,7 +3151,6 @@ function mobs:capture_mob(self, clicker, chance_hand, chance_net, chance_lasso, self.object:remove() else - minetest.chat_send_player(name, S("Missed!")) end end @@ -3172,7 +3169,6 @@ function mobs:protect(self, clicker) end if self.tamed == false then - minetest.chat_send_player(name, S("Not tamed!")) return true -- false end @@ -3223,10 +3219,6 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame) if self.htimer < 1 then - minetest.chat_send_player(clicker:get_player_name(), - S("@1 at full health (@2)", - self.name:split(":")[2], tostring(self.health))) - self.htimer = 5 end end @@ -3257,12 +3249,6 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame) if tame then - if self.tamed == false then - minetest.chat_send_player(clicker:get_player_name(), - S("@1 has been tamed!", - self.name:split(":")[2])) - end - self.tamed = true if not self.owner or self.owner == "" then