+ self.tnt_tick_timer = self.tnt_tick_timer - dtime
+ if self.tnt_tick_timer <= 0 and not self.dead then
+ self.tnt_tick_timer = self.explosion_blink_timer
+ self.tnt_mod_state = math.abs(self.tnt_mod_state-1)
+ if self.tnt_mod_state == 0 then
+ self.object:set_texture_mod("")
+ else
+ self.object:set_texture_mod("^[colorize:"..self.explosion_blink_color..":130")
+ end
+ --print(self.object:get_texture_mod())
+ --self.object:set_texture_mod("^[colorize:red:130")
+ end