Small tweaks, push to 1.1.4
This commit is contained in:
parent
daca4f6c0e
commit
5a1bcc0bab
@ -2,7 +2,7 @@ Minetest mod "Creatures"
|
|||||||
=======================
|
=======================
|
||||||
by BlockMen (c) 2014
|
by BlockMen (c) 2014
|
||||||
|
|
||||||
Version: 1.1.3 Beta
|
Version: 1.1.4 Beta
|
||||||
|
|
||||||
About
|
About
|
||||||
~~~~~
|
~~~~~
|
||||||
@ -94,6 +94,12 @@ Changelog:
|
|||||||
- Prevent the mobs flood once and for all
|
- Prevent the mobs flood once and for all
|
||||||
- Drop items aswell when settings define max lifetime
|
- 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
|
This program is free software. It comes without any warranty, to
|
||||||
the extent permitted by applicable law. You can redistribute it
|
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
|
and/or modify it under the terms of the Do What The Fuck You Want
|
||||||
|
@ -222,7 +222,7 @@ SHEEP_DEF.on_step = function(self, dtime)
|
|||||||
|
|
||||||
-- die if old and alone
|
-- die if old and alone
|
||||||
if self.lifetime > s_life_max then
|
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
|
self.lifetime = 0
|
||||||
else
|
else
|
||||||
self.object:set_hp(0)
|
self.object:set_hp(0)
|
||||||
|
@ -97,5 +97,5 @@ minetest.register_abm({
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
if math.random(1,10) > 8 then 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})
|
end})
|
||||||
|
@ -327,7 +327,7 @@ ZOMBIE_DEF.on_step = function(self, dtime)
|
|||||||
--jump
|
--jump
|
||||||
local p = current_pos
|
local p = current_pos
|
||||||
p.y = p.y-0.5
|
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
|
if self.attacker ~= "" and minetest.setting_getbool("enable_damage") then
|
||||||
local s = current_pos
|
local s = current_pos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user