diff options
Diffstat (limited to 'npc/kafras')
-rw-r--r-- | npc/kafras/cool_event_corp.txt | 63 | ||||
-rw-r--r-- | npc/kafras/dts_warper.txt | 111 | ||||
-rw-r--r-- | npc/kafras/functions_kafras.txt | 215 | ||||
-rw-r--r-- | npc/kafras/kafras.txt | 133 |
4 files changed, 255 insertions, 267 deletions
diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt index 911f54af2..2a892fb07 100644 --- a/npc/kafras/cool_event_corp.txt +++ b/npc/kafras/cool_event_corp.txt @@ -1,29 +1,46 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Haru +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Playtester +//= Copyright (C) Lupus +//= Copyright (C) Gepard +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= //= Cool Event Corp. Staff -//===== By: ================================================== -//= Gepard -//===== Current Version: ===================================== +//================= Description =========================================== +//= Cool Event Corp. Staff (Save, Storage & Pushcart Service) in Arunafeltz +//= Region. +//================= Current Version ======================================= //= 2.0 -//===== Description: ========================================= -//= Cool Event Corp. Staff (Save, Storage & Pushcart Service) -//= in Arunafeltz Region. -//===== Additional Comments: ================================= -//= 1.0 First version, iRO Sakray X.4 [Gepard] -//= 1.1 Optimized, fixed a conditional bug [Lupus] -//= 1.1a Redo back. It wasn't a bug [Lupus] -//= 1.2 Added Rachel Cool Event Corp. Staff [Playtester] -//= 1.3 Added cutins, closed Kafra Password exploit -//= until we got a client/packet based password support [Lupus] -//= 1.4 Added Veins Cool Event Corp. Staff. [L0ne_W0lf] -//= 1.5 Cool Event Corp staff is now more iRO like. [L0ne_W0lf] -//= 2.0 Moved duplicate code to a function. Better integrated -// the rest with functions_kafra.txt. [Haru] -//============================================================ +//========================================================================= -//=== Main Function ======================================================== -//= arg(0): Used to determine which menu to display. -//= arg(1): Used to determine the location displayed in the save message. -//========================================================================== +//== Main Function ========================================= +// Arguments: +// - 0: Used to determine which menu to display. +// - 1: Used to determine the location displayed in the save message. function script F_ZondaStaff { cutin "zonda_01",2; mes "[Cool Event Corp. Staff]"; diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt index e9ea4ee0d..69ac93228 100644 --- a/npc/kafras/dts_warper.txt +++ b/npc/kafras/dts_warper.txt @@ -1,58 +1,57 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Lupus +//= Copyright (C) Silent +//= Copyright (C) Evera +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= //= Dungeon Teleport Service -//===== By: ================================================== -//= Evera -//===== Current Version: ===================================== +//================= Description =========================================== +//= Cool Event Corp (a.k.a. Zonda Corp) vs. Kafra Dungeon Teleport Service +//= and voting system. +//= This is a special event on official servers where there's a big +//= competition between Kafra Corp. and Cool Event Corp. to warp to +//= selected levels of certain dungeons. +//================= Current Version ======================================= //= 2.9 -//===== Description: ========================================= -//= [Official Conversion] -//= Cool Event Corp NPCs vs. Kafra Dungeon Teleport Service and voting system. -//= This is a special event on official servers where there's a -//= big competition between Kafra Corp. and Cool Event Corp. -//= To warp to selected levels of certain dungeons. -// -// Global Variables in use: -// Voting Time check: $DTS_Time -// Cool Event Corp. Vote Numbers: $DTS_JondaVotes -// Kafra Vote Numbers: $DTS_KafraVotes -// Winner: $DTS_Result -// Teleport Service Period Check: $DTS_PeriodCheck -// Kafra Points: $DTS_KafraWins -// Cool Event Corp. Points: $DTS_JondaWins -// Setitem Check: $DTS_VoteCount -// For Detailed information on what each varibale does, see -// the "Vote Globalvar Girl#yuno" NPC at the end of the file. -// Character Variable in use: lhz_vote (how many times player has voted, keeps htem from re-voting.) -//===== Additional Comments: ================================= -//= 1.0 Initial release [Evera] -//= 1.1 SVN release, removed from major town (found true info after research), -//= put more arg(2) parameters, fixed a few bugs [Evera] -//= 1.2 Mushed some variables together, optimized a bit [Evera] -//= 1.3 Removed selfconfig [Evera] -//= 1.4 Changed global variables to read from 3 global variables, updated names, -//= fixed array bug [Evera] -//= 1.5 Mushed voting varialbes into 1 variable. [Evera] -//= 1.6 Removed Duplicates [Silent] -//= 1.7 Fixed bug of DTS_Admin not running by itself [Evera] -//= 1.8 Changed requirement to lvl 60 [Evera] -//= 1.9 Removed global eligibility option [Evera] -//= 2.0 Fixed zeny bug [Evera] -//= 2.1 Fixed headers with and updated with newer information [Evera] -//= 2.2 Changed dtseligible 2 to MISC_QUEST|128, to clean up variable usage. [Evera] -//= Also added F_ClearGarbage function to the scripts. [Evera] -//= 2.3 Changed dtseligible to be $dtsday when MISC_QUEST|128 -//= Added $dtsday for vote session counter -//= Fixed bug that involved having both warpers enabled at the same time. [Evera] -//= New $dtsday system and bug fix[Evera] -//= 2.3a fixed 2 bugs with comparision [Lupus] -//= 2.3b corrected Glast warp coords [Lupus] 2.3c Bailand -> Bayalan -//= 2.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.5 Converted from Aegis file. (11.3) [L0ne_W0lf] -//= 2.6 Moved Morroc NPCs to Morroc Ruins. [L0ne_W0lf] -//= 2.7 Fixed a typo, a - to a +. Not sure how that happened. [L0ne_w0lf] -//= 2.8 Corrected another typo this time in a variable. -//= 2.9 Added GM management function. [Euphy] -//============================================================ +//================= Variables Used ======================================== +//= - lhz_vote : How many times player has voted, keeps htem from +//= re-voting. +//= - $DTS_Time : Voting Time check +//= - $DTS_JondaVotes : Cool Event Corp. Vote Numbers +//= - $DTS_KafraVotes : Kafra Vote Numbers +//= - $DTS_Result : Winner +//= - $DTS_PeriodCheck : Teleport Service Period Check +//= - $DTS_KafraWins : Kafra Points +//= - $DTS_JondaWins : Cool Event Corp. Points +//= - $DTS_VoteCount : Setitem Check +//= For detailed information on what each varibale does, see the +//= "Vote Globalvar Girl#yuno" NPC at the end of the file. +//========================================================================= einbroch,246,70,0 script Vote Timer#ein -1,{ OnInit: @@ -291,9 +290,9 @@ OnTimer60000: end; } -// Voting Poll NPCs Kafras and Cool Corp. -// Cool Event Staff should actually be Cool Event Voting Staff -// names had to be shortened to keep them unique. +//== Voting Poll NPCs Kafras and Cool Corp. ================ +// Cool Event Staff should actually be Cool Event Voting Staff names had to be +// shortened to keep them unique. function script F_VoteKafra { callfunc "F_ClearGarbage"; //Clear outdated, unused variables switch(getarg(0)){ diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index eabd3f1d8..e50264c9d 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -1,75 +1,62 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Haru +//= Copyright (C) rAthena Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Joseph +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Daegaladh +//= Copyright (C) brianluau +//= Copyright (C) Kisuka +//= Copyright (C) Evera +//= Copyright (C) erKURITA +//= Copyright (C) Silentdragon +//= Copyright (C) Nexon +//= Copyright (C) L0ne_W0lf +//= Copyright (C) kobra_k88 +//= Copyright (C) Lupu +//= Copyright (C) Syrus22 +//= Copyright (C) Darkchild +//= Copyright (C) Darlskies +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= //= Kafra Functions -//===== By: ================================================== -//= rAthena Dev Team -//= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0) -//= L0ne_W0lf -//===== Current Version: ===================================== +//================= Description =========================================== +//= These functions handle save, storage, cart rental, teleport, and Free +//= Teleport/Warp/Rent Cart options for all Kafra NPCs. +//================= Current Version ======================================= //= 6.8 -//===== Description: ========================================= -//= These functions handle save, storage, cart rental, teleport, -//= and Free Teleport/Warp/Rent Cart options for all Kafra NPCs. -//= -//= Kafra's will need a lot of work. The Welcome Message argument -//= may become obsolete, as most kafras have a slightly differing -//= Welcome message. -//===== Additional Comments: ================================= -//= 1.1 Now using functions v2.1 Added Cart Rent for Classes: Whitesmith, Professor. -//= Replaced checkoption(x) into checkcart(0) [Lupus] v2.1b Added Fix Kafra Pass Func [Kobra_k88] -//= 2.2 Final fix of the Kafra Pass Exploit! [Lupus] a -Izlude[4] fix -//= 2.2a Minor changes to function calls. Using agruments. Added Guild options. [kobra_k88] -//= 2.2b This version uses arrays for the teleport option. Rearranged next statements to make menu transitions smoother. [kobra_k88] -//= 2.3 Removed SAVE from Niflheim. [Lupus] -//= 2.3 removed "fix" by HawkMoon RTFM and check supernovice.txt . There's a SPECIAL Kafra which gives CARTS to SN for a special proce. [Lupus] -//= 2.4 Added Baby Class Support (Baby Novice check) Removed annoying storage feature where u had to close dialog window to be able to use your storage [Lupus] -//= 2.5 Added Louyang official Kafra, fixes some Kafras, not letting you to Save your position [Lupus] -//= 2.6 Reverted Dungeons Kafras (they should offer only Storage). Added temp Ayothaya Kafra -//= 2.7 Added correct Ayothaya, Louyang & Amatsu Kafras. [Lupus] -//= 2.8 Fixed Amatsu Storage problems [Lupus] 2.9 Fixed spelling mistakes. [Nexon] -//= 3.0 Added special "not working teleport menu" for Einbroch Kafras [Lupus] -//= 3.1 Removed callfunc Is_####_Class in favor of baseClass [Silentdragon] -//= 3.2 Fixed an exploit [Lupus] -//= 4.0 Added Kafra storage password protection. [Lupus] -//= to block Kafra Password, read comments at 350 line -//= 5.0 Fixed the close2;....close; end; lines. Who let them slip away? =/ [erKURITA] -//= Also, the kafra upon warp was giving back the zeny. Removed. [erKURITA] -//= 5.1 Optimized a little, added no tele/save arg's [Evera] -//= 5.1a Temporary? Added F_ClearGarbage to clear unused/outdated variables [Lupus] -//= 5.2 By default commented out custom Guilds Kafra's "Guild Storage". [Lupus] -//= 5.3 uncommented Guild Storage. Confirmed kRO feature. [Lupus] -//= 5.4 added -Guide option (Kafra shows you nearest Guide) Work in progress. -//= Need all coords for all guides.. and somehow pass their coords to kafra. -//= Removed universal Kafra Pass, added 3 new Kafra Tickets [Lupus] -//= 5.4b temporary moved "-Guide" from the 1st menu punct [Lupus] -//= 5.5 Added proper Niflheim welcome message. [L0ne_W0lf] -//= Cleaned up the menus a bit. Got rid of the proceeding "-" prefix. -//= 5.5b Missed a preceeding hyphen, which was screwing up teleporting. [L0ne_W0lf] -//= 5.6 Further dialog updates, added dynamic costs for cart and storage use. [L0ne_W0lf] -//= Updated some functions to handle Guild Kafras the way they should. -//= 5.6a Corrected a few wrong names in the teleport function. [L0ne_W0lf] -//= 5.7 Correced end message no longer displaying, and the duplicate names [L0ne_W0lf] -//= Thanks to Barron-Monster for pointing out the issues. -//= 5.8 Fixed another double name being shown when "saving" [L0ne_W0lf] -//= 5.9 Fixed the Kafra Welcome message for guilds. Thanks Barron-Monster. [L0ne_W0lf] -//= 6.0 Closed Kafra Password exploit in Cool Event Corp. Storages until we got a client/packet based password support. -//= Added 2 args into F_SetKafCode to fit it in Cool Evnt Co. NPC [Lupus] -//= 6.1 Added menu for Turbo Track Kafra Staff. [L0ne_W0lf] -//= 6.2 Updated/Fixed warp cords. [Kisuka] -//= 6.3 #kafra_code is now stored as is. [brianluau] -//= 6.4 Removed unofficial Guide function. [Daegaladh] -//= 6.5 Optimized. [Joseph] -//= 6.6 Added Warp Points / View Points Function. [Joseph] -//= 6.7 Added Rune Knight Kafra. [Euphy] -//= 6.8 Improved compatibility with Zonda Staff NPCs. Modernized syntax. [Haru] -//============================================================ +//========================================================================= -//=== Main Function ======================================================== -//= arg(0): Used to determine which welcome message to show. -//= arg(1): Used to determine which menu to display. -//= arg(2): Used to determine if the info menu is shown in F_KafInfo. -//= arg(3): Cost to use Storage -//= arg(4): Cost to Rent a Pushcart -//========================================================================== +//== Main Function ========================================= +// Arguments: +// - 0: Used to determine which welcome message to show. +// - 1: Used to determine which menu to display. +// - 2: Used to determine if the info menu is shown in F_KafInfo. +// - 3: Cost to use Storage +// - 4: Cost to Rent a Pushcart function script F_Kafra { callfunc "F_ClearGarbage"; // Clear outdated, unused variables // Display Kafra Welcome Message @@ -196,19 +183,18 @@ function script F_Kafra { } } -//=================================================== -// Storage Function -//= arg(0): Specifies the type of storage that has been requested: -// 0 = Regular storage -// 1 = Guild storage -// 2 = Regular storage, in a castle (free of charge) -//= arg(1): Cost to use storage. -//= arg(2): The type of NPC this is being called from. Notable values: -// 0,2-5 = Regular Kafra -// 1 = Niflheim Kafra (special messages) -// 6 = Zonda/Cool Event Staff (no RESRVPTS) -//= arg(3): NPC title to display. -//=================================================== +//== Storage Function ====================================== +// Arguments: +// - 0: Specifies the type of storage that has been requested: +// 0 = Regular storage +// 1 = Guild storage +// 2 = Regular storage, in a castle (free of charge) +// - 1: Cost to use storage. +// - 2: The type of NPC this is being called from. Notable values: +// 0,2-5 = Regular Kafra +// 1 = Niflheim Kafra (special messages) +// 6 = Zonda/Cool Event Staff (no RESRVPTS) +// - 3: NPC title to display. function script F_KafStor { // Unable to access Guild Storage (Busy) if (getarg(0) == 1) { @@ -302,13 +288,12 @@ function script F_KafStor { end; } -//=================================================== -// Teleport Function -//= arg(2): The type of NPC this is being called from. Notable values: -// 2 = Guild Castle Kafra (don't consume tickets) -// 6 = Zonda/Cool Event Staff (no RESRVPTS) -//= arg(1): NPC title to display. -//=================================================== +//== Teleport Function ===================================== +// Arguments: +// - 1: NPC title to display. +// - 2: The type of NPC this is being called from. Notable values: +// 2 = Guild Castle Kafra (don't consume tickets) +// 6 = Zonda/Cool Event Staff (no RESRVPTS) function script F_KafTele { mes getarg(1); mes "Please choose"; @@ -358,16 +343,14 @@ function script F_KafTele { end; } - -//=================================================== -// Cart Function -//= arg(0): The type of NPC this is being called from. Notable values: -// 0,1,3-5 = Regular Kafra -// 2 = Guild Castle Kafra (don't consume tickets) -// 6 = Zonda/Cool Event Staff (no RESRVPTS) -//= arg(1): Cost to rent a cart. -//= arg(2): NPC title to display. -//=================================================== +//== Cart Function ========================================= +// Arguments: +// - 0: The type of NPC this is being called from. Notable values: +// 0,1,3-5 = Regular Kafra +// 2 = Guild Castle Kafra (don't consume tickets) +// 6 = Zonda/Cool Event Staff (no RESRVPTS) +// - 1: Cost to rent a cart. +// - 2: NPC title to display. function script F_KafCart { // Ensure that the class wanting to rent a pushcart is a merchant if (BaseClass != Job_Merchant) { @@ -423,9 +406,7 @@ function script F_KafCart { return 1; } -//=================================================== -// Special Reserve Points Function -//=================================================== +//== Special Reserve Points Function ======================= function script F_KafInfo { // Uncomment next line to block Kafra Storage Protection //.@block = 1; @@ -463,11 +444,11 @@ function script F_KafInfo { } } -// === End Function ================================================== -// arg(0): used to determine what message to display. -// arg(1): used to determine if save message is displayed. -// arg(2): used to display the name of the area you're saving in. -//=================================================================== +//== End Function ========================================== +// Arguments: +// - 0: used to determine what message to display. +// - 1: used to determine if save message is displayed. +// - 2: used to display the name of the area you're saving in. function script F_KafEnd { mes "[Kafra Employee]"; if (getarg(1) == 1) { @@ -493,9 +474,7 @@ function script F_KafEnd { end; } -//=================================================== -// Check Storage Password Function -//=================================================== +//== Check Storage Password Function ======================= function script F_CheckKafCode { if (!#kafra_code) return; @@ -513,10 +492,10 @@ function script F_CheckKafCode { return; } -// === Set / Change / Clear Storage Password Function === -// getarg(0): NPC Name -// getarg(1): Company Name -//======================================================= +//== Set / Change / Clear Storage Password Function ======== +// Arguments: +// - 0: NPC Name +// - 1: Company Name function script F_SetKafCode { mes getarg(0); if (#kafra_code) { @@ -603,9 +582,7 @@ S_SET: return; } -//=================================================== -// Basic Password Validation Function -//=================================================== +//== Basic Password Validation Function ==================== function script F_EntKafCode { mes "Enter a number 1000~10000000:"; @code_ = 0; @@ -625,9 +602,7 @@ function script F_EntKafCode { return @code_; } -//=================================================== -// Warp Points / View Points Function -//=================================================== +//== Warp Points / View Points Function ==================== function script F_KafSet { deletearray @wrpC$; deletearray @wrpD$; diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt index cfdaf183b..8774f8245 100644 --- a/npc/kafras/kafras.txt +++ b/npc/kafras/kafras.txt @@ -1,29 +1,45 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2012-2015 Hercules Dev Team +//= Copyright (C) Lemongrass +//= Copyright (C) Euphy +//= Copyright (C) Joseph +//= Copyright (C) Lupus +//= Copyright (C) Evera +//= Copyright (C) Samuray22 +//= Copyright (C) kobra_k88 +//= Copyright (C) L0ne_W0lf +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= //= Kafras (Cities/Dungeons/Fields) -//===== By: ================================================== -//= Joseph -//===== Current Version: ===================================== +//================= Description =========================================== +//= Kafras (Cities/Dungeons/Fields) +//================= Current Version ======================================= //= 1.1b -//===== Description: ========================================= -//= Argument settings for callfunc "F_Kafra": -//= arg(0): 0 - Default Kafra message -//= 1 - Niflhiem Kafra message -//= 2 - Guild Kafra message -//= arg(1): 1 - Disable teleport menu -//= arg(2): 1 - Disable info menu -//= arg(3): Cost of Storage service -//= arg(4): Cost of Rent a Pushcart service -//===== Additional Comments: ================================= -//= 0.x Previous Authors: -//= - L0ne_W0lf, kobra_k88, Samuray22, Evera, Lupus -//= 1.0 Merged and cleaned up Kafras. [Joseph] -//= 1.1 Added Izlude RE coordinates. [Euphy] -//= 1.1a Fixed Pre-RE Call and some leftovers. [Lemongrass] -//= 1.1b Enabled saving in Izlude duplicates (RE). [Euphy] -//============================================================ - -// Aldebaran -//============================================================ +//========================================================================= + +//== Aldebaran ============================================= aldeba_in,96,181,4 script Kafra Service 4_F_KAFRA5,{ cutin "kafra_05",2; mes "[Kafra Leilah]"; @@ -123,8 +139,7 @@ aldebaran,143,119,4 script Kafra Employee::kaf_aldebaran 4_F_KAFRA5,{ callfunc "F_KafEnd",0,1,"in the city of Al De Baran"; } -// Geffen -//============================================================ +//== Geffen ================================================ geffen,120,62,0 script Kafra Employee::kaf_geffen 4_F_KAFRA3,{ cutin "kafra_03",2; callfunc "F_KafSet"; @@ -153,8 +168,7 @@ geffen,203,123,2 script Kafra Employee::geffen2 4_F_KAFRA4,{ callfunc "F_KafEnd",0,1,"in the city of Geffen"; } -// Morocc -//============================================================ +//== Morroc ================================================ morocc,156,97,4 script Kafra Employee::kaf_morocc 4_F_KAFRA5,{ cutin "kafra_05",2; callfunc "F_KafSet"; @@ -183,8 +197,7 @@ morocc,160,258,4 script Kafra::kaf_morocc2 4_F_KAFRA4,{ callfunc "F_KafEnd",0,1,"in the city of Morroc"; } -// Payon -//============================================================ +//== Payon ================================================= payon,181,104,4 script Kafra Employee::kaf_payon 4_F_KAFRA5,{ cutin "kafra_05",2; callfunc "F_KafSet"; @@ -226,8 +239,7 @@ pay_arche,55,123,0 script Kafra Employee::kaf_payon3 4_F_KAFRA3,{ callfunc "F_KafEnd",0,1,"at the Payon Dungeon"; } -// Prontera -//============================================================ +//== Prontera ============================================== prontera,152,326,3 script Kafra Employee::kaf_prontera 4_F_KAFRA6,{ cutin "kafra_06",2; callfunc "F_KafSet"; @@ -298,8 +310,7 @@ prontera,146,89,6 script Kafra Employee::kaf_prontera5 4_F_KAFRA1,{ callfunc "F_KafEnd",0,1,"in the city of Prontera"; } -// Yuno -//============================================================ +//== Juno ================================================== yuno,152,187,4 script Kafra Employee::kaf_yuno 4_F_KAFRA8,{ cutin "kafra_08",2; callfunc "F_KafSet"; @@ -339,8 +350,7 @@ yuno,277,221,4 script Kafra Employee::kaf_yuno3 4_F_KAFRA9,{ callfunc "F_KafEnd",0,1,"in the city of Juno"; } -// Alberta -//============================================================ +//== Alberta =============================================== alberta,28,229,0 script Kafra Employee::kaf_alberta 4_F_KAFRA2,{ cutin "kafra_02",2; callfunc "F_KafSet"; @@ -370,8 +380,7 @@ alberta,113,60,6 script Kafra Employee::kaf_alberta2 4_F_KAFRA6,{ callfunc "F_KafEnd",0,1,"in the city of Alberta"; } -// Comodo -//============================================================ +//== Comodo ================================================ comodo,195,150,4 script Kafra Employee::kaf_comodo 4_F_KAFRA7,{ cutin "kafra_07",2; callfunc "F_KafSet"; @@ -400,8 +409,7 @@ cmd_fild07,136,134,4 script Kafra Employee::kaf_cmd_fild07 4_F_KAFRA7,{ callfunc "F_KafEnd",0,1,"in Pyros Lighthouse"; } -// Izlude -//============================================================ +//== Izlude ================================================ - script ::kaf_izlude -1,{ cutin "kafra_01",2; callfunc "F_KafSet"; @@ -419,8 +427,7 @@ cmd_fild07,136,134,4 script Kafra Employee::kaf_cmd_fild07 4_F_KAFRA7,{ callfunc "F_KafEnd",0,1,"in the city of Izlude"; } -// Moscovia -//============================================================ +//== Moscovia ============================================== moscovia,223,191,3 script Kafra Employee::kaf_mosk 4_F_KAFRA4,{ cutin "kafra_04",2; callfunc "F_Kafra",0,3,0,80,700; @@ -428,8 +435,7 @@ moscovia,223,191,3 script Kafra Employee::kaf_mosk 4_F_KAFRA4,{ callfunc "F_KafEnd",0,3,"in the city of Moscovia"; } -// Amatsu -//============================================================ +//== Amatsu ================================================ amatsu,102,149,4 script Kafra Employee::kaf_amatsu 4_F_KAFRA2,{ cutin "kafra_02",2; mes "[Kafra Employee]"; @@ -443,8 +449,7 @@ amatsu,102,149,4 script Kafra Employee::kaf_amatsu 4_F_KAFRA2,{ callfunc "F_KafEnd",0,1,"in the city of Amatsu"; } -// Ayothaya -//============================================================ +//== Ayothaya ============================================== ayothaya,212,169,5 script Kafra Employee::kaf_ayothaya 4_F_KAFRA2,{ cutin "kafra_02",2; mes "[Kafra Employee]"; @@ -458,8 +463,7 @@ ayothaya,212,169,5 script Kafra Employee::kaf_ayothaya 4_F_KAFRA2,{ callfunc "F_KafEnd",0,1,"in the city of Ayotaya"; } -// Einbech -//============================================================ +//== Einbech =============================================== einbech,181,132,5 script Kafra Employee#ein3::kaf_einbech 4_F_KAFRA8,{ cutin "kafra_08",2; mes "[Kafra Employee]"; @@ -472,8 +476,7 @@ einbech,181,132,5 script Kafra Employee#ein3::kaf_einbech 4_F_KAFRA8,{ callfunc "F_KafEnd",0,1,"in the town of Einbech"; } -// Einbroch -//============================================================ +//== Einbroch ============================================== einbroch,242,205,5 script Kafra Employee#ein2::kaf_einbroch 4_F_KAFRA8,{ cutin "kafra_08",2; mes "[Kafra Employee]"; @@ -500,8 +503,7 @@ einbroch,59,203,6 script Kafra Employee#ein1::kaf_einbroch2 4_F_KAFRA9,{ callfunc "F_KafEnd",0,1,"in the city of Einbroch"; } -// Gonryun -//============================================================ +//== Kunlun ================================================ gonryun,159,122,4 script Kafra Employee::kaf_gonryun 4_F_KAFRA2,{ cutin "kafra_02",2; mes "[Kafra Employee]"; @@ -515,8 +517,7 @@ gonryun,159,122,4 script Kafra Employee::kaf_gonryun 4_F_KAFRA2,{ callfunc "F_KafEnd",0,1,"in the city of Kunlun"; } -// Lighthalzen -//============================================================ +//== Lighthalzen =========================================== lighthalzen,164,100,4 script Kafra Employee::kaf_lighthalzen 4_F_KAFRA8,{ cutin "kafra_08",2; mes "[Kafra Employee]"; @@ -554,8 +555,7 @@ lhz_in02,237,284,4 script Kafra Employee::kaf_lhz_in02 4_F_KAFRA9,{ callfunc "F_KafEnd",0,1,"in the city of Lighthalzen"; } -// Louyang -//============================================================ +//== Louyang =============================================== louyang,210,104,5 script Kafra Employee::kaf_louyang 4_F_KAFRA1,{ cutin "kafra_01",2; mes "[Kafra Employee]"; @@ -569,8 +569,7 @@ louyang,210,104,5 script Kafra Employee::kaf_louyang 4_F_KAFRA1,{ callfunc "F_KafEnd",0,1,"in the city of Louyang"; } -// Umbala -//============================================================ +//== Umbala ================================================ umbala,87,160,4 script Kafra Employee::kaf_umbala 4_F_KAFRA7,{ cutin "kafra_07",2; callfunc "F_KafSet"; @@ -585,17 +584,15 @@ umbala,87,160,4 script Kafra Employee::kaf_umbala 4_F_KAFRA7,{ callfunc "F_KafEnd",0,1,"in the city of Umbala"; } -// Niflheim -//============================================================ +//== Niflheim ============================================== niflheim,202,180,3 script Kafra Employee::kaf_niflheim 4_F_NFDEADKAFRA,{ callfunc "F_Kafra",1,2,1,150,0; savepoint "niflheim",192,182; callfunc "F_KafEnd",1,1,"in the city of Niflheim"; } -// Dungeons and Fields -//============================================================ -// - Byalan Island +//== Dungeons and Fields =================================== +//- Byalan Island - izlu2dun,106,58,0 script Kafra Employee::kaf_izlu2dun 4_F_KAFRA3,{ cutin "kafra_03",2; if (!RENEWAL && BaseJob == Job_Novice && job_merchant_q2 > 0) { @@ -614,7 +611,7 @@ izlu2dun,106,58,0 script Kafra Employee::kaf_izlu2dun 4_F_KAFRA3,{ callfunc "F_KafEnd",0,1,"at Byalan Island"; } -// - Culvert Sewers +//- Culvert Sewers - prt_fild05,290,224,3 script Kafra Employee::prt_fild05 4_F_KAFRA4,{ cutin "kafra_04",2; mes "[Kafra Employee]"; @@ -629,7 +626,7 @@ prt_fild05,290,224,3 script Kafra Employee::prt_fild05 4_F_KAFRA4,{ callfunc "F_KafEnd",0,1, "at the Prontera Culverts"; } -// - Coal Mine (Dead Pitt) +//- Coal Mine (Dead Pit) - mjolnir_02,83,362,4 script Kafra Employee::kaf_mjolnir_02 4_F_KAFRA2,{ cutin "kafra_02",2; mes "[Kafra Employee]"; @@ -643,7 +640,7 @@ mjolnir_02,83,362,4 script Kafra Employee::kaf_mjolnir_02 4_F_KAFRA2,{ callfunc "F_KafEnd",0,1,"at Mjolnir Dead Pit"; } -// - Morroc Ruins +//- Morroc Ruins - moc_ruins,59,157,5 script Kafra Employee::moc_ruins 4_F_KAFRA4,{ cutin "kafra_04",2; mes "[Kafra Employee]"; @@ -658,7 +655,7 @@ moc_ruins,59,157,5 script Kafra Employee::moc_ruins 4_F_KAFRA4,{ callfunc "F_KafEnd",0,1," at the Pyramids"; } -// - Orc Dungeon +//- Orc Dungeon - gef_fild10,73,340,5 script Kafra Employee::kaf_gef_fild10 4_F_KAFRA2,{ cutin "kafra_02",2; mes "[Kafra Employee]"; @@ -672,7 +669,7 @@ gef_fild10,73,340,5 script Kafra Employee::kaf_gef_fild10 4_F_KAFRA2,{ callfunc "F_KafEnd",0,1,"at the Orc Dungeon"; } -// - Treasure Island +//- Treasure Island - alb2trea,59,69,5 script Kafra Employee::kaf_alb2trea 4_F_KAFRA1,{ cutin "kafra_01",2; mes "[Kafra Employee]"; |