guides_moc.txt 4.5 KB

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