guides_alberta.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. //===== rAthena Script =======================================
  2. //= Alberta Guides
  3. //===== By: ==================================================
  4. //= kobra_k88; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.5a
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Guides for the city of Alberta
  12. //===== Additional Comments: =================================
  13. //= Fully working
  14. //= 1.1 Fixed Armory coords, thanks to Freya team
  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 Rescripted to official 10.3 standards. [L0ne_W0lf]
  20. //= 1.5 Fixed some errors with the loop[Samuray22]
  21. // -Thanks to $ephiroth.
  22. //============================================================
  23. alberta,23,238,4 script Guide#alb::AlbGuide 105,{
  24. cutin "prt_soldier",2;
  25. mes "[Alberta Guide]";
  26. mes "Welcome to Alberta,";
  27. mes "the Port City. Feel free";
  28. mes "to ask me if you're having";
  29. mes "trouble finding anything in";
  30. mes "town, or if you just need";
  31. mes "guidance around the city.";
  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 "[Alberta 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("^FF0000Merchant Guild^000000:Weapon Shop:Tool Shop:Inn:Forge:Cancel")) {
  53. case 1:
  54. mes "[Alberta Guide]";
  55. mes "The Merchant Guild";
  56. mes "handles Job Changes";
  57. mes "to the Merchant Class,";
  58. mes "and is located in the";
  59. mes "southwest corner";
  60. mes "of Alberta.";
  61. if (.@compass_check)
  62. viewpoint 1,33,41,2,0xFF0000;
  63. break;
  64. case 2:
  65. mes "[Alberta Guide]";
  66. mes "The Weapon Shop";
  67. mes "can be found in the";
  68. mes "southern end of Alberta.";
  69. if (.@compass_check)
  70. viewpoint 1,117,37,3,0xFF00FF;
  71. break;
  72. case 3:
  73. mes "[Alberta Guide]";
  74. mes "The Tool Shop";
  75. mes "is kind of close";
  76. mes "to the center of";
  77. mes "Alberta. It shouldn't";
  78. mes "be too hard to find.";
  79. if (.@compass_check)
  80. viewpoint 1,98,154,4,0xFF00FF;
  81. break;
  82. case 4:
  83. mes "[Alberta Guide]";
  84. mes "There's an Inn";
  85. mes "at the northern";
  86. mes "end of Alberta";
  87. mes "where you can rest.";
  88. if (.@compass_check)
  89. viewpoint 1,65,233,5,0xFF00FF;
  90. break;
  91. case 5:
  92. mes "[Alberta Guide]";
  93. mes "The Forge in Alberta";
  94. mes "is in the same building";
  95. mes "as the Merchant Guild.";
  96. mes "It's to the southwest.";
  97. if (.@compass_check)
  98. viewpoint 1,35,41,6,0xFF00FF;
  99. break;
  100. case 6:
  101. mes "[Alberta Guide]";
  102. mes "Please ask me to ''Remove";
  103. mes "Marks from Mini-Map'' if you";
  104. mes "no longer wish to have the";
  105. mes "location marks displayed";
  106. mes "on your Mini-Map.";
  107. set .@loop2,0;
  108. }
  109. }
  110. break;
  111. case 2:
  112. viewpoint 2,237,41,2,0xFF0000;
  113. viewpoint 2,237,41,3,0xFF00FF;
  114. viewpoint 2,46,345,4,0xFF00FF;
  115. viewpoint 2,175,220,5,0xFF00FF;
  116. viewpoint 2,175,220,6,0xFF00FF;
  117. set .@compass_check,0;
  118. break;
  119. case 3:
  120. mes "[Alberta Guide]";
  121. mes "Advances in sorcery and";
  122. mes "technology have allowed";
  123. mes "us to update our information";
  124. mes "system, enabling up to mark";
  125. mes "locations on your Mini-Map";
  126. mes "for easier navigation.";
  127. next;
  128. mes "[Alberta Guide]";
  129. mes "Your Mini-Map is located";
  130. mes "in the upper right corner";
  131. mes "of the screen. If you can't";
  132. mes "see it, press the Ctrl + Tab";
  133. mes "keys or click the ''Map'' button in your Basic Info Window.";
  134. next;
  135. mes "[Alberta Guide]";
  136. mes "On your Mini-Map,";
  137. mes "click on the ''+'' and ''-''";
  138. mes "symbols to zoom in and";
  139. mes "our of your Mini-Map. We";
  140. mes "hope you enjoy your travels";
  141. mes "here in the city of Alberta.";
  142. break;
  143. case 4:
  144. mes "[Alberta Guide]";
  145. mes "Be safe when you";
  146. mes "travel and don't hesitate";
  147. mes "to ask me if you have any";
  148. mes "questions about Alberta.";
  149. close2;
  150. set .@loop1,0;
  151. }
  152. }
  153. cutin "prt_soldier",255;
  154. end;
  155. }
  156. alberta,120,60,3 duplicate(AlbGuide) Guide#2alb 105