guides_einbroch.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. //===== rAthena Script =======================================
  2. //= Einbroch Guides
  3. //===== By: ==================================================
  4. //= Muad_dib; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Guides for the City of Einbroch
  12. //===== Additional Comments: =================================
  13. //= 1.0b missing tabs, fixed Guide coords [Lupus]
  14. //= 1.1 added 1 more Guide NPC, thanx to Justin84 [Lupus]
  15. //= 1.2 Optimized, updated common guide names [Lupus]
  16. //= 1.3 Fitted the many lines into 1 or 2, and corrected some typos [erKURITA]
  17. //= 1.4 Removed Duplicates [Silent]
  18. //= 1.5 Rescripted to official 10.3 standards. [L0ne_W0lf]
  19. //============================================================
  20. einbroch,72,202,4 script Guide#ein::EinGuide 852,{
  21. cutin "ein_soldier",2;
  22. mes "[Einbroch Guide]";
  23. mes "Welcome";
  24. mes "to Einbroch,";
  25. mes "the City of Steel.";
  26. mes "Please ask me if you";
  27. mes "have any questions.";
  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 "[Einbroch 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. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  47. else next;
  48. switch(select("^FF0000Airport^000000:Train Station:Factory:Plaza:Hotel:Weapon Shop:Laboratory:Blacksmith Guild:Einbroch Tower:Cancel")) {
  49. case 1:
  50. mes "[Einbroch Guide]";
  51. mes "The ^FF0000Airport^000000 is located";
  52. mes "in the northwestern part";
  53. mes "of the city. There you can";
  54. mes "see our city's pride and joy, the Airship. Remember that you must pay admission to board the Airship.";
  55. if (.@compass_check)
  56. viewpoint 1,63,228,2,0xFF0000;
  57. break;
  58. case 2:
  59. mes "[Einbroch Guide]";
  60. mes "The Train Station is";
  61. mes "located in the northeast";
  62. mes "part of Einbroch. Trains";
  63. mes "running between here";
  64. mes "and Einbech run all day";
  65. mes "long, everyday.";
  66. if (.@compass_check)
  67. viewpoint 1,236,279,3,0xFF00FF;
  68. break;
  69. case 3:
  70. mes "[Einbroch Guide]";
  71. mes "The Factory, perhaps the";
  72. mes "most important facility in";
  73. mes "Einbroch, is located in the";
  74. mes "southern part of the city.";
  75. if (.@compass_check)
  76. viewpoint 1,158,78,4,0xFF00FF;
  77. break;
  78. case 4:
  79. mes "[Einbroch Guide]";
  80. mes "The Plaza, our biggest";
  81. mes "shopping district, can be";
  82. mes "found just east from the";
  83. mes "center of Einbroch.";
  84. if (.@compass_check)
  85. viewpoint 1,232,190,5,0xFF00FF;
  86. break;
  87. case 5:
  88. mes "[Einbroch Guide]";
  89. mes "The Hotel is east of";
  90. mes "the Plaza and offers top";
  91. mes "caliber accomodations.";
  92. mes "There, you can enjoy your";
  93. mes "stay in Einbroch in comfort~";
  94. if (.@compass_check)
  95. viewpoint 1,260,201,6,0x00FF00;
  96. break;
  97. case 6:
  98. mes "[Einbroch Guide]";
  99. mes "The Weapon Shop is";
  100. mes "located north from the";
  101. mes "Plaza. There you can";
  102. mes "purchase weapons for";
  103. mes "your personal use.";
  104. if (.@compass_check)
  105. viewpoint 1,215,221,7,0x00FF00;
  106. break;
  107. case 7:
  108. mes "[Einbroch Guide]";
  109. mes "The Laboratory is an";
  110. mes "annex of the Factory and";
  111. mes "is located in the southwest";
  112. mes "sector of Einbroch.";
  113. if (.@compass_check)
  114. viewpoint 1,36,49,8,0x00FF;
  115. break;
  116. case 8:
  117. mes "[Einbroch Guide]";
  118. mes "The Blacksmith Guild is";
  119. mes "located in the southeast";
  120. mes "part of Einbroch. You can";
  121. mes "upgrade your equipment";
  122. mes "by using their services.";
  123. if (.@compass_check)
  124. viewpoint 1,244,90,9,0x00FF00;
  125. break;
  126. case 9:
  127. mes "[Einbroch Guide]";
  128. mes "The Einbroch Tower is";
  129. mes "located in the center of";
  130. mes "the city. From the top of";
  131. mes "the tower, you can view";
  132. mes "all of Einbroch.";
  133. if (.@compass_check)
  134. viewpoint 1,174,195,10,0xFFFF00;
  135. break;
  136. case 10:
  137. mes "[Einbroch Guide]";
  138. mes "Please ask me to ''Remove";
  139. mes "Marks from Mini-Map'' if you";
  140. mes "no longer wish to have the";
  141. mes "location marks displayed";
  142. mes "on your Mini-Map.";
  143. set .@loop2,0;
  144. }
  145. }
  146. break;
  147. case 2:
  148. viewpoint 2,63,228,2,0xFF0000;
  149. viewpoint 2,236,279,3,0xFF00FF;
  150. viewpoint 2,158,78,4,0xFF00FF;
  151. viewpoint 2,232,190,5,0xFF00FF;
  152. viewpoint 2,260,201,6,0x00FF00;
  153. viewpoint 2,215,221,7,0x00FF00;
  154. viewpoint 2,36,49,8,0x00FF00;
  155. viewpoint 2,244,90,9,0x00FF00;
  156. viewpoint 2,174,195,10,0xFFFF00;
  157. set .@compass_check,0;
  158. mes "[Einbroch Guide]";
  159. mes "Okay, the marks from";
  160. mes "your Mini-Map have been";
  161. mes "removed. If you need any";
  162. mes "guidance around Einbroch,";
  163. mes "please let me or one of the";
  164. mes "other Einbroch Guides know.";
  165. break;
  166. case 3:
  167. mes "[Einbroch Guide]";
  168. mes "Through the technology of";
  169. mes "the Schwarzwald Republic,";
  170. mes "we've upgraded to a digital";
  171. mes "information system that allows";
  172. mes "us to mark locations on your";
  173. mes "Mini-Map for easier navigation.";
  174. next;
  175. mes "[Einbroch Guide]";
  176. mes "Your Mini-Map is located";
  177. mes "in the upper right corner";
  178. mes "of the screen. If you can't";
  179. mes "see it, press the Ctrl + Tab";
  180. mes "keys or click the ''Map'' button in your Basic Info Window.";
  181. next;
  182. mes "[Einbroch Guide]";
  183. mes "On your Mini-Map,";
  184. mes "click on the ''+'' and ''-''";
  185. mes "symbols to zoom in and";
  186. mes "our of your Mini-Map. We";
  187. mes "hope you enjoy your travels";
  188. mes "here in Einbroch, adventurer.";
  189. break;
  190. case 4:
  191. mes "[Einbroch Guide]";
  192. mes "We hope that you";
  193. mes "enjoy your travels";
  194. mes "here in Einbroch.";
  195. mes "Oh, and please be";
  196. mes "aware of the Smog Alerts.";
  197. close2;
  198. set .@loop1,0;
  199. }
  200. }
  201. cutin "ein_soldier",255;
  202. end;
  203. }
  204. einbroch,155,43,4 duplicate(EinGuide) Guide#2ein 852
  205. einbroch,162,317,4 duplicate(EinGuide) Guide#3ein 852
  206. einbech,67,37,4 script Guide#4ein::EinGuide2 852,{
  207. cutin "ein_soldier",2;
  208. mes "[Einbech Guide]";
  209. mes "Welcome to Einbech,";
  210. mes "the Mining Town. We're";
  211. mes "here to assist tourists,";
  212. mes "so if you have any questions,";
  213. mes "please feel free to ask us.";
  214. set .@loop1,1;
  215. while (.@loop1) {
  216. next;
  217. switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) {
  218. case 1:
  219. mes "[Einbech Guide]";
  220. mes "Please select";
  221. mes "a location from";
  222. mes "the following menu.";
  223. if (.@compass_check == 0) {
  224. mes "Would you like me";
  225. mes "to mark locations";
  226. mes "on your Mini-Map?";
  227. next;
  228. if (select("Yes.:No.") == 1) set .@compass_check,1;
  229. }
  230. set .@loop2,1;
  231. while (.@loop2) {
  232. if (.@wait_button_chk == 0) set .@wait_button_chk,1;
  233. else next;
  234. switch(select("Train Station:Tavern:Tool Shop:Swordman Guild:Mine:Cancel")) {
  235. case 1:
  236. mes "[Einbech Guide]";
  237. mes "The Train Stations are";
  238. mes "located in the northwest";
  239. mes "and northeast parts of";
  240. mes "Einbech. There, you can";
  241. mes "take a train to Einbroch.";
  242. if (.@compass_check)
  243. viewpoint 1,43,213,2,0xFF0000;
  244. break;
  245. case 2:
  246. mes "[Einbech Guide]";
  247. mes "The Tavern is located";
  248. mes "in the southern part of";
  249. mes "Einbech. It's a nice place";
  250. mes "to relax after a long day.";
  251. if (.@compass_check)
  252. viewpoint 1,142,112,3,0xFF00FF;
  253. break;
  254. case 3:
  255. mes "[Einbech Guide]";
  256. mes "You can find the Tool";
  257. mes "Shop in the center of";
  258. mes "Einbech. There, you can";
  259. mes "purchase any tools you";
  260. mes "might need for your travels.";
  261. if (.@compass_check)
  262. viewpoint 1,176,136,4,0xFF00FF;
  263. break;
  264. case 4:
  265. mes "[Einbech Guide]";
  266. mes "The Swordman Guild";
  267. mes "is located in the eastern";
  268. mes "outskirts of Einbech. It's";
  269. mes "under construction and they";
  270. mes "haven't started accepting";
  271. mes "applications.";
  272. if (.@compass_check)
  273. viewpoint 1,250,110,5,0xFF00FF;
  274. break;
  275. case 5:
  276. mes "[Einbech Guide]";
  277. mes "The Mine, which is";
  278. mes "Einbech's major industry,";
  279. mes "is located in the northern";
  280. mes "part of this town. It's where";
  281. mes "we get all our ores, although monsters get in the miners' way.";
  282. if (.@compass_check)
  283. viewpoint 1,138,251,6,0x00FF00;
  284. break;
  285. case 6:
  286. mes "[Einbech Guide]";
  287. mes "Please ask me to ''Remove";
  288. mes "Marks from Mini-Map'' if you";
  289. mes "no longer wish to have the";
  290. mes "location marks displayed";
  291. mes "on your Mini-Map.";
  292. set .@loop2,0;
  293. }
  294. }
  295. break;
  296. case 2:
  297. viewpoint 2,43,213,2,0xFF0000;
  298. viewpoint 2,142,112,3,0xFF00FF;
  299. viewpoint 2,176,136,4,0xFF00FF;
  300. viewpoint 2,250,110,5,0xFF00FF;
  301. viewpoint 2,138,251,6,0x00FF00;
  302. set .@compass_check,0;
  303. mes "[Einbech Guide]";
  304. mes "Okay, the marks from";
  305. mes "your Mini-Map have been";
  306. mes "removed. If you need any";
  307. mes "guidance around Einbech,";
  308. mes "please let me or one of the";
  309. mes "other Einbech Guides know.";
  310. break;
  311. case 3:
  312. mes "[Einbech Guide]";
  313. mes "Through the technology of";
  314. mes "the Schwarzwald Republic,";
  315. mes "we've upgraded to a digital";
  316. mes "information system that allows";
  317. mes "us to mark locations on your";
  318. mes "Mini-Map for easier navigation.";
  319. next;
  320. mes "[Einbech Guide]";
  321. mes "Your Mini-Map is located";
  322. mes "in the upper right corner";
  323. mes "of the screen. If you can't";
  324. mes "see it, press the Ctrl + Tab";
  325. mes "keys or click the ''Map'' button in your Basic Info Window.";
  326. next;
  327. mes "[Einbech Guide]";
  328. mes "On your Mini-Map,";
  329. mes "click on the ''+'' and ''-''";
  330. mes "symbols to zoom in and";
  331. mes "our of your Mini-Map. We";
  332. mes "hope you enjoy your travels";
  333. mes "here in Einbech, adventurer.";
  334. break;
  335. case 4:
  336. mes "[Einbech Guide]";
  337. mes "We hope that you";
  338. mes "enjoy your travels";
  339. mes "here in Einbech.";
  340. close2;
  341. set .@loop1,0;
  342. }
  343. }
  344. cutin "ein_soldier",255;
  345. end;
  346. }
  347. einbech,48,214,4 duplicate(EinGuide2) Guide#5ein 852