quests_yuno.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. //===== eAthena Script =======================================
  2. //= Quests NPCs located in Yuno City
  3. //===== By: ==================================================
  4. //= eAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= Help the bros and get some rubies or gold. This quest is
  11. //= also used in part of the Alchemist job quest.
  12. //===== Additional Comments: =================================
  13. //= v1.1 Re-did the text and re-organized the script. Corrected some items. [kobra_k88]
  14. //= v1.2 Added part to Bro's for alchemist quest [Darkchild]
  15. //= 1.3 fixed that part of Alch Job Quest. [Lupus]
  16. //============================================================
  17. //===========================================================================
  18. yuno_in01.gat,103,158,4 script Bain 98,{
  19. set @name$, "[Bain]";
  20. OnStart:
  21. mes @name$;
  22. if(bros_q == 1) goto L_Check;
  23. mes "We are going to invent a doll that can talk and communicate! Well, at least that's what I'm trying to do....";
  24. mes "The idea came from an old tale about a doll that acted like a real person.";
  25. next;
  26. mes @name$;
  27. mes "I figure if someone had the ability to make such a doll back then, then it should definitely be possible today.";
  28. next;
  29. mes @name$;
  30. mes "Unfortunately I lack the proper supplies and parts to actually try and build the doll.";
  31. mes "Although I can buy some of the things I need, many of these items can only be taken from monsters......";
  32. next;
  33. mes @name$;
  34. mes "I am much to weak to defeat these monsters....... How will I be able to continue this project??.....";
  35. next;
  36. menu "I'll get the items for you.",-, "Good luck.",M_End;
  37. mes @name$;
  38. mes "Really? Such benevolence is rare in this day and age. We would be grateful for you assisstance.";
  39. mes "Here are the items that we will be needing.......";
  40. callsub sF_List;
  41. set bros_q, 1;
  42. close;
  43. M_End:
  44. mes @name$;
  45. mes "We'll need a lot of luck if this is going to happen. If you know of anyone who can help us, please let us know.";
  46. close;
  47. L_Check:
  48. if((countitem(974) < 1) || (countitem(612) < 5) || (countitem(7068) < 5) || (countitem(1003) < 5) || (countitem(7043) < 5) ||
  49. (countitem(757) < 3) || (countitem(756) < 3) || (Zeny < 2000)) goto L_NotEnuf;
  50. mes "Thank you very much! You found all of the items I needed. We could not have completed this project without your help";
  51. next;
  52. mes @name$;
  53. mes "Okay, let's try this out!";
  54. mes "Hold on for just a second!";
  55. next;
  56. mes "-Vrrrmrmrmrmrmrmrrmrmrmmrmrmrmrmmm";
  57. next;
  58. mes "-Pakakakakakakakakakakakakakak";
  59. next;
  60. mes "-Shakakakakakakakakakakaakakak";
  61. next;
  62. mes @name$;
  63. mes "AHHH it is a success!";
  64. mes "I don't know if we can do anything else, but this time we have created";
  65. set @wowitem,rand(2);
  66. if(@wowitem == 0) mes "5 Ruby!";
  67. if(@wowitem == 0) getitem 723,5;
  68. if(@wowitem == 1) mes "3 Gold!";
  69. if(@wowitem == 1) getitem 969,3;
  70. delitem 974,1;
  71. delitem 612,5;
  72. delitem 7068,5;
  73. delitem 1003,5;
  74. delitem 7043,5;
  75. delitem 757,3;
  76. delitem 756,3;
  77. set Zeny, Zeny-2000;
  78. if(ALCH_Q == 6) set ALCH_Q2, 2; //for Alchemist Job Quest
  79. set bros_q, 0;
  80. next;
  81. mes @name$;
  82. mes "Now that we know that it works,";
  83. mes "I don't have any need for this.";
  84. mes "Why don't you take it? Oh,";
  85. mes "and if you find anymore parts,";
  86. mes "bring them to me again. Heheheheh.";
  87. next;
  88. mes @name$;
  89. mes "Thanks for helping me out.";
  90. mes "You have my eternal gratitude.";
  91. mes "I wish you luck in your journeys!";
  92. close;
  93. L_NotEnuf:
  94. mes "In case you forgot, these are the items that we will need. I suggest you write them down......";
  95. callsub sF_List;
  96. close;
  97. sF_List:
  98. next;
  99. mes @name$;
  100. mes "^5533FF1 Mixture";
  101. mes "5 Mini-Furnaces";
  102. mes "5 Burnt Trees";
  103. mes "5 Coal";
  104. mes "5 Fine Sand";
  105. mes "3 Rough Elunium";
  106. mes "3 Rough Oridecon^000000";
  107. next;
  108. mes @name$;
  109. mes "We will also need ^5533FF2,000 zeny^000000.";
  110. mes "The money will help pay for the minor expenses invovled in the undertaking of this project. Good luck and please be safe.";
  111. return;
  112. }
  113. //=====================================================================
  114. yuno_in01.gat,99,153,4 script Bajin 47,{
  115. set @name$, "[Bajin]";
  116. doevent "Bain::OnStart";
  117. close;
  118. }