guides_morroc.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. //===== rAthena Script =======================================
  2. //= Morocc Guides
  3. //===== By: ==================================================
  4. //= kobra_k88; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.4a
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Guides for the City of Morocc
  12. //===== Additional Comments: =================================
  13. //= 1.1 Now using duplicate command.
  14. //= 1.2 Optimized, updated common guide names [Lupus]
  15. //= 1.3 Removed Duplicates [Silent]
  16. //= 1.4 rescripted to official 10.3 standards. [L0ne_W0lf]
  17. //= 1.4a Fixed some errors with the loop[Samuray22]
  18. // -Thanks to $ephiroth.
  19. //============================================================
  20. morocc,153,286,6 script Guide#moc::MocGuide 707,{
  21. cutin "moc_soldier",2;
  22. mes "[Morocc Guide]";
  23. mes "Welcome to Morocc,";
  24. mes "the frontier town of the";
  25. mes "Rune-Midgarts Kingdom.";
  26. mes "Please ask me for help if";
  27. mes "you're having any trouble";
  28. mes "finding anything in town.";
  29. set .@loop1,1;
  30. while (.@loop1) {
  31. next;
  32. switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
  33. case 1:
  34. mes "[Morocc Guide]";
  35. mes "Please select";
  36. mes "a location from";
  37. mes "the following menu.";
  38. if (.@compass_check == 0) {
  39. mes "Would you like me";
  40. mes "to mark locations";
  41. mes "on your Mini-Map?";
  42. next;
  43. if (select("Yes.:No.") == 1) set .@compass_check,1;
  44. }
  45. set .@loop2,1;
  46. while(.@loop2) {
  47. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  48. else next;
  49. switch(select("^FF0000Thief Guild^000000:Weapon Shop:Inn:Pub:Mercenary Guild:Forge:Cancel")) {
  50. case 1:
  51. mes "[Morocc Guide]";
  52. mes "The Thief Guild is";
  53. mes "in charge of all Job";
  54. mes "Changes to the Thief";
  55. mes "Class. From what I hear,";
  56. mes "you can find them inside";
  57. mes "the Pyramids nearby...";
  58. if (.@compass_check)
  59. viewpoint 1,24,297,2,0xFF0000;
  60. break;
  61. case 2:
  62. mes "[Morocc Guide]";
  63. mes "The Weapon Shop";
  64. mes "is in the southeast";
  65. mes "end of Morocc.";
  66. if (.@compass_check)
  67. viewpoint 1,253,56,3,0xFF00FF;
  68. break;
  69. case 3:
  70. mes "[Morocc Guide]";
  71. mes "There are Inns";
  72. mes "where you can rest";
  73. mes "at the southeast and";
  74. mes "northeast ends of Morocc.";
  75. if (.@compass_check) {
  76. viewpoint 1,197,66,4,0xFF00FF;
  77. viewpoint 1,273,269,5,0xFF00FF;
  78. }
  79. break;
  80. case 4:
  81. mes "[Morocc Guide]";
  82. mes "You can find the";
  83. mes "Pub in northeast Morocc.";
  84. if (.@compass_check)
  85. viewpoint 1,52,259,6,0xFF00FF;
  86. break;
  87. case 5:
  88. mes "[Morocc Guide]";
  89. mes "The Mercenary";
  90. mes "Guild is located";
  91. mes "in East Morocc.";
  92. if (.@compass_check)
  93. viewpoint 1,284,171,7,0x00FF00;
  94. break;
  95. case 6:
  96. mes "[Morocc Guide]";
  97. mes "The Forge is";
  98. mes "located just";
  99. mes "southwest from";
  100. mes "the center of Morocc.";
  101. if (.@compass_check)
  102. viewpoint 1,47,47,7,0xFF00FF;
  103. break;
  104. case 7:
  105. mes "[Morocc Guide]";
  106. mes "Please ask me to ''Remove";
  107. mes "Marks from Mini-Map'' if you";
  108. mes "no longer wish to have the";
  109. mes "location marks displayed";
  110. mes "on your Mini-Map.";
  111. set .@loop2,0;
  112. }
  113. }
  114. break;
  115. case 2:
  116. viewpoint 2,237,41,2,0x00FF00;
  117. viewpoint 2,237,41,3,0x0000FF;
  118. viewpoint 2,46,345,4,0x00FF00;
  119. viewpoint 2,175,220,5,0xFF0000;
  120. viewpoint 2,175,220,6,0xFF0000;
  121. viewpoint 2,175,220,7,0xFF0000;
  122. set .@compass_check,0;
  123. break;
  124. case 3:
  125. mes "[Morocc Guide]";
  126. mes "Advances in sorcery and";
  127. mes "technology have allowed";
  128. mes "us to update our information";
  129. mes "system, enabling up to mark";
  130. mes "locations on your Mini-Map";
  131. mes "for easier navigation.";
  132. next;
  133. mes "[Morocc Guide]";
  134. mes "Your Mini-Map is located";
  135. mes "in the upper right corner";
  136. mes "of the screen. If you can't";
  137. mes "see it, press the Ctrl + Tab";
  138. mes "keys or click the ''Map'' button in your Basic Info Window.";
  139. next;
  140. mes "[Morocc Guide]";
  141. mes "On your Mini-Map,";
  142. mes "click on the ''+'' and ''-''";
  143. mes "symbols to zoom in and";
  144. mes "our of your Mini-Map. We";
  145. mes "hope you enjoy your travels";
  146. mes "here in the city of Morocc.";
  147. break;
  148. case 4:
  149. mes "[Morocc Guide]";
  150. mes "Alright then,";
  151. mes "try to stay out of";
  152. mes "too much trouble";
  153. mes "out there, adventurer.";
  154. close2;
  155. set .@loop1,0;
  156. }
  157. }
  158. cutin "moc_soldier",255;
  159. end;
  160. }
  161. morocc,54,97,0 duplicate(MocGuide) Guide#2moc 707