1
0
Fork 0

Remove messages for feeding/taming animals

objects
Wuzzy 2017-05-25 10:48:13 +02:00
parent 8d1ffbe2cd
commit 461807b0dc
1 changed files with 0 additions and 14 deletions

View File

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