guides_izlude.txt 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. //===== rAthena Script =======================================
  2. //= Izlude Guides
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Guides for the city of Izlude.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version, Renewal guide.
  14. //= 1.1 Updated to match the new Izlude Map. [Masao]
  15. //= 1.2 Added Renewal Izlude viewpoint coordinates.
  16. //= 1.3 Navigation system update. [Euphy]
  17. //= Optimized.
  18. //= 1.4 Added Izlude duplicates. [Euphy]
  19. //============================================================
  20. - script ::GuideIzlude -1,{
  21. cutin "prt_soldier",2;
  22. mes "[Izlude Guide]";
  23. mes "Welcome to ^8B4513Izlude^000000,";
  24. mes "Prontera's satellite town.";
  25. mes "Do you need help navigating the town?";
  26. F_Navi("[Izlude Guide]");
  27. next;
  28. set .@map$, strnpcinfo(4);
  29. while (1) {
  30. switch(select("[ Main Facilities ]:[ Merchants & Helpers ]:Remove Marks from Mini-Map:Cancel")) {
  31. case 1:
  32. set .@loop,1;
  33. while (.@loop) {
  34. switch(select("[ Cryptura Academy ]:[ Marina ]:[ International Airship ]:[ Arena ]:[ Kit Shop ]:[ Swordsman Guild ]:[ Enchant Association ]:[ Forge ]:Previous Menu")) {
  35. case 1:
  36. mes "[Izlude Guide]";
  37. mes "Novice adventurers should go to "+F_Navi("Cryptura Academy","iz_ac01,100,39")+" to receive more information and training!";
  38. mes "Would you like to check any other locations?";
  39. viewpoint 1,128,260,0,0xD2691E;
  40. next;
  41. break;
  42. case 2:
  43. mes "[Izlude Guide]";
  44. mes "You can use the "+F_Navi("Marina",.@map$+",197,205","^B9062F");
  45. mes "to go to ^8B4513Alberta^000000 or ^8B4513Byalan Island^000000.";
  46. mes "Beware of ^8B4513Izlude Dungeon^000000";
  47. mes "on Byalan Island since it is";
  48. mes "filled with dreadful monsters.";
  49. mes "Would you like to check any other locations?";
  50. viewpoint 1,197,205,1,0xFF0000;
  51. next;
  52. break;
  53. case 3:
  54. mes "[Izlude Guide]";
  55. mes "The "+F_Navi("International Airship",.@map$+",202,75","^0000FF");
  56. mes "goes to ^8B4513Juno^000000 and ^8B4513Rachel^000000.";
  57. mes "Let me mark its location";
  58. mes "on your mini-map.";
  59. mes "Would you like to check any other locations?";
  60. viewpoint 1,210,73,2,0x0A82FF;
  61. next;
  62. break;
  63. case 4:
  64. mes "[Izlude Guide]";
  65. mes "The "+F_Navi("Arena",.@map$+",213,161","^FF5400");
  66. mes "is a perfect place to";
  67. mes "test your combat capabilities.";
  68. mes "Let me mark its location";
  69. mes "on your mini-map.";
  70. mes "Would you like to check any other locations?";
  71. viewpoint 1,213,161,3,0xFF5400;
  72. next;
  73. break;
  74. case 5:
  75. callsub L_Mark, F_Navi("Kit Shop",.@map$+",110,182","^006400");
  76. viewpoint 1,108,179,4,0xAAFF00;
  77. next;
  78. break;
  79. case 6:
  80. mes "[Izlude Guide]";
  81. mes "The "+F_Navi("Swordsman Guild",.@map$+",51,172")+" is where you can ^800080change your job to Swordsman.^000000";
  82. mes "Let me mark its location";
  83. mes "on your mini-map.";
  84. mes "Would you like to check any other locations?";
  85. viewpoint 1,52,172,5,0xDA70D6;
  86. next;
  87. break;
  88. case 7:
  89. callsub L_Mark, F_Navi("Enchant Association",.@map$+",97,125","^B9062F");
  90. viewpoint 1,97,125,6,0xDA70D6;
  91. next;
  92. break;
  93. case 8:
  94. callsub L_Mark, F_Navi("Forge",.@map$+",153,126");
  95. viewpoint 1,153,126,7,0xAAFF00;
  96. next;
  97. break;
  98. case 9:
  99. set .@loop,0;
  100. break;
  101. }
  102. }
  103. break;
  104. case 2:
  105. set .@loop,1;
  106. while (.@loop) {
  107. switch(select("[ Eden Teleport Officer ]:[ Kafra Employee ]:[ Hypnotist ]:[ Newlywed Helper ]:[ Mercenary Guildsman ]:[ Pet Groomer ]:Previous Menu")) {
  108. case 1:
  109. mes "[Izlude Guide]";
  110. mes "The "+F_Navi("Eden Teleport Officer",.@map$+",131,148","^0000FF");
  111. mes "is currently staying inside";
  112. mes "the Swordsman Guild building.";
  113. mes "Let me mark his location on your mini-map.";
  114. mes "Would you like to check any other locations?";
  115. viewpoint 1,131,148,8,0x0A82FF;
  116. next;
  117. break;
  118. case 2:
  119. callsub L_Mark, F_Navi("Kafra Employee",.@map$+",128,148","^FF5400"),1;
  120. viewpoint 1,128,148,9,0xFF5400;
  121. next;
  122. break;
  123. case 3:
  124. callsub L_Mark, F_Navi("Hypnotist",.@map$+",127,175"),1;
  125. viewpoint 1,127,175,10,0x006400;
  126. next;
  127. break;
  128. case 4:
  129. mes "[Izlude Guide]";
  130. mes "If you'd like to go on a honeymoon to";
  131. mes "^8B4513Jawaii^000000, the paradise of newlyweds,";
  132. mes "please speak to the ";
  133. mes F_Navi("Newlywed Helper",.@map$+",180,224","^B9062F")+".";
  134. mes "Would you like to check any other locations?";
  135. viewpoint 1,180,224,11,0xFF0000;
  136. next;
  137. break;
  138. case 5:
  139. callsub L_Mark, F_Navi("Mercenary Guildsman",.@map$+",47,170","^0000FF");
  140. viewpoint 1,47,170,12,0xDA70D6;
  141. next;
  142. break;
  143. case 6:
  144. callsub L_Mark, F_Navi("Pet Groomer","izlude_in,72,98"),1;
  145. viewpoint 1,108,179,13,0x006400;
  146. next;
  147. break;
  148. case 7:
  149. set .@loop,0;
  150. break;
  151. }
  152. }
  153. break;
  154. case 3:
  155. mes "[Izlude Guide]";
  156. mes "Sure, I'll remove all marks from your mini-map.";
  157. mes "Is there anything else I can do for you?";
  158. viewpoint 2,1,1,0,0xFFFF00;
  159. viewpoint 2,1,1,1,0x000000;
  160. viewpoint 2,1,1,2,0xFF0000;
  161. viewpoint 2,1,1,3,0xFFFF00;
  162. viewpoint 2,1,1,4,0xFFFF00;
  163. viewpoint 2,1,1,5,0xFFFF00;
  164. viewpoint 2,1,1,6,0xFFFF00;
  165. viewpoint 2,1,1,7,0xFFFF00;
  166. viewpoint 2,1,1,8,0xFFFF00;
  167. viewpoint 2,1,1,9,0xFFFF00;
  168. viewpoint 2,1,1,10,0xFFFF00;
  169. viewpoint 2,1,1,11,0xFFFF00;
  170. viewpoint 2,1,1,12,0xFFFF00;
  171. viewpoint 2,1,1,13,0xFFFF00;
  172. next;
  173. break;
  174. case 4:
  175. mes "[Izlude Guide]";
  176. mes "Enjoy your stay.";
  177. mes "Bye~!";
  178. close2;
  179. cutin "prt_soldier",255;
  180. end;
  181. }
  182. }
  183. end;
  184. L_Mark:
  185. mes "[Izlude Guide]";
  186. if (getarg(1,0)) {
  187. mes "Let me mark the location of the";
  188. mes getarg(0);
  189. } else
  190. mes "Let me mark the location of the "+getarg(0);
  191. mes "on your mini-map.";
  192. mes "Would you like to check any other locations?";
  193. return;
  194. }
  195. izlude,129,175,4 duplicate(GuideIzlude) Guide#01izlude 105
  196. izlude_a,129,175,4 duplicate(GuideIzlude) Guide#01izlude_a 105
  197. izlude_b,129,175,4 duplicate(GuideIzlude) Guide#01izlude_b 105
  198. izlude_c,129,175,4 duplicate(GuideIzlude) Guide#01izlude_c 105
  199. izlude_d,129,175,4 duplicate(GuideIzlude) Guide#01izlude_d 105
  200. izlude,133,113,4 duplicate(GuideIzlude) Guide#02izlude 105
  201. izlude_a,133,113,4 duplicate(GuideIzlude) Guide#02izlude_a 105
  202. izlude_b,133,113,4 duplicate(GuideIzlude) Guide#02izlude_b 105
  203. izlude_c,133,113,4 duplicate(GuideIzlude) Guide#02izlude_c 105
  204. izlude_d,133,113,4 duplicate(GuideIzlude) Guide#02izlude_d 105
  205. //izlude,120,206,4 duplicate(GuideIzlude) Guide#03izlude 105