1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-23 01:10:25 +01:00

panda eats more to tame

This commit is contained in:
TenPlus1 2018-07-13 20:58:16 +01:00
parent 89a96726d7
commit 0fee158640

View File

@ -53,7 +53,7 @@ stepheight = 0.6,
}, },
on_rightclick = function(self, clicker) on_rightclick = function(self, clicker)
if mobs:feed_tame(self, clicker, 10, true, true) then return end if mobs:feed_tame(self, clicker, 20, true, true) then return end
if mobs:protect(self, clicker) then return end if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end if mobs:capture_mob(self, clicker, 0, 5, 50, false, nil) then return end
end, end,