From 2935d1ee5dbfaaaf8261e435b7a12392be2fdc68 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 18 Sep 2022 11:17:58 +0100 Subject: [PATCH] have mobs jump slightly when grown to avoid being caught in floor --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index 3353559..7542118 100644 --- a/api.lua +++ b/api.lua @@ -28,7 +28,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20220906", + version = "20220918", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -1430,7 +1430,7 @@ function mob_class:breed() self.object:set_pos(pos) -- jump slightly when fully grown so as not to fall into ground - self.object:set_velocity({x = 0, y = 0.5, z = 0 }) + self.object:set_velocity({x = 0, y = 2, z = 0 }) end end