guides_comodo.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. //===== rAthena Script =======================================
  2. //= Comodo Guides
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Guides for the city of Comodo.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version, Renewal guide.
  14. //= 1.1 Fixed and optimized. [Euphy]
  15. //============================================================
  16. comodo,322,178,4 script Comodo Guide#01comodo::GuideComodo 700,{
  17. mes "[Comodo Guide]";
  18. mes "Welcome to ^8B4513Comodo^000000,";
  19. mes "the Beach Town of the Rune-Midgarts Kingdom.";
  20. mes "Do you need help navigating the town?";
  21. next;
  22. while (1) {
  23. switch(select("[ Main Facilities ]:[ Merchants & Helpers ]:Remove Marks from Mini-Map:Cancel:About ^8B4513Comodo^000000")) {
  24. case 1:
  25. set .@loop,1;
  26. while (.@loop) {
  27. switch(select("[ Tavern ]:[ Casino ]:[ Weapon & Armor Shop ]:[ Tool Shop ]:[ Campsite ]:[ Souvenir Vendor ]:[ East Cave Mao ]:[ West Cave Karu ]:[ North Cave Ruanda ]:[ Hula Dance Stage ]:[ Kafra Co. Western Branch ]:Previous Menu")) {
  28. case 1:
  29. callsub L_Mark,"^FF0000Tavern";
  30. viewpoint 1,166,298,0,0xFF0000;
  31. next;
  32. break;
  33. case 2:
  34. callsub L_Mark,"^FFA500Casino";
  35. viewpoint 1,140,98,1,0xFFA500;
  36. next;
  37. break;
  38. case 3:
  39. callsub L_Mark,"^FF4500Weapon & Armor Shop";
  40. viewpoint 1,266,70,2,0xFF4500;
  41. next;
  42. break;
  43. case 4:
  44. callsub L_Mark,"^B8860BTool Shop";
  45. viewpoint 1,86,128,3,0xB8860B;
  46. next;
  47. break;
  48. case 5:
  49. callsub L_Mark,"^32CD32Campsite";
  50. viewpoint 1,210,308,4,0x32CD32;
  51. next;
  52. break;
  53. case 6:
  54. callsub L_Mark,"^6B8E23Souvenir Vendor";
  55. viewpoint 1,298,124,5,0x6B8E23;
  56. next;
  57. break;
  58. case 7:
  59. callsub L_Mark,"^008B8BEast Cave Mao",1;
  60. viewpoint 1,333,175,6,0x008B8B;
  61. next;
  62. break;
  63. case 8:
  64. callsub L_Mark,"^1E90FFWest Cave Karu",1;
  65. viewpoint 1,24,214,7,0x1E90FF;
  66. next;
  67. break;
  68. case 9:
  69. callsub L_Mark,"^0000CDNorth Cave Ruanda",1;
  70. viewpoint 1,176,358,8,0x0000CD;
  71. next;
  72. break;
  73. case 10:
  74. callsub L_Mark,"^C71585Hula Dance Stage";
  75. viewpoint 1,188,168,9,0xC71585;
  76. next;
  77. break;
  78. case 11:
  79. callsub L_Mark,"^DB7093Kafra Corporation Western Branch";
  80. viewpoint 1,136,202,10,0xDB7093;
  81. next;
  82. break;
  83. case 12:
  84. set .@loop,0;
  85. break;
  86. }
  87. }
  88. break;
  89. case 2:
  90. set .@loop,1;
  91. while (.@loop) {
  92. switch(select("[ Chief's House ]:[ Bor Robin ]:[ Kafra Employee ]:[ Roaming Bard ]:Previous Menu")) {
  93. case 1:
  94. callsub L_Mark,"^6495EDChief's House";
  95. viewpoint 1,114,294,11,0x6495ED;
  96. next;
  97. break;
  98. case 2:
  99. mes "[Comodo Guide]";
  100. mes "^228B22Bor Robin^000000";
  101. mes "helps adventurers to become ^228B22Dancers^000000.";
  102. mes "Would you like to check any other locations?";
  103. viewpoint 1,193,151,12,0x228B22;
  104. next;
  105. break;
  106. case 3:
  107. callsub L_Mark,"^1E90FFKafra Employee";
  108. viewpoint 1,195,149,13,0x1E90FF;
  109. next;
  110. break;
  111. case 4:
  112. mes "[Comodo Guide]";
  113. mes "The ^DB7093Roaming Bard^000000";
  114. mes "helps adventurers to become ^DB7093Bards^000000.";
  115. mes "Would you like to check any other locations?";
  116. viewpoint 1,211,155,14,0xDB7093;
  117. next;
  118. break;
  119. case 5:
  120. set .@loop,0;
  121. break;
  122. }
  123. }
  124. break;
  125. case 3:
  126. mes "[Comodo Guide]";
  127. mes "Sure, I'll remove all marks from your mini-map.";
  128. mes "Is there anything else I can do for you?";
  129. viewpoint 2,166,298,0,0xFFFFFF;
  130. viewpoint 2,140,98,1,0xFFFFFF;
  131. viewpoint 2,266,70,2,0xFFFFFF;
  132. viewpoint 2,86,128,3,0xFFFFFF;
  133. viewpoint 2,210,308,4,0xFFFFFF;
  134. viewpoint 2,298,124,5,0xFFFFFF;
  135. viewpoint 2,333,175,6,0xFFFFFF;
  136. viewpoint 2,24,214,7,0xFFFFFF;
  137. viewpoint 2,176,358,8,0xFFFFFF;
  138. viewpoint 2,188,168,9,0xFFFFFF;
  139. viewpoint 2,136,202,10,0xFFFFFF;
  140. viewpoint 2,114,294,11,0xFFFFFF;
  141. viewpoint 2,193,151,12,0xFFFFFF;
  142. viewpoint 2,195,149,13,0xFFFFFF;
  143. viewpoint 2,211,155,14,0xFFFFFF;
  144. next;
  145. break;
  146. case 4:
  147. mes "[Comodo Guide]";
  148. mes "Enjoy your stay.";
  149. close;
  150. case 5:
  151. mes "[Comodo Guide]";
  152. mes "^8B4513Comodo^000000 is";
  153. mes "located inside a cave";
  154. mes "and can never be reached by natural sunlight.";
  155. next;
  156. mes "[Comodo Guide]";
  157. mes "The villagers of ^8B4513Comodo^000000";
  158. mes "have overcome their poor natural surroundings";
  159. mes "to create a popular tourist site.";
  160. mes "Is there anything else I can do for you?";
  161. next;
  162. break;
  163. }
  164. }
  165. end;
  166. L_Mark:
  167. mes "[Comodo Guide]";
  168. mes "Let me mark the location of";
  169. mes ((getarg(1,0))?"":"the ")+getarg(0)+"^000000";
  170. mes "on your mini-map.";
  171. mes "Would you like to check any other locations?";
  172. return;
  173. }
  174. comodo,181,347,4 duplicate(GuideComodo) Comodo Guide#02comodo 700
  175. comodo,197,149,3 duplicate(GuideComodo) Comodo Guide#03comodo 700
  176. comodo,37,219,4 duplicate(GuideComodo) Comodo Guide#04comodo 700