diff --git a/bee.lua b/bee.lua index 8034827..782cd4a 100644 --- a/bee.lua +++ b/bee.lua @@ -39,6 +39,9 @@ mobs:register_mob("mobs_animal:bee", { on_rightclick = function(self, clicker) mobs:capture_mob(self, clicker, 50, 90, 0, true, "mobs_animal:bee") end, +-- after_activate = function(self, staticdata, def, dtime) +-- print ("------", self.name, dtime, self.health) +-- end, }) mobs:spawn({ diff --git a/bunny.lua b/bunny.lua index 93b8dcf..8eae125 100644 --- a/bunny.lua +++ b/bunny.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Bunny by ExeterDad mobs:register_mob("mobs_animal:bunny", { +stepheight = 0.6, type = "animal", passive = true, reach = 1, diff --git a/chicken.lua b/chicken.lua index 15c689f..35dff5a 100644 --- a/chicken.lua +++ b/chicken.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Chicken by JK Murray mobs:register_mob("mobs_animal:chicken", { +stepheight = 0.6, type = "animal", passive = true, hp_min = 5, diff --git a/cow.lua b/cow.lua index e7ba196..77d35d9 100644 --- a/cow.lua +++ b/cow.lua @@ -13,7 +13,7 @@ mobs:register_mob("mobs_animal:cow", { hp_min = 5, hp_max = 20, armor = 200, - collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, + collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4}, visual = "mesh", mesh = "mobs_cow.x", textures = { diff --git a/kitten.lua b/kitten.lua index adea21b..595471d 100644 --- a/kitten.lua +++ b/kitten.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Kitten by Jordach / BFD mobs:register_mob("mobs_animal:kitten", { +stepheight = 0.6, type = "animal", passive = true, hp_min = 5, diff --git a/penguin.lua b/penguin.lua index e07a112..ceeed77 100644 --- a/penguin.lua +++ b/penguin.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Penguin by D00Med mobs:register_mob("mobs_animal:penguin", { +stepheight = 0.6, type = "animal", passive = true, reach = 1, diff --git a/rat.lua b/rat.lua index 033a238..5b7ee51 100644 --- a/rat.lua +++ b/rat.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Rat by PilzAdam mobs:register_mob("mobs_animal:rat", { +stepheight = 0.6, type = "animal", passive = true, hp_min = 1, diff --git a/sheep.lua b/sheep.lua index 74300f8..ae5e6c9 100644 --- a/sheep.lua +++ b/sheep.lua @@ -26,6 +26,7 @@ local all_colours = { for _, col in ipairs(all_colours) do mobs:register_mob("mobs_animal:sheep_"..col[1], { +stepheight = 0.6, type = "animal", passive = true, hp_min = 8, diff --git a/warthog.lua b/warthog.lua index 0afcc52..2f69a5b 100644 --- a/warthog.lua +++ b/warthog.lua @@ -5,6 +5,7 @@ local S = mobs.intllib -- Warthog by KrupnoPavel mobs:register_mob("mobs_animal:pumba", { +stepheight = 0.6, type = "animal", passive = false, attack_type = "dogfight", @@ -15,7 +16,7 @@ mobs:register_mob("mobs_animal:pumba", { hp_min = 5, hp_max = 15, armor = 200, - collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, + collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4}, visual = "mesh", mesh = "mobs_pumba.x", textures = {