diff options
Diffstat (limited to 'npc/merchants')
30 files changed, 1187 insertions, 797 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index 6d19d68e4..fe69a8a3a 100644 --- a/npc/merchants/advanced_refiner.txt +++ b/npc/merchants/advanced_refiner.txt @@ -1,29 +1,47 @@ -//===== 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) Yommy +//= 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/>. +//========================================================================= //= Advanced Refiner -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== 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 =================================== +//= 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. //= - Dialog is only partly official to iRO. //= - Uses the iRO position for this NPC. -//===== Additional Comments: ================================= -//= 1.0 First Version. [L0ne_W0lf] -//= 1.1 Fixed a weird carriage return. o_o [L0ne_W0lf] -//= 1.2 Optimizing refine method [Zephyrus] -//= 1.3 Typo fixes [Yommy] -//= 1.4 Removed unnecessary dialogs [Zephyrus] -//= 1.4a Added 'disable_items' command. [Euphy] -//= 1.4b Fixed coordinates. [Euphy] -//= 1.5 Some official script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= payon,157,146,6 script Suhnbi#cash 4_M_03,{ disable_items; diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt index 91dc048c9..c563eb747 100644 --- a/npc/merchants/alchemist.txt +++ b/npc/merchants/alchemist.txt @@ -1,22 +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) rAthena Dev Team +//= Copyright (C) Euphy +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Masao +//= Copyright (C) L0ne_W0lf +//= Copyright (C) SinSloth +//= Copyright (C) Lupus +//= 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/>. +//========================================================================= //= Alchemist Shop -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.8 -//===== Description: ========================================= +//================= Description =========================================== //= Merchants for Alchemist Materials and Manuals. -//===== Additional Comments: ================================= -//= 1.1 fixed Medicine Bowl issue, thanx 2 MasterOfMuppets -//= 1.2 Reddozen's fixes of typos. added optional Elemental -//= Potion Guide. [Lupus] -//= 1.3 Deleted Elemental Potions Guide due to original quest [Lupus] -//= 1.4 Alchemists can now purchase 2000 Medicine Bowls at once. [SinSloth] -//= 1.5 Updated to Aegis 10.3 Standards. [L0ne_W0lf] -//= 1.6 Corrected canceling purchase. [L0ne_W0lf] -//= 1.7 Updated to match AEGIS script. [Masao] -//= 1.8 Moved Craft Book Merchant to Renewal path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.8 +//========================================================================= alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{ if (checkweight(1201,1) == 0) { diff --git a/npc/merchants/ammo_boxes.txt b/npc/merchants/ammo_boxes.txt index 5039bbbf0..392c8be1f 100644 --- a/npc/merchants/ammo_boxes.txt +++ b/npc/merchants/ammo_boxes.txt @@ -1,20 +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) rAthena Dev Team +//= Copyright (C) Euphy +//= Copyright (C) Masao +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Kisuka +//= Copyright (C) Lupus +//= Copyright (C) ultramage +//= 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/>. +//========================================================================= //= Magazine Dealers -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Turns bullets into magazines/packs. -//===== Additional Comments: ================================= -//= 1.0 First version. [SinSloth] -//= 1.1 Optimized version - Reduced to only one function [SinSloth] -//= 1.2 Optimized^2, corrected npc's name [ultramage] -//= 1.2a Optimized. Please, ommit extra NPC names [Lupus] -//= 1.3 Updated to match AEGIS script. [Kisuka] -//= 1.4 Updated to match AEGIS script again. [Masao] -//= 1.5 Moved Izlude duplicate to pre-re/re paths. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= alberta,118,157,3 script Magazine Dealer Kenny::mdk 4_M_01,{ if (BaseJob == Job_Gunslinger) { diff --git a/npc/merchants/ammo_dealer.txt b/npc/merchants/ammo_dealer.txt index 382916b10..227bd6218 100644 --- a/npc/merchants/ammo_dealer.txt +++ b/npc/merchants/ammo_dealer.txt @@ -1,21 +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) Kisuka +//= Copyright (C) Lupus +//= Copyright (C) Legionaire +//= Copyright (C) Paradox924X +//= Copyright (C) Playtester +//= +//= 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 -//===== By =================================================== -//= Playtester, Paradox924X -//===== Version ============================================== -//= 1.5 -//===== Description ========================================== +//================= Description =========================================== //= Bullet trader. -//===== Comments ============================================= -//= 1.0 First version [Playtester] -//= 1.1 Converted from Aegis [Paradox924X] -//= 1.2 More optimized conversion [Legionaire] -//= 1.2a Removed .GATs [Lupus] -//= 1.3 Fixed [Playtester] Optimized. Got rid of @vars [Lupus] -//= 1.4 Updated to match AEGIS script. [Kisuka] -//= 1.5 Updated to match AEGIS script again. [Masao] -//= 1.6 Moved Izlude duplicate to pre-re/re paths. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= alberta,118,160,3 script Bullet Dealer Tony#alb::bdt 4_M_04,{ if (BaseJob == Job_Gunslinger) { diff --git a/npc/merchants/buying_shops.txt b/npc/merchants/buying_shops.txt index dcd7dde9b..b19f13f6e 100644 --- a/npc/merchants/buying_shops.txt +++ b/npc/merchants/buying_shops.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) Euphy +//= 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/>. +//========================================================================= //= Buying Shop Scripts -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.1a -//===== Description: ========================================= +//================= Description =========================================== //= Buying Shop licenses. -//===== Additional Comments: ================================= -//= 1.0 First version. [Kisuka] -//= 1.1 Added Catalog Magician. [Euphy] -//= 1.1a Moved Catalog Magician to Renewal path. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1a +//========================================================================= -// Black Marketeer (Buy Licenses - Non-Merchant Classes) -//============================================================ +//== Black Marketeer (Buy Licenses - Non-Merchant Classes) = que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2400) { mes "[Mr. Jass]"; @@ -96,8 +116,7 @@ que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{ } } -// Purchasing Team (Learn Skill - Merchant Classes) -//============================================================ +//== Purchasing Team (Learn Skill - Merchant Classes) ====== alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2400) { mes "- You cannot converse or perform the quest because you are carrying too many items. -"; diff --git a/npc/merchants/cash_hair.txt b/npc/merchants/cash_hair.txt index db0b91a66..a57d6aa84 100644 --- a/npc/merchants/cash_hair.txt +++ b/npc/merchants/cash_hair.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) 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/>. +//========================================================================= //= Cash Hair Stylist -//===== By: ================================================== -//= Kisuka -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= +//================= Description =========================================== //= Exchange cash item, New_Style_Coupon, for new hair styles. -//===== Additional Comments: ================================= -//= 1.0 First Version. [Kisuka] -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= itemmall,19,74,5 script Stylist#cash 4_F_02,{ mes "[Stylist]"; diff --git a/npc/merchants/cash_trader.txt b/npc/merchants/cash_trader.txt index 28db3e69a..5dcefa2c6 100644 --- a/npc/merchants/cash_trader.txt +++ b/npc/merchants/cash_trader.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) 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 NPCs -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= +//================= Description =========================================== //= Sell Cash shop items. //= Based on iRO's Cash shop. Headgears omitted. -//===== Additional Comments: ================================= -//= 1.0 First Version. Sample shop per-say. -//= 1.1 FIxed typo. (bugreport:1078) [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= -// Payon -//============================================================ +//== Payon ================================================= // Sells: // Battle Manual Box, Life Insurance Box, Bubble Gum Box, // Kafra Card Box, Giant Fly Wing Box, Neuralizer Box, @@ -21,5 +41,4 @@ // Assumpito, Wind Walk, Aspersio, Adreniline Rush, // Blessing and Increase Agility Scroll boxes, Dungeon // Teleport Scroll Box, Stat Food boxes, and Gym Passes. - payon,171,142,4 cashshop Kafra Shop Employee 4_F_KAFRA2,12900:1000,12901:200,12902:1000,12909:100,12910:100,12911:1500,12922:150,7619:100,7620:100,12916:150,12917:150,12915:100,12918:100,12913:125,12914:125,13553:50,12903:100,12904:100,12905:100,12906:100,12907:100,12908:100,7776:50 diff --git a/npc/merchants/cashheadgear_dye.txt b/npc/merchants/cashheadgear_dye.txt index f9a6cd089..9df88ab2a 100644 --- a/npc/merchants/cashheadgear_dye.txt +++ b/npc/merchants/cashheadgear_dye.txt @@ -1,36 +1,56 @@ -//===== 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) Xantara +//= Copyright (C) Maud_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/>. +//========================================================================= //= Headgear Dyer (Cash) -//===== By: ================================================== -//= Xantara -//= Maud_Dib -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Change headgear's color. Cost is a Mysterious Dyestuff -//===== Additional Comments: ================================= -//= 1.0 First / Optimized Version -//============================================================ +//================= Current Version ======================================= +//= 1.0 +//========================================================================= prt_in,253,168,4 script Alora 4_F_LGTGIRL,{ - -// Mysterious Dyestuff + // Mysterious Dyestuff .@dyeID = 6220; -// Headgear Choices + // Headgear Choices setarray .@hgn$[1], "Mage Hat","Beanie","Drooping Cat","Deviruchi Hat","Wig","Ribbon","Magestic Goat"; -// Mage Hats - Normal, Yellow, Blue, Brown, Gray, Red + // Mage Hats - Normal, Yellow, Blue, Brown, Gray, Red setarray .@hg_1[1], 5027, 5242, 5241, 5240, 5239, 5238; -// Beanies - Normal, Pink, Blue, Brown + // Beanies - Normal, Pink, Blue, Brown setarray .@hg_2[1], 5076, 5237, 5236, 5235; -// Drooping Cats - Normal, Blue, Brown, Gray, Pink, Yellow + // Drooping Cats - Normal, Blue, Brown, Gray, Pink, Yellow setarray .@hg_3[1], 5058, 5233, 5231, 5230, 5232, 5234; -// Deviruchi Hats - Normal, Red, Gray, Brown + // Deviruchi Hats - Normal, Red, Gray, Brown setarray .@hg_4[1], 5038, 5227, 5228, 5229; -// Wigs - Happy, Shiny, Marvelous, Fantastic + // Wigs - Happy, Shiny, Marvelous, Fantastic setarray .@hg_5[1], 5273, 5274, 5275, 5276; -// Ribbons - Normal, Black, Yellow, Green, Pink, Red, Orange, White + // Ribbons - Normal, Black, Yellow, Green, Pink, Red, Orange, White setarray .@hg_6[1], 2208, 5191, 5192, 5193, 5194, 5195, 5196, 5197; -// Magestic Goats - Normal, Evolved + // Magestic Goats - Normal, Evolved setarray .@hg_7[1], 2256, 5217; mes "[Alora]"; diff --git a/npc/merchants/clothes_dyer.txt b/npc/merchants/clothes_dyer.txt index b7e90febf..34c7fb7b2 100644 --- a/npc/merchants/clothes_dyer.txt +++ b/npc/merchants/clothes_dyer.txt @@ -1,23 +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) Playtester +//= Copyright (C) Poki#3 +//= Copyright (C) Nexon +//= Copyright (C) Lupus +//= Copyright (C) Usnul +//= +//= 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/>. +//========================================================================= //= Clothes Dyer -//===== By: ================================================== -//= Usnul -//===== Current Version: ===================================== -//= 2.5 -//===== Description: ========================================= +//================= Description =========================================== //= Clothes dyer with standard palletes -//===== Additional Comments: ================================= -//= Fully working -//= 2.1 Shortened some labels to make this script loading, -//= Added Black+White Colors desc [Lupus] -//= 2.1a added adv classes + baby class support [Lupus] -//= 2.2 Spell checked. [Nexon] -//= 2.3 Fixed dis $hit! [Poki#3] -//= 2.4 Disabled cloth dyeing since it's not implemented -// on official servers and cause your client to crash -// [Playtester] -//= 2.5 Optimized. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.5 +//========================================================================= prt_in,284,168,2 script Dyer Ginedin Rephere 1_M_JOBTESTER,{ function Dyes; diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt index 5a63c5708..84aeb71bd 100644 --- a/npc/merchants/coin_exchange.txt +++ b/npc/merchants/coin_exchange.txt @@ -1,20 +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) rAthena Dev Team +//= Copyright (C) Euphy +//= Copyright (C) eAthena Dev Team +//= 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/>. +//========================================================================= //= Coin Merchants -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Coin redemption NPCs. -//===== Additional Comments: ================================= -//= 1.0 First version -//= 1.1 Fixed checkweight. [Gepard] -//= 1.2 Optimized and merged into one file. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= -// Manuk & Splendide -//============================================================ +//== Manuk & Splendide ===================================== - script ::merchant_13_2 -1,{ .@n$ = "["+strnpcinfo(1)+"]"; mes .@n$; diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt index bd2440c19..d387485a1 100644 --- a/npc/merchants/dye_maker.txt +++ b/npc/merchants/dye_maker.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) rAthena Dev Team +//= Copyright (C) eAthena Dev Team +//= Copyright (C) ultramage +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Nexon +//= 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/>. +//========================================================================= //= Dye Maker -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Quests to create the eight colored Dyestuffs. -//===== Additional Comments: ================================= -//= 1.0 Fully working [kobra_k88] -//= 1.1 Spell Checked [Nexon] -//= 1.2 Rescripted to Aegis 10.3 standard. [L0ne_W0lf] -//= 1.2b Fixed typos in variable names [ultramage] -//= 1.3 Made the checks more dynamic [ultramage] -//= 1.3b Fixed incorrect checking loop structure [ultramage] -//= 1.4 Added a checkweight. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= morocc_in,146,99,3 script Java Dullihan 1_M_MERCHANT,{ if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { diff --git a/npc/merchants/elemental_trader.txt b/npc/merchants/elemental_trader.txt index bf01c29d3..928782255 100644 --- a/npc/merchants/elemental_trader.txt +++ b/npc/merchants/elemental_trader.txt @@ -1,16 +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) rAthena Team +//= Copyright (C) Euphy +//= Copyright (C) eAthena Team +//= Copyright (C) L0ne_W0lf +//= 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/>. +//========================================================================= //= Elemental Stone Trader -//===== By: ================================================== -//= rAthena Team & MasterOfMuppets -//===== Current Version: ===================================== -//= 1.1 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Trade impure types of elemental stones for pure ones. -//===== Additional Comments: ================================= -//= 1.0 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.1 Optimized. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1 +//========================================================================= ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{ mes "[Laspuchin Gregory]"; diff --git a/npc/merchants/enchan_arm.txt b/npc/merchants/enchan_arm.txt index 10aecf6ae..3e7a723b6 100644 --- a/npc/merchants/enchan_arm.txt +++ b/npc/merchants/enchan_arm.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) Daegaladh +//= 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/>. +//========================================================================= //= Armor Enchanter -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.3a -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Add a +1, +2, or +3 random stat to a specified armor. -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Corrected typo (Sit -> Suit) (bugreport:4586) -//= 1.2 Optimized. [Euphy] -//= 1.3 Fixed some typos and optimized a little more. [Daegaladh] -//= 1.3a Added 'disable_items' command. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3a +//========================================================================= prontera,165,60,2 script Apprentice Craftsman 1_F_MERCHANT_01,{ disable_items; diff --git a/npc/merchants/gemstone.txt b/npc/merchants/gemstone.txt index 1737c217f..229161c30 100644 --- a/npc/merchants/gemstone.txt +++ b/npc/merchants/gemstone.txt @@ -1,21 +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/>. +//========================================================================= //= Gemstone Trader -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Trade various colors of gemstones for other color gemstones. -//===== Additional Comments: ================================= -//= 1.0 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Any notes pertaining to the prior trader may be found -//= in the cities/payon.txt -//= 1.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.2 Updated input with min/max values. [L0ne_W0lf] -//= Added a checkweight. -//= 1.3 Fixed checks. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= payon,173,238,5 script Jade#pay 4_M_SAGE_A,{ if (checkweight(1201,1) == 0) { diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt index 91708d991..f1b72a2b7 100644 --- a/npc/merchants/hair_dyer.txt +++ b/npc/merchants/hair_dyer.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) 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/>. +//========================================================================= //= Hair Dyer -//===== By: ================================================== -//= kobra_k88; L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= Hair Dyer with standard palletes -//===== Additional Comments: ================================= -//= Fully working -//= 1.1 Bugfix: fixed missing menu label LEnd->M_End [Lupus] -//= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.3 Fixed problem what "freezes" the NPC. (bugreport:509) [Samuray22] -//= 1.4 Fixed getlook checking the wrong color. (bugreport:2392) [L0ne_W0lf] -//= 1.5 Added Lighthalzen Hair Dying NPC. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= prt_in,243,168,4 script Jovovich 4_F_02,{ mes "[Hairdresser Jovovich]"; @@ -153,7 +173,7 @@ S_NoDye: return; } -// Lighthalzen +//== Lighthalzen =========================================== lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ mes "[Rossa]"; if (Sex == 1) { diff --git a/npc/merchants/hair_style.txt b/npc/merchants/hair_style.txt index 2eb2d4eb4..ea074efaa 100644 --- a/npc/merchants/hair_style.txt +++ b/npc/merchants/hair_style.txt @@ -1,20 +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) L0ne_W0lf +//= Copyright (C) Silent +//= Copyright (C) Nexon +//= Copyright (C) Kisuka +//= Copyright (C) Samuray22 +//= 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/>. +//========================================================================= //= Hair Dresser -//===== By: ================================================== -//= Muad_Dib, Samuray22, Kisuka -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Allows you to change your hairstyle. -//===== Additional Comments: ================================= -//= 1.2 Rescripted to the Aegis 10.3 Standards. [Samuray22] -//= 1.3 Updated to match AEGIS script. [Kisuka] -//= 1.4 Added Lighthalzen Hair Dresser. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= -// Hair Dresser Veronica -// ============================================================ +//== Hair Dresser Veronica ================================= alberta_in,55,142,7 script Hair Dresser 4_F_02,{ mes "[Veronica]"; mes "Welcome to Veronica's hair salon."; @@ -520,8 +543,7 @@ L_cutin: return; } -// Roving Hair Dresser -// ============================================================ +//== Roving Hair Dresser =================================== alberta,33,141,7 script Roving Hair Dresser 4_M_BARBER,{ mes "[Rui Vishop]"; mes "That Veronica..."; @@ -682,7 +704,7 @@ alberta,33,141,7 script Roving Hair Dresser 4_M_BARBER,{ } -// Lighthalzen +//== Lighthalzen =========================================== lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{ mes "[Prince Shammi]"; mes "Welcome to Prince Shammi's"; @@ -1293,9 +1315,3 @@ lhz_in02,91,155,5 script Assistant Beautician#li 4_F_LGTGIRL,{ close; } } - -//===== Old Changelog: ================================= -//= 07/06/05 : Added 1st Version. [Muad_Dib] -//= Converted to rAthena format by Dr.Evil Fixed typos [Nexon] -//= 1.1 Removed Duplicates [Silent] -//============================================================ diff --git a/npc/merchants/hd_refine.txt b/npc/merchants/hd_refine.txt index 31e3f5cdf..2200f85be 100644 --- a/npc/merchants/hd_refine.txt +++ b/npc/merchants/hd_refine.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]"; @@ -153,12 +173,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/merchants/icecream.txt b/npc/merchants/icecream.txt index 29d3eafe0..a8df94753 100644 --- a/npc/merchants/icecream.txt +++ b/npc/merchants/icecream.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) L0ne_W0lf +//= Copyright (C) Lupus +//= Copyright (C) Kisuka +//= Copyright (C) KOOK SWU +//= +//= 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/>. +//========================================================================= //= Ice Cream Maker -//===== By: ================================================== -//= KOOK SWU, Kisuka -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= +//================= Description =========================================== //= A man makes you ice-cream -//===== Additional Comments: ================================= -//= 1.1 Optimized, changed overlapping coords in Alberta [Lupus] -//= 1.2 According to the patch, IceCream seller has been removed from Morocc [Lupus] -//= 1.3 No more label menu and updated to match AEGIS script. [Kisuka] -//= 1.4 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//= 1.5 Fixed small checkweight issue. [Kisuka] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= - script Ice Cream Maker::IceCreamer -1,{ mes "[Ice Cream Maker]"; @@ -74,11 +95,11 @@ close; } -// Alberta +//== Alberta =============================================== alberta,120,45,2 duplicate(IceCreamer) Ice Cream Maker#1 4_M_03 -// Morroc Field +//== Morroc Field ========================================== moc_fild16,88,304,4 duplicate(IceCreamer) Ice Cream Maker#2 4_M_03 -// Morroc +//== Morroc ================================================ //morocc,160,144,4 duplicate(IceCreamer) Ice Cream Maker#3 4_M_03 diff --git a/npc/merchants/inn.txt b/npc/merchants/inn.txt index 8b3a34420..a3da896cf 100644 --- a/npc/merchants/inn.txt +++ b/npc/merchants/inn.txt @@ -1,95 +1,90 @@ -//===== 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) L0ne_W0lf +//= Copyright (C) erKURITA +//= Copyright (C) kobra_k88 +//= Copyright (C) Playtester +//= Copyright (C) Darkchild +//= +//= 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 -//===== By: ================================================== -//= Darkchild (1.1) -//= Playtester (1.2) -//===== Current Version: ===================================== -//= 2.9a -//===== Description: ========================================= +//================= Description =========================================== //= Inn Npcs, Save and Heal -//============================================================ -//= variables: -//= arg0 - name of npc -//= arg1 - name of the inn -//= arg2 - map to save at -//= arg3, arg4 - x and y cord. to save at -//= @cost - cost of renting a room -//===== Additional Comments: ================================= -//= 1.1 Blind Effect By Kobra_k88 (Taken from his old script) -//= I added it to all of them though [Darkchild] -//= 1.1a Minor bug fixes and optimizations. Switched from @variables -//= to arguments.[kobra_k88] -//= 1.2 Rewrote inn script [Playtester] -//= 1.3 Added (finally) Rachel Inn Maid. Official warp -//= and save points[erKURITA] -//= 1.4 Added Hugel inn [erKurita] -//= 1.5 Added "end;" after warping the player. [L0ne_W0lf] -//= - Small corrections to the prontera Inns. -//= - Removed the Cancel dialog. -//= 1.6 More fixes, changed progression of "Rest"ing. -//= - Corrected Morroc NPCs. [L0ne_W0lf] -//= 1.7 Corrected Payon NPC. [L0ne_W0lf] -//= 1.8 Corrected Geffen NPC. [L0ne_W0lf] -//= 1.9 Added the Inn for Al De baran. [L0ne_W0lf] -//= 2.0 Added Inn for the Town of Veins. [L0ne_W0lf] -//= 2.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.1a Corrected a little Typo error. (bugreport:536 & 537) [Samuray22] -//= 2.2 Small update to Vein's Inn Master. [L0ne_W0lf] -//= 2.3 Added Lighthalzen Inn from Lighthalzen town file. [L0ne_W0lf] -//= 2.4 Fixed Inn Employee#Ahlma warping to same destination as save point, bugreport: 191. -//= 2.5 Added Moskovia Gostinitsa (Inn) from jA -//= 2.6 Updated Alberta inn to official. [L0ne_W0lf] -//= 2.7 Removed Morroc Inns as per episode 12.1. [L0ne_W0lf] -//= 2.8 Removed Moscovia Inn; Its in quests/quest_moscovia.txt [Kisuka] -//= 2.9 Added switch menus, updated to match AEGIS scripts. [Kisuka] -//= 2.9a Added 'npcskill' command. [Euphy] -//============================================================ - - -//========================Prontera =================================== -// West Side Inn ------------------- +//================= Current Version ======================================= +//= 2.9a +//========================================================================= + +//== Prontera ============================================== +//- West Side Inn - prt_in,244,135,2 script Inn Employee#Sammy 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Sammy]","Nenkaras","prt_in",238,130; warp "prt_in",247,104; end; } -// East Side Inn ------------------ + +//- East Side Inn - prt_in,61,141,2 script Inn Employee#Ahlma 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Ahlma]","Nenkaras","prt_in",64,136; warp "prt_in",60,166; end; } -//========================Alberta ==================================== +//== Alberta =============================================== alberta_in,32,142,3 script Inn Employee#Jennie 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Jennie]","'Fisherman Inn'!","alberta_in",26,142; warp "alberta_in",18,188; end; } -//======================Geffen ====================================== +//== Geffen ================================================ geffen_in,70,64,5 script Inn Employee#Cena 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Cena]","'Ifrit,' the only Inn in the city of Geffen.","geffen_in",70,59; warp "geffen_in",31,31; end; } -//=======================Payon ====================================== +//== Payon ================================================= payon_in01,132,62,5 script Inn Employee#Ahee 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Ahee]","Payon Inn","payon_in01",136,61; warp "payon_in01",132,11; end; } -//========================Morocc ==================================== -// North East -------------------------- +//== Morocc ================================================ +//- North East - /* morocc_in,147,141,3 script Inn Employee#Hasna 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Hasna]","Morroc Inn","morocc_in",142,140; warp "morocc_in",173,135; end; } -// South -------------------------------- + +//- South - morocc_in,80,100,5 script Inn Employee#Manar 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Employee Manar]","Morroc Inn","morocc_in",78,95; @@ -97,21 +92,21 @@ morocc_in,80,100,5 script Inn Employee#Manar 1_M_INNKEEPER,{ } */ -//======================Aldebaran =================================== +//== Aldebaran ============================================= aldeba_in,92,58,5 script Inn Maid#Rilim 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Rilim]","Al De Baran Inn","aldeba_in",92,50; warp "aldeba_in",92,112; end; } -//========================Rachel ==================================== +//== Rachel ================================================ ra_in01,376,69,4 script Inn Keeper#Annie 4_M_RACHMAN1,{ callfunc "F_InnMaid","[Annie]","Rachel Inn","ra_in01",375,58; warp "ra_in01",384,128; end; } -//======================Lighthalzen ================================= +//== Lighthalzen =========================================== lhz_in02,230,284,4 script Hotel Employee#01 4_M_04,{ mes "[Hotel Employee]"; mes "Welcome to"; @@ -156,14 +151,14 @@ lhz_in02,230,284,4 script Hotel Employee#01 4_M_04,{ } } -//========================Hugel ==================================== +//== Hugel ================================================= hu_in01,246,107,3 script Inn Maid#Receptionist 1_M_INNKEEPER,{ callfunc "F_InnMaid","[Receptionist]","Hugel Inn","hu_in01",263,95; warp "hu_in01",267,5; end; } -//========================Veins ==================================== +//== Veins ================================================= ve_in,157,219,5 script Inn Master#Receptionist 4_M_SEAMAN,{ mes "[Inn Master]"; mes "Good day~"; @@ -201,7 +196,13 @@ ve_in,157,219,5 script Inn Master#Receptionist 4_M_SEAMAN,{ } } -//=======================Inn Function ============================== +//== Inn Function ========================================== +// Arguments: +// 0 - name of npc +// 1 - name of the inn +// 2 - map to save at +// 3 - x coordinate to save at +// 4 - y coordinate to save at function script F_InnMaid { mes getarg(0); mes "Welcome to"; diff --git a/npc/merchants/kunai_maker.txt b/npc/merchants/kunai_maker.txt index d3b70f35b..5be824f85 100644 --- a/npc/merchants/kunai_maker.txt +++ b/npc/merchants/kunai_maker.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) rAthena Dev Team +//= Copyright (C) Euphy +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Kisuka +//= Copyright (C) ultramage +//= Copyright (C) Playtester +//= Copyright (C) erKURITA +//= +//= 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/>. +//========================================================================= //= Kunai Merchant Kashin -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 1.3a -//===== Description: ========================================= +//================= Description =========================================== //= Trades a few shurikens + ninja stones for elemental kunai. -//===== Additional Comments: ================================= -//= 1.0 Added the npc. It uses a function that sends the item -//= id of the 2 required items plus the amount. Can trade -//= up to 500 units (5,000 kunais) at once. [erKURITA] -//= 1.1 Officialized script [Playtester] -//= 1.2a Optimized/cleaned up a bit [ultramage] -//= 1.3 Updated to match AEGIS script. [Kisuka] -//= 1.3a Kagerou/Oboro support (BaseJob -> BaseClass) [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3a +//========================================================================= que_ng,72,29,3 script Kunai Merchant Kashin 4_M_01,{ if(BaseClass == Job_Ninja) { diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt index d9c7efe47..396cdef08 100644 --- a/npc/merchants/milk_trader.txt +++ b/npc/merchants/milk_trader.txt @@ -1,21 +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) 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/>. +//========================================================================= //= Milk Trader -//===== By: ================================================== -//= kobra_k88; L0ne_W0lf -//===== Current Version: ===================================== -//= 1.5 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Trades bottles for milk -//===== Additional Comments: ================================= -//= Fully working -//= 1.1 Negative input bug fixed [Lupus] -//= 1.2 Raised the price to close zeny exploit [Lupus] -//= 1.2a Switched to Lupus's "loopless" technique.[kobra_k88] -//= 1.3 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.4 Implemented checkweight. [L0ne_W0lf] -//= 1.5 Fixed missed variable. (bugreport:1523) [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.5 +//========================================================================= prontera,73,140,0 script Milk Vendor 4_M_04,{ if (checkweight(1201,1) == 0) { diff --git a/npc/merchants/novice_exchange.txt b/npc/merchants/novice_exchange.txt index 4f9c05218..d35f1db48 100644 --- a/npc/merchants/novice_exchange.txt +++ b/npc/merchants/novice_exchange.txt @@ -1,19 +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) rAthena Team +//= Copyright (C) eAthena Team +//= Copyright (C) L0ne_W0lf +//= Copyright (C) KarLaeda +//= 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/>. +//========================================================================= //= Novice Goods Exchanger -//===== By: ================================================== -//= ???, rAthena Team -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Exchanges your Basic Monster drops for Red Potions. -//===== Additional Comments: ================================= -//= 1.2 Rescripted to Aegis 10.standards. [L0ne_W0lf[ -//= Made it easier to add new items to exhange list -//= meaning only the exchange is done in a function now. -//= 1.3 Fixed dialog mix-up in function. [L0ne_W0lf] -//= 1.4 Added checkweight, and input min/max values. [L0ne_W0lf] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= prontera,123,102,5 script Merchant#pron 4_M_03,{ if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { @@ -378,10 +399,3 @@ function script F_PotExchange { close; } } - -//============================================================ -// Old changelog -//============================================================ -//= 1.1 Made it as a function. U can add your own Merchs [Lupus] -//= 1.1a Fixed item select [KarLaeda] -//============================================================ diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt index 15a8206b6..6380eb390 100644 --- a/npc/merchants/old_pharmacist.txt +++ b/npc/merchants/old_pharmacist.txt @@ -1,26 +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 +//= Copyright (C) Lupus +//= Copyright (C) DZeroX +//= +//= 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/>. +//========================================================================= //= Old Pharmacist -//===== By: ================================================== -//= DZeroX -//===== Current Version: ===================================== -//= 1.4 -//===== Description: ========================================= +//================= Description =========================================== //= Trade in items for potions. -//= Breakdown of arguments used: -//= arg(0): Herb required. -//= arg(1): Zeny cost. -//= arg(2): Potion given. -//===== Additional Comments: ================================= -//= 1.0 Fully working. [DZeroX] -//= 1.0a Minor fixes [Lupus] -//= 1.1 Added changed the dialogs and name to fit the -//= the official information. [DZeroX] -//= 1.1a Removed .GATs [Lupus] -//= 1.1b Fixed a bug in Orange Potion creating. Copy&Pasting = bad. [L0ne_W0lf] -//= 1.2 Added checkweight, and input min/max values. [L0ne_W0lf] -//= 1.3 Fixed minor condition check bug. (bugreport:597) [L0ne_W0lf] -//= 1.4 Updated to match AEGIS script. [Kisuka] -//============================================================ +//================= Current Version ======================================= +//= 1.4 +//========================================================================= alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ if (checkweight(1201,1) == 0) { @@ -182,6 +195,10 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ close; } +// Arguments: +// - 0: Herb required. +// - 1: Zeny cost. +// - 2: Potion given. L_Making: next; mes "[Old Pharmacist]"; diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt index a2e293e83..3dca21c37 100644 --- a/npc/merchants/quivers.txt +++ b/npc/merchants/quivers.txt @@ -1,26 +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) Playtester +//= Copyright (C) Nexon +//= 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 Quiver Event -//===== By: ================================================== -//= Muad_Dib (Prometheus Project); L0ne_W0lf -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= [Official Conversion] +//================= 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: ================================= -//= 07/06/05 : Added 1st Version. [Muad_Dib] -//= Converted to rAthena format by Dr.Evil -//= added prize to quest - 500 Zeny -//= Fixed a few spelling errors. [Nexon] -//= 1.1 Added Holy Arrow Quivers [Playtester] -//= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] -//= Removed "Holy Arrows" from the list. -//============================================================ +//================= Current Version ======================================= +//= 1.2 +//========================================================================= payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { @@ -68,6 +81,11 @@ payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{ //mes "anything you want?"; //close; +// 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 "[Inventor Jaax]"; diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt index 2b2d95180..3de8bf28d 100644 --- a/npc/merchants/refine.txt +++ b/npc/merchants/refine.txt @@ -1,68 +1,59 @@ -//===== 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) Xantara +//= Copyright (C) Paradox924X +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Samuray22 +//= Copyright (C) Silent +//= Copyright (C) Kargha +//= Copyright (C) Playtester +//= Copyright (C) DracoRPG +//= Copyright (C) Poki#3 +//= Copyright (C) Nexon +//= Copyright (C) dafide18 +//= Copyright (C) massdriller +//= Copyright (C) shadowlady +//= Copyright (C) Shinigami +//= Copyright (C) Darkchild +//= Copyright (C) kobra_k88 +//= Copyright (C) Lupus +//= Copyright (C) Skotlex +//= Copyright (C) dafide18 +//= Copyright (C) Syrus22 +//= +//= 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/>. +//========================================================================= //= Refining NPCs -//===== By: ================================================== -//= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5) -//===== Current Version: ===================================== -//= 3.3 -//===== Description: ========================================= +//================= Description =========================================== //= Refining NPCs and Metal Salesmen. -//===== Additional Comments: ================================= -//= 1.0 by A bunch of people! -//= Syrus22 - Completely redid the script using functions... also -//= added the option for auto safe refining and multiple refining. -//= 1.1 Negative input bug fixed [Lupus] -//= 1.2 Added additional reparimen in morroc and payon. Added -//= Christopher the blacksmith in Geffen. Edited some dialogue [kobra_k88] -//= 1.3 New Payon Locations [Darkchild] -//= Corrected zeny subtraction thx to jpnmania77.[kobra_k88] -//= 1.3a Temporary corrected an exploit. Need to check sources -//= to fully fix bug [Shinigami] -//= Fixed repairman prices [shadowlady] -//= Fixed bug that skips requirements thanks to sir_loon [massdriller] -//= Fixed itemid error thanks to -Vitamin- [massdriller] -//= 1.4 check again item in refining procedure to avoid -//= hacker that can change item [dafide18] -//= 1.5 Fixed crashing due to badly used callfunc's [Skotlex] -//= Lupus, don't rollback this important fix again! >.< -//= 1.5a Corrected an unneeded callfunc, fixed the anti-bot -//= exploit ruining the safe refine loop. [Skotlex] -//= 1.5b Fixed Spelling mistakes. [Nexon] -//= 1.6 Replaced all breaks for ends as per the new script engine [Skotlex] -//= 1.7 Added Einbroch Refiners (Custom names ^^;) and a duplicated BS Shop. [Poki#3] -//= 1.8 Added Lighthalzen Refiners (Custom names again ^^;) [Poki#3] -//= 1.8a Fixed wrong indication thanks to NeoSaro [Lupus] -//= 1.9 Rewrote repairman, removed the Steel from repair cost [DracoRPG] -//= 2.0 Fixed missed equppment presence check. Thx2 Coltaro [Lupus] -//= 2.0a Added weight checks thanks to Neouni [Playtester] -//= 2.0b Fixed the names of Lighthalzen and Einbroch refiners thanks to Maud_Dib [Kargha] -//= 2.1 Removed Duplicates [Silent] -//= 2.2 Changed name from "Emvertacon" to "Emveretarcon". [Samuray22] -//= Thanks to Barron-Monster. -//= 2.2b Changed name from "Pharacon" to "Phracon". [Samuray22] -//= Thanks to Barron-Monster. -//= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.4 Updated Refiner function. cleaner, and less dated. [L0ne_w0lf] -//= 2.5 Rather large update to the refiner and merchants. :D [L0ne_W0lf] -//= 2.6 Fixed a few bugs with creating pure stones. [L0ne_W0lf] -//= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf] -//= 0 = No special features; 1 = new refining features -//= Updated Repairmen and function. No longer shows menu. -//= 2.7a A couple touch-ups to the repairman function. [L0ne_w0lf] -//= 2.8 Changed the nonexistent variable .@matname$ for getitemname(.@material). (bugreport:2340) [Samuray22] -//= 2.8 Added proper Blacksmith Supplier to Einroch. [L0ne_W0lf] -//= Updated dated features comment to reflect new usage. -//= 2.8a Small bugfix. (bugreport:2418) [Paradox924X] -//= 2.9 Moved Morroc repairman to Morroc Ruins. [L0ne_W0lf] -//= 3.0 Updated several NPC names and locations. [Xantara] -//= Added WoE map Refiners. -//= 3.1 Added the new refinement & Ore creation NPC's for +11 and above Refinement. [Masao] -//= 3.2 Moved some scripts to Renewal file, other minor changes. [Euphy] -//= 3.2a Added 'disable_items' command. [Euphy] -//= 3.3 Some official script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 3.3 +//========================================================================= -// Christopher: Geffen Blacksmith -//============================================================ +//== Christopher: Geffen Blacksmith ======================== geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "[Christopher Guillenrow]"; mes "Welcome to Christopher's Workshop. Ye can get all yer stuff for forging here. What business"; @@ -327,8 +318,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ } } -// Paul Spanner: Einbroch Blacksmith Supplier -//============================================================ +//== Paul Spanner: Einbroch Blacksmith Supplier ============ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -563,8 +553,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ } } -// Weapon/Armor Refiners -//============================================================ +//== Weapon/Armor Refiners ================================= prt_in,63,60,0 script Hollgrehenn 4_M_03,{ callfunc "refinemain","Hollgrehenn",0; end; @@ -594,14 +583,11 @@ lhz_in02,282,20,7 script Fulerr 4_M_LGTMAN,{ end; } -//============================================================ -//= Main 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. -//============================================================ +//== Main 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. function script refinemain { disable_items; .@features = getarg(1); @@ -800,7 +786,7 @@ function script refinemain { close; } -// New Refining Functions ======================== +//- New 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."; @@ -895,8 +881,7 @@ function script refinemain { close; } -// Material Salesmen -//============================================================ +//== Material Salesmen ===================================== prt_in,56,68,5 script Vurewell 4_M_04,{ callfunc "phramain","Vurewell"; end; @@ -926,8 +911,7 @@ lhz_in02,278,24,3 script Krugg 4_M_04,{ end; } -// Material Salesmen Functions -//============================================================ +//== Material Salesmen Functions =========================== function script phramain { if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1008,8 +992,7 @@ function script phramain { close; } -// Ori/Elu Refiners -//============================================================ +//== Ori/Elu Refiners ====================================== prt_in,63,69,3 script Dietrich 4_M_02,{ callfunc "orimain","Dietrich"; end; @@ -1039,8 +1022,7 @@ lhz_in02,281,24,5 script Fruel 4_M_02,{ end; } -// Ori/Elu Functions -//============================================================ +//== Ori/Elu Functions ===================================== function script orimain { if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1108,8 +1090,7 @@ function script orimain { } } -// Equipment Repairmen -//============================================================ +//== Equipment Repairmen =================================== alberta_in,31,65,4 script Repairman#alb 4_M_04,{ callfunc "repairmain","Repairman"; end; @@ -1180,8 +1161,7 @@ sch_gld,340,80,7 script Repairman#sch_gld 4_M_04,{ end; } -// Equipment Repair Function -//============================================================ +//== Equipment Repair Function ============================= function script repairmain { .@repairprice = 5000; mes "["+getarg(0)+"]"; diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt index 00ff18dd5..d3447b2b1 100644 --- a/npc/merchants/renters.txt +++ b/npc/merchants/renters.txt @@ -1,30 +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) Daegaladh +//= Copyright (C) Euphy +//= Copyright (C) Masao +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Poki#3 +//= Copyright (C) Komurka +//= Copyright (C) Nexon +//= Copyright (C) Lupus +//= 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/>. +//========================================================================= //= Renters -//===== By: ================================================== -//= kobra_k88, mod by Lupus -//===== Current Version: ===================================== -//= 2.2 -//===== Description: ========================================= +//================= Description =========================================== //= Knight and Crusader Peco Peco Breeders, Falcon Breeder scripts -//===== Additional Comments: ================================= -//= Fully working -//= Added another Falcon Master into the Hunters Guild [Lupus] -//= 1.2: replaced checkoption(x) with checkriding,checkfalcon [Lupus] -//= 1.3: Added support Adv Classes + Baby Class [Lupus] -//= 1.4: Added different prices for normal, advanced and baby classes -//= but you could set them to the same [Lupus] -//= 1.5: Fixed spelling mistakes [Nexon] -//= 1.5a: Small fix (Falcon Taming -> Falcon Mastery) [Komurka] -//= 1.6: Moved the Falcon Master to Hugel [Poki#3] -//= 1.7 Updated to Aegis 10.3 standards. [L0ne_W0lf] -//= 1.8 Added 3rd Job creature NPCs (Dragon/Gryphon) [L0ne_W0lf] -//= 1.9 Enabled Gryphon Renter NPC and added Mado Gear NPC. [Masao] -//= 2.0 Fixed problems with third classes and new mounts. [Euphy] -//= 2.1 Moved some renters to a separate renewal file. [Daegaladh] -//= 2.2 Added warg checks. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.2 +//========================================================================= -// PecoPeco Breeder (for Knights)------------------------------------------- +//== PecoPeco Breeder (for Knights) ======================== prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{ if(Upper==0) .@price = 2500; //Normal Peco - default price if(Upper==1) .@price = 2500; //Armored Peco @@ -86,7 +102,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{ } } -// Grand PecoPeco Breeder (for Crusaders)------------------------------------------- +//== Grand PecoPeco Breeder (for Crusaders) ================ prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{ if(Upper==0) .@price = 3500; //Normal Peco - default price if(Upper==1) .@price = 3500; //Armored Peco @@ -147,7 +163,7 @@ prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{ } } -// Falcon Master-------------------------------------------------------------- +//== Falcon Master ========================================= hu_in01,381,304,5 script Falcon Breeder#hnt 8W_SOLDIER,{ if(Upper==0) .@price = 2500; //Normal Falcon - default price if(Upper==1) .@price = 2500; //Scarf Falcon diff --git a/npc/merchants/shops.txt b/npc/merchants/shops.txt index 33f72a1fb..381399589 100644 --- a/npc/merchants/shops.txt +++ b/npc/merchants/shops.txt @@ -1,45 +1,55 @@ -//===== 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) Yommy +//= Copyright (C) Streusel +//= Copyright (C) Euphy +//= Copyright (C) Spre +//= Copyright (C) Kenpachi +//= Copyright (C) Masao +//= Copyright (C) tr0n +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Evera +//= Copyright (C) Musashiden +//= Copyright (C) erKURITA +//= Copyright (C) Poki#3 +//= Copyright (C) Lupus +//= Copyright (C) Yor +//= Copyright (C) MasterOfMuppets +//= Copyright (C) celest +//= Copyright (C) Darkchild +//= 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/>. +//========================================================================= //= Shops -//===== Current Version: ===================================== -//= 3.5 -//===== Description: ========================================= +//================= Description =========================================== //= Town shop NPCs. -//===== Additional Comments: ================================= -//= For earlier update notes see the bottom. -//= 2.0 updated several shop npcs. [L0ne_W0lf] -//= Added proper Venom Knife dealer, and consiquently removed wenom Knives from weapon dealers. -//= Moved all Cooking related NPCs to their own section. -//= Re-alphabetized sections. Some of them were out of place. -//= Removed commented out shops. -//= 2.0b Einbech tool dealer got lost somewhere along the way, re-added. [L0ne_W0lf] -//= 2.1 Fixed missing item from "Fresh Fish" from cooking addition shops. [L0ne_W0lf] -//= 2.1a Fixed the second "Line" selling in Comodo Weapon shop. (Should have been Whip) [L0ne_W0lf] -//= 2.2 Added Veins shops. [L0ne_W0lf] -//= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.4 Fixed Jawaii Ice cream salesman. [L0ne_W0lf] -//= 2.5 Updated Morroc shops to episode 12.1. [L0ne_W0lf] -//= 2.6 Added Brasilis shops. [L0ne_W0lf] -//= Updated Pet Groomers with four new pet feeds. -//= 2.7 Added Trading merchants, (ninja& gunslinger) to Izlude and Alberta. [L0ne_W0lf] -//= Made Brasilis shop names unique, and uncommented. -//= Changed the whip sold in comodo weapon shop. (1956 ->1960) -//= Added Fire and Silver arrow to Einbroch tool dealer. -//= Re-added Bill of Birds to Morroc Item Collectors. -//= 2.7a Actually applied the right update to the comodo weapon shop. [L0ne_W0lf] -//= 2.7b Corrected Brasilis Fruit Merchant. (bugreport:4278) [L0ne_W0lf] -//= 2.8 Updates to Brasilis Merchants. [L0ne_W0lf] -//= 2.9 Added missing Cooking Items for Material Seller. [tr0n] -//= 3.0 Added all new Shops which were available in the latest available official files. [Masao] -//= 3.1 Moved some merchants to a separate renewal file. [Kenpachi] -//= 3.2 Added Missing Items to the pet Groomers in prontera, payon, and yuno. BugReport:6680[Spre] -//= 3.3 Moved more shops to Renewal file. [Euphy] -//= 3.4 Moved Izlude shops to pre-re/re paths. [Streusel] -//= 3.5 Converted to trader format [Yommy] -//============================================================ - -//======================================================= -// Alberta -//======================================================= +//================= Current Version ======================================= +//= 3.5 +//========================================================================= + +//== Alberta =============================================== alb2trea,87,65,5 trader Tool Dealer#alb 4_M_01,{ OnInit: sellitem Arrow; @@ -143,10 +153,7 @@ OnInit: sellitem Thunder_P; } - -//======================================================= -// Al De Baran -//======================================================= +//== Aldebaran ============================================= aldeba_in,20,60,0 trader Armor Dealer#alde 4W_F_01,{ OnInit: sellitem Helm; @@ -210,10 +217,7 @@ OnInit: sellitem Bottle_To_Throw; } - -//======================================================= -// Amatsu -//======================================================= +//== Amatsu ================================================ ama_in01,89,28,5 trader Armor Dealer#ama 4_F_JPN2,{ OnInit: sellitem Bandana; @@ -261,7 +265,7 @@ OnInit: sellitem Booby_Trap; } -// Ninja Shops +//== Ninja Shops =========================================== que_ng,72,31,2 trader Boonji#nin 4_M_01,{ OnInit: sellitem Shuriken; @@ -292,10 +296,7 @@ OnInit: } } - -//======================================================= -// Ayothaya -//======================================================= +//== Ayothaya ============================================== ayo_in01,18,182,1 trader Tool Dealer#ayo 4_F_THAISHAMAN,{ OnInit: sellitem Arrow; @@ -343,10 +344,7 @@ OnInit: sellitem Belt; } - -//======================================================= -// Brasilis -//======================================================= +//== Brasilis ============================================== brasilis,252,257,3 trader Tool Dealer#bra 4_F_BRZ_WOMAN,{ OnInit: sellitem Center_Potion; @@ -380,10 +378,7 @@ OnInit: sellitem Asai_Fruit; } - -//======================================================= -// Comodo -//======================================================= +//== Comodo ================================================ cmd_in01,117,165,4 trader Armor Dealer#cmd 4W_F_01,{ OnInit: sellitem Cap; @@ -488,10 +483,7 @@ OnInit: sellitem Plate_Armor; } - -//======================================================= -// Einbroch -//======================================================= +//== Einbroch ============================================== ein_in01,106,27,4 trader One Hand Weapon Dealer 4_F_EINWOMAN,{ OnInit: sellitem Sword; @@ -594,7 +586,7 @@ OnInit: sellitem Red_Potion; } -//Official Gunslingers shops. +//== Official Gunslingers shops ============================ que_ng,179,91,3 trader Chivas Lugal 4_M_HUMERCHANT,{ OnInit: sellitem Branch; @@ -614,10 +606,7 @@ OnInit: sellitem Shell_Of_Blood; } - -//======================================================= -// Geffen -//======================================================= +//== Geffen ================================================ geffen_in,26,178,4 trader Armor Dealer#gef 1_F_01,{ OnInit: sellitem Novice_Armlet; @@ -710,10 +699,7 @@ OnInit: sellitem Bun_; } - -//======================================================= -// Gonryun -//======================================================= +//== Kunlun ================================================ gonryun,147,84,5 trader Tool Dealer#gon 4_M_TWOLDMAN,{ OnInit: sellitem Arrow; @@ -761,10 +747,7 @@ OnInit: sellitem Belt; } - -//======================================================= -// Hugel -//======================================================= +//== Hugel ================================================= hugel,105,169,5 trader Vendor from Milk Ranch#h 4_F_01,{ OnInit: sellitem Milk; @@ -833,10 +816,7 @@ OnInit: sellitem Shield; } - -//======================================================= -// Izlude -//======================================================= +//== Izlude ================================================ izlude_in,60,127,4 trader Weapon Dealer#iz 1_F_MARIA,{ OnInit: sellitem Arrow; @@ -878,10 +858,7 @@ OnInit: sellitem Novice_Armlet; } - -//======================================================= -// Jawaii -//======================================================= +//== Jawaii ================================================ jawaii,186,174,3 trader Ice Cream Guy#ja 4_M_03,{ OnInit: sellitem Ice_Cream; @@ -893,10 +870,7 @@ OnInit: sellitem Ice_Cream; } - -//======================================================= -// Juno -//======================================================= +//== Juno ================================================== yuno,218,97,5 trader Tool Dealer#yuno 4_M_02,{ OnInit: sellitem Arrow; @@ -1018,10 +992,7 @@ OnInit: sellitem Scroll; //Temp shop in Yuno that sells Blank Scrolls } - -//======================================================= -// Lighthalzen -//======================================================= +//== Lighthalzen =========================================== lighthalzen,69,75,5 trader Fruit Gardener#lhz 8_F,{ OnInit: sellitem Apple; @@ -1212,10 +1183,7 @@ OnInit: sellitem Monster's_Feed; } - -//======================================================= -// Louyang -//======================================================= +//== Louyang =============================================== lou_in02,121,182,5 trader Armor Dealer#lou 4_F_CHNWOMAN,{ OnInit: sellitem Bandana; @@ -1263,10 +1231,7 @@ OnInit: sellitem Booby_Trap; } - -//======================================================= -// Lutie -//======================================================= +//== Lutie ================================================= xmas_in,40,38,5 trader Tool Dealer#xmas 4_M_01,{ OnInit: sellitem Red_Potion; @@ -1319,10 +1284,7 @@ OnInit: sellitem Damascus; } - -//======================================================= -// Morroc - Post Ep. 12.1 -//======================================================= +//== Morroc - Post Ep. 12.1 ================================ in_moc_16,22,20,7 trader Sepulchral Merchant#moc 4_M_MASKMAN,{ OnInit: sellitem Venom_Knife; @@ -1488,10 +1450,7 @@ OnInit: sellitem Cinquedea; } - -//======================================================= -// Moscovia -//======================================================= +//== Moscovia ============================================== mosk_in,21,254,5 trader Tool Dealer#mosk 4_M_RUSMAN2,{ OnInit: sellitem Spectacles; @@ -1551,10 +1510,7 @@ OnInit: sellitem Milk; } - -//======================================================= -// Niflheim -//======================================================= +//== Niflheim ============================================== nif_in,37,93,1 trader Axe Dealer#nif 4_NFCOFFIN,{ OnInit: sellitem Axe; @@ -1586,10 +1542,7 @@ OnInit: sellitem Mementos; } - -//======================================================= -// Payon -//======================================================= +//== Payon ================================================= payon_in01,15,119,0 trader Weapon Dealer#pay 1_F_ORIENT_03,{ OnInit: sellitem Arrow; @@ -1705,10 +1658,7 @@ OnInit: sellitem Traditional_Cookie; } - -//======================================================= -// Prontera -//======================================================= +//== Prontera ============================================== prontera,73,134,0 trader Vendor from Milk Ranch#p 4_F_01,{ OnInit: sellitem Milk; @@ -1909,10 +1859,7 @@ OnInit: sellitem Hora; } - -//======================================================= -// Rachel -//======================================================= +//== Rachel ================================================ ra_in01,175,364,3 trader Armor Dealer#ra 4_F_SHABBY,{ OnInit: sellitem Guard; @@ -1975,10 +1922,7 @@ OnInit: sellitem Sweet_Potato; } - -//======================================================= -// Turtle Island -//======================================================= +//== Turtle Island ========================================= tur_dun01,158,54,6 trader Tool Dealer#tu 4W_M_03,{ OnInit: sellitem Arrow; @@ -1994,10 +1938,7 @@ OnInit: sellitem Luxury_Sunglasses; } - -//======================================================= -// Umbala -//======================================================= +//== Umbala ================================================ um_in,104,124,3 trader Tool Dealer#um 4_M_UMOLDMAN,{ OnInit: sellitem Apple; @@ -2028,10 +1969,7 @@ OnInit: sellitem Claw; } - -//======================================================= -// Veins -//======================================================= +//== Veins ================================================= ve_in,386,245,3 trader Weapon Dealer#ve 4_M_RACHMAN1,{ OnInit: sellitem Knife; @@ -2100,10 +2038,7 @@ OnInit: sellitem Silver_Robe; } - -//======================================================= -// Cooking Addition -//======================================================= +//== Cooking Addition ====================================== prontera,156,212,1 trader Chef Assistant#prt 8_F_GIRL,{ OnInit: sellitem Plain_Sauce; @@ -2208,48 +2143,3 @@ niflheim,209,180,5 trader Chef Assistant#nif 4_M_01,{ OnInit: sellitem Mushroom; } - - -//===== Additional Comments(old): ================================= -//= swapped shop titles in GONRYUN, thanks to Kashy -//= 1.3a Fixed Louyang map name. Added additional shops in Yuno. [kobra_k88] -//= 1.4 Added Niflheim Shops -//= 1.5 New Payon Locations [Darkchild] -//= Moved shops in Umbala.txt here. Commented out the duplicate ones.[kobra_k88] -//= 1.6 Removed GRAPE ID 514 from shops (caused exploits) -//= 1.7 Removed juices from custom amatsu shops (it's a quest item + levelup exploit) -//= 1.8 Corrected Niflheim Shops and Morroc Jewel Merchant [celest] -//= 1.9 Updated Louyang shops thanks to MasterOfMuppets -//= 1.10 Lutie Tools coords [Yor] -//= 1.11 Added Belts to Prontera/Aldebaran shops, thanks to reddozen [Lupus] -//= 1.12 official Ayothaya Shops, thanks to MasterOfMuppets [Lupus] -//= 1.13 Added 5092 Coif into Prontera Church shop [Lupus] -//= 1.14 Added Lighthalzen,Einbroch,Einbech shops. Updated Prontera,Morroc,Payon shops [Lupus] -//= 1.15 Added Venom Knives into every Weapon Shop (that sells Knife[3]) [Lupus] -//= 1.15a Fixed a small typo in alberta's weapon shop, thanks to reddozen for the fix [MasterOfMuppets] -//= 1.16 Added a temp shop in Yuno to sell Blank scrolls, thanks to reddozen [MasterOfMuppets] -//= 1.17 Added wand of hypnotist to the Lighthalzen weapon shop [MasterOfMuppets] -//= 1.18 Fixed some shops based on kRO shots [Poki#3] -//= 1.19 Added Hugel and fixed Payon shops based on kRO shots [Poki#3] -//= 1.19a Added Food Seller selling Mastela Fruit in Hugel (Update item_db for the correct price!) [Poki#3] -//= 1.20 Added 3 weapons shops, thx2 Muad_Dib [Lupus] -//= 1.21 Added another weapon dealer to Einbroch, thanks to Muad_Dib [MasterOfMuppets] -//= - Fixed up the missing sprites for you Lupus :) -//= - Guys, I suggest we crop these comments and put them at the bottom soon -//= 1.22 Thx8) Removed Berserk Potions from all shops but Comodo [Lupus] -//= 1.3 Added Gunslinger shops. Credits goes to RockmanEXE for the info [erKURITA] -//= Added Bucket Hat to Flu Mask dealer and modified it's name to a more logical one :P [erKURITA] -//= 1.4 Added an ingredient seller to Morroc, thanks to Muad_Dib [MasterOfMuppets] -//= a Removed doubled Morocc Ing.Seller, arranged the rest Ing.Sellers according to the city names [Lupus] -//= 1.4b Commented out temp Gunslinger shops. [Lupus] -//= 1.5 Removed Temp gunslinger shops and moved up the official ones. [erKURITA] -//= Added Official Ninja shops in their correct location and commented a few -//= shops. Thanks to RockmanEXE and Muad_Dib [erKURITA] -//= 1.6 Implemented a missing Tool Shop in Lighthalzen [MasterOfMuppets] -//= 1.7 Added some missing iRO - Lighthalzen NPCs [Musashiden] -//= 1.8 Added Rachel Official shops. Special Thanks to RockmanEXE. [erKURITA] -//= 1.9 Uncommented Homunculus shop, since Homunculus is working on trunk now. [Evera] -//= 1.9a Pet Merchant -> Lighthalzen [erKURITA] -//= 1.9b Added items to Chivas Regal -//= 1.9c Slight update for Rachel shop: Tool Dealer -> Fruit Gardener [L0ne_W0lf] -//============================================================ diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt index 178f8ca98..1396ace0d 100644 --- a/npc/merchants/socket_enchant.txt +++ b/npc/merchants/socket_enchant.txt @@ -1,32 +1,47 @@ -//===== 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 +//= Copyright (C) eAthena Dev Team +//= Copyright (C) Gepard +//= Copyright (C) Kisuka +//= Copyright (C) Samuray22 +//= Copyright (C) L0ne_W0lf +//= Copyright (C) ultramage +//= Copyright (C) SinSloth +//= Copyright (C) Evera +//= Copyright (C) Toms +//= 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/>. +//========================================================================= //= Episode 11.1 Socket Enchant NPC -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== -//= 2.0a -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Adds slots to selected weapons and armor. -//===== Additional Comments: ================================= -//= 0.1a added missing L_No: to 2 funcs [Lupus] -//= 0.1b Removed duplicates [Toms] -//= 0.2 Added missing next;'s [Evera] -//= 0.3 Fixed Zweihander[+] id [Lupus] -//= 1.0 Fixed ingredients check [Lupus] -//= 1.1 Updated to official. [SinSloth] -//= 1.1b Optimized/cleaned [ultramage] -//= 1.2 Fixed some typos and a nasty bug. [SinSloth] -//= 1.3 Fixed a wrong item ID with Sphinx Hat. [SinSloth] -//= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 1.5 Removed OnTouch trigger area from NPCs. [L0ne_W0lf] -//= 1.6 Replaced effect numerics with constants. [Samuray22] -//= 1.7 Adjusted prices on some armor and weapons. [L0ne_W0lf] -//= 1.8 Added missing Gae Bolg and Dragon Slayer. [Kisuka] -//= 1.9 Moved Episode 12 items to separate NPC. -//= Some cleanup & optimization. [Gepard] -//= 2.0 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//= 2.0a Added 'disable_items' command. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 2.0a +//========================================================================= - script Seiyablem#dummy::SocketEnchant -1,{ if (checkweight(1201,1) == 0) diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt index a93c87a03..9f109115f 100644 --- a/npc/merchants/socket_enchant2.txt +++ b/npc/merchants/socket_enchant2.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) L0ne_W0lf +//= 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/>. +//========================================================================= //= Episode 12 Socket Enchant NPC -//===== By: ================================================== -//= Gepard -//===== Current Version: ===================================== -//= 1.1a -//===== Description: ========================================= -//= [Official Conversion] +//================= Description =========================================== //= Adds slots to selected weapons and armor. -//===== Additional Comments: ================================= -//= 1.0 First version. -//= 1.1 Duplicates now spawn from floating NPCs. [L0ne_W0lf] -//= 1.1a Added 'disable_items' command. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.1a +//========================================================================= - script Leablem#dummy::SocketEnchant2 -1,{ if (checkweight(1201,1) == 0) diff --git a/npc/merchants/wander_pet_food.txt b/npc/merchants/wander_pet_food.txt index 42aba081d..51143c57e 100644 --- a/npc/merchants/wander_pet_food.txt +++ b/npc/merchants/wander_pet_food.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) 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/>. +//========================================================================= //= Spirit Liquor trader. -//===== By: ================================================== -//= rAthena Dev Team -//===== Current Version: ===================================== +//================= Description =========================================== +//= Trade Broken Liquor Jars and alcohol for wanderer pet food, 'Spirit +//= Liquor' +//================= Current Version ======================================= //= 1.0 -//===== Description: ========================================= -//= [Official Conversion] -//= Trade Broken Liquor Jars and alcohol for wanderer -//= pet food, 'Spirit Liquor' -//===== Additional Comments: ================================= -//= 1.0 First version -//============================================================ +//========================================================================= prontera,218,218,3 script Pet Enthusiast 4W_KID,{ mes "[Pet Enthusiast Jenny]"; |