diff options
Diffstat (limited to 'npc/re/merchants')
24 files changed, 863 insertions, 413 deletions
diff --git a/npc/re/merchants/3rd_trader.txt b/npc/re/merchants/3rd_trader.txt index 51b50fdcf..c9737cdb5 100644 --- a/npc/re/merchants/3rd_trader.txt +++ b/npc/re/merchants/3rd_trader.txt @@ -1,24 +1,41 @@ -//===== 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) Mercurial +//= Copyright (C) Masao +//= +//= 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/>. +//========================================================================= //= 3rd Item Seller -//===== By: ================================================== -//= Masao, Mercurial -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Sells some 3rd Job related items: //= - Poison Herbs, Rune Stones, Rare Herbs, Points -//===== Additional Comments: ================================= -//= 1.0 First Version. -//= 1.1 Optimized Poison Herb Salesman NPC -//= 1.2 Optimized and standardized. [Euphy] -//= 1.3 Added Malangdo/Mora Points NPC. [Euphy] -//= 1.4 Updated to match the official scripts. [Euphy] -//= 1.5 Added Izlude duplicates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= -// Poison Herb Merchants (Guillotine Cross) -//============================================================ +//== Poison Herb Merchants (Guillotine Cross) ============== - script ::phs -1,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait a minute !! -"; @@ -83,8 +100,7 @@ job3_guil01,79,96,3 duplicate(phs) Poison Herb Merchant 4_F_YUNYANG morocc,191,94,4 duplicate(phs) Poison Herb Merchant#moc 4_F_YUNYANG //Official: (190,96) -> in a wall lhz_in02,16,205,4 duplicate(phs) Poison Herb Merchant#lhz 4_F_YUNYANG -// Rune Stone Merchants (Rune Knight) -//============================================================ +//== Rune Stone Merchants (Rune Knight) ==================== - script ::runesale -1,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait a minute !! -"; @@ -151,8 +167,7 @@ lhz_in02,16,205,4 duplicate(phs) Poison Herb Merchant#lhz 4_F_YUNYANG job3_rune01,90,62,3 duplicate(runesale) Rune Merchant#job3 4_M_YURI prontera,168,228,3 duplicate(runesale) Rune Merchant#prt 4_M_YURI -// Rare Herb Merchants (Guillotine Cross) -//============================================================ +//== Rare Herb Merchants (Guillotine Cross) ================ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait a minute !! -"; @@ -214,8 +229,7 @@ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{ close; } -// Point Merchants (Sorcerer) -//============================================================ +//== Point Merchants (Sorcerer) ============================ - script ::pss -1,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait a minute !! -"; diff --git a/npc/re/merchants/advanced_refiner.txt b/npc/re/merchants/advanced_refiner.txt index d637ace73..5331c5e38 100644 --- a/npc/re/merchants/advanced_refiner.txt +++ b/npc/re/merchants/advanced_refiner.txt @@ -1,20 +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 +//= +//= 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/>. +//========================================================================= //= Advanced Refiner -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Refiner that uses Enriched ores to increase upgrade success. -//= After a conversation with Doddler, it's been established that -//= the advanced refiner works similar the the "Bubble Gum" item. -//= The success percentage is not "increased" however, if it fails -//= You get a second try. This tries twice at the same time, -//= effectively giving you a re-roll on your attempt. -//===== Additional Comments: ================================= -//= 1.0 Added Malangdo Refiner "Holink". [Euphy] -//============================================================ +//================= Additional Comments =================================== +//= After a conversation with Doddler, it's been established that the +//= advanced refiner works similar the the "Bubble Gum" item. +//= The success percentage is not "increased" however, if it fails you get +//= a second try. This tries twice at the same time, effectively giving you +//= a re-roll on your attempt. +//================= Current Version ======================================= +//= 1.0 +//========================================================================= malangdo,221,174,6 script Holink#mal_cash 4_CAT_ADV1,{ disable_items; diff --git a/npc/re/merchants/alchemist.txt b/npc/re/merchants/alchemist.txt index 0658126ff..6dc267a78 100644 --- a/npc/re/merchants/alchemist.txt +++ b/npc/re/merchants/alchemist.txt @@ -1,16 +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) 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/>. +//========================================================================= //= Alchemist Shop -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Merchants for Alchemist Materials and Manuals. -//===== Additional Comments: ================================= -//= 1.0 Split Geneticist shop from main file. [Euphy] -//= Updated dialogue to match the official script. -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{ mes "[Craft Book Merchant]"; diff --git a/npc/re/merchants/ammo_boxes.txt b/npc/re/merchants/ammo_boxes.txt index 432e0c8a4..22f6d694b 100644 --- a/npc/re/merchants/ammo_boxes.txt +++ b/npc/re/merchants/ammo_boxes.txt @@ -1,15 +1,36 @@ -//===== Hercules Script ====================================== -//= Magazine Dealers -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= +//================= 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/>. +//========================================================================= +//= Magazine Dealers (Renewal) +//================= Description =========================================== //= Turns bullets into magazines/packs. -//===== Additional Comments: ================================= -//= 1.0 First version, Renewal duplicates. -//= 1.1 Added Izlude duplicates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= que_ng,187,149,3 duplicate(mdk) Magazine Dealer Kenny#ng 4_M_01 izlude,74,104,3 duplicate(mdk) Magazine Dealer Kenny#iz 4_M_01 diff --git a/npc/re/merchants/ammo_dealer.txt b/npc/re/merchants/ammo_dealer.txt index 7abb58421..87d641910 100644 --- a/npc/re/merchants/ammo_dealer.txt +++ b/npc/re/merchants/ammo_dealer.txt @@ -1,15 +1,36 @@ -//===== Hercules Script ====================================== -//= Bullet Dealers -//===== By =================================================== -//= Euphy -//===== Version ============================================== -//= 1.1 -//===== Description ========================================== +//================= 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/>. +//========================================================================= +//= Bullet Dealers (Renewal) +//================= Description =========================================== //= Bullet trader. -//===== Comments ============================================= -//= 1.0 First version, Renewal duplicates. -//= 1.1 Added Izlude duplicates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= que_ng,187,156,3 duplicate(bdt) Bullet Dealer Tony#ng 4_M_04 izlude,77,104,3 duplicate(bdt) Bullet Dealer Tony#iz 4_M_04 //Official: (74,106) -> in the water diff --git a/npc/re/merchants/blessed_refiner.txt b/npc/re/merchants/blessed_refiner.txt index ec6b591a9..3f609f5e7 100644 --- a/npc/re/merchants/blessed_refiner.txt +++ b/npc/re/merchants/blessed_refiner.txt @@ -1,19 +1,41 @@ -//===== 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/>. +//========================================================================= //= Blessed Refiner -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Refiners that use Blessed ores to refine equipment. -//= Upon failure, the equipment is not destroyed. The success -//= rate is identical to that for Enriched ores. +//================= Additional Comments =================================== +//= Upon failure, the equipment is not destroyed. The success rate is +//= identical to that for Enriched ores. //= - "Blacksmith Dister" only refines from +6~12. //= NOTE: This NPC is currently disabled on official servers. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= - script ::BlacksmithDister -1,{ disable_items; diff --git a/npc/re/merchants/card_separation.txt b/npc/re/merchants/card_separation.txt index fa64db4f0..53430f7f2 100644 --- a/npc/re/merchants/card_separation.txt +++ b/npc/re/merchants/card_separation.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) Muad_Dib +//= +//= 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 Separation System -//===== By: ================================================== -//= Muad_Dib -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Separates cards from equipment. -//===== Additional Comments: ================================= -//= 1.0 First Version. [Euphy] -//= 1.1 Added "Richard" NPC. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= - script ::CardSeparation_mal -1,{ disable_items; diff --git a/npc/re/merchants/catalog.txt b/npc/re/merchants/catalog.txt index 01793816a..8f3178531 100644 --- a/npc/re/merchants/catalog.txt +++ b/npc/re/merchants/catalog.txt @@ -1,17 +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) Scriptor +//= Copyright (C) skyiing +//= +//= 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/>. +//========================================================================= //= Catalog Magician -//===== By: ================================================== -//= skyiing, Scriptor -//===== Current Version: ===================================== +//================= Description =========================================== +//= Catalogs allow players to easily search for items in-game, and to +//= buy/sell directly from the catalog interface. +//================= Current Version ======================================= //= 1.1 -//===== Description: ========================================= -//= [Official Conversion] -//= Catalogs allow players to easily search for items in-game, -//= and to buy/sell directly from the catalog interface. -//===== Additional Comments: ================================= -//= 1.0 Moved from root directory. [Euphy] -//= 1.1 Updated dialogue. [Euphy] -//============================================================ +//========================================================================= moc_para01,22,16,5 script Catalog Magician#catal01 4_M_BIBI,{ if (!checkweight(1301,3)) { diff --git a/npc/re/merchants/coin_exchange.txt b/npc/re/merchants/coin_exchange.txt index 7b553e0bd..acb879174 100644 --- a/npc/re/merchants/coin_exchange.txt +++ b/npc/re/merchants/coin_exchange.txt @@ -1,21 +1,41 @@ -//===== 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) Dastgir +//= Copyright (C) rAthena Dev Team +//= Copyright (C) Lemongrass +//= 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/>. +//========================================================================= //= Coin Merchants -//===== By: ================================================== -//= Hercules Dev Team -//===== Current Version: ===================================== -//= 1.2a -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Renewal coin redemption NPCs. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy/Lemongrass] -//= 1.1 Added remaining Malangdo traders. [Euphy/Lemongrass] -//= 1.2 Added Eclage traders (not fully complete). [Euphy] -//= 1.2a Completed Eclage Traders. [Dastgir] -//============================================================ +//================= Current Version ======================================= +//= 1.2a +//========================================================================= -// Malangdo -//============================================================ +//== Malangdo ============================================== malangdo,220,167,5 script Coin Exchanger CX-1 2_VENDING_MACHINE1,{ if (checkweight(1201,1) == 0) { mes "You have too many kinds of objects. Let's try to continue after reducing those objects."; @@ -426,7 +446,7 @@ malangdo,175,145,4 script Can Agency Guard 4_CAT_MERMASTER,{ function script F_mal_coin { -// Initial dialogue and checks: +//- Initial dialogue and checks - // -- callfunc "F_mal_coin",0,"[<NPC Name>]",<NPC ID>; if (getarg(0) == 0) { if (getarg(2) != 2 && BaseLevel < 50) { @@ -495,7 +515,7 @@ function script F_mal_coin { } } -// Exchange function: +//- Exchange function - // -- callfunc "F_mal_coin",1,"[<NPC Name>]","<Display Name>",<Item ID>,<Egrade_Coin>,<Malang_Sp_Can>,<Silvervine> if (getarg(0) == 1) { mes getarg(1); @@ -826,8 +846,7 @@ malangdo,150,135,5 script Roving Merchant 4_M_MERCAT1,{ } } -// Eclage -//============================================================ +//== Eclage ================================================ ecl_in01,66,95,3 script Armor Merchant Naphara#e 4_F_FAIRYKID,{ if (!checkweight(Axe,3)) { mes "- Stop Here!! -"; diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt index 73b09802a..0ea3b0488 100644 --- a/npc/re/merchants/diamond.txt +++ b/npc/re/merchants/diamond.txt @@ -1,20 +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) Z3R0 +//= +//= 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/>. +//========================================================================= //= Rare Diamond Merchant -//===== By: ================================================== -//= Z3R0 -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Exchanges 17 Carat Diamond -//===== Additional Comments: ================================= -//= 1.0 First / Optimized Version -//= 1.1 Adjusted for Missing ; on Line #271 (#15425) -//= 1.2 Removed Comments per Request (#15426) -//= 1.3 Changed Emotion # to Const Definition (#15427) -//= 1.4 Removed Double Space on Line #148 (#15428) -//= 1.5 Added This Version History (#15429) -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= - script RareDiamondMerchant 1_M_MERCHANT,{ diff --git a/npc/re/merchants/enchan_ko.txt b/npc/re/merchants/enchan_ko.txt index 98e309abb..130a5cf4e 100644 --- a/npc/re/merchants/enchan_ko.txt +++ b/npc/re/merchants/enchan_ko.txt @@ -1,18 +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 +//= +//= 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/>. +//========================================================================= //= Kagerou/Oboro Gear Enchants -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Adds enchantments to Kagerou/Oboro gear. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= -// Main NPC :: job_ko -//============================================================ +//== Main NPC :: job_ko ==================================== que_ng,75,20,3 script Artisan Tene#ko 4_M_JPN2,{ disable_items; mes "[Artisan Tene]"; diff --git a/npc/re/merchants/enchan_mal.txt b/npc/re/merchants/enchan_mal.txt index 6dbb264df..272e4ed75 100644 --- a/npc/re/merchants/enchan_mal.txt +++ b/npc/re/merchants/enchan_mal.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) Muad_Dib +//= +//= 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/>. +//========================================================================= //= Malangdo Enchants -//===== By: ================================================== -//= Muad_Dib -//===== Current Version: ===================================== +//================= Description =========================================== +//= Adds enchantments to many high level weapons in exchange for Malangdo +//= coins. +//================= Current Version ======================================= //= 1.0a -//===== Description: ========================================= -//= [Official Conversion] -//= Adds enchantments to many high level weapons in exchange -//= for Malangdo coins. -//===== Additional Comments: ================================= -//= 1.0 First Version. [Euphy] -//= 1.0a Added 'delequip' command. [Euphy] -//============================================================ +//========================================================================= malangdo,213,167,4 script Mayomayo#mal 4_CAT_3COLOR,{ disable_items; @@ -593,7 +614,7 @@ L_Socket: delitem .@coin[.@coin_select],.@total[.@coin_select]; delequip EQI_HAND_R; -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] getitem2 .@equip_id,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3]; close; @@ -627,7 +648,7 @@ L_Socket: delitem 6417,1; //Silvervine delequip EQI_HAND_R; -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] for(.@i = 0; .@i<4; ++.@i) { if (.@equip_card[.@i] >= 4700) // Armor Enchant System .@equip_card[.@i] = 0; diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt index 6db1cc002..6ffdb2ca5 100644 --- a/npc/re/merchants/enchan_mora.txt +++ b/npc/re/merchants/enchan_mora.txt @@ -1,22 +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) DeadlySilence +//= Copyright (C) Lemongrass +//= 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/>. +//========================================================================= //= Mora Enchants -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== +//================= Description =========================================== +//= Adds enchantments to various items in exchange for Mora coins. +//================= Current Version ======================================= //= 1.2 -//===== Description: ========================================= -//= [Official Conversion] -//= Adds enchantments to various items in exchange for -//= Mora coins. -//===== Additional Comments: ================================= -//= 1.0 First Version. [Euphy] -//= 1.1 Optimized. [Euphy] -//= 1.1a Bug fixes. [Lemongrass] -//= 1.2 Bug fixes (bugreport:7930) [DeadlySilence] -//============================================================ +//========================================================================= -// Arch Bishop Enchants :: coin_arc -//============================================================ +//== Arch Bishop Enchants :: coin_arc ====================== mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{ if (checkweight(1201,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; @@ -315,8 +333,7 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{ } } -// Warlock Enchants :: coin_warrock -//============================================================ +//== Warlock Enchants :: coin_warrock ====================== mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{ if (checkweight(1201,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; @@ -520,8 +537,7 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{ close; } -// Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact -//============================================================ +//== Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact = mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{ if (checkweight(1201,1) == 0) { mes "Reduce the amount of items that you have in your inventory before continuing."; @@ -1121,7 +1137,7 @@ L_Socket: mes "I've successfully enhanced the artifact ^990000"+.@equip_name$+"^000000 at socket "+.@slot+"."; } -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] getitem2 .@equip_id,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@equip_card[3]; close; @@ -1138,7 +1154,7 @@ L_Socket: Zeny -= 100000; delequip .@part; -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3] for(.@i = 0; .@i<4; ++.@i) { if (.@equip_card[.@i] >= 4700) // Armor Enchant System .@equip_card[.@i] = 0; @@ -1149,8 +1165,7 @@ L_Socket: } } -// Arch Bishop & Warlock Empowering :: relic_change -//============================================================ +//== Arch Bishop & Warlock Empowering :: relic_change ====== mora,124,82,4 script Artifact Collector#blan 4_M_RAFLE_OR,{ if (checkweight(1201,1) == 0) { mes "Reduce the amount of items that you have in your inventory before continuing."; @@ -1470,8 +1485,7 @@ L_ShowInfo: return; } -// Other Enchants :: sangjo -//============================================================ +//== Other Enchants :: sangjo ============================== function script F_Mora_Enchant { specialeffect2 EF_REPAIRWEAPON; progressbar "ffff00",3; diff --git a/npc/re/merchants/enchan_upg.txt b/npc/re/merchants/enchan_upg.txt index 939f7d812..e8ba1c274 100644 --- a/npc/re/merchants/enchan_upg.txt +++ b/npc/re/merchants/enchan_upg.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) Skorm +//= +//= 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/>. +//========================================================================= //= Upgrade Weapon Enchants -//===== By: ================================================== -//= Skorm -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Adds enchantments to Upgrade weapons. -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Standardizing, grammar and bug fixes. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{ disable_items; @@ -226,7 +247,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{ delitem 6484,1; //Enchant_Book delequip .@part; -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@enchant + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@enchant getitem2 .@equip_id,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],.@enchant; if (.@lost_refine) { @@ -253,7 +274,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{ Zeny -= 100000; delequip .@part; -// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] 0 + // GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] 0 getitem2 .@equip_id,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],0; close; diff --git a/npc/re/merchants/flute.txt b/npc/re/merchants/flute.txt index d2c9515b2..254c10bd9 100644 --- a/npc/re/merchants/flute.txt +++ b/npc/re/merchants/flute.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) Ziu +//= Copyright (C) Muad_Dib +//= Copyright (C) Masao +//= +//= 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/>. +//========================================================================= //= Falcon & Wolf Flute Trader -//===== By: ================================================== -//= Masao, Muad_Dib, Ziu -//===== Current Version: ===================================== -//= 1.2a -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Sells Falcon Flute and Wolf Flute. -//===== Additional Comments: ================================= -//= 1.0 First Version. [Masao] -//= 1.1 Added Baby Hunter and Baby Ranger check. bugreport:5728 [Masao] -//= 1.2 Added Wolf Flute trader, optimized. [Euphy] -//= 1.2a Fixed some conditions. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.2a +//========================================================================= - script Falcon Flute Trader::fflute -1,{ mes "[Falcon Flute Trader]"; diff --git a/npc/re/merchants/hd_refiner.txt b/npc/re/merchants/hd_refiner.txt index 7c875e995..e1a7a8b70 100644 --- a/npc/re/merchants/hd_refiner.txt +++ b/npc/re/merchants/hd_refiner.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) 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/>. +//========================================================================= //= HD Refiners -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] -//= Refiners that use HD ores to refine equipment. Upon -//= failure, the equipment is not destroyed; rather, its -//= refine level decreases by 1. The success rate is identical -//= to that for Enriched ores. +//================= Description =========================================== +//= Refiners that use HD ores to refine equipment. +//================= Additional Comments =================================== +//= Upon failure, the equipment is not destroyed; rather, its refine level +//= decreases by 1. The success rate is identical to that for Enriched ores. //= - "Blacksmith Mighty Hammer" only refines from +7~9. //= - "Basta" only refines from +10 and up. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= -// Blacksmith Mighty Hammer (+7~9) -//============================================================ +//== Blacksmith Mighty Hammer (+7~9) ======================= - script ::MightyHammer -1,{ disable_items; mes "[Blacksmith Mighty Hammer]"; @@ -148,12 +168,11 @@ yuno_in01,171,18,3 duplicate(MightyHammer) Mighty Hammer#yuno 4_M_DWARF ein_in01,22,82,3 duplicate(MightyHammer) Mighty Hammer#ein 4_M_DWARF lhz_in02,280,19,3 duplicate(MightyHammer) Mighty Hammer#lhz 4_M_DWARF -// iRO NPC locations: -// moc_para01,38,185,4 duplicate(MightyHammer) Mighty Hammer#ed 4_M_DWARF -// payon,174,133,4 duplicate(MightyHammer) Mighty Hammer#im 4_M_DWARF +//- iRO NPC locations - +//moc_para01,38,185,4 duplicate(MightyHammer) Mighty Hammer#ed 4_M_DWARF +//payon,174,133,4 duplicate(MightyHammer) Mighty Hammer#im 4_M_DWARF -// Basta (+10 and up) -//============================================================ +//== Basta (+10 and up) ==================================== - script ::Basta -1,{ disable_items; mes "[Basta]"; diff --git a/npc/re/merchants/inn.txt b/npc/re/merchants/inn.txt index 174569b02..a6bf9f96f 100644 --- a/npc/re/merchants/inn.txt +++ b/npc/re/merchants/inn.txt @@ -1,18 +1,39 @@ -//===== Hercules Script ====================================== -//= Inn Npcs -//===== By: ================================================== -//= c, L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= +//================= 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 +//= Copyright (C) c +//= +//= 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/>. +//========================================================================= +//= Inn Npcs (Renewal) +//================= Description =========================================== //= Inn Npcs, Save and Heal -//===== Additional Comments: ================================= -//= 1.0 Added Brasilis inn receptionist. [c] -//= 1.1 Updated dialog for Brasilis inn. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= -// Brasilis -//============================================================ +//== Brasilis ============================================== bra_in01,27,24,3 script Hotel Keeper#bra1 4_F_BRZ_WOMAN,{ mes "[Hotel Keeper]"; mes "Welcome to the beautiful Brasilis Hotel."; diff --git a/npc/re/merchants/ninja_craftsman.txt b/npc/re/merchants/ninja_craftsman.txt index cb6d47cd9..d49ea7256 100644 --- a/npc/re/merchants/ninja_craftsman.txt +++ b/npc/re/merchants/ninja_craftsman.txt @@ -1,14 +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) Dastgir +//= +//= 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/>. +//========================================================================= //= Ninja Weapon and Armor -//===== By: ================================================== -//= Dastgir -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= +//================= Description =========================================== //= Ninja Armor and Weapon Craftsman -//===== Additional Comments: ================================= -//= 1.0 Official Conversion. [Dastgir] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= + que_ng,21,72,6 script Master Craftsman Gyo#arm 4_M_RASWORD,{ mes "[Gyo]"; mes "How would you define victory?"; diff --git a/npc/re/merchants/quivers.txt b/npc/re/merchants/quivers.txt index 649da8529..51bea1092 100644 --- a/npc/re/merchants/quivers.txt +++ b/npc/re/merchants/quivers.txt @@ -1,21 +1,38 @@ -//===== Hercules Script ====================================== -//= Arrow Quivers -//===== By: ================================================== -//= Muad_Dib (Prometheus Project); L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= 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) Muad_Dib (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/>. +//========================================================================= +//= Arrow Quivers (Renewal) +//================= Description =========================================== //= Turns arrows into Arrow Quivers. -//= Breakdown of Subroutine "S_BuyQuiver" -//= arg(0): Type of Arrow to be packaged (item ID). -//= arg(1): How many of each 'getarg(0)' arrow per quiver. -//= arg(2): The cost of making a 'getarg(0)' quiver. -//= arg(3): The quiver given by the NPC (item ID). -//===== Additional Comments: ================================= -//= 1.0 Added Mora NPC. [Euphy] -//= 1.1 Updated to match the official scripts. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= mora,106,117,3 script Quiver Maker#mora 4_M_RAFLE_GR,{ if (checkweight(1201,1) == 0) { @@ -60,6 +77,11 @@ mora,106,117,3 script Quiver Maker#mora 4_M_RAFLE_GR,{ } end; +// Arguments: +// 0: Type of Arrow to be packaged (item ID). +// 1: How many of each 'getarg(0)' arrow per quiver. +// 2: The cost of making a 'getarg(0)' quiver. +// 3: The quiver given by the NPC (item ID). S_BuyQuiver: if (countitem(getarg(0)) < getarg(1)) { mes "[Quiver Maker]"; diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt index 490f10b5c..ce64063b7 100644 --- a/npc/re/merchants/refine.txt +++ b/npc/re/merchants/refine.txt @@ -1,22 +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) rAthena 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/>. +//========================================================================= //= Renewal Refining NPCs -//===== By: ================================================== -//= Hercules Dev Team -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Renewal-specific refining NPCs and material merchants. -//===== Additional Comments: ================================= -//= 1.0 Moved some scripts to Renewal file, optimized "Austry" NPC. [Euphy] -//= 1.0a Added 'disable_items' command. [Euphy] -//= 1.1 Added Malangdo Refiner "Clink". [Euphy] -//= 1.2 Added official success calculation, thanks to Helvetica. -//= The safe/multiple refine feature is now functional. [Euphy] -//= 1.3 Updated to match the latest official script. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= -// +11 and above Refiners -//============================================================ +//== +11 and above Refiners ================================ prt_in,90,72,5 script Vestri#prt 4_M_DWARF,{ callfunc "refinenew","Vestri",0; end; @@ -30,17 +47,14 @@ payon_in01,18,132,3 script Vestri#pay 4_M_DWARF,{ end; } -//============================================================ -// +11 and above Refiner Function -//============================================================ -//= To allow auto safe refining/multiple refining set the -//= second argument to '1' in the function call. -//= If you enable this function, be sure to edit the value of -//= .@safe to the max safe refine in refine_db.txt as well. -//= -//= On official servers, if an item is unsuccessfully refined -//= it will break at a 20% rate and downgrade at an 80% rate. -//============================================================ +//== +11 and above Refiner Function ======================== +// To allow auto safe refining/multiple refining set the second argument to '1' +// in the function call. +// If you enable this function, be sure to edit the value of .@safe to the max +// safe refine in refine_db.txt as well. +// +// On official servers, if an item is unsuccessfully refined it will break at a +// 20% rate and downgrade at an 80% rate. function script refinenew { disable_items; mes "["+ getarg(0) +"]"; @@ -217,7 +231,7 @@ function script refinenew { close; } } -// New +11 and above Refining Functions ======================== +//- New +11 and above Refining Functions - if (getequiprefinerycnt(.@part) < .@safe) { mes "[" + getarg(0) + "]"; mes "I can refine this to the safe limit or a desired number of times. It's your choice."; @@ -333,8 +347,7 @@ function script refinenew { close; } -// Ori/Elu to Carnium/Bradium Refiners -//============================================================ +//== Ori/Elu to Carnium/Bradium Refiners =================== - script Austri#ref -1,{ if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -391,8 +404,7 @@ prt_in,85,71,5 duplicate(Austri#ref) Austri#prt 4_M_DWARF payon_in01,14,125,5 duplicate(Austri#ref) Austri#pay 4_M_DWARF morocc_in,60,38,5 duplicate(Austri#ref) Austri#moc 4_M_DWARF -// Malangdo Refiner -//============================================================ +//== Malangdo Refiner ====================================== malangdo,224,172,6 script Clink#mal_normal 4_CAT_SAILOR1,{ disable_items; mes "[Clink]"; diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt index fbe84a7a9..f0d308f1e 100644 --- a/npc/re/merchants/renters.txt +++ b/npc/re/merchants/renters.txt @@ -1,19 +1,41 @@ -//===== Hercules Script ====================================== -//= Renters -//===== By: ================================================== -//= Hercules Dev Team -//===== Current Version: ===================================== -//= 2.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= 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) Euphy +//= Copyright (C) Daegaladh +//= 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/>. +//========================================================================= +//= Renters (Renewal) +//================= Description =========================================== //= Renewal-specific breeder NPCs. -//===== Additional Comments: ================================= -//= 2.1 Moved some renters to a separate renewal file. [Daegaladh] -//= 2.2 Updated to match the official scripts. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.1 +//========================================================================= -// Dragon Breeder -//============================================================ +//== Dragon Breeder ======================================== job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{ mes "[Dragon Breeder]"; if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_T || Class == Job_Baby_Rune) { @@ -48,8 +70,7 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{ close; } -// Dragon/Gryphon Master -//============================================================ +//== Dragon/Gryphon Master ================================= prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{ mes "[Riding Creature Master]"; if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_T || Class == Job_Baby_Rune) { @@ -115,8 +136,7 @@ aldebaran,133,109,5 duplicate(Riding Creature Master) Riding Creature Master#4 8 yuno,171,187,3 duplicate(Riding Creature Master) Riding Creature Master#5 8W_SOLDIER rachel,106,130,5 duplicate(Riding Creature Master) Riding Creature Master#6 8W_SOLDIER -// Peco removing NPC -//============================================================ +//== Peco removing NPC ===================================== prontera,125,208,5 script Peco Peco Remover 8W_SOLDIER,{ mes "[Soldier]"; mes "If you're unable to dismount from a Peco Peco"; @@ -146,8 +166,7 @@ prontera,125,208,5 script Peco Peco Remover 8W_SOLDIER,{ close; } -// Magic Gear Renter -//============================================================ +//== Magic Gear Renter ===================================== - script ::mgm -1,{ mes "[Magic Gear Master]"; if (Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) { diff --git a/npc/re/merchants/shadow_refiner.txt b/npc/re/merchants/shadow_refiner.txt index d184af61d..4e5049e5f 100644 --- a/npc/re/merchants/shadow_refiner.txt +++ b/npc/re/merchants/shadow_refiner.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) 2015 Hercules Dev Team +//= Copyright (C) Dastgir +//= +//= 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/>. +//========================================================================= //= Shadow Refiner -//===== By: ================================================== -//= Dastgir -//===== Current Version: ===================================== +//================= Description =========================================== +//= Shadow item refiner +//================= Current Version ======================================= //= 1.0 -//===== Description: ========================================= -//= [Aegis Conversion] -//===== Additional Comments: ================================= -//= 1.0 First Version [Dastgir] -//============================================================ +//========================================================================= itemmall,31,76,3 script Shadow Blacksmith#nomal 4_F_JOB_BLACKSMITH,{ disable_items; diff --git a/npc/re/merchants/shops.txt b/npc/re/merchants/shops.txt index 220d76476..83ae07d3e 100644 --- a/npc/re/merchants/shops.txt +++ b/npc/re/merchants/shops.txt @@ -1,27 +1,45 @@ -//===== Hercules Script ====================================== -//= Shops -//===== By: ================================================== -//= Hercules Dev Team -//===== Current Version: ===================================== -//= 1.9 -//===== Description: ========================================= +//================= 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) Frost +//= Copyright (C) rAthena Dev Team +//= Copyright (C) Lemongrass +//= Copyright (C) Streusel +//= Copyright (C) Euphy +//= Copyright (C) Joseph +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Kenpachi +//= +//= 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/>. +//========================================================================= +//= Shops (Renewal) +//================= Description =========================================== //= Renewal-specific town shop NPCs. -//===== Additional Comments: ================================= -//= 1.0 Moved some merchants to a separate renewal file. [Kenpachi] -//= 1.1 Added Dicastes merchants. [Joseph] -//= 1.2 Moved more shops to Renewal file. [Euphy] -//= 1.3 Added Malangdo tool dealer. [Euphy] -//= 1.4 Moved Izlude merchants. [Streusel] -//= 1.5 Added Dewata merchants. [Lemongrass] -//= 1.6 Added Mora and Port Malaya merchants. -//= 1.7 Added Izlude duplicates. [Euphy] -//= 1.8 Converted to trader format. [Frost] -//= 1.9 Change the item sequence of Black Marketeer according to kRO. [Frost] -//============================================================ - -//======================================================= -// Comodo -//======================================================= +//================= Current Version ======================================= +//= 1.9 +//========================================================================= + +//== Comodo ================================================ comodo,106,213,5 trader Tropic Fruit Dealer 4_F_07,{ OnInit: sellitem Comodo_Tropic_Fruit; @@ -33,9 +51,7 @@ OnInit: sellitem Heartbroken_Tears; } -//======================================================= -// Dewata -//======================================================= +//== Dewata ================================================ dewata,218,164,4 trader Weapon Dealer 4_M_DEWMAN,{ OnInit: sellitem Main_Gauche; @@ -92,9 +108,7 @@ OnInit: sellitem Belt; } -//======================================================= -// Einbroch -//======================================================= +//== Einbroch ============================================== einbroch,122,250,4 trader Black Marketeer#ein 1_M_03,{ OnInit: sellitem Flame_Thrower; @@ -121,9 +135,7 @@ OnInit: sellitem RepairC; } -//======================================================= -// El Dicastes -//======================================================= +//== El Dicastes =========================================== dic_in01,238,107,5 trader Peddler#dic 4_M_HUMERCHANT,{ OnInit: sellitem Wing_Of_Fly; @@ -140,9 +152,7 @@ OnInit: sellitem Lime_Green_Pts; } -//======================================================= -// Izlude -//======================================================= +//== Izlude ================================================ izlude,124,165,4 trader Fruit Gardener#iz 1_M_INNKEEPER,{ OnInit: sellitem Apple; @@ -219,18 +229,14 @@ OnInit: sellitem Thunder_P; } -//======================================================= -// Juno -//======================================================= +//== Juno ================================================== s_atelier,114,117,1 trader Part-Timer#sc_yuno 4_F_03,{ OnInit: sellitem Surface_Paint; sellitem Face_Paint; } -//======================================================= -// Lighthalzen -//======================================================= +//== Lighthalzen =========================================== lighthalzen,337,240,4 trader Trap Specialist#lhz 1_F_01,{ OnInit: sellitem Special_Alloy_Trap; @@ -269,9 +275,7 @@ OnInit: sellitem Face_Paint; } -//======================================================= -// Malangdo -//======================================================= +//== Malangdo ============================================== malangdo,232,163,5 trader Tool Dealer Myo 4_CAT_ADV2,{ OnInit: sellitem Spectacles; @@ -284,9 +288,7 @@ OnInit: sellitem Empty_Bottle; } -//======================================================= -// Mora -//======================================================= +//== Mora ================================================== mora,100,118,4 trader Tool Dealer#mora 4_M_RAFLE_OLD,{ OnInit: sellitem Red_Raffle_Sap; @@ -304,9 +306,7 @@ OnInit: sellitem Beef_Toast; } -//======================================================= -// Mid Camp -//======================================================= +//== Mid Camp ============================================== mid_camp,129,284,4 trader Trap Specialist#mid 1_F_01,{ OnInit: sellitem Special_Alloy_Trap; @@ -339,18 +339,14 @@ OnInit: sellitem RepairC; } -//======================================================= -// Payon -//======================================================= +//== Payon ================================================= payon,123,109,4 trader Trap Specialist#pay 1_F_01,{ OnInit: sellitem Special_Alloy_Trap; sellitem Special_Alloy_Trap_Box; } -//======================================================= -// Port Malaya -//======================================================= +//== Port Malaya =========================================== ma_in01,73,22,3 trader Weapon Dealer#ma 4_M_DEWMAN,{ OnInit: sellitem Main_Gauche; @@ -406,9 +402,7 @@ OnInit: sellitem Belt; } -//======================================================= -// Prontera -//======================================================= +//== Prontera ============================================== /* prontera,104,88,5 trader Stuff Gimme 4_M_MASKMAN,{ OnInit: @@ -454,6 +448,7 @@ OnInit: sellitem Face_Paint; } +//- Ninja Shops - prontera,178,244,3 trader Amatsu Trader#nin 4_M_01,{ OnInit: sellitem Shuriken; @@ -476,9 +471,7 @@ OnInit: sellitem Charm_Earth; } -//======================================================= -// Rachel -//======================================================= +//== Rachel ================================================ ra_in01,263,281,4 trader Trap Specialist#ra 1_F_01,{ OnInit: sellitem Special_Alloy_Trap; diff --git a/npc/re/merchants/ticket_refiner.txt b/npc/re/merchants/ticket_refiner.txt index aa768f20b..3242c0405 100644 --- a/npc/re/merchants/ticket_refiner.txt +++ b/npc/re/merchants/ticket_refiner.txt @@ -1,17 +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 +//= +//= 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/>. +//========================================================================= //= Ticket Refiner -//===== By: ================================================== -//= Euphy -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] -//= Refiner that uses +5~9/+11 refine tickets to refine -//= equipment with no chance of failure. +//================= Description =========================================== +//= Refiner that uses +5~9/+11 refine tickets to refine equipment with no +//= chance of failure. +//================= Additional Comments =================================== //= NOTE: This NPC is currently disabled on official servers. -//===== Additional Comments: ================================= -//= 1.0 First version. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prontera,184,177,6 script Refine Master 4_M_REPAIR,{ disable_items; |