kafras.txt 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. //===== rAthena Script =======================================
  2. //= Kafras (Cities/Dungeons/Fields)
  3. //===== By: ==================================================
  4. //= Joseph
  5. //===== Current Version: =====================================
  6. //= 1.1b
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Argument settings for callfunc "F_Kafra":
  11. //= arg(0): 0 - Default Kafra message
  12. //= 1 - Niflhiem Kafra message
  13. //= 2 - Guild Kafra message
  14. //= arg(1): 1 - Disable teleport menu
  15. //= arg(2): 1 - Disable info menu
  16. //= arg(3): Cost of Storage service
  17. //= arg(4): Cost of Rent a Pushcart service
  18. //===== Additional Comments: =================================
  19. //= 0.x Previous Authors:
  20. //= - L0ne_W0lf, kobra_k88, Samuray22, Evera, Lupus
  21. //= 1.0 Merged and cleaned up Kafras. [Joseph]
  22. //= 1.1 Added Izlude RE coordinates. [Euphy]
  23. //= 1.1a Fixed Pre-RE Call and some leftovers. [Lemongrass]
  24. //= 1.1b Enabled saving in Izlude duplicates (RE). [Euphy]
  25. //============================================================
  26. // Aldebaran
  27. //============================================================
  28. aldeba_in,96,181,4 script Kafra Service 113,{
  29. cutin "kafra_05",2;
  30. mes "[Kafra Leilah]";
  31. mes "Hm...?";
  32. mes "Oh, welcome to";
  33. mes "the Kafra Corporation";
  34. mes "Headquarters. Did you";
  35. mes "need something?";
  36. next;
  37. switch(select("Save:Use Storage:Rent a Pushcart:Cancel")) {
  38. case 1:
  39. mes "[Kafra Leilah]";
  40. mes "Your Respawn Point has";
  41. mes "been saved here, inside";
  42. mes "of the Kafra Corporation";
  43. mes "Headquarters. Thank you.";
  44. next;
  45. savepoint "aldeba_in",96,179,1,1;
  46. mes "[Kafra Leilah]";
  47. mes "Please make use of";
  48. mes "the Kafra Services that are";
  49. mes "available throughout all of";
  50. mes "Midgard. Thank you for";
  51. mes "visiting the Kafra Headquarters.";
  52. close2;
  53. break;
  54. case 2:
  55. if (Zeny < 20) {
  56. mes "[Kafra Leilah]";
  57. mes "Excuse me, but it";
  58. mes "seems that you don't";
  59. mes "have the 20 zeny to pay";
  60. mes "the Storage access fee...";
  61. close3;
  62. }
  63. mes "[Kafra Leilah]";
  64. mes "Although this facility is";
  65. mes "exclusively intended for";
  66. mes "the training of Kafra Employee";
  67. mes "and administrative functions,";
  68. mes "I'll access your Storage for you.";
  69. next;
  70. set Zeny, Zeny-20;
  71. set RESRVPTS, RESRVPTS + (20/5);
  72. mes "[Kafra Leilah]";
  73. mes "In the future, please";
  74. mes "ask the Kafra Employee on";
  75. mes "duty if you wish to use";
  76. mes "any of the Kafra Services.";
  77. mes "Thank you for your patronage.";
  78. callfunc("F_CheckKafCode"); //check your storage password, if set
  79. close2;
  80. openstorage;
  81. break;
  82. case 3:
  83. mes "[Kafra Leilah]";
  84. mes "My apologies, but I'm";
  85. mes "not on duty. I'd assist you";
  86. mes "if I could, but actually don't";
  87. mes "have any available Pushcarts.";
  88. mes "Why don't you ask another Kafra";
  89. mes "Employee for assistance?";
  90. next;
  91. mes "[Kafra Leilah]";
  92. mes "Kafra Employees are";
  93. mes "stationed all over the";
  94. mes "Midgard continent,";
  95. mes "and you should be able to find";
  96. mes "plenty outside in Al De Baran.";
  97. close2;
  98. break;
  99. case 4:
  100. mes "[Kafra Leilah]";
  101. mes "^666666*Whew...*^000000";
  102. mes "Great, because I'm";
  103. mes "actually on my break";
  104. mes "right now. Choosing";
  105. mes "''Cancel'' was a good";
  106. mes "move on your part.";
  107. close2;
  108. break;
  109. }
  110. cutin "",255;
  111. end;
  112. }
  113. aldebaran,143,119,4 script Kafra Employee::kaf_aldebaran 113,{
  114. cutin "kafra_05",2;
  115. callfunc "F_KafSet";
  116. mes "[Kafra Employee]";
  117. mes "The Kafra Corporation";
  118. mes "is always working to provide";
  119. mes "you with convenient services.";
  120. mes "How may I be of assistance?";
  121. callfunc "F_Kafra",5,0,1,20,600;
  122. savepoint "aldebaran",143,109,1,1;
  123. callfunc "F_KafEnd",0,1,"in the city of Al De Baran";
  124. }
  125. // Geffen
  126. //============================================================
  127. geffen,120,62,0 script Kafra Employee::kaf_geffen 115,{
  128. cutin "kafra_03",2;
  129. callfunc "F_KafSet";
  130. mes "[Kafra Employee]";
  131. mes "Welcome~!";
  132. mes "The Kafra Services";
  133. mes "are always on your side.";
  134. mes "So how can I help you?";
  135. callfunc "F_Kafra",5,0,0,30,750;
  136. savepoint "geffen",119,40,1,1;
  137. callfunc "F_KafEnd",0,1,"in the city of Geffen";
  138. }
  139. geffen,203,123,2 script Kafra Employee::geffen2 114,{
  140. cutin "kafra_04",2;
  141. callfunc "F_KafSet";
  142. mes "[Kafra Employee]";
  143. mes "Welcome!";
  144. mes "The Kafra Corporation";
  145. mes "will always support the";
  146. mes "adventurers of Rune-Midgarts";
  147. mes "with its excellent service. So";
  148. mes "what can I do for you today?";
  149. callfunc "F_Kafra",5,0,0,30,750;
  150. savepoint "geffen",200,124,1,1;
  151. callfunc "F_KafEnd",0,1,"in the city of Geffen";
  152. }
  153. // Morocc
  154. //============================================================
  155. morocc,156,97,4 script Kafra Employee::kaf_morocc 113,{
  156. cutin "kafra_05",2;
  157. callfunc "F_KafSet";
  158. mes "[Kafra Employee]";
  159. mes "The Kafra Corporation";
  160. mes "is always working to provide";
  161. mes "you with convenient services.";
  162. mes "How may I be of assistance?";
  163. callfunc "F_Kafra",5,0,0,60,930;
  164. savepoint "morocc",156,46,1,1;
  165. callfunc "F_KafEnd",0,1,"in the city of Morocc";
  166. }
  167. morocc,160,258,4 script Kafra::kaf_morocc2 114,{
  168. cutin "kafra_04",2;
  169. callfunc "F_KafSet";
  170. mes "[Kafra Employee]";
  171. mes "Welcome!";
  172. mes "The Kafra Corporation";
  173. mes "will always support the";
  174. mes "adventurers of Rune-Midgarts";
  175. mes "with its excellent service. So";
  176. mes "what can I do for you today?";
  177. callfunc "F_Kafra",5,0,0,60,930;
  178. savepoint "morocc",157,272,1,1;
  179. callfunc "F_KafEnd",0,1,"in the city of Morocc";
  180. }
  181. // Payon
  182. //============================================================
  183. payon,181,104,4 script Kafra Employee::kaf_payon 113,{
  184. cutin "kafra_05",2;
  185. callfunc "F_KafSet";
  186. mes "[Kafra Employee]";
  187. mes "The Kafra Corporation";
  188. mes "is always working to provide";
  189. mes "you with convenient services.";
  190. mes "How may I be of assistance?";
  191. callfunc "F_Kafra",5,0,1,60,930;
  192. savepoint "payon",160,58,1,1;
  193. callfunc "F_KafEnd",0,1,"in the city of Payon";
  194. }
  195. payon,175,226,4 script Kafra Employee::kaf_payon2 116,{
  196. cutin "kafra_02",2;
  197. callfunc "F_KafSet";
  198. mes "[Kafra Employee]";
  199. mes "Welcome to the";
  200. mes "Kafra Corporation.";
  201. mes "The Kafra services are";
  202. mes "always on your side.";
  203. mes "How may I assist you?";
  204. callfunc "F_Kafra",5,0,1,60,930;
  205. savepoint "payon",257,242,1,1;
  206. callfunc "F_KafEnd",0,1,"in the city of Payon";
  207. }
  208. pay_arche,55,123,0 script Kafra Employee::kaf_payon3 4_F_KAFRA1,{
  209. cutin "kafra_03",2;
  210. callfunc "F_KafSet";
  211. mes "[Kafra Employee]";
  212. mes "Welcome to the";
  213. mes "Kafra Corporation.";
  214. mes "The Kafra services";
  215. mes "are always on your side.";
  216. mes "How may I assist you?";
  217. callfunc "F_Kafra",5,5,1,90,1200;
  218. savepoint "pay_arche",49,144,1,1;
  219. callfunc "F_KafEnd",0,1,"at the Payon Dungeon";
  220. }
  221. // Prontera
  222. //============================================================
  223. prontera,152,326,3 script Kafra Employee::kaf_prontera 112,{
  224. cutin "kafra_06",2;
  225. callfunc "F_KafSet";
  226. mes "[Kafra Employee]";
  227. mes "Welcome to the";
  228. mes "Kafra Corporation~";
  229. mes "The Kafra Services are";
  230. mes "always here to support";
  231. mes "you. So how can I be";
  232. mes "of service today?";
  233. callfunc "F_Kafra",5,0,0,40,800;
  234. savepoint "prontera",157,327,1,1;
  235. callfunc "F_KafEnd",0,1,"in the city of Prontera";
  236. }
  237. prontera,151,29,0 script Kafra Employee::kaf_prontera2 115,{
  238. cutin "kafra_03",2;
  239. callfunc "F_KafSet";
  240. mes "[Kafra Employee]";
  241. mes "Welcome~!";
  242. mes "The Kafra Services";
  243. mes "are always on your side.";
  244. mes "So how can I help you?";
  245. callfunc "F_Kafra",5,0,0,40,800;
  246. savepoint "prontera",150,33,1,1;
  247. callfunc "F_KafEnd",0,1,"in the city of Prontera";
  248. }
  249. prontera,29,207,6 script Kafra Employee::kaf_prontera3 113,{
  250. cutin "kafra_05",2;
  251. callfunc "F_KafSet";
  252. mes "[Kafra Employee]";
  253. mes "The Kafra Corporation";
  254. mes "is always working to provide";
  255. mes "you with convenient services.";
  256. mes "How may I be of assistance?";
  257. callfunc "F_Kafra",5,0,0,40,800;
  258. savepoint "prontera",33,208,1,1;
  259. callfunc "F_KafEnd",0,1,"in the city of Prontera";
  260. }
  261. prontera,282,200,2 script Kafra Employee::kaf_prontera4 114,{
  262. cutin "kafra_04",2;
  263. callfunc "F_KafSet";
  264. mes "[Kafra Employee]";
  265. mes "Welcome!";
  266. mes "The Kafra Corporation";
  267. mes "will always support the";
  268. mes "adventurers of Rune-Midgarts";
  269. mes "with its excellent service. So";
  270. mes "what can I do for you today?";
  271. callfunc "F_Kafra",5,0,0,40,800;
  272. savepoint "prontera",281,203,1,1;
  273. callfunc "F_KafEnd",0,1,"in the city of Prontera";
  274. }
  275. prontera,146,89,6 script Kafra Employee::kaf_prontera5 117,{
  276. cutin "kafra_01",2;
  277. callfunc "F_KafSet";
  278. mes "[Kafra Employee]";
  279. mes "Welcome to the";
  280. mes "Kafra Corporation.";
  281. mes "The Kafra services";
  282. mes "are always on your side.";
  283. mes "How may I assist you?";
  284. callfunc "F_Kafra",5,0,0,40,800;
  285. savepoint "prontera",116,73,1,1;
  286. callfunc "F_KafEnd",0,1,"in the city of Prontera";
  287. }
  288. // Juno
  289. //============================================================
  290. yuno,152,187,4 script Kafra Employee::kaf_yuno 860,{
  291. cutin "kafra_08",2;
  292. callfunc "F_KafSet";
  293. mes "[Kafra Employee]";
  294. mes "The Kafra Corporation";
  295. mes "is always working to provide";
  296. mes "you with convenient services.";
  297. mes "How may I be of assistance?";
  298. callfunc "F_Kafra",5,0,0,40,800;
  299. savepoint "yuno",158,125,1,1;
  300. callfunc "F_KafEnd",0,1,"in the city of Juno";
  301. }
  302. yuno,327,108,4 script Kafra Employee::kaf_yuno2 860,{
  303. cutin "kafra_08",2;
  304. callfunc "F_KafSet";
  305. mes "[Kafra Employee]";
  306. mes "The Kafra Corporation";
  307. mes "is always working to provide";
  308. mes "you with convenient services.";
  309. mes "How may I be of assistance?";
  310. callfunc "F_Kafra",5,0,0,40,800;
  311. savepoint "yuno",328,101,1,1;
  312. callfunc "F_KafEnd",0,1,"in the city of Juno";
  313. }
  314. yuno,277,221,4 script Kafra Employee::kaf_yuno3 861,{
  315. cutin "kafra_09",2;
  316. callfunc "F_KafSet";
  317. mes "[Kafra Employee]";
  318. mes "The Kafra Corporation";
  319. mes "is always working to provide";
  320. mes "you with convenient services.";
  321. mes "How may I be of assistance?";
  322. callfunc "F_Kafra",5,0,0,40,800;
  323. savepoint "yuno",274,229,1,1;
  324. callfunc "F_KafEnd",0,1,"in the city of Juno";
  325. }
  326. // Alberta
  327. //============================================================
  328. alberta,28,229,0 script Kafra Employee::kaf_alberta 116,{
  329. cutin "kafra_02",2;
  330. callfunc "F_KafSet";
  331. mes "[Kafra Employee]";
  332. mes "Welcome to the";
  333. mes "Kafra Corporation.";
  334. mes "Kafra's Employees are";
  335. mes "always ready to serve you.";
  336. mes "How can I help you today?";
  337. callfunc "F_Kafra",5,0,0,50,850;
  338. savepoint "alberta",31,231,1,1;
  339. callfunc "F_KafEnd",0,1,"in the city of Alberta";
  340. }
  341. alberta,113,60,6 script Kafra Employee::kaf_alberta2 112,{
  342. cutin "kafra_06",2;
  343. callfunc "F_KafSet";
  344. mes "[Kafra Employee]";
  345. mes "Welcome to the";
  346. mes "Kafra Corporation~";
  347. mes "The Kafra Services are";
  348. mes "always here to support";
  349. mes "you. So how can I be";
  350. mes "of service today?";
  351. callfunc "F_Kafra",5,0,0,50,850;
  352. savepoint "alberta",117,57,1,1;
  353. callfunc "F_KafEnd",0,1,"in the city of Alberta";
  354. }
  355. // Comodo
  356. //============================================================
  357. comodo,195,150,4 script Kafra Employee::kaf_comodo 721,{
  358. cutin "kafra_07",2;
  359. callfunc "F_KafSet";
  360. mes "[Kafra Employee]";
  361. mes "Welcome to the";
  362. mes "Kafra Corporation.";
  363. mes "You know that our";
  364. mes "service is always";
  365. mes "on your side~";
  366. callfunc "F_Kafra",5,0,1,80,1000;
  367. savepoint "comodo",204,143,1,1;
  368. callfunc "F_KafEnd",0,1,"in the town of Comodo";
  369. }
  370. cmd_fild07,136,134,4 script Kafra Employee::kaf_cmd_fild07 721,{
  371. cutin "kafra_07",2;
  372. callfunc "F_KafSet";
  373. mes "[Kafra Employee]";
  374. mes "Welcome to the";
  375. mes "Kafra Corporation.";
  376. mes "You know that our";
  377. mes "service is always";
  378. mes "on your side~";
  379. callfunc "F_Kafra",5,0,1,80,1000;
  380. savepoint "cmd_fild07",127,134,1,1;
  381. callfunc "F_KafEnd",0,1,"in Pyros Lighthouse";
  382. }
  383. // Izlude
  384. //============================================================
  385. - script ::kaf_izlude -1,{
  386. cutin "kafra_01",2;
  387. callfunc "F_KafSet";
  388. mes "[Kafra Employee]";
  389. mes "Welcome to the";
  390. mes "Kafra Corporation.";
  391. mes "The Kafra services";
  392. mes "are always on your side.";
  393. mes "How may I assist you?";
  394. callfunc "F_Kafra",5,0,1,40,820;
  395. if (checkre(0))
  396. savepoint strnpcinfo(4),129,97,1,1;
  397. else
  398. savepoint "izlude",94,103,1,1;
  399. callfunc "F_KafEnd",0,1,"in the city of Izlude";
  400. }
  401. // Moscovia
  402. //============================================================
  403. moscovia,223,191,3 script Kafra Employee::kaf_mosk 114,{
  404. cutin "kafra_04",2;
  405. callfunc "F_Kafra",0,3,0,80,700;
  406. savepoint "moscovia",221,194,1,1;
  407. callfunc "F_KafEnd",0,1,"in the city of Moscovia";
  408. }
  409. // Amatsu
  410. //============================================================
  411. amatsu,102,149,4 script Kafra Employee::kaf_amatsu 116,{
  412. cutin "kafra_02",2;
  413. mes "[Kafra Employee]";
  414. mes "Welcome to the";
  415. mes "Kafra Corporation.";
  416. mes "Kafra's Employees are";
  417. mes "always ready to serve you.";
  418. mes "How can I help you today?";
  419. callfunc "F_Kafra",5,3,1,50,700;
  420. savepoint "amatsu",116,94,1,1;
  421. callfunc "F_KafEnd",0,1,"in the city of Amatsu";
  422. }
  423. // Ayothaya
  424. //============================================================
  425. ayothaya,212,169,5 script Kafra Employee::kaf_ayothaya 116,{
  426. cutin "kafra_02",2;
  427. mes "[Kafra Employee]";
  428. mes "Welcome to the";
  429. mes "Kafra Corporation.";
  430. mes "Kafra's Employees are";
  431. mes "always ready to serve you.";
  432. mes "How can I help you today?";
  433. callfunc "F_Kafra",5,3,1,50,700;
  434. savepoint "ayothaya",149,69,1,1;
  435. callfunc "F_KafEnd",0,1,"in the city of Ayothaya";
  436. }
  437. // Einbech
  438. //============================================================
  439. einbech,181,132,5 script Kafra Employee#ein3::kaf_einbech 860,{
  440. cutin "kafra_08",2;
  441. mes "[Kafra Employee]";
  442. mes "Welcome~!";
  443. mes "The Kafra Services";
  444. mes "are always on your side.";
  445. mes "So how can I help you?";
  446. callfunc "F_Kafra",5,4,1,40,850;
  447. savepoint "einbech",182,124,1,1;
  448. callfunc "F_KafEnd",0,1,"in the town of Einbech";
  449. }
  450. // Einbroch
  451. //============================================================
  452. einbroch,242,205,5 script Kafra Employee#ein2::kaf_einbroch 860,{
  453. cutin "kafra_08",2;
  454. mes "[Kafra Employee]";
  455. mes "Welcome to the";
  456. mes "Kafra Corporation.";
  457. mes "Kafra's Employees are";
  458. mes "always ready to serve you.";
  459. mes "How can I help you today?";
  460. callfunc "F_Kafra",5,4,1,50,800;
  461. savepoint "einbroch",238,198,1,1;
  462. callfunc "F_KafEnd",0,1,"in the city of Einbroch";
  463. }
  464. einbroch,59,203,6 script Kafra Employee#ein1::kaf_einbroch2 861,{
  465. cutin "kafra_09",2;
  466. mes "[Kafra Employee]";
  467. mes "Welcome to the";
  468. mes "Kafra Corporation.";
  469. mes "The Kafra services";
  470. mes "are always on your side.";
  471. mes "How may I assist you?";
  472. callfunc "F_Kafra",5,4,1,50,800;
  473. savepoint "einbroch",240,197,1,1;
  474. callfunc "F_KafEnd",0,1,"in the city of Einbroch";
  475. }
  476. // Kunlun
  477. //============================================================
  478. gonryun,159,122,4 script Kafra Employee::kaf_gonryun 116,{
  479. cutin "kafra_02",2;
  480. mes "[Kafra Employee]";
  481. mes "Welcome to the";
  482. mes "Kafra Corporation.";
  483. mes "Kafra's Employees are";
  484. mes "always ready to serve you.";
  485. mes "How can I help you today?";
  486. callfunc "F_Kafra",5,3,1,50,700;
  487. savepoint "gonryun",160,62,1,1;
  488. callfunc "F_KafEnd",0,1,"in the city of Kunlun";
  489. }
  490. // Lighthalzen
  491. //============================================================
  492. lighthalzen,164,100,4 script Kafra Employee::kaf_lighthalzen 860,{
  493. cutin "kafra_08",2;
  494. mes "[Kafra Employee]";
  495. mes "Welcome to the";
  496. mes "Kafra Corporation.";
  497. mes "The Kafra services";
  498. mes "are always on your side.";
  499. mes "How may I assist you?";
  500. callfunc "F_Kafra",5,4,1,40,800;
  501. savepoint "lighthalzen",158,94,1,1;
  502. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  503. }
  504. lighthalzen,191,320,4 script Kafra Employee::kaf_lighthalzen2 861,{
  505. cutin "kafra_09",2;
  506. mes "[Kafra Employee]";
  507. mes "Welcome~!";
  508. mes "The Kafra Services";
  509. mes "are always on your side.";
  510. mes "So how can I help you?";
  511. callfunc "F_Kafra",5,4,1,40,800;
  512. savepoint "lighthalzen",194,313,1,1;
  513. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  514. }
  515. lhz_in02,237,284,4 script Kafra Employee::kaf_lhz_in02 861,{
  516. cutin "kafra_09",2;
  517. mes "[Kafra Employee]";
  518. mes "Welcome~!";
  519. mes "The Kafra Services";
  520. mes "are always on your side.";
  521. mes "So how can I help you?";
  522. callfunc "F_Kafra",5,4,1,40,800;
  523. savepoint "lhz_in02",278,215,1,1;
  524. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  525. }
  526. // Luoyang
  527. //============================================================
  528. louyang,210,104,5 script Kafra Employee::kaf_louyang 4_F_KAFRA2,{
  529. cutin "kafra_01",2;
  530. mes "[Kafra Employee]";
  531. mes "Welcome to the";
  532. mes "Kafra Corporation.";
  533. mes "Kafra's Employees are";
  534. mes "always ready to serve you.";
  535. mes "How can I help you today?";
  536. callfunc "F_Kafra",5,3,1,50,700;
  537. savepoint "louyang",217,92,1,1;
  538. callfunc "F_KafEnd",0,1,"in the city of Luoyang";
  539. }
  540. // Umbala
  541. //============================================================
  542. umbala,87,160,4 script Kafra Employee::kaf_umbala 721,{
  543. cutin "kafra_07",2;
  544. callfunc "F_KafSet";
  545. mes "[Kafra Employee]";
  546. mes "Welcome to the";
  547. mes "Kafra Corporation.";
  548. mes "You know that our";
  549. mes "service is always";
  550. mes "on your side~";
  551. callfunc "F_Kafra",5,0,1,80,0;
  552. savepoint "umbala",126,131,1,1;
  553. callfunc "F_KafEnd",0,1,"in the city of Umbala";
  554. }
  555. // Niflheim
  556. //============================================================
  557. niflheim,202,180,3 script Kafra Employee::kaf_niflheim 791,{
  558. callfunc "F_Kafra",1,2,1,150,0;
  559. savepoint "niflheim",192,182,1,1;
  560. callfunc "F_KafEnd",1,1,"in the city of Niflheim";
  561. }
  562. // Dungeons and Fields
  563. //============================================================
  564. // - Byalan Island
  565. izlu2dun,106,58,8 script Kafra Employee::kaf_izlu2dun 4_F_KAFRA2,{
  566. cutin "kafra_03",2;
  567. if (!checkre(0) && BaseJob == Job_Novice && job_merchant_q2 > 0) {
  568. // Merchant Job Change Quest
  569. // function F_MercKafra is found in /pre-re/jobs/1-1/merchant.txt
  570. callfunc "F_MercKafra";
  571. }
  572. mes "[Kafra Employee]";
  573. mes "Welcome to the";
  574. mes "Kafra Corporation.";
  575. mes "Kafra's Employees are";
  576. mes "always ready to serve you.";
  577. mes "How can I help you today?";
  578. callfunc "F_Kafra",5,2,1,120,1200;
  579. savepoint "izlu2dun",87,170,1,1;
  580. callfunc "F_KafEnd",0,1,"at Byalan Island";
  581. }
  582. // - Culvert Sewers
  583. prt_fild05,290,224,3 script Kafra Employee::prt_fild05 114,{
  584. cutin "kafra_04",2;
  585. mes "[Kafra Employee]";
  586. mes "Welcome!";
  587. mes "The Kafra Corporation";
  588. mes "will always support the";
  589. mes "adventurers of Rune-Midgarts";
  590. mes "with its excellent service. So";
  591. mes "what can I do for you today?";
  592. callfunc "F_Kafra",5,1,1,40,0;
  593. savepoint "prt_fild05",274,243,1,1;
  594. callfunc "F_KafEnd",0,1,"at the Prontera Culverts";
  595. }
  596. // - Coal Mine (Dead Pitt)
  597. mjolnir_02,83,362,4 script Kafra Employee::kaf_mjolnir_02 116,{
  598. cutin "kafra_02",2;
  599. mes "[Kafra Employee]";
  600. mes "Welcome to the";
  601. mes "Kafra Corporation.";
  602. mes "Kafra's Employees are";
  603. mes "always ready to serve you.";
  604. mes "How can I help you today?";
  605. callfunc "F_Kafra",5,6,1,100,0;
  606. savepoint "mjolnir_02",98,352,1,1;
  607. callfunc "F_KafEnd",0,1,"at Mjolnir Dead Pit";
  608. }
  609. // - Morocc Ruins
  610. moc_ruins,59,157,5 script Kafra Employee::moc_ruins 114,{
  611. cutin "kafra_04",2;
  612. mes "[Kafra Employee]";
  613. mes "Welcome!";
  614. mes "The Kafra Corporation";
  615. mes "will always support the";
  616. mes "adventurers of Rune-Midgarts";
  617. mes "with its excellent service. So";
  618. mes "what can I do for you today?";
  619. callfunc "F_Kafra",5,2,1,90,1200;
  620. savepoint "moc_ruins",41,141,1,1;
  621. callfunc "F_KafEnd",0,1,"at the Pyramids";
  622. }
  623. // - Orc Dungeon
  624. gef_fild10,73,340,5 script Kafra Employee::kaf_gef_fild10 116,{
  625. cutin "kafra_02",2;
  626. mes "[Kafra Employee]";
  627. mes "Welcome to the";
  628. mes "Kafra Corporation.";
  629. mes "Kafra's Employees are";
  630. mes "always ready to serve you.";
  631. mes "How can I help you today?";
  632. callfunc "F_Kafra",5,6,1,130,0;
  633. savepoint "gef_fild10",54,326,1,1;
  634. callfunc "F_KafEnd",0,1,"at the Orc Dungeon";
  635. }
  636. // - Treasure Island
  637. alb2trea,59,69,5 script Kafra Employee::kaf_alb2trea 117,{
  638. cutin "kafra_01",2;
  639. mes "[Kafra Employee]";
  640. mes "Welcome to the";
  641. mes "Kafra Corporation.";
  642. mes "The Kafra services";
  643. mes "are always on your side.";
  644. mes "How may I assist you?";
  645. callfunc "F_Kafra",5,2,1,50,0;
  646. savepoint "alb2trea",92,64,1,1;
  647. callfunc "F_KafEnd",0,1,"at Sunken Ship";
  648. }
  649. // Brasilis
  650. //============================================================
  651. brasilis,197,221,4 script Kafra Employee::kaf_bra 4_F_KAFRA1,{
  652. cutin "kafra_01",2;
  653. callfunc "F_Kafra",0,3,0,80,700;
  654. savepoint "brasilis",195,259,1,1;
  655. callfunc "F_KafEnd",0,1,"in the city of Brasilis";
  656. }