Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------
- -- Quest napisany przez © Sensual --
- ------------------------------------
- quest gold_bar begin
- state start begin
- when 80005.use or 80006.use or 80007.use or 80009.use begin
- if not pc.can_warp() then
- syschat("Musisz odczekać 10 sekund od zakończenia handlu, aby sprzedać sztabkę.")
- return
- end
- if pc.get_gold() + item.get_value(0) >= 1999999999 then
- syschat("Nie możesz sprzedać sztabki, ponieważ masz za dużo Yang.")
- return
- end
- if pc.get_gold() + item.get_value(0) < 1999999999 then
- pc.change_money(item.get_value(0))
- item.set_count(item.get_count() - 1)
- return
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment