Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest mounty4 begin
- state start begin
- when 71152.use begin
- say_title("Menu:")
- local x = select("Tak", "Nie")
- if pc.getqf("next_time_use") > get_time() then
- local iRest = pc.getqf("next_time_use")-get_time()
- syschat("By użyć kolejnej pieczęci poczekaj "..iRest.." Sekund!")
- else
- local iTime = 1 -- Czas wierzchowca w Minutach!
- local iMount = 20120 -- Id Wierzchowca
- command("unmount")
- affect.add_collect_point(POINT_MOUNT,iMount,60*iTime)
- pc.setqf("next_time_use",get_time()+iTime*60)
- affect.add(apply.DEF_GRADE_BONUS,100, iTime*60)
- timer('iTime',iTime*60)
- end
- end
- when iTime.timer begin
- pc.unmount()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement