-mob_register = {}
+local mob_register = {}
------------------------------------------------
mob_register.initial_properties = {
mob_register.die_in_light_level = def.die_in_light_level
mob_register.current_animation = 0
+mob_register.hurt_color_timer = 0
mob_register.mob = true
if self.dead == false and self.death_animation_timer == 0 then
self.move(self,dtime)
+
+ self.manage_hurt_color_timer(self,dtime)
self.set_animation(self)
if self.look_around then