guides_payon.txt 8.3 KB

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