hogs spin on death

This commit is contained in:
tenplus1 2021-01-08 10:15:40 +00:00
parent 96f41785b5
commit 9c7e537f52
1 changed files with 6 additions and 0 deletions

View File

@ -50,6 +50,12 @@ mobs:register_mob("mobs_animal:pumba", {
walk_end = 100,
punch_start = 70,
punch_end = 100,
die_start = 1, -- we dont have a specific death animation so we will
die_end = 2, -- re-use 2 standing frames at a speed of 1 fps and
die_speed = 1, -- have mob rotate when dying.
die_loop = false,
die_rotate = true,
},
on_rightclick = function(self, clicker)