yuhsing

Untitled

Oct 15th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1.  
  2. prontera,151,171,5 script Quest NPC 1 757,{
  3. if( !quest_progress ){
  4. mes "Please give me 1 Apple.";
  5. if( countitem( 512 ) >= 1 ){
  6. if( select( "Okay","Cancel" ) == 1 ){
  7. mes "Please find NPC 2.";
  8. set quest_progress,1;
  9. delitem 512,1;
  10. }
  11. }
  12. }else{
  13. mes "There is nothing i can help you now.";
  14. }
  15. close;
  16. }
  17.  
  18. prontera,155,171,5 script Quest NPC 2 757,{
  19. if( quest_progress == 1 ){
  20. mes "Please give me 2 Apple.";
  21. if( countitem( 512 ) >= 2 ){
  22. if( select( "Okay","Cancel" ) == 1 ){
  23. mes "Please find NPC 3.";
  24. set quest_progress,2;
  25. delitem 512,2;
  26. }
  27. }
  28. }else{
  29. mes "There is nothing i can help you now.";
  30. }
  31. close;
  32. }
  33.  
  34.  
  35. prontera,159,171,5 script Quest NPC 2 757,{
  36. if( quest_progress == 2 ){
  37. mes "Please give me 2 Apple.";
  38. if( countitem( 512 ) >= 2 ){
  39. if( select( "Okay","Cancel" ) == 1 ){
  40. mes "Thank you,...you have finished all quest.";
  41. set quest_progress,0;
  42. delitem 512,2;
  43. }
  44. }
  45. }else{
  46. mes "There is nothing i can help you now.";
  47. }
  48. close;
  49. }
Advertisement
Add Comment
Please, Sign In to add comment