1 | //===== eAthena Script ======================================= |
---|
2 | //= Izlude Kafras |
---|
3 | //===== By: ========================= |
---|
4 | //= eAthena Dev Team |
---|
5 | //===== Current Version: =================== |
---|
6 | //= 2.3 |
---|
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.1b Minor changes to function calls. Using arguments. |
---|
21 | //= This version uses arrays .[kobra_k88] |
---|
22 | //= 2.2 New teleport destinations, prices [Lupus] |
---|
23 | //= 2.21 Warps to Prontera rather than Payon now [Evera] |
---|
24 | //= 2.3 Updated function calls with new arguments. [L0ne_W0lf] |
---|
25 | //= Added unique Kafra Welcome message2. |
---|
26 | //===================================================================== |
---|
27 | |
---|
28 | izlude,134,87,3 script Kafra Employee::kaf_izlude 117,{ |
---|
29 | cutin "kafra_01",2; |
---|
30 | cleararray @wrpC$[0],"",getarraysize(@wrpC$); |
---|
31 | setarray @wrpD$[0], "Geffen", "Prontera", "Morroc", "Al De Baran"; |
---|
32 | setarray @wrpP[0], 1200, 1200, 1200, 1800; |
---|
33 | set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0]; |
---|
34 | set @wrpC$[1], @wrpD$[1]+" -> "+@wrpP[1]; |
---|
35 | set @wrpC$[2], @wrpD$[2]+" -> "+@wrpP[2]; |
---|
36 | set @wrpC$[3], @wrpD$[3]+" -> "+@wrpP[3]; |
---|
37 | set @wrpC$[4], "Cancel"; |
---|
38 | mes "[Kafra Employee]"; |
---|
39 | mes "Welcome to the"; |
---|
40 | mes "Kafra Corporartion."; |
---|
41 | mes "The Kafra services"; |
---|
42 | mes "are always on your side."; |
---|
43 | mes "How may I assist you?"; |
---|
44 | callfunc "F_Kafra",5,0,1,40,820; |
---|
45 | |
---|
46 | M_Save: |
---|
47 | savepoint "izlude",94,103; |
---|
48 | callfunc "F_KafEnd",0,1,"in the city of Izlude"; |
---|
49 | } |
---|