1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

hogs spin on death

This commit is contained in:
tenplus1 2021-01-08 10:15:40 +00:00
parent 96f41785b5
commit 9c7e537f52

View File

@ -50,6 +50,12 @@ mobs:register_mob("mobs_animal:pumba", {
walk_end = 100, walk_end = 100,
punch_start = 70, punch_start = 70,
punch_end = 100, 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) on_rightclick = function(self, clicker)