guides_pron.txt 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. //===== eAthena Script =======================================
  2. //= Prontera Guides
  3. //===== By: ==================================================
  4. //= kobra_k88; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.6a
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Guides for the City of Prontera
  12. //===== Additional Comments: =================================
  13. //= Fully working
  14. //= v1.1 Now using duplicate command.
  15. //= 1.2 Optimized, updated common guide names [Lupus]
  16. //= 1.3 Updated the guide according to how it is on iRO, thanks [MasterOfMuppets]
  17. //= to Muad_Dib
  18. //= 1.4 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA]
  19. //= 1.5 Removed Duplicates [Silent]
  20. //= 1.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
  21. //= 1.6a Fixed some errors with the loop. [Samuray22]
  22. // -Thanks to $ephiroth.
  23. //= 1.6b Fixed a Problem with Unnecesary RGB Values. [Samuray22]
  24. // -Thanks to Brainstorm.
  25. //============================================================
  26. prontera,154,187,4 script Guide#prt::PrtGuide 105,{
  27. cutin "prt_soldier",2;
  28. mes "[Prontera Guide]";
  29. mes "Welcome to Prontera,";
  30. mes "the beautiful capital of the";
  31. mes "Rune-Midgarts Kingdom. If";
  32. mes "you have questions or need help finding something in the city, don't hesitate to ask.";
  33. set .@loop1,1;
  34. while (.@loop1) {
  35. next;
  36. switch(select("City Guide.:Remove Marks from Mini-Map:Notice:Cancel")) {
  37. case 1:
  38. mes "[Prontera Guide]";
  39. mes "Please select";
  40. mes "a location from";
  41. mes "the following menu.";
  42. if (.@compass_check == 0) {
  43. mes "Would you like me";
  44. mes "to mark locations";
  45. mes "on your Mini-Map?";
  46. next;
  47. if (select("Yes:No") == 1) set .@compass_check,1;
  48. }
  49. set .@loop2,1;
  50. while (.@loop2) {
  51. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  52. else next;
  53. switch(select("Swordman Association:^0000FFSanctuary^000000:Prontera Chivalry:Weapon Shop:Tool Shop:Inn:Trading Post:Pub:Library:Job Agency:Prontera Castle:City Hall:Cancel")) {
  54. case 1:
  55. mes "[Prontera Guide]";
  56. mes "The Swordman Association,";
  57. mes "which handles Job Changes";
  58. mes "to the Swordman class, has";
  59. mes "moved to Izlude. This facility";
  60. mes "is just an empty building now.";
  61. if (.@compass_check)
  62. viewpoint 1,237,41,4,0x00FF00;
  63. break;
  64. case 2:
  65. mes "[Prontera Guide]";
  66. mes "The Prontera Sanctuary";
  67. mes "handles Job Changes to";
  68. mes "the Acolyte class, and can";
  69. mes "be found in the northeast";
  70. mes "corner of Prontera.";
  71. if (.@compass_check)
  72. viewpoint 1,236,316,5,0xFF0000;
  73. break;
  74. case 3:
  75. mes "[Prontera Guide]";
  76. mes "The Prontera Chivralry,";
  77. mes "which is responsible for";
  78. mes "the safety of our capital, is";
  79. mes "in Prontera's northwest corner.";
  80. if (.@compass_check)
  81. viewpoint 1,46,345,6,0x00FF00;
  82. break;
  83. case 4:
  84. mes "[Prontera Guide]";
  85. mes "The Weapon Shop";
  86. mes "is located northeast";
  87. mes "of the central fountain.";
  88. if (.@compass_check)
  89. viewpoint 1,175,220,7,0xFF00FF;
  90. break;
  91. case 5:
  92. mes "[Prontera Guide]";
  93. mes "The Tool Shop";
  94. mes "is located northwest";
  95. mes "of the central fountain.";
  96. if (.@compass_check)
  97. viewpoint 1,134,221,8,0xFF00FF;
  98. break;
  99. case 6:
  100. mes "[Prontera Guide]";
  101. mes "The Inns in Prontera are";
  102. mes "located both to the east";
  103. mes "and west of Prontera's";
  104. mes "central fountain area.";
  105. if (.@compass_check) {
  106. viewpoint 1,204,191,9,0xFF00FF;
  107. viewpoint 1,107,192,10,0xFF00FF;
  108. }
  109. break;
  110. case 7:
  111. mes "[Prontera Guide]";
  112. mes "The Trading Post";
  113. mes "can be found southeast";
  114. mes "from the central fountain.";
  115. if (.@compass_check)
  116. viewpoint 1,179,184,11,0x00FF00;
  117. break;
  118. case 8:
  119. mes "[Prontera Guide]";
  120. mes "The Pub is located";
  121. mes "southeast of the fountain,";
  122. mes "behind the Trading Post.";
  123. if (.@compass_check)
  124. viewpoint 1,208,154,12,0x00FF00;
  125. break;
  126. case 9:
  127. mes "[Prontera Guide]";
  128. mes "If you head north from";
  129. mes "the central fountain, you'll";
  130. mes "find an empty area in which";
  131. mes "both branches of the Prontera";
  132. mes "Library can be accessed if you";
  133. mes "head towards the east or west.";
  134. if (.@compass_check) {
  135. viewpoint 1,120,267,13,0x00FF00;
  136. viewpoint 1,192,267,14,0x00FF00;
  137. }
  138. break;
  139. case 10:
  140. mes "[Prontera Guide]";
  141. mes "The Job Agency is";
  142. mes "just southwest of the";
  143. mes "central fountain area.";
  144. if (.@compass_check)
  145. viewpoint 1,133,183,15,0x00FF00;
  146. break;
  147. case 11:
  148. mes "[Prontera Guide]";
  149. mes "The Prontera Castle is";
  150. mes "located at the northern";
  151. mes "sector of this city. You can";
  152. mes "go to the fields that are north";
  153. mes "of Prontera by going through";
  154. mes "the castle's rear exit.";
  155. if (.@compass_check)
  156. viewpoint 1,156,360,16,0x00FF00;
  157. break;
  158. case 12:
  159. mes "[Prontera Guide]";
  160. mes "The City Hall";
  161. mes "is located in the";
  162. mes "southwest corner";
  163. mes "in our city of Prontera.";
  164. if (.@compass_check)
  165. viewpoint 1,75,91,17,0x01FF01;
  166. break;
  167. case 13:
  168. mes "[Prontera Guide]";
  169. mes "Please ask me to ''Remove";
  170. mes "Marks from Mini-Map'' if you";
  171. mes "no longer wish to have the";
  172. mes "location marks displayed";
  173. mes "on your Mini-Map.";
  174. set .@loop2,0;
  175. break;
  176. }
  177. }
  178. break;
  179. case 2:
  180. viewpoint 2,237,41,4,0x00FF00;
  181. viewpoint 2,237,41,5,0x0000FF;
  182. viewpoint 2,46,345,6,0x00FF00;
  183. viewpoint 2,175,220,7,0xFF0000;
  184. viewpoint 2,134,221,8,0xFF0000;
  185. viewpoint 2,204,191,9,0xFF0000;
  186. viewpoint 2,107,192,10,0xFF0000;
  187. viewpoint 2,179,184,11,0x00FF00;
  188. viewpoint 2,208,154,12,0x00FF00;
  189. viewpoint 2,120,267,13,0x00FF00;
  190. viewpoint 2,192,267,14,0x00FF00;
  191. viewpoint 2,133,183,15,0x00FF00;
  192. viewpoint 2,156,360,16,0x00FF00;
  193. viewpoint 2,75,91,17,0x00FF00;
  194. set .@compass_check,0;
  195. break;
  196. case 3:
  197. mes "[Prontera Guide]";
  198. mes "Advances in sorcery and";
  199. mes "technology have allowed";
  200. mes "us to update our information";
  201. mes "system, enabling up to mark";
  202. mes "locations on your Mini-Map";
  203. mes "for easier navigation.";
  204. next;
  205. mes "[Prontera Guide]";
  206. mes "Your Mini-Map is located";
  207. mes "in the upper right corner";
  208. mes "of the screen. If you can't";
  209. mes "see it, press the Ctrl + Tab";
  210. mes "keys or click the ''Map'' button in your Basic Info Window.";
  211. next;
  212. mes "[Prontera Guide]";
  213. mes "On your Mini-Map,";
  214. mes "click on the ''+'' and ''-''";
  215. mes "symbols to zoom in and";
  216. mes "our of your Mini-Map. We";
  217. mes "hope you enjoy your travels";
  218. mes "here in the city of Prontera.";
  219. break;
  220. case 4:
  221. mes "[Prontera Guide]";
  222. mes "Well, adventurer...";
  223. mes "I hope your journeys";
  224. mes "through Rune-Midgard";
  225. mes "are both fun and safe.";
  226. close2;
  227. set .@loop1,0;
  228. break;
  229. }
  230. }
  231. cutin "prt_soldier",255;
  232. end;
  233. }
  234. prontera,282,208,2 duplicate(PrtGuide) East Gate-Guide 105
  235. prontera,29,200,6 duplicate(PrtGuide) West Gate-Guide 105
  236. prontera,160,29,0 duplicate(PrtGuide) South Gate-Guide 105
  237. prontera,151,330,4 duplicate(PrtGuide) North Gate-Guide 105