quests_prontera.txt 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //===== eAthena Script =======================================
  2. //= Item Quest NPCs located in Prontera
  3. //===== By: ==================================================
  4. //= kobra_k88
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= Ph.D Hat Quest
  11. //===== Additional Comments: =================================
  12. //= Fixed flower name Dreamy -> Illusion
  13. //= 1.2 Fixed exploit [Lupus]
  14. //============================================================
  15. // Ph.D Hat Quest-------------------------------------------------------
  16. prt_in.gat,38,108,4 script Teacher 53,{
  17. if(countitem(710) >= 1 && countitem(703) >= 1 && countitem(704) >= 1 && countitem(708) >= 1) goto L_Start;//Items: Illusion Flower, Hinalle, Aloe, Ment,
  18. mes "Don't you think.... ^4444FF'flowers'^000000 are pretty?";
  19. next;
  20. menu "Talk.",-, "End Conversation.",M_End;
  21. mes "[Teacher]";
  22. mes "When I was young, I didn't play with friends like the other children. Instead, I spent time studing by myself.";
  23. next;
  24. mes "[Teacher]";
  25. mes "Sometimes I regret that decision.... but it doesn't really matter now. Through hard work, I was able to finish school earlier than my classmates.";
  26. next;
  27. mes "[Teacher]";
  28. mes "I was very lonely however..... when things got rough I had no one to talk to about my feelings.";
  29. next;
  30. mes "[Teacher]";
  31. mes "Then one day, I found my best friend.";
  32. next;
  33. mes "[Teacher]";
  34. mes "It was when I saw this pretty flower blooming in an abandoned garden.... I realised that it was just like me and in it, I found my best friend.";
  35. next;
  36. mes "[Teacher]";
  37. mes "Even though, to others it was just a common flower.... for me this flower meant much more. This flower gave me the strength to continue my studies.";
  38. mes "I could achieve my goals because of her.";
  39. next;
  40. mes "[Teacher]";
  41. mes "So.. now... I am trying to repay to her. I have started studying Flowers, and It is my goal to cover the whole world in Flowers!";
  42. next;
  43. mes "[Teacher]";
  44. mes "To accomplish my work.. I need a great deal of flowers. Unfortunately because of my studies, I can rarely go outside.";
  45. mes "It is really hard to find as many flowers as I need.";
  46. next;
  47. mes "[Teacher]";
  48. mes "I need 1 ^3355FFIllusion Flower^000000 ,1 ^3355FFHinalle^000000,1 ^3355FFAloe^000000 and 1 ^3355FFMent^000000...";
  49. mes "If you can bring these flowers to me, I would be willing to give you a special item...";
  50. close;
  51. M_End:
  52. mes "[Teacher]";
  53. mes "One of these days I will cover whole world in Flowers!.....";
  54. close;
  55. L_Start:
  56. mes "[Teacher]";
  57. mes "Oh... Those Flowers in your hand are....";
  58. M_Menu:
  59. next;
  60. menu "Show Flowers",-, "Give Flowers",M_Give, "Cancel",M_End;
  61. mes "[Teacher]";
  62. mes "Ah... How wonderful!! These are definately the 4 kinds of Flowers I was looking for ..";
  63. mes "The ^3355FFIllusion Flower, Hinalle, Aloe, and Ment^000000. Would you give them to me?...";
  64. next;
  65. mes "[Teacher]";
  66. mes "If you do I'd be willing to give you a special item.....";
  67. goto M_Menu;
  68. M_Give:
  69. if(countitem(710) < 1 || countitem(703) < 1 || countitem(704) < 1 || countitem(708) < 1) goto L_Cheater;//Items: Illusion Flower, Hinalle, Aloe, Ment,
  70. delitem 710,1;//Items: Illusion Flower,
  71. delitem 703,1;//Items: Hinalle,
  72. delitem 704,1;//Items: Aloe,
  73. delitem 708,1;//Items: Ment,
  74. mes "[Teacher]";
  75. mes "I really, really appreciate what you've done for me!! I trully am grateful! I will give you a very special item as I promised.";
  76. emotion e_thx;
  77. next;
  78. mes "[Teacher]";
  79. mes "This is the hat I wore at my Graduation Ceremony. It is a reminder of my joyfull school days at the University.";
  80. mes "Please take it...";
  81. getitem 5012,1;//Items: Ph.D Hat,
  82. close;
  83. L_Cheater:
  84. mes "[Teacher]";
  85. mes "I won't give a special item to a cheater...";
  86. mes "Now go away!";
  87. emotion e_bzz;
  88. close;
  89. }