diff --git a/bee.lua b/bee.lua index 957abb4..176f07b 100644 --- a/bee.lua +++ b/bee.lua @@ -8,7 +8,7 @@ mobs:register_mob("mobs_animal:bee", { passive = true, hp_min = 1, hp_max = 2, - armor = 200, + armor = 100, collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.5, 0.2}, visual = "mesh", mesh = "mobs_bee.b3d", diff --git a/bunny.lua b/bunny.lua index be7c3f7..1f66c65 100644 --- a/bunny.lua +++ b/bunny.lua @@ -10,7 +10,7 @@ mobs:register_mob("mobs_animal:bunny", { stepheight = 0.6, hp_min = 1, hp_max = 4, - armor = 200, + armor = 100, collisionbox = {-0.268, -0.5, -0.268, 0.268, 0.167, 0.268}, visual = "mesh", mesh = "mobs_bunny.b3d", diff --git a/chicken.lua b/chicken.lua index ada4b5a..c416e20 100644 --- a/chicken.lua +++ b/chicken.lua @@ -9,7 +9,7 @@ mobs:register_mob("mobs_animal:chicken", { passive = true, hp_min = 5, hp_max = 10, - armor = 200, + armor = 100, collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3}, visual = "mesh", mesh = "mobs_chicken.b3d", diff --git a/cow.lua b/cow.lua index bc65444..7c77b94 100644 --- a/cow.lua +++ b/cow.lua @@ -10,9 +10,9 @@ mobs:register_mob("mobs_animal:cow", { attack_npcs = false, reach = 2, damage = 4, - hp_min = 5, + hp_min = 10, hp_max = 20, - armor = 200, + armor = 100, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4}, visual = "mesh", mesh = "mobs_cow.b3d", diff --git a/kitten.lua b/kitten.lua index 2afe713..95cb41c 100644 --- a/kitten.lua +++ b/kitten.lua @@ -28,7 +28,7 @@ mobs:register_mob("mobs_animal:kitten", { passive = false, hp_min = 5, hp_max = 10, - armor = 200, + armor = 100, collisionbox = {-0.3, -0.3, -0.3, 0.3, 0.1, 0.3}, visual = "mesh", visual_size = {x = 0.5, y = 0.5}, diff --git a/panda.lua b/panda.lua index d8c836b..9a1bf82 100644 --- a/panda.lua +++ b/panda.lua @@ -15,7 +15,7 @@ mobs:register_mob("mobs_animal:panda", { damage = 3, hp_min = 10, hp_max = 24, - armor = 200, + armor = 100, collisionbox = {-0.4, -0.45, -0.4, 0.4, 0.45, 0.4}, visual = "mesh", mesh = "mobs_panda.b3d", diff --git a/penguin.lua b/penguin.lua index d2292e2..b08a154 100644 --- a/penguin.lua +++ b/penguin.lua @@ -10,7 +10,7 @@ stepheight = 0.6, reach = 1, hp_min = 5, hp_max = 10, - armor = 200, + armor = 100, collisionbox = {-0.2, -0.0, -0.2, 0.2, 0.5, 0.2}, visual = "mesh", mesh = "mobs_penguin.b3d", diff --git a/rat.lua b/rat.lua index 428cc55..5d379ce 100644 --- a/rat.lua +++ b/rat.lua @@ -9,7 +9,7 @@ mobs:register_mob("mobs_animal:rat", { passive = true, hp_min = 1, hp_max = 4, - armor = 200, + armor = 100, collisionbox = {-0.2, -1, -0.2, 0.2, -0.8, 0.2}, visual = "mesh", mesh = "mobs_rat.b3d", diff --git a/sheep.lua b/sheep.lua index 5a19ac5..7b8d14e 100644 --- a/sheep.lua +++ b/sheep.lua @@ -44,10 +44,7 @@ for _, col in ipairs(all_colours) do for _2, col2 in ipairs(all_colours) do - if col2[1] == colr then - colr = col2[3] - break - end + if col2[1] == colr then colr = col2[3] ; break end end end @@ -59,8 +56,7 @@ for _, col in ipairs(all_colours) do local col_text = "^[multiply:" .. col_override if gotten then - wool_shave_text = shav_text - col_text = "" + wool_shave_text = shav_text ; col_text = "" end -- results in unneccesary brackets for shaved but these are ignored by engine @@ -80,8 +76,8 @@ for _, col in ipairs(all_colours) do type = "animal", passive = true, hp_min = 8, - hp_max = 10, - armor = 200, + hp_max = 12, + armor = 100, collisionbox = {-0.5, -1, -0.5, 0.5, 0.3, 0.5}, visual = "mesh", mesh = "mobs_sheep.b3d", @@ -279,6 +275,7 @@ for _, col in ipairs(all_colours) do self.gotten = true -- shaved self.drops = drops_gotten + self.food = 0 -- reset food local obj = minetest.add_item( self.object:get_pos(), @@ -286,9 +283,7 @@ for _, col in ipairs(all_colours) do ) if obj then - - obj:set_velocity({ - x = random(-1, 1), y = 5, z = random(-1, 1)}) + obj:set_velocity({x = random(-1, 1), y = 5, z = random(-1, 1)}) end item:add_wear(650) -- 100 uses diff --git a/warthog.lua b/warthog.lua index df0ea82..960bd13 100644 --- a/warthog.lua +++ b/warthog.lua @@ -13,9 +13,9 @@ mobs:register_mob("mobs_animal:pumba", { attack_npcs = false, reach = 2, damage = 2, - hp_min = 5, + hp_min = 10, hp_max = 15, - armor = 200, + armor = 100, collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4}, visual = "mesh", mesh = "mobs_pumba.b3d",