root/npc/custom/eAAC_Scripts/kafraExpress/config.txt @ 1

Revision 1, 20.3 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Kafra Express - Config Module
3//===== By: ==================================================
4//= Skotlex
5//===== Current Version: =====================================
6//= 2.4
7//===== Compatible With: =====================================
8//= Any eAthena Version with function support
9//===== Description: =========================================
10//= Part of the Kafra Express Script Package.
11//= This module contains the configuration of all modules.
12//===== Additional Comments: =================================
13//= See <http://www.eathena.deltaanime.net/board/index.php?showtopic=20290>
14//= for indepth explanation of the Kafra Express Script Package.
15//============================================================
16
17-       script  keConfig        -1,{
18        //-------------------------------------------------------------------------------
19        //Config for the Main Module
20        //-------------------------------------------------------------------------------
21OnInit:
22        set $@ke_saveOnSpot,0;  //If 1, the respawn point is saved where the char is standing.
23        set $@keh_hpCost,10;    //Cost of HP healing (per 10HP)
24        set $@keh_spCost,100;   //Cost of SP healing (per 10SP)
25        set $@kes_cost,50;      //Cost of opening the storage
26        set $@kegs_cost,500;    //Cost of opening the guild storage
27
28        //Kafra Pass Options:
29        set $@kekp_reset,1; //How many uses a kafra pass has before expiring?
30                //(if 0, duration is as long as a temporary variable)
31        set $@kekp_reserveCost,100;     //Cost of each Reserve Point in Zeny (0 disable)
32        set $@kekp_minReserve,1;        //Min Reserve Points you can earn in a single transaction
33        set $@kekp_maxReserve,150;      //Max Reserve Points you can earn in a single transaction
34
35        //Display Options
36        set $@ked_users$,"people"; //String used when referring to people (player count).
37                // Values like "ppl", "users" or "on" are also recommended.
38        end;
39        //-------------------------------------------------------------------------------
40        //Config for the Bank Module
41        //-------------------------------------------------------------------------------
42OnLoadBank:
43        set $@kebk_depositCost,0;       //Fee for bank deposits in % (10 = 10%)
44        set $@kebk_withdrawCost,5;      //Fee for bank withdrawals in % (10 = 10%)
45        set $@kebk_minTransact,1000;    //Value of the Minimum Transaction (deposit/withdraw)
46        set $@kebk_maxTransact,999999;  //Value of the Maximum Transaction (deposit/withdraw)
47        set $@kebk_capacity,99999999;   //Account capacity: Max zeny that can be held.
48        set $@kebk_dayInterest,10;      //Savings daily interests in 0.01% units (100 = 1%)
49        set $@kebk_monMaintenance,1000; //Monthly flat fee charged for account maintenance
50        set $@kebk_useGlobalBank,0;     //When 1, all charged fees go to $ke_globalbank
51        end;
52        //-------------------------------------------------------------------------------
53        //Config for the Broadcast Module
54        //-------------------------------------------------------------------------------
55OnLoadBroadcast:
56        //Following costs are for current map costs:
57        set $@kebc_showOnline,0;        //if 1, count of recipients will be listed.
58        set $@kebc_partyCost,2500;      //party request broadcast cost
59        set $@kebc_pvpCost,5000;        //pvp request broadcast cost
60        set $@kebc_cost,10000;  //general broadcast cost
61        set $@kebc_anonCost,100000;     //anonymous broadcast cost
62        set $@kebc_globalFactor,1000;   //When doing server bcs, the prices are increased by this amount (500 = 500% = 5x)
63        set $@kebc_discount,15; //% Discount to apply when the KafraPass is active
64        end;
65        //-------------------------------------------------------------------------------
66        //Config for the Dye and Stylist Module
67        //-------------------------------------------------------------------------------
68OnLoadDye:
69        set $@kedy_enableHairstyle,0;   //Set to 1 to enable haircut style change.
70        set $@kedy_styles,23;   //Highest available haircut style (default 23)
71        set $@kedy_hair,8;      //Highest available hair dye (RO default is 8)
72       
73        //Highest available cloth dye depending on job-class
74        set $@kedy_clothJN,77;  //Novice (+High/Baby)
75        set $@kedy_clothJ1ST,77;        //1st Jobs (+High/Baby)
76        set $@kedy_clothJ2ND,77;        //2nd Jobs (+High/Baby)
77        set $@kedy_clothJSN,77; //Super Novice (+Baby)
78        end;
79        //-------------------------------------------------------------------------------
80        //Config for the Job Changer Module
81        //-------------------------------------------------------------------------------
82OnLoadJobChange:
83        set $@kejc_skillsPolicy,0;      //Remaining Skill Points Policy:
84                //0: Do not allow job changing until points are used up
85                //1: Discard the remaining skill points
86                //2: Let extra skill points be carried to next job
87
88        set $@kejc_upperPolicy,0;       //Upper Job management policy:
89                //0: Ignore Mode: People can change in any order
90                //1: Force Mode: Job changes are forced on the correct path.
91       
92        set $@kejc_announce,1;  //Do a global announce when someone changes job.
93        set $@kejc_resetDye,1;  //Set to 1 to reset cloth dye upon change
94        set $@kejc_skipNovice,0;        //0: Novice needs Job 10 to change, 1: Can Skip Novice Class
95        set $@kejc_baseSN,30;   //Base lv required to become a Super Novice
96
97        set $@kejc_disable,0;   //Disable certain jobs from the changer:
98                //1: Super Novice
99                //2: Taekwon/Star Gladiator/Soul Linker
100                //4: GunSlinger
101                //8: Ninja
102
103        //Note that the change costs can be converted into rewards by specifying a negative amount.
104        set $@kejc_base2ND,1;   //Base lv required to change into a second class
105        set $@kejc_job2ND,40;   //Job Lv required to change into a second Class
106        set $@kejc_cost2ND,-25000;      //Zeny cost when changing into a second Class
107
108        set $@kejc_baseRebirth,99;      //Base lv required to do the Rebirth
109        set $@kejc_jobRebirth,50;       //Job Lv required to do the Rebirth
110        set $@kejc_costRebirth,1000000; //Zeny cost required to do the Rebirth
111
112        set $@kejc_rebirthReset,1;      //When changing to a high novice, reset base level to 1?
113        set $@kejc_weaponPolicy,1;      //Set to 1 to give a weapon upon job change
114       
115        if ($@kejc_weaponPolicy == 0) //don't touch
116                end;
117
118        set $@kejc_wBonusLv,50; //Job level for upgraded weapon version, use 0 to disable
119       
120        //Weapons awarded to each job upon change (use 0 to disable for a particular class)
121        //First classes:
122        setarray $@kejc_weapon1[0],
123                1501,   //Acolyte/Club
124                1701,   //Archer/Bow
125                1601,   //Mage/Rod
126                1301,   //Merchant/Axe
127                1101,   //Swordman/Sword
128                1201,   //Thief/Knife
129                0,              //Taekwon/Nothing (they don't wield weapons)
130                1202,   //Super Novice/Knife
131                13010, //GunSlinger/Six Shooter
132                1201; //Ninja/Knife
133       
134        //Normal Weapons for Second classes
135        setarray $@kejc_weapon_21[0],
136                1551,   //Priest/Bible
137                1704,   //Hunter/Composite Bow
138                1602,   //Wizard/Rod
139                1351,   //Blacksmith/Battle Axe
140                1116,   //Knight/Katana
141                1250,   //Assassin/Jur
142                1550;   //Star Gladiator/Book
143
144        setarray $@kejc_weapon_22[0],
145                1801,   //Monk/Waghnak
146                1704,   //Bard/Dancer/Composite Bow
147                1550,   //Sage/Book
148                1351,   //Alchemist/Battle Axe
149                1107,   //Crusader/Blade
150                1210,   //Rogue/Cutter
151                1602;   //Soul Linker/Rod
152       
153        if ($@kejc_wBonusLv == 0)       //Don't touch.
154                end;
155
156        //Improved versions awarded to second classes
157        setarray $@kejc_weapon2_21[0],
158                1519,   //Priest/Chain
159                1714,   //Hunter/Gakkung
160                1610,   //Wizard/Arc Wand
161                1360,   //Blacksmith/Two-Handed Axe
162                1160,   //Knight/Broad-Sword
163                1254,   //Assassin/Jamadhar
164                1552;   //Star Gladiator/Tablet
165
166        setarray $@kejc_weapon2_22[0],
167                1811,   //Monk/Finger
168                1714,   //Bard/Dancer/Gakkung
169                1552,   //Sage/Tablet
170                1360,   //Alchemist/Two-Handed Axe
171                1119,   //Crusader/Tsurugi
172                1222,   //Rogue/Damascus
173                1610;   //Soul Linker/Arc Wand
174
175        end;
176        //-------------------------------------------------------------------------------
177        //Config for the Job Swapping Module
178        //-------------------------------------------------------------------------------
179OnLoadJobSwap:
180        set $@kejs_disable,0;   //Disable certain jobs from the swapper:
181                //1: Super Novice
182                //2: Taekwon/Star Gladiator/Soul Linker
183                //4: GunSlinger
184                //8: Ninja
185
186        set $@kejs_revertPolicy,1;      //Allows reverting to the last Class one changed from...
187                // 0: do not allow reverting
188                // 1: Can revert to last Job ONLY when the last job belongs to the same "level" as
189                //    the current one. (ie: it is lost on job change/upgrade)
190                // 2: Can revert to the last job regardless of situation.
191
192        set $@kejs_announce,0;  //Do a global announce when someone swaps job.
193        set $@kejs_revertCost,100000;   //Cost of reverting back to previous Job.
194        set $@kejs_saveDye,1;   //Set to 1 to save and restore previous dye when reverting
195        set $@kejs_resetDye,0;  //Set to 1 to reset cloth dye when swapping
196        set $@kejs_swapDiscount, 20;    //Kafra Pass % Discount when swapping jobs
197        set $@kejs_revertDiscount, 20;  //Kafra Pass % Discount when reverting to a previous job.
198       
199        //Minimum Job level required for swapping
200        set $@kejs_job1ST,20;   //among 1st classes
201        set $@kejs_job2ND,50;   //among 2nd classes
202       
203        //Base Cost for swapping job at min job level required
204        set $@kejs_cost1ST,25000;       //among 1st jobs
205        set $@kejs_cost2ND,250000;      //among 2nd jobs
206
207        //Percentage discount for every level over the minimum
208        set $@kejs_discount1ST,3;       //among 1st jobs
209        set $@kejs_discount2ND,3;       //among 2nd jobs
210       
211        //How much to preserve of the previous Job in %?
212        //(25% means that if you change at Lv100, you will become a Lv25 upon swap)
213        set $@kejs_preserve1ST,50;      //among 1st jobs
214        set $@kejs_preserve2ND,0;       //among 2nd jobs
215        end;
216        //-------------------------------------------------------------------------------
217        //Config for the Refining Module
218        //-------------------------------------------------------------------------------
219OnLoadRefine:
220        set $@kerf_maxLv,10;    //Max refinement level for equipment
221        set $@kerf_safe,0;      //Set to 1 to enable 100% safe refinement.
222        set $@kerf_showChance,0;        //Set to 1 to see the refine Success Chance
223        set $@kerf_refineAll,0; //Set to 1 to enable refinement of anything (ie: accesories)
224        set $@kerf_discount,0;  //Discount % rate for forging when Kafra Pass is active.
225        set $@kerf_armorCost,2000;      //Cost to refine armor (default 2000z)
226        set $@kerf_weaponLv1Cost,50;    //Cost to refine lv1 weapons (default 50z)
227        set $@kerf_weaponLv2Cost,200;   //Cost to refine lv2 weapons (default 200z)
228        set $@kerf_weaponLv3Cost,5000;  //Cost to refine lv3 weapons (default 5000z)
229        set $@kerf_weaponLv4Cost,20000; //Cost to refine lv4 weapons (default 20000z)
230        set $@kerf_purifyAll,0; //Set to 1 to enable purifying elemental stones and the like
231        set $@kerf_repairCost,10000;    //Cost to repair broken equipment.
232        set $@kerf_repairDiscount,25;   //Discount % rate for repairing when Kafra Pass is active
233        set $@kerf_repairSteel,1;       //Set to 1 to make repairing equipment require 1 Steel.
234        end;
235        //-------------------------------------------------------------------------------
236        //Config for the Renting Module
237        //-------------------------------------------------------------------------------       
238OnLoadRent:
239        set $@kert_cartOnly, 0; //Set to 1 to enable only cart rental, 0 enables all add-ons.
240        set $@kert_cartCost, 1000;      //Cost to rent a Cart.
241        set $@kert_falconCost, 2000;    //Cost to rent a Falcon.
242        set $@kert_pecoCost, 2000;      //Cost to rent a PecoPeco.
243        end;
244        //-------------------------------------------------------------------------------
245        //Config for the Kafra Shop Module
246        //-------------------------------------------------------------------------------
247OnLoadShop:
248        set $@kesh_towntype, 0; //Town shop type (1: buy, 2: sell, Other: both)
249        set $@kesh_duntype, 2; //Dungeon shop type (1: buy, 2: sell, Other: both)
250        set $@kesh_townshop$, "ke_townshop"; //Name of town shop to invoke.
251        set $@kesh_dunshop$, "ke_dunshop"; //Name of dungeon shop to invoke.
252        end;
253        //-------------------------------------------------------------------------------
254        //Config for the Stat Market Module
255        //-------------------------------------------------------------------------------       
256OnLoadStatMarket:
257        set $@kesm_stBuyPrice,10000;    //Cost of buying stat points
258        set $@kesm_stSellPrice,0;       //Return cash for selling stat points
259        set $@kesm_skBuyPrice,1000000;  //Cost of buying skill points
260        set $@kesm_skSellPrice,50000;   //Return cash for selling skill points
261        set $@kesm_skTradePrice, 20; //Stats needed to trade for a skill.       (Stat->Skill)
262        set $@kesm_stTradePrice, 15; //Stats received per Skill traded. (Skill->Stat)
263        set $@kesm_discount,0;  //Discount % applied when buying if Kafra Pass is active
264        end;
265        //-------------------------------------------------------------------------------
266        //Config for the Stats Reset/Raising Module
267        //-------------------------------------------------------------------------------
268OnLoadStats:
269        set $@kest_stResetCost,50000;   //Cost to reset stats
270        set $@kest_skResetCost,50000;   //Cost to reset skills
271        set $@kest_resetCost,75000;     //Cost to reset both
272        set $@kest_BaseLvCost,25000;    //Additional cost per base level to reset stats
273        set $@kest_JobLvCost,25000;             //Additional cost per job level to reset skills
274        set $@kest_BothLvCost,20000;    //Additional cost per base+job level to reset both
275
276        set $@kest_discount,15; //Discount % to be applied when Kafra Pass is active.
277        set $@kest_resetBasic,0;        //Set to 1 if you want basic skills resetted as well.
278        end;
279        //-------------------------------------------------------------------------------
280        //Config for the Uncarding Module
281        //-------------------------------------------------------------------------------
282OnLoadUncard:
283        set $@keuc_BaseCost, 100000;    //Base Cost
284        set $@keuc_CardCost, 25000;     //Extra Cost per Card
285        set $@keuc_UpgradeCostA, 1000;  //Extra Cost per Upgrade, Armor
286        set $@keuc_UpgradeCostW1, 1000; //Extra Cost per Upgrade, Weapons Lv1
287        set $@keuc_UpgradeCostW2, 2000; //Extra Cost per Upgrade, Weapons Lv2
288        set $@keuc_UpgradeCostW3, 3000; //Extra Cost per Upgrade, Weapons Lv3
289        set $@keuc_UpgradeCostW4, 5000; //Extra Cost per Upgrade, Weapons Lv4
290        set $@keuc_discount, 10;        //% Discount when using a Kafra Pass
291        set $@keuc_Mat1,1000;   //Material #1 needed (Star Crumb)
292        set $@keuc_Qty1,1;              //Qty of material #1 needed (use 0 to disable)
293        set $@keuc_Mat2,715;    //Material #2 needed (Yellow Gemstone)
294        set $@keuc_Qty2,1;      //Qty of material #2 needed (use 0 to disable)
295       
296        //Failure Chances. 1000 = 100.0%, set to 0 to disable failing chance.
297        set $@keuc_Fail0Chance, 250;    //Chance of harmless failure
298        set $@keuc_Fail1Chance, 100;    //Chance of losing item OR card
299        set $@keuc_Fail2Chance, 25;     //Chance of losing both
300        end;
301        //-------------------------------------------------------------------------------
302        //Config for the Town Warps Module
303        //-------------------------------------------------------------------------------
304OnLoadWarpTown:
305        set $@kewt_showOnline,1;        //Set to 1 to show online count on cities
306        set $@kewt_cost, 1000;  //Cost of warping to a town
307        set $@kewt_niflCost, 5000;      //Cost of warping to Niflheim
308        set $@kewt_travel, 0;   //Traveller's Mode type for towns:
309                //0: Disabled (normal warping)
310                //1: You can only warp to towns you've been before (per character basis)
311                //2: You can only warp to towns you've been before (per account basis)
312        set $@kewt_free, 0;     //Set to 1 to let people warp to towns even when poor
313        set $@kewt_discount, 100;       //Discount % to apply when the Kafra Pass is active (towns)
314        end;
315        //-------------------------------------------------------------------------------
316        //Config for the Dungeons Warps Module
317        //-------------------------------------------------------------------------------
318OnLoadWarpDungeon:
319        set $@kewd_showOnline,0;        //Set to 1 to show online count on dungeons
320        set $@kewd_discount, 50;        //Discount % to apply when the Kafra Pass is active
321        set $@kewd_travel, 0;   //Traveller's mode type for dungeons:
322                //0: Disabled (normal warping)
323                //1: You can only warp to dungeons you've been before (per character basis)
324                //2: You can only warp to dungeons you've been before (per account basis)
325        set $@kewd_deep, 1; //If 1, people can warp to all levels of dungeons.
326                            //If 0, people can only warp to the entrance of dungeons.
327       
328        //Variables for Deep Warping
329        set $@kewd_levelCost, 30;       // cost % increase for warping to floors deep into the dungeon
330        set $@kewd_entryDiscount, 25;   //Discount % when using the Kafra right next to the dungeon one is warping into
331       
332        //Variables for Short Warping
333        set $@kewd_turtleCave,0; //If 1, Turtle Island's warp leads to the
334                                 //entrance of the cave, not the Island's shore.
335
336        //Dungeon Costs
337        set $@kewd_abyssLake,3250;      //Abyss Lake base cost
338        set $@kewd_amatsu,2500; //Amatsu Dungeon base cost
339        set $@kewd_antHell,750; //Anthell base cost
340        set $@kewd_ayothaya,2000;       //Ayothaya Dungeon base cost
341        set $@kewd_byalan,1000; //Byalan base cost
342        set $@kewd_comodo,1500; //Comodo Caves base cost
343        set $@kewd_clockTower,2250;     //Clock Tower base cost
344        set $@kewd_coalMines,1000;      //Coal Mines base cost
345        set $@kewd_culvert,0500;        //Prontera Culvert base cost
346        set $@kewd_einbech,2250;        //Einbech Mines base cost
347        set $@kewd_gefenia,7000;        //Gefenia base cost
348        set $@kewd_geffen,1500; //Geffen Dungeon base cost
349        set $@kewd_glastHeim,2500;      //Glast Heim base cost
350        set $@kewd_gonRyun,2250;        //Gonryun Dungeon base cost
351        set $@kewd_hiddenTemple,750;    //Hidden Temple base cost
352        set $@kewd_juperos,3750;        //Juperos base cost
353        set $@kewd_kiehl,3400;  //Kiehl Doll Factory base cost
354        set $@kewd_iceCave,3750;        //Ice Cave base cost
355        set $@kewd_lightHalzen,4500;    //LightHalzen Rekkenber base cost
356        set $@kewd_louYang,2500;        //Louyang Dungeon base cost
357        set $@kewd_magma,3000;  //Magma Dungeon base cost
358        set $@kewd_odin,2750;   //Odin Temple base cost
359        set $@kewd_orc,1000;    //Orc Dungeon base cost
360        set $@kewd_payon,1000;  //Payon Dungeon base cost
361        set $@kewd_pyramid,2000;        //Pyramids base cost
362        set $@kewd_rachel,3000; //Rachel Sanctuary base cost
363        set $@kewd_sphinx,1750; //Sphinx base cost
364        set $@kewd_sunkenShip,1250;     //Sunken Ship base cost
365        set $@kewd_thanatosTower,3250;  //Thanatos Tower base cost
366        set $@kewd_toyFactory,1250;     //Toy Factory base cost
367        set $@kewd_turtleIsland,3250;   //Turtle Island base cost
368        set $@kewd_umbala,1750; //Umbala Dungeon base cost
369        end;
370        //-------------------------------------------------------------------------------
371        //Config for the Pvp Warps Module
372        //-------------------------------------------------------------------------------
373OnLoadWarpPvp:
374        set $@kewp_showOnline,1;        //Set to 1 to show online count on pvp maps
375        set $@kewp_advanced,0; //Set to 0 to enable a single group of pvp rooms
376                               //(no level restrictions, kewp_cost is used)
377        set $@kewp_cost, 1000; //Cost for Free For All (no level restrictions)
378       
379        if ($@kewp_advanced == 0)       //Don't touch
380                end;
381       
382        set $@kewp_cost1, 100; //Cost of warping to a pvp arena, lvls group 1
383        set $@kewp_cost2, 250; //Cost for lvls group 2
384        set $@kewp_cost3, 500; //Cost for lvls group 3
385        set $@kewp_cost4, 1000; //Cost for lvls group 4
386        set $@kewp_cost5, 2000; //Cost for lvls group 5
387        set $@kewp_cost6, 4000; //Cost for lvls group 6
388        set $@kewp_cost7, 8000; //Cost for lvls group 7
389        set $@kewp_baseLv1, 35; //Level required for pvp, lv1
390        set $@kewp_baseLv2, 45; //Level required for pvp, lv2
391        set $@kewp_baseLv3, 55; //Level required for pvp, lv3
392        set $@kewp_baseLv4, 65; //Level required for pvp, lv4
393        set $@kewp_baseLv5, 75; //Level required for pvp, lv5
394        set $@kewp_baseLv6, 85; //Level required for pvp, lv6
395        set $@kewp_baseLv7, 95; //Level required for pvp, lv7
396        set $@kewp_range, 5; //Range of levels allowed (ie: Warp to Lv1: levels 10+/-5)
397        end;
398        //-------------------------------------------------------------------------------
399        //Config for the WoE Warps Module
400        //-------------------------------------------------------------------------------
401OnLoadWarpWoe:
402        //Note: See ke_warp_woe.txt for instructions on how to unlock the Guild Dungeons.
403        set $@kewg_check,1;     //If 0, people don't need to belong to a Guild to warp
404        set $@kewg_checkAgit,1; //If 1, you can't warp until WoE starts
405        set $@kewg_showOnline,0;        //Set to 1 to show online count and Castle Status
406        set $@kewg_discount,20; //Kafra Pass discount for WoE warps
407
408        set $@kewg_baldur, 25000;       //Guild Dungeon - Baldur
409        set $@kewg_luina, 25000;        //Guild Dungeon - Luina
410        set $@kewg_valkyrie, 25000;     //Guild Dungeon - Valkyrie
411        set $@kewg_britoniah, 25000;    //Guild Dungeon - Britoniah
412
413        set $@kewg_alDeBaran, 2500;     //Al De Baran Guild
414        set $@kewg_geffen, 2500;        //Geffen Guild
415        set $@kewg_payon, 2500; //Payon Guild
416        set $@kewg_prontera, 2500;      //Prontera Guild
417        end;
418        //-------------------------------------------------------------------------------
419}
Note: See TracBrowser for help on using the browser.