kafras_dungeons.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. //===== eAthena Script ================
  2. //= Kafras in Dungeons and Fields
  3. //===== By: ============================
  4. //= eAthena Dev Team
  5. //===== Current Version: =======================
  6. //= 2.6
  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. //===============================================================
  33. //<============================= Byalan Island ============================>\\
  34. izlu2dun,106,58,8 script Kafra Employee::kaf_izlu2dun 115,{
  35. cutin "kafra_03",2;
  36. if(BaseJob==Job_Novice && job_merchant_q3>0) callfunc "F_MercKafra"; //F_MercKafra found in merchant.txt
  37. mes "[Kafra Employee]";
  38. mes "Welcome to the";
  39. mes "Kafra Corporation.";
  40. mes "Kafra's Employees are";
  41. mes "always ready to serve you.";
  42. mes "How can I help you today?";
  43. callfunc "F_Kafra",0,2,1,120,1200;
  44. M_Save:
  45. savepoint "izlu2dun",87,170;
  46. callfunc "F_KafEnd",0,1,"at Byalan Island";
  47. }
  48. //<============================ Culvert Sewers ============================>\\
  49. prt_fild05,290,224,3 script Kafra Employee::prt_fild05 114,{
  50. cutin "kafra_04",2;
  51. mes "[Kafra Employee]";
  52. mes "Welcome!";
  53. mes "The Kafra Corporation";
  54. mes "will always support the";
  55. mes "adventurers of Rune-Midgard";
  56. mes "with its excellent service. So";
  57. mes "what can I do for you today?";
  58. callfunc "F_Kafra",0,1,1,40,0;
  59. M_Save:
  60. savepoint "prt_fild05",274,243;
  61. callfunc "F_KafEnd",0,1, "at the Prontera Culverts";
  62. }
  63. //<=========================== Coal Mine (Dead Pitt) =======================>\\
  64. mjolnir_02,83,362,4 script Kafra Employee::kaf_mjolnir_02 116,{
  65. cutin "kafra_02",2;
  66. mes "[Kafra Employee]";
  67. mes "Welcome to the";
  68. mes "Kafra Corporation.";
  69. mes "Kafra's Employees are";
  70. mes "always ready to serve you.";
  71. mes "How can I help you today?";
  72. callfunc "F_Kafra",5,6,1,100,0;
  73. M_Save:
  74. savepoint "mjolnir_02",98,352;
  75. callfunc "F_KafEnd",0,1,"at Mjolnir Dead Pit";
  76. }
  77. //<=============================== Morroc Ruins ============================>\\
  78. moc_ruins,61,156,5 script Kafra Employee::moc_ruins 114,{
  79. cutin "kafra_04",2;
  80. mes "[Kafra Employee]";
  81. mes "Welcome!";
  82. mes "The Kafra Corporation";
  83. mes "will always support the";
  84. mes "adventurers of Rune-Midgard";
  85. mes "with its excellent service. So";
  86. mes "what can I do for you today?";
  87. callfunc "F_Kafra",5,2,1,90,1200;
  88. M_Save:
  89. savepoint "moc_ruins",41,141;
  90. callfunc "F_KafEnd",0,1," at the Pyramids";
  91. }
  92. //<================================ Orc Dungeon ============================>\\
  93. gef_fild10,73,340,5 script Kafra Employee::kaf_gef_fild10 116,{
  94. cutin "kafra_02",2;
  95. mes "[Kafra Employee]";
  96. mes "Welcome to the";
  97. mes "Kafra Corporation.";
  98. mes "Kafra's Employees are";
  99. mes "always ready to serve you.";
  100. mes "How can I help you today?";
  101. callfunc "F_Kafra",0,6,1,130,0;
  102. M_Save:
  103. savepoint "gef_fild10",54,326;
  104. callfunc "F_KafEnd",0,1,"at the Orc Dungeon";
  105. }
  106. //<============================== Treasure Island ==========================>\\
  107. alb2trea,59,69,5 script Kafra Employee::kaf_alb2trea 117,{
  108. cutin "kafra_01",2;
  109. mes "[Kafra Employee]";
  110. mes "Welcome to the";
  111. mes "Kafra Corporartion.";
  112. mes "The Kafra services";
  113. mes "are always on your side.";
  114. mes "How may I assist you?";
  115. callfunc "F_Kafra",0,2,1,50,0;
  116. M_Save:
  117. savepoint "alb2trea",92,64;
  118. callfunc "F_KafEnd",0,1,0,"at Sunken Ship";
  119. }