kafras_dungeons.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. //===== eAthena Script ================
  2. //= Kafras in Dungeons and Fields
  3. //===== By: ============================
  4. //= eAthena Dev Team
  5. //===== Current Version: =======================
  6. //= 2.7
  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. Added teleport service for Orc Dungeon
  20. //= and Coal Mine Kafras.
  21. //= v2.1 Fixed bug with Merc job quest kafra.[Lupus]
  22. //= v2.1b Minor changes to function calls. Using arguments.
  23. //= Added ant hell kafras. This version uses arrays .[kobra_k88]
  24. //= Fixed Kafras, not giving you Save menu [Lupus]
  25. //= 2.3 Removed SAVE menu from dungeons Kafras [Lupus]
  26. //= 2.4 Now Baby Merchant can pass Merch Job Quest w/o probs [Lupus]
  27. //= 2.41 Removed useless warp points, already nullified by func call [Evera]
  28. //= 2.5 Allowed Culvert save point [Evera]
  29. //= 2.6 Updated function calls with new arguments. [L0ne_W0lf]
  30. //= Added unique Kafra Welcome message.
  31. //= Removed Ant Hell Kafra Employees.
  32. //= 2.7 Merchant quest in the Biliban kafra. (Barron-Monster) [L0ne_W0lf]
  33. //===============================================================
  34. //<============================= Byalan Island ============================>\\
  35. izlu2dun,106,58,8 script Kafra Employee::kaf_izlu2dun 115,{
  36. cutin "kafra_03",2;
  37. if(BaseJob==Job_Novice && job_merchant_q2>0) callfunc "F_MercKafra"; //F_MercKafra found in merchant.txt
  38. mes "[Kafra Employee]";
  39. mes "Welcome to the";
  40. mes "Kafra Corporation.";
  41. mes "Kafra's Employees are";
  42. mes "always ready to serve you.";
  43. mes "How can I help you today?";
  44. callfunc "F_Kafra",0,2,1,120,1200;
  45. M_Save:
  46. savepoint "izlu2dun",87,170;
  47. callfunc "F_KafEnd",0,1,"at Byalan Island";
  48. }
  49. //<============================ Culvert Sewers ============================>\\
  50. prt_fild05,290,224,3 script Kafra Employee::prt_fild05 114,{
  51. cutin "kafra_04",2;
  52. mes "[Kafra Employee]";
  53. mes "Welcome!";
  54. mes "The Kafra Corporation";
  55. mes "will always support the";
  56. mes "adventurers of Rune-Midgard";
  57. mes "with its excellent service. So";
  58. mes "what can I do for you today?";
  59. callfunc "F_Kafra",0,1,1,40,0;
  60. M_Save:
  61. savepoint "prt_fild05",274,243;
  62. callfunc "F_KafEnd",0,1, "at the Prontera Culverts";
  63. }
  64. //<=========================== Coal Mine (Dead Pitt) =======================>\\
  65. mjolnir_02,83,362,4 script Kafra Employee::kaf_mjolnir_02 116,{
  66. cutin "kafra_02",2;
  67. mes "[Kafra Employee]";
  68. mes "Welcome to the";
  69. mes "Kafra Corporation.";
  70. mes "Kafra's Employees are";
  71. mes "always ready to serve you.";
  72. mes "How can I help you today?";
  73. callfunc "F_Kafra",5,6,1,100,0;
  74. M_Save:
  75. savepoint "mjolnir_02",98,352;
  76. callfunc "F_KafEnd",0,1,"at Mjolnir Dead Pit";
  77. }
  78. //<=============================== Morroc Ruins ============================>\\
  79. moc_ruins,61,156,5 script Kafra Employee::moc_ruins 114,{
  80. cutin "kafra_04",2;
  81. mes "[Kafra Employee]";
  82. mes "Welcome!";
  83. mes "The Kafra Corporation";
  84. mes "will always support the";
  85. mes "adventurers of Rune-Midgard";
  86. mes "with its excellent service. So";
  87. mes "what can I do for you today?";
  88. callfunc "F_Kafra",5,2,1,90,1200;
  89. M_Save:
  90. savepoint "moc_ruins",41,141;
  91. callfunc "F_KafEnd",0,1," at the Pyramids";
  92. }
  93. //<================================ Orc Dungeon ============================>\\
  94. gef_fild10,73,340,5 script Kafra Employee::kaf_gef_fild10 116,{
  95. cutin "kafra_02",2;
  96. mes "[Kafra Employee]";
  97. mes "Welcome to the";
  98. mes "Kafra Corporation.";
  99. mes "Kafra's Employees are";
  100. mes "always ready to serve you.";
  101. mes "How can I help you today?";
  102. callfunc "F_Kafra",0,6,1,130,0;
  103. M_Save:
  104. savepoint "gef_fild10",54,326;
  105. callfunc "F_KafEnd",0,1,"at the Orc Dungeon";
  106. }
  107. //<============================== Treasure Island ==========================>\\
  108. alb2trea,59,69,5 script Kafra Employee::kaf_alb2trea 117,{
  109. cutin "kafra_01",2;
  110. mes "[Kafra Employee]";
  111. mes "Welcome to the";
  112. mes "Kafra Corporartion.";
  113. mes "The Kafra services";
  114. mes "are always on your side.";
  115. mes "How may I assist you?";
  116. callfunc "F_Kafra",0,2,1,50,0;
  117. M_Save:
  118. savepoint "alb2trea",92,64;
  119. callfunc "F_KafEnd",0,1,0,"at Sunken Ship";
  120. }