Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest seon begin
- state start begin
- when 9004.chat."Przedmioty" begin
- local fm = select("Przedmioty Specjalne", "Pety", "Przedmioty do Biologa", "Ulepszacze i Przepustki", "Zamknij")
- if fm == 1 then
- npc . open_shop( 12 )
- setskin(NOWINDOW)
- elseif fm == 2 then
- npc . open_shop( 13 )
- setskin(NOWINDOW)
- elseif fm == 3 then
- npc . open_shop( 14 )
- setskin(NOWINDOW)
- elseif fm == 4 then
- npc . open_shop( 15 )
- setskin(NOWINDOW)
- -- elseif fm == 5 then
- -- npc . open_shop( 16 )
- -- setskin(NOWINDOW)
- -- elseif fm == 6 then
- -- npc . open_shop( 17 )
- -- setskin(NOWINDOW)
- end
- end
- when 9004.chat."Bronie" begin
- local b = select("Miecze Jednoręczne - Wojownik", "Miecze Jednoręczne - Sura", "Miecze Dwuręczne", "Sztylety", "Wachlarze", "Dzwony", "Łuki", "Zamknij")
- if b == 1 then
- npc . open_shop( 18 )
- setskin(NOWINDOW)
- elseif b == 2 then
- npc . open_shop( 19 )
- setskin(NOWINDOW)
- elseif b == 3 then
- npc . open_shop( 20 )
- setskin(NOWINDOW)
- elseif b == 4 then
- npc . open_shop( 21 )
- setskin(NOWINDOW)
- elseif b == 5 then
- npc . open_shop( 22 ) --wachlarze
- setskin(NOWINDOW)
- elseif b == 6 then
- npc . open_shop( 23 ) -- dzwony
- setskin(NOWINDOW)
- elseif b == 7 then
- npc . open_shop( 24 )
- setskin(NOWINDOW)
- end
- end
- when 9004.chat."Zbroje" begin
- local z = select("Zbroje Wojownik", "Zbroje Ninja", "Zbroje Sura", "Zbroje Szaman", "Zamknij")
- if z == 1 then
- npc . open_shop( 25 )
- setskin(NOWINDOW)
- elseif z == 2 then
- npc . open_shop( 26 )
- setskin(NOWINDOW)
- elseif z == 3 then
- npc . open_shop( 27 )
- setskin(NOWINDOW)
- elseif z == 4 then
- npc . open_shop( 28 )
- setskin(NOWINDOW)
- end
- end
- when 9004.chat."Biżuteria" begin
- local bi = select("Hełmy", "Tarcze", "Kolczyki", "Bransolety", "Naszyjniki", "Buty")
- if bi == 1 then
- npc . open_shop( 29 )
- setskin(NOWINDOW)
- elseif bi == 2 then
- npc . open_shop ( 30 )
- setskin(NOWINDOW)
- elseif bi == 3 then
- npc . open_shop ( 31 )
- setskin(NOWINDOW)
- elseif bi == 4 then
- npc . open_shop ( 32 )
- setskin(NOWINDOW)
- elseif bi == 5 then
- npc . open_shop ( 33 )
- setskin(NOWINDOW)
- elseif bi == 6 then
- npc . open_shop ( 34 )
- setskin(NOWINDOW)
- end
- end
- when 9004.chat."Fryzury" begin
- local f = select("Fryzury Mężczyzna", "Fryzury Kobieta", "Zamknij")
- if f == 1 then
- local fm = select("Fryzury Wojownik (M)", " Fryzury Sura (M)", "Fryzury Ninja (M)", "Fryzury Szaman (M)", "Zamknij")
- if fm == 1 then
- npc . open_shop( 36 )
- setskin(NOWINDOW)
- elseif fm == 2 then
- npc . open_shop( 37 )
- setskin(NOWINDOW)
- elseif fm == 3 then
- npc . open_shop( 38 )
- setskin(NOWINDOW)
- elseif fm == 4 then
- npc . open_shop( 39 )
- setskin(NOWINDOW)
- end
- elseif f == 2 then
- local fk = select("Fryzury Wojownik (K)", " Fryzury Sura (K)", "Fryzury Ninja (K)", "Fryzury Szaman (K)", "Zamknij")
- if fk == 1 then
- npc . open_shop( 41 )
- setskin(NOWINDOW)
- elseif fk == 2 then
- npc . open_shop( 42 )
- setskin(NOWINDOW)
- elseif fk == 3 then
- npc . open_shop( 43 )
- setskin(NOWINDOW)
- elseif fk == 4 then
- npc . open_shop( 44 )
- setskin(NOWINDOW)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement