diff options
author | Haru <haru@dotalux.com> | 2015-11-16 16:38:21 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-15 20:53:53 +0100 |
commit | d4832df6929653561e6867149e4ecaa63a860cbe (patch) | |
tree | 2a0d54139c31f2858bf1e934c57c83bce4de626f /npc | |
parent | 16ffb49c0e7325ae17299c1edfa9261413c8b23a (diff) | |
download | hercules-d4832df6929653561e6867149e4ecaa63a860cbe.tar.gz hercules-d4832df6929653561e6867149e4ecaa63a860cbe.tar.bz2 hercules-d4832df6929653561e6867149e4ecaa63a860cbe.tar.xz hercules-d4832df6929653561e6867149e4ecaa63a860cbe.zip |
Standardized header in scripts (part 14)
- Now including GPL-compliant license/copyright info
- Restored some missing copyrights
- Other scripts folders
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc')
47 files changed, 1807 insertions, 1085 deletions
diff --git a/npc/MOTD.txt b/npc/MOTD.txt index 99bd8c773..d85c3c9ed 100644 --- a/npc/MOTD.txt +++ b/npc/MOTD.txt @@ -1,13 +1,32 @@ -//================== Hercules Script ================= -//= _ _ _ = -//= | | | | | | = -//= | |_| | ___ _ __ ___ _ _| | ___ ___ = -//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| = -//= | | | | __/ | | (__| |_| | | __/\__ \ = -//= \_| |_/\___|_| \___|\__,_|_|\___||___/ = -//= = -//= http://herc.ws/board/ = -//==================================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2013-2015 Hercules Dev Team +//= +//= 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/>. +//========================================================================= +//= Message of the Day script +//========================================================================= + // run when any character logs in, attached to them. - script HerculesMOTD -1,{ message strcharinfo(0),"Welcome to Hercules! Enjoy! Please report any bugs you find."; diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index 58652ab56..b5b187bc6 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -1,19 +1,38 @@ -//===== 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) Athena Dev Teams +//= +//= 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/>. +//========================================================================= //= The Airship System Script -//===== By: ================================================== -//= Hercules Dev Team -//===== Description: ========================================= +//================= Description =========================================== //= The Airship System used in the official servers. -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ - -//============================================================ -//= Domestic Airship Route -//= ... -> Juno -> Einbroch -> Lighthalzen -> Einbroch -//= -> Juno -> Hugel -> ... -//============================================================ +//========================================================================= +//=== Domestic Airship Route =============================== +// ... -> Juno -> Einbroch -> Lighthalzen -> Einbroch -> +// -> Juno -> Hugel -> ... airplane,243,73,0 script #AirshipWarp-1 WARPNPC,1,1,{ end; @@ -643,11 +662,8 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{ } } -//============================================================ -//= International Airship Route -//= ... -> Izlude -> Juno -> Rachel -> ... -//============================================================ - +//== International Airship Route =========================== +// ... -> Izlude -> Juno -> Rachel -> ... airplane_01,243,73,0 script #AirshipWarp-3 WARPNPC,1,1,{ end; @@ -1054,9 +1070,7 @@ airplane_01,71,31,2 script Swordsman Shimizu#air_01 1_M_MOC_LORD,{ close; } -//============================================================ -//= Typing Challenge -//============================================================ +//=== Typing Challenge ===================================== airplane_01,32,61,4 script Nils#ein 1_M_03,1,1,{ mes "[Nils]"; mes "Welcome to the"; @@ -1229,9 +1243,7 @@ airplane_01,32,61,4 script Nils#ein 1_M_03,1,1,{ } } -//============================================================ -//= Apple Gambling -//============================================================ +//== Apple Gambling ======================================== airplane_01,33,68,4 script Clarice 1_F_MERCHANT_02,{ mes "[Clarice]"; mes "Hi, I'm Clarice~"; diff --git a/npc/airports/einbroch.txt b/npc/airports/einbroch.txt index 774bd14b3..3c3f77a8e 100644 --- a/npc/airports/einbroch.txt +++ b/npc/airports/einbroch.txt @@ -1,12 +1,33 @@ -//===== 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) Muad_Dib +//= 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/>. +//========================================================================= //= Einbroch Airport Staff -//===== By: ================================================== -//= L0ne_W0lf, Muad_Dib -//===== Description: ========================================= -//= Einbroch Airport Staff -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//========================================================================= airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{ mes "[Airport Staff]"; diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt index 7d4b3f85a..f5030bbd5 100644 --- a/npc/airports/hugel.txt +++ b/npc/airports/hugel.txt @@ -1,12 +1,33 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= Hugel Airport NPCs -//===== By: ================================================== -//= Hercules Dev Team -//===== Description: ========================================= -//= Hugel Airport NPCs -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//================= Description =========================================== +//= The Airship System used in the official servers. +//========================================================================= hugel,178,142,0 script toairplane#hugel WARPNPC,1,1,{ end; diff --git a/npc/airports/izlude.txt b/npc/airports/izlude.txt index aaf08b9a7..1144777fb 100644 --- a/npc/airports/izlude.txt +++ b/npc/airports/izlude.txt @@ -1,12 +1,35 @@ -//===== 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) rAthena Dev Team +//= Copyright (C) eAthena Dev Team +//= +//= 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/>. +//========================================================================= //= Izlude Airport NPCs -//===== By: ================================================== -//= Hercules Dev Team -//===== Description: ========================================= -//= Izlude Airport NPCs -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//================= Description =========================================== +//= Official Izlude Airport NPCs +//========================================================================= - script ::Airship_Staff_izlude -1,{ mes "[Airship Staff]"; diff --git a/npc/airports/lighthalzen.txt b/npc/airports/lighthalzen.txt index de26fb0cc..fb307acb4 100644 --- a/npc/airports/lighthalzen.txt +++ b/npc/airports/lighthalzen.txt @@ -1,12 +1,35 @@ -//===== 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) Muad_Dib +//= 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/>. +//========================================================================= //= Lighthalzen Airport Staff -//===== By: ================================================== -//= L0ne_W0lf, Muad_Dib -//===== Description: ========================================= -//= Lighthalzen Airport Staff -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//================= Description =========================================== +//= Official Lighthalzen Airport Staff +//========================================================================= lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 4_F_01,{ mes "[Airport Staff]"; diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt index 42a2a7e95..be2490013 100644 --- a/npc/airports/rachel.txt +++ b/npc/airports/rachel.txt @@ -1,12 +1,35 @@ -//===== 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) rAthena Dev Team +//= Copyright (C) eAthena Dev Team +//= +//= 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/>. +//========================================================================= //= Rachel Airport NPCs -//===== By: ================================================== -//= Hercules Dev Team -//===== Description: ========================================= -//= Rachel Airport NPCs -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//================= Description =========================================== +//= Official Rachel Airport NPCs +//========================================================================= ra_fild12,295,208,0 script toairplane#rachel WARPNPC,1,1,{ end; diff --git a/npc/airports/yuno.txt b/npc/airports/yuno.txt index 2146dc671..b69f8e3af 100644 --- a/npc/airports/yuno.txt +++ b/npc/airports/yuno.txt @@ -1,12 +1,35 @@ -//===== Hercules Script ====================================== -//= Yuno Airport Staff -//===== By: ================================================== -//= L0ne_W0lf, Muad_Dib -//===== Description: ========================================= -//= Yuno Airport Staff -//===== Additional Comments: ================================= -//= Official NPCs. -//============================================================ +//================= 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) Muad_Dib +//= 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/>. +//========================================================================= +//= Juno Airport Staff +//================= Description =========================================== +//= Official Juno Airport Staff +//========================================================================= y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 4_F_01,{ mes "[Airport Staff]"; diff --git a/npc/dev/ci_test.txt b/npc/dev/ci_test.txt index 058d25ad5..92db23acc 100644 --- a/npc/dev/ci_test.txt +++ b/npc/dev/ci_test.txt @@ -1,16 +1,41 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2015 Hercules Dev Team +//= Copyright (C) 2014 Haru +//= +//= 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/>. +//========================================================================= //= Script engine self-tests, CI integration -//===== By: ================================================== -//= Haru -//===== Current Version: ===================================== +//================= Description =========================================== +//= This script depends on npc/dev/test.txt, and extends it so that it can +//= be called in a CI environment and returns an appropriate value upon +//= termination. +//================= Current Version ======================================= //= 1.0 -//===== Description: ========================================= -//= This script depends on npc/dev/test.txt, and extends it so -// that it can be called in a CI environment and returns an -// appropriate value upon termination. -//= This script is part of the script_mapquit plugin -// distribution, and requires said plugin to be loaded. +//================= Additional Comments =================================== +//= This script requires the script_mapquit plugin to be loaded. //= Usage: ./map-server --load-plugin script_mapquit --load-script npc/dev/test.txt --load-script npc/dev/ci_test.txt +//========================================================================= - script HerculesSelfTestCI -1,{ end; diff --git a/npc/dev/test.txt b/npc/dev/test.txt index 73c9ed975..0f74067ac 100644 --- a/npc/dev/test.txt +++ b/npc/dev/test.txt @@ -1,16 +1,37 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2013-2015 Hercules Dev Team +//= Copyright (C) 2013-2015 Haru +//= +//= 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/>. +//========================================================================= //= Script engine self-tests -//===== By: ================================================== -//= Haru -//===== Current Version: ===================================== +//================= Description =========================================== +//= Script to test operators and possibly other elements of the script +//= engine, useful for regression testing. +//================= Current Version ======================================= //= 2.0 -//===== Version History: ===================================== -//= 1.0 Initial version. -//= 2.0 Moved tests to a function to allow them to be called -// externally. -//===== Description: ========================================= -//= Script to test operators and possibly other elements of -//= the script engine, useful for regression testing. +//========================================================================= function script F_TestReturnValue { return getarg(0); 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]"; diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt index f87b191b3..ef53ef858 100644 --- a/npc/other/CashShop_Functions.txt +++ b/npc/other/CashShop_Functions.txt @@ -1,32 +1,44 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= Cash Shop Functions -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.7 -//===== Description: ========================================= +//================= Description =========================================== //= Used explicitly in the Item Database for Cash shop items //= - Kafra Card //= - Giant Fly Wing //= - Neuralizer //= - Dungeon Teleport Scroll -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= F_CashPartyCall Optimized by Trancid. -//= 1.1 Updated Dungeon Teleport Scroll. [L0ne_W0lf] -//= Added Town Teleport Scroll Function -//= Added Seige Teleport Scroll Function -//= 1.2 Updated the dungeon teleport scroll menu. [L0ne_w0lf] -//= 1.3 Implemented Aozi Giant Flywing Fix. (bugreport:4242) [L0ne_w0lf] -//= 1.4 Simplified Giant Flywing function using warpparty. [L0ne_w0lf] -//= 1.5 Neuralizer is no longer consumed upon failure. [Euphy] -//= 1.6 Updated Teleport functions and added Curious_Snowball. [Euphy] -//= 1.7 Added Dungeon Teleport Scroll II maps. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.7 +//========================================================================= -// Kafra Card -//============================================================ -// - Open player's storage. +//== Kafra Card ============================================ +// - Opens player's storage. // - No arguments. function script F_CashStore { cutin "kafra_01",2; @@ -39,11 +51,9 @@ function script F_CashStore { return; } - -// Giant Fly Wing -//============================================================ -// - Warp party leader to random spot on the map. -// - Summon Party members on party leader map to that location. +//== Giant Fly Wing ======================================== +// - Warps party leader to random spot on the map. +// - Summons Party members on party leader map to that location. // - No arguments. function script F_CashPartyCall { warp "Random",0,0; @@ -54,9 +64,8 @@ function script F_CashPartyCall { return; } -// Neuralizer -//============================================================ -// - Reset players skills. Weight must be 0, options must be off. +//== Neuralizer ============================================ +// - Resets players skills. Weight must be 0, options must be off. // - No arguments. function script F_CashReset { if (Class != Job_Novice && Weight == 0 && !checkmount() && !checkfalcon() && !checkcart() && !hascashmount()) { @@ -67,10 +76,10 @@ function script F_CashReset { return; } -// Dungeon Teleport Scroll -//============================================================ -// - Warp player to the selected dungeon. -// - Arg(0) = type of scroll. +//== Dungeon Teleport Scroll =============================== +// - Warps player to the selected dungeon. +// - Arguments: +// 0 = type of scroll. function script F_CashDungeon { switch(getarg(0)) { case 1: @@ -124,10 +133,10 @@ function script F_CashDungeon { return; } -// Coloured Butterly Wings -//============================================================ -// - Warp player to different cities acording to the scroll. -// - Arg(0) = type of scroll. +//== Colored Butterly Wings ================================ +// - Warps player to different cities according to the scroll. +// - Arguments: +// 0 = type of scroll. function script F_CashCity { switch(getarg(0)) { case 1: // Yellow - Rune-Midgart @@ -174,10 +183,10 @@ function script F_CashCity { return; } -// Teleport Scrolls -//============================================================ -// - Warp player to save point or city acording to the scroll. -// - Arg(0) = type of scroll. +//== Teleport Scrolls ====================================== +// - Warps player to save point or city according to the scroll. +// - Arguments: +// 0 = type of scroll. function script F_CashTele { switch(getarg(0)) { case 1: @@ -229,9 +238,8 @@ function script F_CashTele { return; } -// Siege Teleport Scroll -//============================================================ -// - Warp player to selected guild castle. +//== Siege Teleport Scroll ================================= +// - Warps player to selected guild castle. // - No arguments. function script F_CashSiegeTele { switch(select("Neuschwanstein (aldeg_cas01):Hohenschwangau (aldeg_cas02):Nuernberg (aldeg_cas03):Wuerzburg (aldeg_cas04):Rothenburg (aldeg_cas05):Repherion (gefg_cas01):Eeyorbriggar (gefg_cas02):Yesnelph (gefg_cas03):Bergel (gefg_cas04):Mersetzdeitz (gefg_cas05):Bright Arbor (payg_cas01):Sacred Altar (payg_cas02):Holy Shadow (payg_cas03):Scarlet Palace (payg_cas04):Bamboo Grove Hill (payg_cas05):Kriemhild (prtg_cas01):Swanhild (prtg_cas02):Fadhgridh (prtg_cas03):Skoegul (prtg_cas04):Gondul (prtg_cas05)")) { @@ -259,8 +267,7 @@ function script F_CashSiegeTele { return; } -// Curious Snowball -//============================================================ +//== Curious Snowball ====================================== // - You can get an effect of Restore, Endure, or Wing of Butterfly. // - No arguments. function script F_Snowball { diff --git a/npc/other/Global_Functions.txt b/npc/other/Global_Functions.txt index 6febe2dff..aef48a489 100644 --- a/npc/other/Global_Functions.txt +++ b/npc/other/Global_Functions.txt @@ -1,57 +1,53 @@ -//===== 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) AnnieRuru +//= Copyright (C) Emistry +//= Copyright (C) Euphy +//= Copyright (C) Paradox924X +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Evera +//= Copyright (C) kobra_k88 +//= Copyright (C) Lupus +//= +//= 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/>. +//========================================================================= //= Global Functions -//===== By: ================================================== -//= Lupus, kobra_k88 -//===== Current Version: ===================================== -//= 2.18 -//===== Description: ========================================= +//================= Description =========================================== //= General script functions. -//===== Additional Comments: ================================= -//= Added F_ClearJobVar - on getting a new job it clears all Job Quest variables -//= Removed individual job check functions as they were redundant [kobra_k88] -//= 1.3 Added Job Change Function for Baby/Normal Classes -//= 1.3b a fix, due to const.txt change [Lupus] -//= 1.4 Added Is_Taekwon_Class: Taekwondo, Star Knight(Gladiator),Soul Linker [Lupus] -//= 1.5 Added clear of Bard Quest variables. 1.5a updated [Lupus] -//= 1.6 Added F_RandMes, F_SexMes, F_Hi, F_Bye functions [Lupus] -//= Moved here useful function 'getJobName' -//= 1.7 Added "F_ItemName" function, added a great sample for "F_ItemName" -//= 1.8 Added Job Vars clear for Extended classes: TK,SL,SG [Lupus] -//= 1.9 Added "F_ClearGarbage" func that clears outdated, wasted variables [Lupus] -//= 1.91 Added "F_SaveQuestSkills","F_Load?Skills" functions [Lupus] -//= 2.0 Fixed F_Save/LoadQuestSkills functions. Had to split in into 2 vars [Lupus] -//= 2.01 Added $talk to F_ClearGarbage [Evera] -//= 2.02 Added $dtsglobalelig and $dts|(1<<6) to F_ClearGarbage [Evera] -//= 2.03 Added Gunslinger vars to F_ClearJobVar [Lupus] -//= 2.04 Added dtseligible 2 (becomes MISC_QUEST|128) to F_ClearGarbage [Evera] -//= 2.05 Book of Devil -> MISC_QUEST|256, clear other Niflheim garbage vars [Lupus] -//= +more garbage clean -//= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus] -//= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus] -//= 2.09 Cleared F_ClearGarbage [Lupus] -//= 2.10 Added F_CheckMaxCount to check count of carrid items. [L0ne_w0lf] -//= 2.10a Removed function F_CheckMaxCount. Not needed. [L0ne_W0lf] -//= 2.11 Updated function Job_Change to jobchange based on Upper value. [Paradox924X] -//= 2.12 Added more unused vars to F_ClearGarbage [Lupus] -//= 2.13 Added more unused vars to F_ClearGarbage [Lupus] -//= 2.14 Added old novice variables to F_ClearGarbage. [L0ne_W0lf] -//= 2.15 Added no unused DTS variables to F_ClearGarbage. [L0ne_W0lf] -//= 2.16 Added F_GetWeaponType, and F_GetArmorType. [L0ne_W0lf] -//= 2.17 Renamed 'F_RandMes' to 'F_Rand'. [Euphy] -//= 2.18 Removed useless 'getJobName' function. [Euphy] -//= 2.19 Improved 'F_InsertComma' function. [Emistry] -//= 2.20 Add 'F_ShuffleNumbers' function. [AnnieRuru] -//============================================================ - -////////////////////////////////////////////////////////////////////////////////// -// Returns a number with commas based on precision of digits and custom separator. -// -- callfunc "F_InsertComma",<number>{,<precision>,<separator>} +//================= Current Version ======================================= +//= 2.20 +//========================================================================= + +//== Function F_InsertComma ================================ +// Returns a number with commas based on precision of digits and custom +// separator. +// callfunc "F_InsertComma",<number>{,<precision>,<separator>} // Examples: // callfunc("F_InsertComma",7777777) // returns "7,777,777" -// callfunc("F_InsertComma",1000000000,3,",") // returns "1,000,000,000" -// callfunc("F_InsertComma",1000000000,3,"_") // returns "1_000_000_000" +// callfunc("F_InsertComma",1000000000,3,","}) // returns "1,000,000,000" +// callfunc("F_InsertComma",1000000000,3,"_"}) // returns "1_000_000_000" // callfunc("F_InsertComma",1000000000,4) // returns "10,0000,0000" -////////////////////////////////////////////////////////////////////////////////// function script F_InsertComma { .@value = getarg(0); .@precision = getarg(1,3); @@ -68,10 +64,8 @@ function script F_InsertComma { return .@str$; } -////////////////////////////////////////////////////////////////////////////////// -// Function that clears job quest variables -////////////////////////////////////////////////////////////////////////////////// - +//== Function F_ClearJobVar ================================ +// Clears job quest variables function script F_ClearJobVar { // Misc --------------------------------- JBLVL = 0; @@ -146,75 +140,50 @@ function script F_ClearGarbage { return; } -////////////////////////////////////////////////////////////////////////////////// +//== Function Job_Change =================================== // Used in REBIRTH scripts -// Class = Internal Class ID -// BaseJob = Base Job (0..23) -// Upper : 0 - Default, 1 - Advanced, 2 - Baby -////////////////////////////////////////////////////////////////////////////////// - function script Job_Change { jobchange getarg(0),Upper; //Jobchange based on Upper logmes "CLASS CHANGE: " +strcharinfo(0)+ " become a "+jobname(Class); return; } -////////////////////////////////////////////////////////////////////////////////// -// Functions used to spiff up dialoges [Lupus] -////////////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Rand" -////////////////////////////////////////////////////////////////////////////////// -//returns random argument -// Example: check F_Bye or F_Hi functions -// READ AND THINK: You can use it to pick a random number from a list: -// @itemIDfromList = callfunc("F_Rand",1129,1222,1163,1357,1360,1522,1811,1410); - +//== Function F_Rand ======================================= +// Returns a random argument +// Example: (see also F_Bye or F_Hi functions) +// .@itemIDfromList = callfunc("F_Rand",1129,1222,1163,1357,1360,1522,1811,1410); function script F_Rand { return getarg(rand(getargcount())); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Sex" -////////////////////////////////////////////////////////////////////////////////// -//returns 1st argument if female, 2nd argument otherwise +//== Function F_Sex ======================================== +// Returns 1st argument if female, 2nd argument otherwise // Example: mes callfunc("F_Sex","What a beautiful lady!","What a handsome man!"); - function script F_SexMes { return getarg(Sex); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Hi" -////////////////////////////////////////////////////////////////////////////////// -//returns random HELLO message - +//== Function F_Hi ========================================= +// Returns random HELLO message function script F_Hi { return callfunc("F_Rand","Hi!","Hello!","Good day!","How are you?","Hello there."); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Bye" -////////////////////////////////////////////////////////////////////////////////// -//returns random BYE message - +//== Function F_Bye ======================================== +// Returns random BYE message function script F_Bye { return callfunc("F_Rand","Bye. See you again.","Later.","Goodbye.","Good luck!","Have a nice day!","Byebye!!!"); } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_ItemName" -////////////////////////////////////////////////////////////////////////////////// +//== Function F_ItemName =================================== // Returns expanded item name string -//Argumentss -// 0 - Item ID -// 1 - Element N (0=none,1=Ice,2=Earth,3=Fire,4=Wind) -// 2 - VVS meter 0...3 -// 3 - Refine +// Arguments: +// - 0 - Item ID +// - 1 - Element N (0=none,1=Ice,2=Earth,3=Fire,4=Wind) +// - 2 - VVS meter 0...3 +// - 3 - Refine // Example: mes "Show me your "+callfunc("F_ItemName",1201,1,2,5)+"..."; // is equal to: mes "Show me your ^000090 +5 VVS Fire Knife ^000000..." - function script F_ItemName { if(getarg(3)) .@t$ += "+"+getarg(3)+" "; @@ -235,9 +204,8 @@ function script F_ItemName { return "^000090"+.@t$+getitemname(getarg(0))+"^000000"; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_SaveQuestSkills": Store learnt quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_SaveQuestSkills ============================ +// Stores learned quest skills function script F_SaveQuestSkills { ADV_QSK = 0; ADV_QSK2 = 0; //1st classes quest skills @@ -251,9 +219,8 @@ function script F_SaveQuestSkills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Load1Skills": Restore learnt 1st class quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_Load1Skills ================================ +// Restores learned 1st class quest skills function script F_Load1Skills { //1st classes quest skills for(.@i = 0; .@i < 14; ++.@i) { @@ -263,9 +230,8 @@ function script F_Load1Skills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_Load2Skills": Restore learnt 2nd class quest skills -////////////////////////////////////////////////////////////////////////////////// +//== Function F_Load2Skills ================================ +// Restores learned 2nd class quest skills function script F_Load2Skills { //2nd classes quest skills for (.@i = 0; .@i < 19; ++.@i) { @@ -275,9 +241,8 @@ function script F_Load2Skills { return; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_GetWeaponType": Determine weapon type by view -////////////////////////////////////////////////////////////////////////////////// +//== Function F_GetWeaponType ============================== +// Determines weapon type by view function script F_GetWeaponType { switch(getiteminfo(getarg(0),11)) { case 1: return "Dagger"; break; @@ -307,9 +272,8 @@ function script F_GetWeaponType { end; } -////////////////////////////////////////////////////////////////////////////////// -// *** Function "F_GetArmorType": Determine equipment type by equip location -////////////////////////////////////////////////////////////////////////////////// +//== Function F_GetArmorType =============================== +// Determines equipment type by equip location function script F_GetArmorType { switch(getiteminfo(getarg(0),5)) { case 001: return "Lower Headgear"; break; @@ -327,8 +291,8 @@ function script F_GetArmorType { end; } +//== Function Time2Str ===================================== // Time calculation Function -// ********************************************************************* function script Time2Str { .@time_left = getarg(0) - gettimetick(2); diff --git a/npc/other/acolyte_warp.txt b/npc/other/acolyte_warp.txt index c1b2a4b8d..da37d3b3d 100644 --- a/npc/other/acolyte_warp.txt +++ b/npc/other/acolyte_warp.txt @@ -1,16 +1,36 @@ -//===== Hercules Script ====================================== +//================= Hercules Script ======================================= +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2013-2015 Hercules Dev Team +//= Copyright (C) Euphy +//= +//= 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/>. +//========================================================================= //= Acolyte Warpers -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Warpers to various towns. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//= Unsure if this is on kRO, so disabled for now. -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prontera,98,121,4 script Acolyte#Prtclear 4_F_01,{ mes "[Keiki]"; diff --git a/npc/other/arena/arena_aco.txt b/npc/other/arena/arena_aco.txt index d6c7943da..f9ed8c714 100644 --- a/npc/other/arena/arena_aco.txt +++ b/npc/other/arena/arena_aco.txt @@ -1,19 +1,38 @@ -//===== 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) Kisuka +//= 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/>. +//========================================================================= //= Izlude Arena Script -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Acolyte Battle Arena -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Corrected variable typos. (bugreport:4374) [L0ne_w0lf] -//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] -//= 1.3 Label standardization. [Euphy] -//= 1.4 Script updates, and removed two level restrictions. [Euphy] -//= 1.5 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= arena_room,114,102,0 script onlyaco#arena WARPNPC,1,1,{ OnTouch: diff --git a/npc/other/arena/arena_lvl50.txt b/npc/other/arena/arena_lvl50.txt index 2c1301368..d3dc54287 100644 --- a/npc/other/arena/arena_lvl50.txt +++ b/npc/other/arena/arena_lvl50.txt @@ -1,17 +1,38 @@ -//===== 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) Samuray22 +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Arena Level 50 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 50 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,64,138,5 script Lv50 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl60.txt b/npc/other/arena/arena_lvl60.txt index 71f80dcd4..167f42289 100644 --- a/npc/other/arena/arena_lvl60.txt +++ b/npc/other/arena/arena_lvl60.txt @@ -1,18 +1,39 @@ -//===== 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) Samuray22 +//= Copyright (C) L0ne_W0lf +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Arena Level 60 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 60 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Fixed coordinate typo. (bugreport:1663) [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [Samuray22] -//= 1.3 Label standardization. [Euphy] -//= 1.4 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= arena_room,38,88,5 script Lv60 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl70.txt b/npc/other/arena/arena_lvl70.txt index 889089107..bf2ac5f92 100644 --- a/npc/other/arena/arena_lvl70.txt +++ b/npc/other/arena/arena_lvl70.txt @@ -1,17 +1,38 @@ -//===== 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) Samuray22 +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Arena Level 70 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 70 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,52,42,7 script Lv70 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_lvl80.txt b/npc/other/arena/arena_lvl80.txt index 1529e555d..184d2d61d 100644 --- a/npc/other/arena/arena_lvl80.txt +++ b/npc/other/arena/arena_lvl80.txt @@ -1,17 +1,38 @@ -//===== 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) Samuray22 +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Arena Level 80 -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Level 80 -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Label standardization. [Euphy] -//= 1.3 Script updates, and removed a level restriction. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= arena_room,147,42,1 script Lv80 Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/arena/arena_party.txt b/npc/other/arena/arena_party.txt index ac9c5ff53..378e6de5b 100644 --- a/npc/other/arena/arena_party.txt +++ b/npc/other/arena/arena_party.txt @@ -1,20 +1,40 @@ -//===== 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) Inkfish +//= Copyright (C) Samuray22 +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Party Arena -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Party Battle Arena -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.0a Fixed a typo. -//= 1.1 Replaced effect numerics with constants. [Samuray22] -//= 1.2 Fixed "OnMyMobDead" doesn't work sometime. [Inkfish] -//= 1.3 Corrected donpcevent typo. (bugreport:4374) [L0ne_w0lf] -//= 1.4 Label standardization and bug fixes. [Euphy] -//= 1.5 Script updates, and removed a level restriction. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= arena_room,162,88,3 script Ponox 4_F_TELEPORTER,{ end; @@ -132,7 +152,7 @@ OnEnter: end; OnStop: -// broadcastinmap "toout turns off the timer." +// broadcastinmap "toout turns off the timer." stopnpctimer; end; } diff --git a/npc/other/arena/arena_point.txt b/npc/other/arena/arena_point.txt index e61db7f78..befe71d23 100644 --- a/npc/other/arena/arena_point.txt +++ b/npc/other/arena/arena_point.txt @@ -1,15 +1,36 @@ -//===== 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) 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/>. +//========================================================================= //= Point Exchanger -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Point exchanger: Turbo track points -> Arena Points -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prt_are_in,103,11,3 script Arena Point Manager 4_M_JOB_HUNTER,{ mes "[Arena Point Manager]"; diff --git a/npc/other/arena/arena_room.txt b/npc/other/arena/arena_room.txt index 2b6a33a27..49cd8000e 100644 --- a/npc/other/arena/arena_room.txt +++ b/npc/other/arena/arena_room.txt @@ -1,19 +1,38 @@ -//===== 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) SinSloth +//= +//= 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/>. +//========================================================================= //= Izlude Arena Room -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Izlude Battle Arena Main Room -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Fixed a small reward typo (was giving potato.) [L0ne_W0lf] -//= 1.2 Label standardization, disabled GM NPCs. [Euphy] -//= 1.2a Added Renewal level checksk. [Euphy] -//= 1.3 Script updates. [Euphy] -//= 1.4 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= arena_room,94,93,5 script Vendigos 4W_M_01,{ mes "[Vendigos]"; diff --git a/npc/other/auction.txt b/npc/other/auction.txt index df76daa32..42df057f6 100644 --- a/npc/other/auction.txt +++ b/npc/other/auction.txt @@ -1,21 +1,39 @@ -//===== 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) Kisuka +//= 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/>. +//========================================================================= //= Auction system -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Auction house releated NPCs, and warps -//===== Additional Comments: ================================= -//= 1.0 First version, place holders only. [L0ne_W0lf] -//= 1.1 Moved Morroc Auction NPCs to Morroc Ruins. [L0ne_W0lf] -//= 1.2 Warp fixed. Dialog in Ruins/Lighthalzen changed. [Kisuka] -//= 1.3 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= -// Auction House warpers -//============================================================ +//== Auction House warpers ================================= moc_ruins,78,173,6 script Auction Hall Guide#moc 4W_M_02,{ callfunc "F_AuctionWarper",1; } @@ -69,8 +87,7 @@ function script F_AuctionWarper { close; } -// Sign posts -//============================================================ +//== Sign posts ============================================ - script Information Post#dum::AuctionSign -1,{ mes "[Information]"; mes "Auction Warp Guide"; @@ -82,15 +99,13 @@ prontera,216,120,4 duplicate(AuctionSign) Information Post#prt 2_BULLETIN_BOARD yuno,131,116,0 duplicate(AuctionSign) Information Post#yuno 2_BULLETIN_BOARD lighthalzen,207,169,6 duplicate(AuctionSign) Information Post#lhz 2_BULLETIN_BOARD -// Warps -//============================================================ +//== Warps ================================================= auction_01,180,49,0 warp auction_entrance_moc 1,1,moc_ruins,78,171 auction_01,22,37,0 warp auction_entrance_prt 1,1,prontera,214,120 auction_02,151,17,0 warp auction_enterance_juno 1,1,yuno,132,119 auction_02,43,17,0 warp auction_enterance_lhz 1,1,lighthalzen,209,169 -// Auction House NPCs -//============================================================ +//== Auction House NPCs ==================================== - script Auction Broker#dum::AuctionBroker -1,{ mes "[Auction Broker]"; mes "Welcome to the Auction Hall."; diff --git a/npc/other/books.txt b/npc/other/books.txt index aef8a4079..3a510d94c 100644 --- a/npc/other/books.txt +++ b/npc/other/books.txt @@ -1,16 +1,36 @@ -//===== 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) 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/>. +//========================================================================= //= Prontera Library -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Various Books found in Prontera Library -//===== Additional Comments: ================================= -//= 1.0 First Version, rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= prt_in,168,56,4 script Monster Encyclopedia#prt HIDDEN_NPC,{ mes "^FF0000[Monster Encyclopedia]^000000"; diff --git a/npc/other/bulletin_boards.txt b/npc/other/bulletin_boards.txt index 66e14c577..e1e0ce519 100644 --- a/npc/other/bulletin_boards.txt +++ b/npc/other/bulletin_boards.txt @@ -1,27 +1,42 @@ -//===== 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) Masao +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Silent +//= Copyright (C) Kayla +//= Copyright (C) Nexon +//= Copyright (C) MasterOfMuppets +//= +//= 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/>. +//========================================================================= //= Bulletin Boards -//===== By: ================================================== -//= MasterOfMuppets -//===== Current Version: ===================================== -//= 1.9 -//===== Description: ========================================= +//================= Description =========================================== //= Bulletin Boards for beginners. -//===== Additional Comments: ================================= -//= 1.0 Added Alberta, Prontera, Izlude, Payon, Byalan Island, -//= Archer Village, Payon Cave and Coal Mine -//= 1.1 Geffen, Orc Dungeon -//= 1.2 Added 5 more Boards [MasterOfMuppets] -//= 1.3 Fixed spelling mistakes. [Nexon] -//= 1.3a Fixed a missing close; [Nexon] -//= 1.4 Added more BBS MasterOfMuppets -//= 1.5 Added the last of the bulletin boards, I think... [MasterOfMuppets] -//= 1.5a Fixed a small screw up with the color codes in the Glastheim BB [MasterOfMuppets] -//= 1.5b Fixed another small screw up with the color codes in the Glastheim BB [Kayla] -//= 1.6 Removed Duplicates [Silent] -//= 1.7 Updated Morroc NPCs to reflect episode 12.1 changes. [L0ne_W0lf] -//= 1.8 Updated Payon Cave Bulletion Board Locations. [Masao] -//= 1.9 Moved Izlude NPC to Pre-RE path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.9 +//========================================================================= alberta,111,59,5 script Bulletin Board#1 2_BULLETIN_BOARD,{ mes "[Alberta: The Port City]"; diff --git a/npc/other/card_trader.txt b/npc/other/card_trader.txt index 871dd805a..514a032b0 100644 --- a/npc/other/card_trader.txt +++ b/npc/other/card_trader.txt @@ -1,18 +1,37 @@ -//===== 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) Elias (og2) +//= +//= 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/>. +//========================================================================= //= Card Trader -//===== By: ================================================== -//= Elias (og2) -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Card and Points Trader -//===== Additional Comments: ================================= -//= 1.0 Translated from the Official [Elias] -//= 1.1 Fixed variables and optimized script [Elias] -//= 1.2 Fixed char being stuck with breaks [Elias] (bugreport:5374) -//= 1.3 Optimized: reduced from 123kb to 7kb! [Euphy] -//= 1.4 Variables don't need to load OnInit. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= prontera,115,90,0 script Putty 4_F_01,{ if (!.card[1]) { diff --git a/npc/other/comodo_gambling.txt b/npc/other/comodo_gambling.txt index e5631049b..b5df0c04d 100644 --- a/npc/other/comodo_gambling.txt +++ b/npc/other/comodo_gambling.txt @@ -1,28 +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) Euphy +//= Copyright (C) Masao +//= Copyright (C) Kisuka +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Paradox924X +//= Copyright (C) ultramage +//= Copyright (C) Lupus +//= Copyright (C) MasterOfMuppets +//= Copyright (C) Zefris +//= Copyright (C) Cypress +//= Copyright (C) Reddozen +//= +//= 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/>. +//========================================================================= //= Comodo Gambling -//===== By: ================================================== -//= Reddozen, Cypress, Zefris -//===== Current Version: ===================================== -//= 1.4a -//===== Description: ========================================= +//================= Description =========================================== //= Comodo Gambling: Win random Items with 3 Carat Diamonds. -//===== Additional Comments: ================================= -//= 0.1- so far just a basic setup, and working on the function -//= 0.2- fixed some spelling errors and Zeny -= (@amount * 55000)[Cypress] -//= 0.3- Revised the gambling NPC using the official Aegis script [MasterOfMuppets] -//= for information. Thanks to Zefris for doing it for me. -//= 0.4- Fixed an exploit. thanks to reddozen [MasterOfMuppets] -//= 0.5- Moved item check to the proper place [Lupus] -//= 1.0- Synced the script with aegis and reformatted it for readability [ultramage] -//= Corrected the npc giving you Cotton Shirt instead of Adventurer's Suit[1] -//= Added comments to items so people know what the NPC is about -//= Added missing emotions and cutins -//= 1.1- Updated prizes according to 11.1 NPC [Paradox924X] -//= 1.2 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.3 Added missing item. [Kisuka] -//= 1.4 Updated Script to match AEGIS file. [Masao] -//= 1.4a Minor script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4a +//========================================================================= comodo,219,158,6 script Kachua 4_F_02,{ diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index 9ffda4910..690182c0a 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -1,26 +1,42 @@ -//===== 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) Lupus +//= Copyright (C) L0ne_W0lf +//= Copyright (C) LightFighter +//= Copyright (C) Scriptor +//= Copyright (C) Perkka +//= +//= 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/>. +//========================================================================= //= Divorcing Deviruchi -//===== By: ================================================== -//= Perkka, Scriptor, LightFighter -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Official Divorce script. -//= Added isloggedin() check, even though Aegis doesn't do it; -//= should be able to divorce even when the spouse is not online. -//===== Additional Comments: ================================= -//= Both players should be online to get divorced -//= Fixed menu [Lupus] -//= 1.1 Added check if the patner's online, added effects [Lupus] -//= 1.2 Updated to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.2a Commented out check of 'wedding_sign' to let -//= old married players divorcing, optimized, fixed a bug [Lupus] -//= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf] -//= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf] -//= 1.5 Replaced effect numerics with constants. [L0ne_W0lf] -//============================================================ +//= Added isloggedin() check, even though Aegis doesn't do it; should be +//= able to divorce even when the spouse is not online. +//================= Current Version ======================================= +//= 1.5 +//========================================================================= nif_in,190,112,5 script Deviruchi#divorce 4_DEVIRUCHI,{ mes "[Deviruchi]"; diff --git a/npc/other/fortune.txt b/npc/other/fortune.txt index dad407482..fe2708adf 100644 --- a/npc/other/fortune.txt +++ b/npc/other/fortune.txt @@ -1,17 +1,42 @@ -//===== 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) 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/>. +//========================================================================= //= Fortune Teller -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.0 -//===== File Encoding ======================================== +//================= File Encoding ========================================= //= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8. -//===== Description: ========================================= -//= [Official Conversion] +//= -If the encoding is correct, the next three lines have the same length- +//= ============ ¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä¡Ä ============ +//= ============ ============================================= ============ +//= ============ ¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á ============ +//================= Description =========================================== //= Fortune teller NPC. Displays random Card image. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= payon_in03,117,128,5 script Fortune Teller 4_M_BIBI,{ mes "[Lhimetorra]"; diff --git a/npc/other/gm_npcs.txt b/npc/other/gm_npcs.txt index cd34f0578..9bc79ca77 100644 --- a/npc/other/gm_npcs.txt +++ b/npc/other/gm_npcs.txt @@ -1,14 +1,36 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= GM Management NPCs -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= +//================= Description =========================================== //= Controls the official GM management NPCs in certain scripts. -//===== Additional Comments: ================================= -//= 1.0 First version. -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= // callfunc("F_GM_NPC"{,<password>,<0:int | 1:str>{,<min>,<max>}}) function script F_GM_NPC { diff --git a/npc/other/guildpvp.txt b/npc/other/guildpvp.txt index b33fffeee..c5d4dcf1d 100644 --- a/npc/other/guildpvp.txt +++ b/npc/other/guildpvp.txt @@ -1,16 +1,37 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= Guild Battle NPC -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Guild Battle with PVP mechanics. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Optimized. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= pvp_y_room,77,85,4 script Guild Battle Guide 8W_SOLDIER,{ diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt index 8f5bd738d..007552964 100644 --- a/npc/other/gympass.txt +++ b/npc/other/gympass.txt @@ -1,19 +1,39 @@ -//===== 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) Samuray22 +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Kisuka +//= +//= 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/>. +//========================================================================= //= Gym Pass Cash Item NPC -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Exchange Gym Passes to learn "Enlarge Weight Limit" //= iRO NPC situated in Payon beside Kafra Shop. -//===== Additional Comments: ================================= -//= 1.0 First version [L0ne_W0lf] -//= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [Samuray22] -//= 1.3 Updated script, and fixed potential errors. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= payon,173,141,4 script Ripped Cabus#GymPass 4_M_HUMAN_02,{ mes "[Ripped]"; diff --git a/npc/other/hugel_bingo.txt b/npc/other/hugel_bingo.txt index a31a8f47a..4713698cd 100644 --- a/npc/other/hugel_bingo.txt +++ b/npc/other/hugel_bingo.txt @@ -1,24 +1,40 @@ -//===== 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) Kisuka +//= Copyright (C) Samuray22 +//= Copyright (C) Yommy +//= Copyright (C) SinSloth +//= +//= 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/>. +//========================================================================= //= Hugel Bingo script -//===== By: ================================================== -//= SinSloth -//===== Current Version: ===================================== -//= 1.9 -//===== Description: ========================================= +//================= Description =========================================== //= Hugel Bingo game -//===== Additional Comments: ================================= -//= 1.0 First version. Please report bugs you find out. [SinSloth] -//= 1.1 Fixed a minor bug. [SinSloth] -//= 1.2 Added some Bingo Staff NPCs. [SinSloth] -//= 1.3 Fixed a bug where an AFK-player wasn't warped out of the game, -//= preventing players from launching another. [SinSloth] -//= 1.4 Fixed a minor bug added in the last revision. [SinSloth] -//= 1.5 Applied a fix to players locations which were not rotating properly. [SinSloth] -//= 1.6 Removed nescesity to win to proceed with quest [Yommy] -//= 1.7 Replaced effect numerics with constants. [Samuray22] -//= 1.8 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] -//= 1.9 Some optimization/standardization. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.9 +//========================================================================= que_bingo,48,84,5 script Bingo Waiting Room 4_F_TELEPORTER,{ end; diff --git a/npc/other/item_merge.txt b/npc/other/item_merge.txt index 151251edc..b1926a49a 100644 --- a/npc/other/item_merge.txt +++ b/npc/other/item_merge.txt @@ -1,17 +1,36 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= Mergician -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== +//================= Description =========================================== +//= Merges items taking up multiple slots in a player's inventory. +//================= Current Version ======================================= //= 1.0 -//===== Description: ========================================= -//= [Official Conversion] -//= Merges items taking up multiple slots in a player's -//= inventory. -//===== Additional Comments: ================================= -//= 1.0 First version, currently useless/disabled. -//= 1.1 Add support for merging items -//============================================================ +//========================================================================= prontera,146,95,3 script Mergician#pron 1_M_WIZARD,{ if (checkweight(1301,1) == 0) { diff --git a/npc/other/mail.txt b/npc/other/mail.txt index bc7825e6e..0276fc536 100644 --- a/npc/other/mail.txt +++ b/npc/other/mail.txt @@ -1,27 +1,42 @@ -//===== 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) Daegaladh +//= Copyright (C) Elias +//= Copyright (C) Zephyrus +//= Copyright (C) Samuray22 +//= 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/>. +//========================================================================= //= Mail Boxes -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.8 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Pickup and write mail from/to players in game. -//===== Additional Comments: ================================= -//= 1.0 First version, place holders only. [L0ne_W0lf] -//= 1.1 Dialog updated to Official. [L0ne_W0lf] -//= 1.2 Swapped "atcommand" for "Openmail". [L0ne_W0lf] -//= 1.3 Added Veins mail box. [L0ne_W0lf] -//= 1.3a Corrected a typo error. (bugreport:798) [Samuray22] -//= 1.4 Added a Mapflag to prevent mail operations in other maps [Zephyrus] -//= 1.5 Moved Morroc Mail boxes to Morroc Ruins. [L0ne_W0lf] -//= 1.6 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//= 1.7 Updated Script from the Official. [Elias] -//= 1.8 Optimized a bit. [Daegaladh] -//============================================================ - -// Floating mailbox npc that all NPCs duplicate from. -//============================================================ +//================= Current Version ======================================= +//= 1.8 +//========================================================================= + +//== Floating mailbox npc that all NPCs duplicate from ===== - script Mailbox#dummy::MailBox -1,{ mes "[Mailbox]"; mes "To use the mailbox service,"; @@ -49,89 +64,70 @@ } } -// Prontera -//============================================================ +//== Prontera ============================================== prontera,146,86,0 duplicate(MailBox) Mailbox#prt 2_POSTBOX prontera,275,213,0 duplicate(MailBox) Mailbox#2prt 2_POSTBOX prontera,34,212,0 duplicate(MailBox) Mailbox#3prt 2_POSTBOX -// Izlude -//============================================================ +//== Izlude ================================================ izlude,136,94,0 duplicate(MailBox) Mailbox#iz 2_POSTBOX -// Morroc -//============================================================ +//== Morroc ================================================ moc_ruins,72,166,0 duplicate(MailBox) Mailbox#1moc 2_POSTBOX moc_ruins,156,52,0 duplicate(MailBox) Mailbox#2moc 2_POSTBOX -// Geffen -//============================================================ +//== Geffen ================================================ geffen,115,67,0 duplicate(MailBox) Mailbox#gef 2_POSTBOX geffen,199,125,0 duplicate(MailBox) Mailbox#2gef 2_POSTBOX -// Payon -//============================================================ +//== Payon ================================================= payon,191,104,0 duplicate(MailBox) Mailbox#pay 2_POSTBOX payon,171,226,0 duplicate(MailBox) Mailbox#2pay 2_POSTBOX pay_arche,55,127,0 duplicate(MailBox) Mailbox#3pay 2_POSTBOX -// Alberta -//============================================================ +//== Alberta =============================================== alberta,90,60,0 duplicate(MailBox) Mailbox#alb 2_POSTBOX alberta,30,240,0 duplicate(MailBox) Mailbox#2alb 2_POSTBOX -// Al De Baran -//============================================================ +//== Aldebaran ============================================= aldebaran,135,122,0 duplicate(MailBox) Mailbox#alde 2_POSTBOX -// Juno -//============================================================ +//== Juno ================================================== yuno,148,187,0 duplicate(MailBox) Mailbox#yuno 2_POSTBOX yuno,332,108,0 duplicate(MailBox) Mailbox#2yuno 2_POSTBOX -// Lightalzen -//============================================================ +//== Lightalzen ============================================ lighthalzen,164,85,0 duplicate(MailBox) Mailbox#lht 2_POSTBOX lighthalzen,196,320,0 duplicate(MailBox) Mailbox#2lht 2_POSTBOX -// Einbroch and Einbech -//============================================================ +//== Einbroch and Einbech ================================== einbroch,231,215,0 duplicate(MailBox) Mailbox#ein 2_POSTBOX einbroch,77,202,0 duplicate(MailBox) Mailbox#2ein 2_POSTBOX einbech,182,124,0 duplicate(MailBox) Mailbox#3ein 2_POSTBOX -// Comodo -//============================================================ +//== Comodo ================================================ comodo,200,150,0 duplicate(MailBox) Mailbox#cmd 2_POSTBOX -// Umbala -//============================================================ +//== Umbala ================================================ umbala,104,155,0 duplicate(MailBox) Mailbox#um 2_POSTBOX -// Amatsu -//============================================================ +//== Amatsu ================================================ amatsu,102,146,0 duplicate(MailBox) Mailbox#ama 2_POSTBOX -// Gonryun -//============================================================ +//== Kunlun ================================================ gonryun,152,117,0 duplicate(MailBox) Mailbox#gon 2_POSTBOX -// Ayothaya -//============================================================ +//== Ayothaya ============================================== ayothaya,205,169,0 duplicate(MailBox) Mailbox#ayo 2_POSTBOX -// Louyang -//============================================================ +//== Louyang =============================================== louyang,204,100,0 duplicate(MailBox) Mailbox#lou 2_POSTBOX -// Hugel -//============================================================ +//== Hugel ================================================= hugel,86,168,0 duplicate(MailBox) Mailbox#hu HIDDEN_NPC -// Rachel -//============================================================ +//== Rachel ================================================ rachel,122,146,0 duplicate(MailBox) Post Box#ra 2_POSTBOX -// Veins -//============================================================ +//== Veins ================================================= veins,218,123,0 duplicate(MailBox) Post Box#ve 2_POSTBOX diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt index 80d6a675f..e576c6a6a 100644 --- a/npc/other/marriage.txt +++ b/npc/other/marriage.txt @@ -1,26 +1,43 @@ -//===== 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 +//= +//= 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/>. +//========================================================================= //= Player Marriage -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Official Marriage script. //= Added isloggedin() check, even though Aegis doesn't do it. //= Currently does not support same-Sex marriages. -//= Old script located in: npc/custom/marriage.txt -//= - Variable in use: wedding_sign (max 1) -//= - Variable in use: $@wedding (max 1) -//= - Variable in use: $@wed_groom$ $@wed_bride$ -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Fixed a missing ")" [L0ne_W0lf] -//= 1.2 Corrected duration of Wedding status. [L0ne_W0lf] -//= 1.3 Changed permanent global variables to temporary ones. [Euphy] -//= Added GM NPCs (commented). -//= 1.4 Added GM management function. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//================= Variables Used ======================================== +//= - wedding_sign (max 1) +//= - $@wedding (max 1) +//= - $@wed_groom$ $@wed_bride$ +//========================================================================= prt_church,97,100,4 script Wedding Staff#w 1_F_LIBRARYGIRL,{ cutin "wedding_marry01",2; diff --git a/npc/other/mercenary_rent.txt b/npc/other/mercenary_rent.txt index e9c9a1275..47f38560a 100644 --- a/npc/other/mercenary_rent.txt +++ b/npc/other/mercenary_rent.txt @@ -1,20 +1,39 @@ -//===== 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) Joseph +//= Copyright (C) Zephyrus +//= 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/>. +//========================================================================= //= Mercenary related NPCs -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Sells Lancer, Sword, and Archer mercenaries, //= along with related mercenary items. -//===== Additional Comments: ================================= -//= 1.0 First version. [L0ne_W0lf] -//= 1.1 Optimization. [Zephyrus] -//= 1.2 Removed redundent input. [L0ne_W0lf] -//= 1.3 Duplicates now spawned from floating NPCs. [L0ne_W0lf] -//= 1.4 Optimized and fixed wrong item id. [Joseph] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= - script Mercenary Manager#main -1,{ setarray .@name$, "Spear", "Sword", "Bow"; @@ -210,8 +229,7 @@ prontera,41,337,5 duplicate(Mercenary Manager#main) Mercenary Manager#Spear 8W_SOLDIER pay_arche,99,167,4 duplicate(Mercenary Manager#main) Mercenary Manager#Bow 4_M_JOB_HUNTER -// Mercenary Merchant NPCs -//============================================================ +//== Mercenary Merchant NPCs =============================== - script Mercenary Merchant#dummy::MercMerchant -1,{ mes "[Mercenary Goods Merchant]"; mes "Hello, I sell goods"; diff --git a/npc/other/monster_museum.txt b/npc/other/monster_museum.txt index d39b034da..4254fd055 100644 --- a/npc/other/monster_museum.txt +++ b/npc/other/monster_museum.txt @@ -1,24 +1,42 @@ -//===== 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) Paradox924X +//= Copyright (C) Samuray22 +//= Copyright (C) Haplo +//= Copyright (C) Lance +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Muad_Dib (The Prometheus Project) +//= +//= 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/>. +//========================================================================= //= Juno Monster Museum -//===== By: ================================================== -//= Muad_Dib (The Prometheus Project) -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Juno Monster Museum - Non Player Character Locations //= - Information about various monsters -//===== Additional Comments: ================================= -// 07/06/05 : Added 1st Version. [Muad_Dib] -//= Adapted to rAthena Scripting Language by [Lance] -//= 1.1a Fixed typos [Haplo] -//= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.3 Added a Missing "case 1:". [Samuray22] -// -Thanks to Dr.Evil -//= 1.4 Corrected a few typos. (bugreport:1077) [L0ne_W0lf] -//= 1.4a "S_BonusREward" -> "S_BonusReward" [Paradox924X] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= yuno_in03,32,15,3 script Museum Guide 1_F_02,{ mes "[Cenia]"; diff --git a/npc/other/monster_race.txt b/npc/other/monster_race.txt index af54e7388..4f2d27395 100644 --- a/npc/other/monster_race.txt +++ b/npc/other/monster_race.txt @@ -1,32 +1,43 @@ -//===== 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) Capuche +//= Copyright (C) Joseph +//= Copyright (C) Euphy +//= 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/>. +//========================================================================= //= Hugel Monster Races -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 2.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= - Hugel Monster Races (Single and Double) //= - Prize Medal Exchanging, and Monster Track NPCs. //= - Contains both euRO and iRO dialog. -//===== Additional Comments: ================================= -//= 1.0 First version. Please report bugs. [L0ne_W0lf] -//= 1.1 Corrected a minor typo. [L0ne_W0lf] -//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf] -//= 1.3 Ei'felle now gives Exercise. (Bugreport:4092) [L0ne_W0lf] -//= 1.4 Fixed call to a non-existant event. [L0ne_W0lf] -//= 1.5 Updated Dialog. [L0ne_W0lf] -//= 1.6 Updated experience rewards. [L0ne_W0lf] -//= 1.7 Optimization, -4000 lines (more can still be done). [Euphy] -//= 1.8 Optimized. -//= Fixed Medal Distributor (Dual Race) disappears accordingly. [Joseph] -//= 1.9 Updated RE/Pre-RE EXP. [Euphy] -//= 2.0 Added GM management NPC. [Euphy] -//= 2.1 Fixed prize in dual race and optimization. [Capuche] -//============================================================ - -// Monster Race - Single Monster Race -//============================================================ +//================= Current Version ======================================= +//= 2.1 +//========================================================================= + +//== Monster Race - Single Monster Race ==================== hugel,51,61,0 script #race_timer1-1 -1,{ OnEnable: enablenpc "#race_timer1-1"; @@ -966,8 +977,7 @@ p_track01,55,28,0 duplicate(Tire_1) Tire6#4 -1,0,0 p_track01,51,28,0 duplicate(Tire_1) Tire6#5 -1,0,0 p_track01,47,28,0 duplicate(Tire_1) Tire6#6 -1,0,0 -// Monster Race - Dual Monster Race -//============================================================ +//== Monster Race - Dual Monster Race ====================== hugel,47,56,0 script #race_timer2-1 -1,{ OnEnable: enablenpc "#race_timer2-1"; @@ -1977,8 +1987,7 @@ p_track02,55,28,0 duplicate(Tire_1) Tire#race02_6_4 -1,0,0 p_track02,51,28,0 duplicate(Tire_1) Tire#race02_6_5 -1,0,0 p_track02,47,28,0 duplicate(Tire_1) Tire#race02_6_6 -1,0,0 -// NPCs for Redeeming Prize Medals (Einbroch and Hugel) -//============================================================ +//== NPCs for Redeeming Prize Medals (Einbroch and Hugel) == ein_in01,85,208,5 script Ei'felle#repay01 4_M_EINMAN2,{ if (!ein_medal01) { mes "[Ei'felle]"; @@ -2796,8 +2805,7 @@ hugel,71,83,4 script Wayne 4_M_HUMERCHANT,{ close; } -// Monster Race Affiliated NPCs -//============================================================ +//== Monster Race Affiliated NPCs ========================== airplane,246,47,1 script Eocatt#decoy01 4_M_OILMAN,{ mes "[Eocatt]"; mes "There's an old, humble"; diff --git a/npc/other/msg_boards.txt b/npc/other/msg_boards.txt index a818cab85..db94e96e7 100644 --- a/npc/other/msg_boards.txt +++ b/npc/other/msg_boards.txt @@ -1,11 +1,38 @@ -//===== 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) SinSloth +//= Copyright (C) Silent +//= Copyright (C) Nexon +//= Copyright (C) Lupus +//= Copyright (C) L0ne_W0lf +//= Copyright (C) kobra_k88 +//= +//= 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/>. +//========================================================================= //= Misc. Message Boards -//===== By: ================================================== -//= kobra_k88 -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.7 -//===== Description: ========================================= +//================= Description =========================================== //= Misc. Message Boards for: //= - Prontera //= - Morroc @@ -13,19 +40,11 @@ //= - Al De Baran //= - Izlude //= - Alberta -//===== Additional Comments: ================================= -//= Rearranged [Lupus] -//= Fixed spelling mistakes. [Nexon] -//= 1.3 Removed Duplicates [Silent] -//= 1.4 Rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= 1.5 Removed a duplicate related to the Sign Quest. [SinSloth] -//= 1.5 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.6 Commented out conflicting npcs. (bugreport:4093) [L0ne_W0lf] -//= 1.7 Moved Izlude NPCs to Pre-RE path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.7 +//========================================================================= -// Prontera -//============================================================ +//== Prontera ============================================== prontera,158,213,1 script Sign Post#Prt1 HIDDEN_NPC,{ mes "^993300- The Sign Post Reads -^000000"; mes "North to Prontera Castle"; @@ -90,8 +109,7 @@ prontera,145,304,1 script Sign#Prt7 HIDDEN_NPC,{ close; } -// Morroc -//============================================================ +//== Morroc ================================================ morocc,144,84,1 script Sign#Moc1 HIDDEN_NPC,{ mes "^993300- The Sign Reads -^000000"; mes "Wanted: Body guard to protect my shop from thieves"; @@ -144,8 +162,7 @@ morocc,298,211,1 script Sign#Moc7 HIDDEN_NPC,{ close; } -// Geffen -//============================================================ +//== Geffen ================================================ geffen,116,58,1 script Geffen Bulletin#Gef1 HIDDEN_NPC,{ mes "^993300- The Geffen Bulletin Reads -^000000"; mes "Remember Wizard's...It's not how many skills you know, it's the magic that counts!"; @@ -196,8 +213,7 @@ geffen,183,61,1 script Sign#Gef6 HIDDEN_NPC,{ close; } -// Al De Baran -//============================================================ +//== Aldebaran ============================================= aldebaran,181,172,1 script Billboard#Alde1 HIDDEN_NPC,{ mes "^993300- The Billboard Reads -^000000"; mes "In Search of:"; @@ -235,8 +251,7 @@ aldebaran,217,222,1 script Sign#Alde5 HIDDEN_NPC,{ close; } -// Alberta -//============================================================ +//== Alberta =============================================== alberta,35,241,1 script Billboard#Alb1 HIDDEN_NPC,{ mes "^993300- The Billboard Reads -^000000"; mes "Welcome to Alberta, the Merchant's paradise."; diff --git a/npc/other/poring_war.txt b/npc/other/poring_war.txt index 6b52dd870..a4656f69e 100644 --- a/npc/other/poring_war.txt +++ b/npc/other/poring_war.txt @@ -1,22 +1,42 @@ -//===== 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) Slim +//= Copyright (C) CalciumKid +//= Copyright (C) 5511 +//= Copyright (C) Kisuka +//= +//= 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/>. +//========================================================================= //= Poring War -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Join a team in battle between Angeling and Deviling. -//===== Additional Comments: ================================= -//= 1.0 First version. [Kisuka][5511] -//= 1.1 Fixed some typos/bugs. [CalciumKid] -//= 1.1a Fixed Waiting rooms witht he default MAX_LEVEL [Slim] -//= 1.1b Fixed incorrect label calls. [Euphy] -//= 1.2 Added missing barrier resets, credits to Zopokx. [Euphy] -//============================================================ - -// Poring War Recruiter -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= + +//== Poring War Recruiter ================================== prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{ mes "[Poring]"; mes "!!!!!"; @@ -65,8 +85,7 @@ prt_fild08,159,371,3 script Poring War Recruiter#wop 4_PORING,{ } } -// Poring Vending Machine -//============================================================ +//== Poring Vending Machine ================================ poring_w01,100,97,3 script Poring Vending Machine#w 4_PORING,{ if (checkweight(714,3) == 0) { mes "- You are carrying too much items in order to use the Vending Machine. -"; @@ -218,8 +237,7 @@ S_PoringVending: close; } -// Information -//============================================================ +//== Information =========================================== poring_w01,96,97,3 script Sweet Devi#wop 4_DEVIRUCHI,{ if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -352,8 +370,7 @@ OnInit: end; } -// Poring Registers -//============================================================ +//== Poring Registers ====================================== poring_w01,91,97,3 script Poring#wop_door_all PORING,{ end; @@ -616,8 +633,7 @@ OnTimer65000: end; } -// Mr. Doppel -//============================================================ +//== Mr. Doppel ============================================ poring_w02,26,181,3 script Mr. Doppel#wop_team_a 8_DOPPEL,{ if (checkweight(714,3) == 0) { mes "- Wait a minute !! -"; @@ -1071,8 +1087,7 @@ OnTouch: end; } -// Poring Spawn -//============================================================ +//== Poring Spawn ========================================== poring_w02,80,82,0 script #wop_angellium1 -1,{ end; @@ -1211,8 +1226,7 @@ OnTimer120000: stopnpctimer; } -// Deviruchi -//============================================================ +//== Deviruchi ============================================= poring_w02,99,201,3 script Deviruchi#wop_endmaster 4_DEVIRUCHI,{ if (MaxWeight-Weight < 2000 || checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1446,8 +1460,7 @@ OnTimer68100: end; } -// Gate Guardian -//============================================================ +//== Gate Guardian ========================================= poring_w02,99,52,0 script Angeling Guardian#wop_da HIDDEN_NPC,{ cutin "wop_emb0" + $@wop_doorcount_a,1; if ($@wop_doorcount_a < 4) { @@ -1642,8 +1655,7 @@ OnTouch: end; } -// Other NPCs -//============================================================ +//== Other NPCs ============================================ - script Angeling Side Poring#wpa -1,{ end; } diff --git a/npc/other/powernpc.txt b/npc/other/powernpc.txt index ad81c6438..e3b38416d 100644 --- a/npc/other/powernpc.txt +++ b/npc/other/powernpc.txt @@ -1,14 +1,38 @@ -//===== Hercules Script ====================================== -//= Official Gonryun Power Arena -//===== By: ================================================== -//= KarLaeda -//===== Current Version: ===================================== +//================= 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) KarLeada +//= +//= 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/>. +//========================================================================= +//= Official Kunlun Power Arena +//================= Description =========================================== +//= Official Kunlun Power Arena +//================= Current Version ======================================= //= 1.2 -//===== Additional Comments: ================================= -//= [Official Conversion] -//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.2 Cleaning. [Euphy] -//============================================================ +//========================================================================= gonryun,180,118,4 script Iron man#gnp 4_M_03,{ if (checkweight(1201,1) == 0) { diff --git a/npc/other/pvp.txt b/npc/other/pvp.txt index 70c02d1bc..436dbd9dc 100644 --- a/npc/other/pvp.txt +++ b/npc/other/pvp.txt @@ -1,23 +1,43 @@ -//===== 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) Joseph +//= Copyright (C) Euphy +//= Copyright (C) Elias (og2) +//= Copyright (C) L0ne_W0lf +//= Copyright (C) kobra_k88 +//= +//= 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/>. +//========================================================================= //= PvP NPCs -//===== By: ================================================== -//= kobra_k88; L0ne_W0lf, Elias (og2) -//===== Current Version: ===================================== -//= 2.5 -//===== Description: ========================================= +//================= Description =========================================== //= PvP NPCs that are found in the Inns in major cities. //= Includes Yoyo Mode, Nightmare Mode, and Event Mode. -//===== Additional Comments: ================================= -//= 2.0 Narrators/GateKeepers,etc. Translated from the Official 2011 [Elias] -//= 2.1 Changed PVP Narrator and GateKeeper to Floating NPC [Elias] -//= 2.2 Some cleaning. [Euphy] -//= 2.3 Fixed grammatical errors. [Joseph] -//= 2.4 Fixed incorrect use of 'close' and some cleaning. [Joseph] -//= 2.5 Renewal/Pre-Renewal split. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.5 +//========================================================================= -// Information -//============================================================ +//== Information =========================================== - script PVP Narrator::pvpe -1,{ mes "[PVP Narrator]"; mes "Hello and welcome!"; @@ -171,8 +191,7 @@ geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe4 4_M_02 payon_in01,142,50,4 duplicate(pvpe) PVP Narrator#pe5 4_M_02 geffen_in,67,63,4 duplicate(pvpe) PVP Narrator#pe6 4_M_02 -// Mode Select -//============================================================ +//== Mode Select =========================================== - script Gate Keeper::gkut -1,{ mes "[Gate Keeper]"; mes "Glad to be of service."; @@ -277,10 +296,8 @@ prt_in,52,140,4 duplicate(gkut) Gate Keeper#gke3 4_M_01 geffen_in,63,63,4 duplicate(gkut) Gate Keeper#gke4 4_M_01 payon_in01,140,53,4 duplicate(gkut) Gate Keeper#gke5 4_M_01 -// PVP Warper Function -//============================================================ +//== PVP Warper Function =================================== // Note: The warper NPCs are in the pre-re/re paths. - //callfunc "F_PVP_FSRS"{,<min_lvl>,<max_lvl>}; function script F_PVP_FSRS { if (getargcount()) { @@ -314,8 +331,7 @@ function script F_PVP_FSRS { end; } -// Event Contestant Entrance -//============================================================ +//== Event Contestant Entrance ============================= pvp_room,54,85,4 script Registration Staff#1 8W_SOLDIER,{ if (countitem(7028) == 0) { mes "[PVP Combat Square Register Staff]"; @@ -357,8 +373,7 @@ OnInit: end; } -// Spectator Entrance -//============================================================ +//== Spectator Entrance ==================================== - script Spectator's Entrance#dum::PVPSpectator -1,{ if (countitem(7029) == 0) { mes "[PVP Compete Square Register Staff]"; @@ -389,8 +404,7 @@ pvp_room,70,85,4 duplicate(PVPSpectator) Spectator's Entrance#2 8W_SOLDIER pvp_room,78,85,4 duplicate(PVPSpectator) Spectator's Entrance#3 8W_SOLDIER pvp_room,86,85,4 duplicate(PVPSpectator) Spectator's Entrance#4 8W_SOLDIER -// Spectator Warps -//============================================================ +//== Spectator Warps ======================================= - script Combat Square Staff#dum::PVPSpecWarp -1,{ OnTouch: mes "[Combat Square Staff]"; @@ -424,8 +438,7 @@ pvp_2vs2,40,40,0 script Combat Square Staff#5 WARPNPC,1,1,{ } } -// PVP Area Exit warp -//============================================================ +//== PVP Area Exit warp ==================================== pvp_room,51,19,0 script out#eventpvp WARPNPC,4,2,{ OnTouch: mes "[Combat Square Staff]"; diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 36a1b4fe1..dbe1fb0e9 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -1,21 +1,43 @@ -//===== 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) Joseph +//= Copyright (C) Elias +//= Copyright (C) Kisuka +//= 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/>. +//========================================================================= //= Turbo Track -//===== By: ================================================== -//= Joseph -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Turbo Track Course: //= - Solo Mode/Time Attack //= - Normal (Non-PVP) - 4/8/16 Person //= - Expert (PVP) - 4/8/16 Person -//===== Additional Comments: ================================= -//= 0.x Previous authors: L0ne_W0lf, Kisuka, Elias -//= 1.0 Merged Turbo Track. [Joseph] -//= 1.1 Updated RE/Pre-RE EXP. [Euphy] -//= 1.2 Added Renewal features. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= function script F_tt { if (compare(strnpcinfo(2),"main")) end; |