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