obb_quest.txt 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. //===== Athena Script =======================================
  2. //= Old Blue Box Quest
  3. //===== By ================================================
  4. //= Celesta, Lupus
  5. //===== Version ===========================================
  6. //= 1.6a
  7. //===== Compatible With ===================================
  8. //= SVN3000+
  9. //===== Description =======================================
  10. //= Official OBB Quest. You can pass it any times you want.
  11. //= 1.6 Updated, fixed, optimized and translated into English [Lupus]
  12. //= 1.6a Halved the required items to make an obb, thanks to marquis007 [MasterOfMuppets]
  13. //===== Description =======================================
  14. alberta.gat,115,204,5 script Tourist 97,{
  15. mes "[Tourist]";
  16. if(obb_quest == 1 ) goto L_YES;
  17. if(obb_quest == 2 ) goto L_DONE;
  18. mes "Hello, stranger!";
  19. mes "Could you help me with kinda problem... Then I'd tell you something valuable.";
  20. next;
  21. mes "[Tourist]";
  22. mes "I'm starving. I haven't had an apple since the morning...";
  23. mes "Feed me and I'll tell you a secret.";
  24. next;
  25. L_MENU:
  26. menu "What do you like?",-,"I've got food.",L_FOOD, "See you later.", L_END;
  27. mes "[Tourist]";
  28. mes "Me.. I.. Today I'd like:";
  29. mes "20 ^0000FFMeat^000000";
  30. mes "20 ^0000FFWell-Baked Cookie^000000";
  31. next;
  32. goto L_MENU;
  33. L_NO_MEAT:
  34. delitem 517,20;//Items: Meat,
  35. mes "You know, you're lack of meat...";
  36. mes "Please, bring me more...";
  37. close;
  38. L_NO_COOK:
  39. delitem 538,20;//Items: Well-baked_Cookie,
  40. mes "Awww... I just wanna more sweeties!";
  41. mes "Please, get me more cookies...";
  42. close;
  43. L_FOOD:
  44. mes "[Tourist]";
  45. mes "Wha?! You brought all the food?";
  46. mes "At last!";
  47. next;
  48. mes "[Tourist]";
  49. if(countitem(517)<20) goto L_NO_MEAT;//Items: Meat,
  50. delitem 517,20;//Items: Meat,
  51. if(countitem(538)<20) goto L_NO_COOK;//Items: Well-baked_Cookie,
  52. delitem 538,20;//Items: Well-baked_Cookie,
  53. if(rand(10)<7) goto L_HUNGRY;
  54. mes "Well... I'm sorta full.";
  55. mes "Now listen to me. It's important.";
  56. next;
  57. mes "[Tourist]";
  58. mes "A friend of mine who lives in Morroc, know one old man from Comodo...";
  59. next;
  60. mes "[Tourist]";
  61. mes "That old man might know a secret of strange ancient blue boxes.";
  62. set obb_quest, 1;
  63. close;
  64. L_HUNGRY:
  65. mes "I'm still hungry!";
  66. mes "Is it all you got?";
  67. close;
  68. L_YES:
  69. mes "OK, go to Morroc and find my old pal Jacob,";
  70. mes "he'll help you to trace an old man, who might keep a knowledge how to make some blue boxes...";
  71. next;
  72. mes "[Tourist]";
  73. mes "Good luck, my friend.";
  74. close;
  75. L_DONE:
  76. mes "Have you made any Blue Boxes yet?";
  77. next;
  78. mes "[Tourist]";
  79. mes "Oh... yeah, you've met that Old Greek from Comodo...";
  80. close;
  81. L_END:
  82. mes "[Tourist]";
  83. mes "Well... farewell then.";
  84. close;
  85. }
  86. //second part Jacob
  87. morocc.gat,267,142,5 script Jacob 807,{
  88. mes "[Jacob]";
  89. if(obb_quest == 1 ) goto L_YES;
  90. if(obb_quest == 2 ) goto L_DONE;
  91. mes "Get off! I'm busy!";
  92. if(rand(2))mes "And it's none of your business!";
  93. if(rand(2))mes "What Alberta? Huh?! Have I said it aloud? Forget it.";
  94. close;
  95. L_YES:
  96. mes "Aha! You say you know my old friend from Alberta?";
  97. next;
  98. mes "[Jacob]";
  99. mes "Well, I'm gladly tell you about that weird old man if you bring me";
  100. mes "2 ^0000FFNo Recipient^000000";
  101. next;
  102. menu "Here you are!",-,"I've changed my plans.",L_END;
  103. mes "[Jacob]";
  104. mes "Let me see...";
  105. if(countitem(636)<2) goto L_NOITM;//Items: No_Recipient,
  106. delitem 636,2;//Items: No_Recipient,
  107. mes "Thank you, that's all I need.";
  108. emotion e_thx;
  109. next;
  110. mes "[Jacob]";
  111. set obb_quest, 2;
  112. L_DONE:
  113. mes "Go to Comodo. Somewhere on the beach you'll find Old Greek.";
  114. mes "Tell me that you know me and he'll help you.";
  115. close;
  116. L_NOITM:
  117. mes "Pardon, but I do really need these two ^0000FFNo Recipients^000000.";
  118. emotion e_hmm;
  119. close;
  120. L_END:
  121. mes "[Jacob]";
  122. mes "Well, good luck.";
  123. close;
  124. }
  125. //third part
  126. comodo.gat,41,209,5 script Old Greek 120,{
  127. mes "[Old Greek]";
  128. if(obb_quest == 2 ) goto L_YES;
  129. if(obb_quest < 2 ) goto L_LOST;
  130. L_LOST:
  131. mes "The KNOWLEDGE! That's the key, my child...";
  132. if(rand(2))mes "Wealth doesn't matter.";
  133. close;
  134. L_YES:
  135. mes "Huh? Jacob send you?";
  136. mes "OK, OK... It's true, I still can use old blue prints to make";
  137. mes "an ^0000FF Old Blue Box^000000";
  138. next;
  139. L_MENU:
  140. menu "Make me one.",L_CREATE,"What do you need?",-,"Gooodbye.",L_END;
  141. mes "[Old Greek]";
  142. mes "For an Old Blue Box I need:";
  143. mes "50 ^0000FFCyfars^000000";
  144. mes "10 ^0000FFBrigans^000000";
  145. mes "10 ^0000FFClam Shells^000000";
  146. mes "15 ^0000FFCrab Shells^000000";
  147. next;
  148. goto L_MENU;
  149. L_CREATE:
  150. mes "[Old Greek]";
  151. mes "Let's see... What have you got...";
  152. next;
  153. L_CREATE2:
  154. if(countitem(7053)<50 || countitem(7054)<10 || countitem(965)<10 || countitem(964)<15) goto L_NO;//Items: Cyfar, Brigan, Clam_Shell, Crab_Shell,
  155. delitem 7053,50;//Items: Cyfar,
  156. delitem 7054,10;//Items: Brigan,
  157. delitem 965,10;//Items: Clam_Shell,
  158. delitem 964,15;//Items: Crab_Shell,
  159. getitem 603,1;//Items: Old_Blue_Box,
  160. mes "[Old Greek]";
  161. mes "Here's your Box!";
  162. emotion e_no1;
  163. next;
  164. menu "Make another!",L_CREATE2, "It's enough.",-;
  165. L_END:
  166. mes "[Old Greek]";
  167. mes "I wish you happy journey, my child.";
  168. close;
  169. L_NO:
  170. mes "[Old Greek]";
  171. mes "Alas, my child. You haven't brought enough materials...";
  172. close;
  173. }