diff --git a/README.txt b/README.txt index 4358b68..6b59a32 100644 --- a/README.txt +++ b/README.txt @@ -2,7 +2,7 @@ Minetest mod "Creatures" ======================= by BlockMen (c) 2014 -Version: 1.1.3 Beta +Version: 1.1.4 Beta About ~~~~~ @@ -94,6 +94,12 @@ Changelog: - Prevent the mobs flood once and for all - Drop items aswell when settings define max lifetime +# 1.1.4 + - Fixed mobs flood (yes, really!) + - Sheep drop raw flesh on death + - Sheep are not stuck that often in valleys; spawning less + - Improved jumping of zombies and sheep + This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want diff --git a/sheep.lua b/sheep.lua index 1bd07e1..ea0a139 100644 --- a/sheep.lua +++ b/sheep.lua @@ -222,7 +222,7 @@ SHEEP_DEF.on_step = function(self, dtime) -- die if old and alone if self.lifetime > s_life_max then - if creatures.find_mates(current_pos, "sheep", 18) then + if creatures.find_mates(current_pos, "sheep", 15) then self.lifetime = 0 else self.object:set_hp(0) diff --git a/spawn.lua b/spawn.lua index 3dd4673..c210b18 100644 --- a/spawn.lua +++ b/spawn.lua @@ -97,5 +97,5 @@ minetest.register_abm({ return end if math.random(1,10) > 8 then return end - creatures.spawn(pos, math.random(1,2), "creatures:sheep", 4, 50, 30) + creatures.spawn(pos, 1, "creatures:sheep", 4, 50, 30) end}) diff --git a/zombie.lua b/zombie.lua index 34eeef8..7265596 100644 --- a/zombie.lua +++ b/zombie.lua @@ -327,7 +327,7 @@ ZOMBIE_DEF.on_step = function(self, dtime) --jump local p = current_pos p.y = p.y-0.5 - creatures.jump(self, p, 7.3, 0.25) + creatures.jump(self, p, 7.4, 0.25) if self.attacker ~= "" and minetest.setting_getbool("enable_damage") then local s = current_pos