Shrink eating particles

master
Wuzzy 2022-08-14 12:08:25 +02:00
parent 135bf77d5a
commit 844ce6b697
2 changed files with 8 additions and 2 deletions

View File

@ -1801,7 +1801,10 @@ function mobs:feed_tame(self, clicker, feed_count, breed, effect)
maxexptime = 1,
minsize = 0.5,
maxsize = 2,
texture = "magicpuff.png"
texture = {
name = "magicpuff.png",
scale_tween = { 1, 0, start = 0.75 },
},
})
end

View File

@ -300,7 +300,10 @@ local function on_item_eat(hpdata, replace_with_item, itemstack,
maxexptime = 1,
minsize = 0.5,
maxsize = 2,
texture = "magicpuff.png"
texture = {
name = "magicpuff.png",
scale_tween = { 1, 0, start = 0.75 },
},
})
minetest.after(0.15, function(name)