guides_prontera.txt 7.3 KB

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