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