kafras_new.txt 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. //===== eAthena Script ===========
  2. //= New Kafras
  3. //===== By: =========================
  4. //= eAthena Dev Team
  5. //===== Current Version: ===================
  6. //= 3.0
  7. //===== Compatible With: =====================
  8. //= eAthena 1.0
  9. //===== Description: ============================================
  10. //= Description of argument settings for callfunc "F_Kafra".
  11. //= arg(0): When set at 0 the default Kafra message is displayed.
  12. //= When set to 1 the Niflhiem Kafra message is displayed.
  13. //= When set to 2 the Guild Kafra message is displayed.
  14. //= arg(1): Set to 1 to disable teleport menu option. Otherwise set to 0.
  15. //= arg(2): Set to 1 to disable info menu. Otherwise set to 0.
  16. //= arg(3): Cost of Storage service
  17. //= arg(4): Cost of Rent a Pushcart service
  18. //===== Additional Comments: ==============================================
  19. //= v1.1 Now using functions
  20. //= v2.1 Added Niflheim Kafra by Dizzy
  21. //= v2.1b Minor changes to function calls. Using arguments.
  22. //= This version uses arrays .[kobra_k88]
  23. //= 2.2 Added Louyang Kafra, fixed other kafras not saving players coords [Lupus]
  24. //= 2.3 Added temp Amatsu + Ayothaya Kafra (wrong coords and sprite) [Lupus]
  25. //= 2.4 Added correct Ayothaya, Louyang & Amatsu Kafras. [Lupus]
  26. //= 2.5 Added 2 Einbroch Kafras. [Lupus]
  27. //= 2.6 Added the Einbech Kafra [MasterOfMuppets]
  28. //= 2.7 Added the Lighthalzen Kafras [MasterOfMuppets]
  29. //= 2.7b Chanced the Sprite of the Einbech Kafra. [Poki#3]
  30. //= 2.7c Added missing kafra in Lighthalzen, thanks to Muad_Dib [Vicious]
  31. //= 2.8 Removed warps from Umbala and Gonryun, thanks Drakee [Evera]
  32. //= 2.9 Fixed an incorrect savepoint (inside the hotel) the map was wrong.
  33. //= 3.0 Updated function calls with new arguments. [L0ne_W0lf]
  34. //= Added unique Kafra Welcome messages.
  35. //==========================================================================
  36. // Amatsu ------------------------------------------------------------------
  37. amatsu,102,149,4 script Kafra Employee::kaf_amatsu 116,{
  38. cutin "kafra_02",2;
  39. mes "[Kafra Employee]";
  40. mes "Welcome to the";
  41. mes "Kafra Corporation.";
  42. mes "Kafra's Employees are";
  43. mes "always ready to serve you.";
  44. mes "How can I help you today?";
  45. callfunc "F_Kafra",5,3,1,50,700;
  46. M_Save:
  47. savepoint "amatsu",116,94;
  48. callfunc "F_KafEnd",0,1,"in the city of Amatsu";
  49. }
  50. // Ayothaya ----------------------------------------------------------------
  51. ayothaya,212,169,5 script Kafra Employee::kaf_ayothaya 116,{
  52. cutin "kafra_02",2;
  53. mes "[Kafra Employee]";
  54. mes "Welcome to the";
  55. mes "Kafra Corporation.";
  56. mes "Kafra's Employees are";
  57. mes "always ready to serve you.";
  58. mes "How can I help you today?";
  59. callfunc "F_Kafra",5,3,1,50,700;
  60. M_Save:
  61. savepoint "ayothaya",149,69;
  62. callfunc "F_KafEnd",0,1,"in the city of Ayotaya";
  63. }
  64. // Einbech -----------------------------------------------------------------
  65. einbech,181,132,5 script Kafra Employee#ein3::kaf_einbech 860,{
  66. cutin "kafra_08",2;
  67. mes "[Kafra Employee]";
  68. mes "Welcome~!";
  69. mes "The Kafra Services";
  70. mes "are always on your side.";
  71. mes "So how can I help you?";
  72. callfunc "F_Kafra",5,4,1,40,850;
  73. M_Save:
  74. savepoint "einbech",182,124;
  75. callfunc "F_KafEnd",0,1,"in the town of Einbech";
  76. }
  77. // Einbroch (North-East) ---------------------------------------------------
  78. einbroch,242,205,5 script ::kaf_einbroch 860,{
  79. cutin "kafra_08",2;
  80. mes "[Kafra Employee]";
  81. mes "Welcome to the";
  82. mes "Kafra Corporation.";
  83. mes "Kafra's Employees are";
  84. mes "always ready to serve you.";
  85. mes "How can I help you today?";
  86. callfunc "F_Kafra",5,4,1,50,800;
  87. M_Save:
  88. savepoint "einbroch",238,198;
  89. callfunc "F_KafEnd",0,1,"in the city of Einbroch";
  90. }
  91. // Einbroch (East) ---------------------------------------------------------
  92. einbroch,59,203,6 script Kafra Employee#ein1::kaf_einbroch2 861,{
  93. cutin "kafra_09",2;
  94. mes "[Kafra Employee]";
  95. mes "Welcome to the";
  96. mes "Kafra Corporartion.";
  97. mes "The Kafra services";
  98. mes "are always on your side.";
  99. mes "How may I assist you?";
  100. callfunc "F_Kafra",5,4,1,50,800;
  101. M_Save:
  102. savepoint "einbroch",240,197;
  103. callfunc "F_KafEnd",0,1,"in the city of Einbroch";
  104. }
  105. // Gonryun -----------------------------------------------------------------
  106. gonryun,159,122,4 script Kafra Employee::kaf_gonryun 116,{
  107. cutin "kafra_02",2;
  108. mes "[Kafra Employee]";
  109. mes "Welcome to the";
  110. mes "Kafra Corporation.";
  111. mes "Kafra's Employees are";
  112. mes "always ready to serve you.";
  113. mes "How can I help you today?";
  114. callfunc "F_Kafra",5,3,1,50,700;
  115. M_Save:
  116. savepoint "gonryun",160,62;
  117. callfunc "F_KafEnd",0,1,"in the city of Kunlun";
  118. }
  119. // Lighthalzen--------------------------------------------------------------
  120. //Outside the hotel
  121. lighthalzen,164,100,4 script Kafra Employee::kaf_lighthalzen 860,{
  122. cutin "kafra_08",2;
  123. mes "[Kafra Employee]";
  124. mes "Welcome to the";
  125. mes "Kafra Corporartion.";
  126. mes "The Kafra services";
  127. mes "are always on your side.";
  128. mes "How may I assist you?";
  129. callfunc "F_Kafra",5,4,1,40,800;
  130. M_Save:
  131. savepoint "lighthalzen",158,94;
  132. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  133. }
  134. // Entrance
  135. lighthalzen,191,320,4 script Kafra Employee::kaf_lighthalzen2 861,{
  136. cutin "kafra_09",2;
  137. mes "[Kafra Employee]";
  138. mes "Welcome~!";
  139. mes "The Kafra Services";
  140. mes "are always on your side.";
  141. mes "So how can I help you?";
  142. callfunc "F_Kafra",5,4,1,40,800;
  143. M_Save:
  144. savepoint "lighthalzen",194,313;
  145. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  146. }
  147. //Inside the hotel
  148. lhz_in02,237,284,4 script Kafra Employee::kaf_lhz_in02 861,{
  149. cutin "kafra_09",2;
  150. mes "[Kafra Employee]";
  151. mes "Welcome~!";
  152. mes "The Kafra Services";
  153. mes "are always on your side.";
  154. mes "So how can I help you?";
  155. callfunc "F_Kafra",5,4,1,40,800;
  156. M_Save:
  157. savepoint "lhz_in02",278,215;
  158. callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
  159. }
  160. // Louyang -----------------------------------------------------------------
  161. louyang,210,104,5 script Kafra Employee::kaf_louyang 117,{
  162. cutin "kafra_01",2;
  163. mes "[Kafra Employee]";
  164. mes "Welcome to the";
  165. mes "Kafra Corporation.";
  166. mes "Kafra's Employees are";
  167. mes "always ready to serve you.";
  168. mes "How can I help you today?";
  169. callfunc "F_Kafra",5,3,1,50,700;
  170. M_Save:
  171. savepoint "louyang",217,92;
  172. callfunc "F_KafEnd",0,1,"in the city of Louyang";
  173. }
  174. // Umbala Kafra ------------------------------------------------------------
  175. umbala,128,133,4 script Kafra Employee::kaf_umbala 721,{
  176. cutin "kafra_07",2;
  177. cleararray @wrpC$[0],"",getarraysize(@wrpC$);
  178. setarray @wrpD$[0], "Comodo";
  179. setarray @wrpP[0], 1800;
  180. set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0];
  181. set @wrpC$[1], "Cancel";
  182. mes "[Kafra Employee]";
  183. mes "Welcome to the";
  184. mes "Kafra Corporation.";
  185. mes "You know that our";
  186. mes "service is always";
  187. mes "on your side~";
  188. callfunc "F_Kafra",5,0,1,80,0;
  189. M_Save:
  190. savepoint "umbala",126,131;
  191. callfunc "F_KafEnd",0,1,"in the city of Umbala";
  192. }
  193. // Niflheim ----------------------------------------------------------------
  194. niflheim,202,180,3 script Kafra Employee::kaf_niflheim 791,{
  195. callfunc "F_Kafra",1,2,1,150,0;
  196. M_Save:
  197. savepoint "niflheim",192,182;
  198. callfunc "F_KafEnd",1,1,"in the city of Niflheim";
  199. }