Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function filtr_end()
- local iTem = db.actor:active_item()
- local tIme = (game.time() + 50000)
- local cond = iTem:condition
- if has_alife_info('start_filtr_end') and iTem ~= nil then
- while cond >= 0 do
- if cond >= 0 and game.time > tIme then
- iTem:set_condition(cond)
- cond = cond-0.1
- tIme = tIme + 50000
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment