quests_yuno.txt 4.4 KB

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