root/npc/kafras/kafras_new.txt @ 9

Revision 1, 7.3 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script ===========
2//= New Kafras
3//===== By: =========================
4//= eAthena Dev Team
5//===== Current Version: ===================
6//= 3.1
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//= 3.1 Fixed one of Einbroch (east) kafras not displaying a name, bugreport:857 [Brainstorm]
36//==========================================================================
37
38// Amatsu ------------------------------------------------------------------
39amatsu,102,149,4        script  Kafra Employee::kaf_amatsu      116,{
40        cutin "kafra_02",2;
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,3,1,50,700;
48
49        M_Save:
50                savepoint "amatsu",116,94;
51                callfunc "F_KafEnd",0,1,"in the city of Amatsu";
52}
53
54// Ayothaya ----------------------------------------------------------------
55ayothaya,212,169,5      script  Kafra Employee::kaf_ayothaya    116,{
56        cutin "kafra_02",2;
57        mes "[Kafra Employee]";
58        mes "Welcome to the";
59        mes "Kafra Corporation.";
60        mes "Kafra's Employees are";
61        mes "always ready to serve you.";
62        mes "How can I help you today?";
63        callfunc "F_Kafra",5,3,1,50,700;
64
65        M_Save:
66                savepoint "ayothaya",149,69;
67                callfunc "F_KafEnd",0,1,"in the city of Ayotaya";
68}
69
70// Einbech -----------------------------------------------------------------
71
72einbech,181,132,5       script  Kafra Employee#ein3::kaf_einbech        860,{
73        cutin "kafra_08",2;
74        mes "[Kafra Employee]";
75        mes "Welcome~!";
76        mes "The Kafra Services";
77        mes "are always on your side.";
78        mes "So how can I help you?";
79        callfunc "F_Kafra",5,4,1,40,850;
80
81        M_Save:
82                savepoint "einbech",182,124;
83                callfunc "F_KafEnd",0,1,"in the town of Einbech";
84}
85
86// Einbroch (North-East) ---------------------------------------------------
87einbroch,242,205,5      script  Kafra Employee#ein2::kaf_einbroch       860,{
88        cutin "kafra_08",2;
89        mes "[Kafra Employee]";
90        mes "Welcome to the";
91        mes "Kafra Corporation.";
92        mes "Kafra's Employees are";
93        mes "always ready to serve you.";
94        mes "How can I help you today?";
95        callfunc "F_Kafra",5,4,1,50,800;
96
97        M_Save:
98                savepoint "einbroch",238,198;
99                callfunc "F_KafEnd",0,1,"in the city of Einbroch";
100}
101
102// Einbroch (East) ---------------------------------------------------------
103einbroch,59,203,6       script  Kafra Employee#ein1::kaf_einbroch2      861,{
104        cutin "kafra_09",2;
105        mes "[Kafra Employee]";
106        mes "Welcome to the";
107        mes "Kafra Corporartion.";
108        mes "The Kafra services";
109        mes "are always on your side.";
110        mes "How may I assist you?";
111        callfunc "F_Kafra",5,4,1,50,800;
112
113        M_Save:
114                savepoint "einbroch",240,197;
115                callfunc "F_KafEnd",0,1,"in the city of Einbroch";
116}
117
118// Gonryun -----------------------------------------------------------------
119gonryun,159,122,4       script  Kafra Employee::kaf_gonryun     116,{
120        cutin "kafra_02",2;
121        mes "[Kafra Employee]";
122        mes "Welcome to the";
123        mes "Kafra Corporation.";
124        mes "Kafra's Employees are";
125        mes "always ready to serve you.";
126        mes "How can I help you today?";
127        callfunc "F_Kafra",5,3,1,50,700;
128
129        M_Save:
130                savepoint "gonryun",160,62;
131                callfunc "F_KafEnd",0,1,"in the city of Kunlun";
132}
133
134// Lighthalzen--------------------------------------------------------------
135
136//Outside the hotel
137lighthalzen,164,100,4   script  Kafra Employee::kaf_lighthalzen 860,{
138        cutin "kafra_08",2;
139        mes "[Kafra Employee]";
140        mes "Welcome to the";
141        mes "Kafra Corporartion.";
142        mes "The Kafra services";
143        mes "are always on your side.";
144        mes "How may I assist you?";
145        callfunc "F_Kafra",5,4,1,40,800;
146
147        M_Save:
148                savepoint "lighthalzen",158,94;
149                callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
150}
151
152// Entrance
153lighthalzen,191,320,4   script  Kafra Employee::kaf_lighthalzen2        861,{
154        cutin "kafra_09",2;
155        mes "[Kafra Employee]";
156        mes "Welcome~!";
157        mes "The Kafra Services";
158        mes "are always on your side.";
159        mes "So how can I help you?";
160        callfunc "F_Kafra",5,4,1,40,800;
161
162        M_Save:
163                savepoint "lighthalzen",194,313;
164                callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
165}
166
167//Inside the hotel
168lhz_in02,237,284,4      script  Kafra Employee::kaf_lhz_in02    861,{
169        cutin "kafra_09",2;
170        mes "[Kafra Employee]";
171        mes "Welcome~!";
172        mes "The Kafra Services";
173        mes "are always on your side.";
174        mes "So how can I help you?";
175        callfunc "F_Kafra",5,4,1,40,800;
176
177        M_Save:
178                savepoint "lhz_in02",278,215;
179                callfunc "F_KafEnd",0,1,"in the city of Lighthalzen";
180}
181
182// Louyang -----------------------------------------------------------------
183louyang,210,104,5       script  Kafra Employee::kaf_louyang     117,{
184        cutin "kafra_01",2;
185        mes "[Kafra Employee]";
186        mes "Welcome to the";
187        mes "Kafra Corporation.";
188        mes "Kafra's Employees are";
189        mes "always ready to serve you.";
190        mes "How can I help you today?";
191        callfunc "F_Kafra",5,3,1,50,700;
192
193        M_Save:
194                savepoint "louyang",217,92;
195                callfunc "F_KafEnd",0,1,"in the city of Louyang";
196}
197
198// Umbala Kafra ------------------------------------------------------------
199umbala,128,133,4        script  Kafra Employee::kaf_umbala      721,{
200        cutin "kafra_07",2;
201        cleararray @wrpC$[0],"",getarraysize(@wrpC$);
202        setarray @wrpD$[0], "Comodo";
203        setarray @wrpP[0], 1800;
204        set @wrpC$[0], @wrpD$[0]+" -> "+@wrpP[0];
205        set @wrpC$[1], "Cancel";
206        mes "[Kafra Employee]";
207        mes "Welcome to the";
208        mes "Kafra Corporation.";
209        mes "You know that our";
210        mes "service is always";
211        mes "on your side~";
212        callfunc "F_Kafra",5,0,1,80,0;
213        M_Save:
214                savepoint "umbala",126,131;
215                callfunc "F_KafEnd",0,1,"in the city of Umbala";
216}
217
218// Niflheim ----------------------------------------------------------------
219niflheim,202,180,3      script  Kafra Employee::kaf_niflheim    791,{
220        callfunc "F_Kafra",1,2,1,150,0;
221
222        M_Save:
223                savepoint "niflheim",192,182;
224                callfunc "F_KafEnd",1,1,"in the city of Niflheim";
225}
Note: See TracBrowser for help on using the browser.