mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 18:39:34 +01:00
wolf when tamed will retain its health and not heal to full hp
This commit is contained in:
parent
3852c0297f
commit
d8172e404e
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ local wolf = {
|
|||
mcl_mobs:set_animation(ent, "sit")
|
||||
ent.walk_chance = 0
|
||||
ent.jump = false
|
||||
ent.health = self.health
|
||||
-- cornfirm taming
|
||||
minetest.sound_play("mobs_mc_wolf_bark", {object=dog, max_hear_distance=16}, true)
|
||||
-- Replace wolf
|
||||
|
|
Loading…
Reference in a new issue