forked from Sokomine/yl_speak_up
added necessary defines for mobs_redo in update_tag
This commit is contained in:
parent
9e09712781
commit
0585dd4b77
@ -122,10 +122,14 @@ mobs.mob_class.update_tag = function(self)
|
|||||||
|
|
||||||
if self.horny == true then
|
if self.horny == true then
|
||||||
|
|
||||||
|
local HORNY_TIME = 30
|
||||||
|
local HORNY_AGAIN_TIME = 60 * 5 -- 5 minutes
|
||||||
|
|
||||||
text = "\nLoving: " .. (self.hornytimer - (HORNY_TIME + HORNY_AGAIN_TIME))
|
text = "\nLoving: " .. (self.hornytimer - (HORNY_TIME + HORNY_AGAIN_TIME))
|
||||||
|
|
||||||
elseif self.child == true then
|
elseif self.child == true then
|
||||||
|
|
||||||
|
local CHILD_GROW_TIME = 60 * 20 -- 20 minutes
|
||||||
text = "\nGrowing: " .. (self.hornytimer - CHILD_GROW_TIME)
|
text = "\nGrowing: " .. (self.hornytimer - CHILD_GROW_TIME)
|
||||||
|
|
||||||
elseif self._breed_countdown then
|
elseif self._breed_countdown then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user