guides_pay.txt 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. //===== eAthena Script =======================================
  2. //= Payon Guides
  3. //===== By: ==================================================
  4. //= kobra_k88; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis COnversion]
  11. //= Guides for the City of Payon
  12. //===== Additional Comments: =================================
  13. //= Fully working
  14. //= v1.1 Now using duplicate command.New Payon Locations [Darkchild]
  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.3a Fixed some problems with duplicated text, thanks to muad_dib [MasterOfMuppets]
  19. //= 1.4 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA]
  20. //= 1.4a Tixed Archer Village Guide [Lupus]
  21. //= 1.5 Removed Duplicates [Silent]
  22. //= 1.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
  23. //============================================================
  24. payon,162,67,4 script Guide#pay 708,{
  25. cutin "pay_soldier",2;
  26. mes "[Payon Guide]";
  27. mes "Welcome to the";
  28. mes "mountain city of Payon.";
  29. mes "If you're unfamiliar with this";
  30. mes "area, I can help you find what";
  31. mes "you're looking for around here.";
  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 "[Payon 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("^FF0000Archer Guild^000000:Weapon Shop:Tool Shop:Pub:Central Palace:The Empress:Palace Annex:Royal Kitchen:Forge:Cancel")) {
  53. case 1:
  54. mes "[Payon Guide]";
  55. mes "The Archer Guild handles";
  56. mes "Job Changes to the Archer";
  57. mes "Class. You'll need to enter";
  58. mes "the Archer Village which is";
  59. mes "to the northeast of Payon.";
  60. if (.@compass_check)
  61. viewpoint 1,227,328,2,0xFF0000;
  62. break;
  63. case 2:
  64. mes "[Payon Guide]";
  65. mes "The Weapon Shop";
  66. mes "can be found in the";
  67. mes "northwest corner of";
  68. mes "the city of Payon.";
  69. if (.@compass_check)
  70. viewpoint 1,139,159,3,0xFF00FF;
  71. break;
  72. case 3:
  73. mes "[Payon Guide]";
  74. mes "The Tool Shop";
  75. mes "is located near";
  76. mes "the northwest";
  77. mes "corner of Payon.";
  78. if (.@compass_check)
  79. viewpoint 1,144,85,4,0xFF00FF;
  80. break;
  81. case 4:
  82. mes "[Payon Guide]";
  83. mes "The Pub can be";
  84. mes "found in the northeast";
  85. mes "part of Payon. It's the";
  86. mes "best place to relax after";
  87. mes "a long day of hunting.";
  88. if (.@compass_check)
  89. viewpoint 1,220,117,5,0xFF00FF;
  90. break;
  91. case 5:
  92. mes "[Payon Guide]";
  93. mes "The Central Palace";
  94. mes "is located to the north";
  95. mes "within the city of Payon.";
  96. if (.@compass_check)
  97. viewpoint 1,155,245,6,0x00FF00;
  98. break;
  99. case 6:
  100. mes "[Payon Guide]";
  101. mes "The Empress";
  102. mes "can be found to the";
  103. mes "northwest in Payon.";
  104. if (.@compass_check)
  105. viewpoint 1,107,324,7,0x00FF00;
  106. break;
  107. case 7:
  108. mes "[Payon Guide]";
  109. mes "The Palace Annex";
  110. mes "can be found in the";
  111. mes "western part of Payon.";
  112. if (.@compass_check)
  113. viewpoint 1,130,204,8,0x00FF00;
  114. break;
  115. case 8:
  116. mes "[Payon Guide]";
  117. mes "The Royal Kitchen";
  118. mes "is located near the";
  119. mes "northern end of Payon.";
  120. if (.@compass_check)
  121. viewpoint 1,154,325,9,0x00FF00;
  122. break;
  123. case 9:
  124. mes "[Payon Guide]";
  125. mes "The Forge is";
  126. mes "situated near";
  127. mes "the center of Payon.";
  128. if (.@compass_check)
  129. viewpoint 1,126,169,10,0xFFFF00;
  130. break;
  131. case 10:
  132. mes "[Payon Guide]";
  133. mes "Please ask me to ''Remove";
  134. mes "Marks from Mini-Map'' if you";
  135. mes "no longer wish to have the";
  136. mes "location marks displayed";
  137. mes "on your Mini-Map.";
  138. set .@loop2,0;
  139. break;
  140. }
  141. }
  142. break;
  143. case 2:
  144. viewpoint 2,237,41,2,0x00FF00;
  145. viewpoint 2,237,41,3,0x0000FF;
  146. viewpoint 2,46,345,4,0xFF00FF;
  147. viewpoint 2,175,220,5,0xFF0000;
  148. viewpoint 2,175,220,6,0xFF0000;
  149. viewpoint 2,175,220,7,0xFF0000;
  150. viewpoint 2,237,41,8,0x0000FF;
  151. viewpoint 2,46,345,9,0x00FF00;
  152. viewpoint 2,175,220,10,0xFF0000;
  153. set .@compass_check,0;
  154. break;
  155. case 3:
  156. mes "[Payon Guide]";
  157. mes "Advances in sorcery and";
  158. mes "technology have allowed";
  159. mes "us to update our information";
  160. mes "system, enabling up to mark";
  161. mes "locations on your Mini-Map";
  162. mes "for easier navigation.";
  163. next;
  164. mes "[Payon Guide]";
  165. mes "Your Mini-Map is located";
  166. mes "in the upper right corner";
  167. mes "of the screen. If you can't";
  168. mes "see it, press the Ctrl + Tab";
  169. mes "keys or click the ''Map'' button in your Basic Info Window.";
  170. next;
  171. mes "[Payon Guide]";
  172. mes "On your Mini-Map,";
  173. mes "click on the ''+'' and ''-''";
  174. mes "symbols to zoom in and";
  175. mes "our of your Mini-Map. We";
  176. mes "hope you enjoy your travels";
  177. mes "here in the city of Payon.";
  178. break;
  179. case 4:
  180. mes "[Payon Guide]";
  181. mes "Be safe in";
  182. mes "your travels,";
  183. mes "brave adventurer.";
  184. close2;
  185. set .@loop1,0;
  186. break;
  187. }
  188. }
  189. cutin "pay_soldier",255;
  190. end;
  191. }
  192. pay_arche,85,30,2 script Guide#2pay 708,{
  193. cutin "pay_soldier",2;
  194. mes "[Payon Guide]";
  195. mes "Welcome to the";
  196. mes "mountain city of Payon.";
  197. mes "If you're unfamiliar with this";
  198. mes "area, I can help you find what";
  199. mes "you're looking for around here.";
  200. set .@loop1,1;
  201. while (.@loop1) {
  202. next;
  203. switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
  204. case 1:
  205. mes "[Payon Guide]";
  206. mes "Please, select a menu.";
  207. if (.@compass_check == 0) {
  208. mes "Would you like to leave indicators on the mini-map?";
  209. next;
  210. if (select("Yes.:No.") == 1) set .@compass_check,1;
  211. }
  212. set .@loop2,1;
  213. while(.@loop2) {
  214. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  215. else next;
  216. switch(select("^FF0000Archer Guild^000000:Tool Shop:Payon Dungeon:Cancel")) {
  217. case 1:
  218. mes "[Payon Guide]";
  219. mes "The Archer Guild,";
  220. mes "found northeast in";
  221. mes "the Archer Village,";
  222. mes "handles Job Changes";
  223. mes "to the Archer Class.";
  224. if (.@compass_check)
  225. viewpoint 1,144,164,0,0xFFFF00;
  226. break;
  227. case 2:
  228. mes "[Payon Guide]";
  229. mes "You can find";
  230. mes "a Tool Shop in";
  231. mes "the northeast corner";
  232. mes "of the Archer Village.";
  233. if (.@compass_check)
  234. viewpoint 1,71,156,1,0xFFFF00;
  235. break;
  236. case 3:
  237. mes "[Payon Guide]";
  238. mes "The entrance to";
  239. mes "the Payon Dungeon";
  240. mes "is located at the west";
  241. mes "end of the village.";
  242. if (.@compass_check)
  243. viewpoint 1,34,132,2,0xFFFFFF;
  244. break;
  245. case 4:
  246. mes "[Payon Guide]";
  247. mes "If you'd like to erase the marks on the mini-map, select menu, 'Wipe all indicators on the mini-map'.";
  248. set @loop2,0;
  249. break;
  250. }
  251. }
  252. break;
  253. case 2:
  254. viewpoint 2,237,41,0,0xFF00FF;
  255. viewpoint 2,237,41,1,0xFF0000;
  256. viewpoint 2,46,345,2,0xFF00FF;
  257. set .@compass_check,0;
  258. break;
  259. case 3:
  260. mes "[Payon Guide]";
  261. mes "Advances in sorcery and";
  262. mes "technology have allowed";
  263. mes "us to update our information";
  264. mes "system, enabling up to mark";
  265. mes "locations on your Mini-Map";
  266. mes "for easier navigation.";
  267. next;
  268. mes "[Payon Guide]";
  269. mes "Your Mini-Map is located";
  270. mes "in the upper right corner";
  271. mes "of the screen. If you can't";
  272. mes "see it, press the Ctrl + Tab";
  273. mes "keys or click the ''Map'' button in your Basic Info Window.";
  274. next;
  275. mes "[Payon Guide]";
  276. mes "On your Mini-Map,";
  277. mes "click on the ''+'' and ''-''";
  278. mes "symbols to zoom in and";
  279. mes "our of your Mini-Map. We";
  280. mes "hope you enjoy your travels";
  281. mes "here in the city of Payon.";
  282. break;
  283. case 4:
  284. mes "[Payon Guide]";
  285. mes "Be safe in";
  286. mes "your travels,";
  287. mes "brave adventurer.";
  288. close2;
  289. set .@loop1,0;
  290. break;
  291. }
  292. }
  293. cutin "pay_soldier",255;
  294. end;
  295. }