Guest User

Untitled

a guest
Dec 30th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. function filtr_end()
  2. local iTem = db.actor:active_item()
  3. local tIme = (game.time() + 50000)
  4. local cond = iTem:condition
  5. if has_alife_info('start_filtr_end') and iTem ~= nil then
  6. while cond >= 0 do
  7. if cond >= 0 and game.time > tIme then
  8. iTem:set_condition(cond)
  9. cond = cond-0.1
  10. tIme = tIme + 50000
  11. end
  12. end
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment