summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-13 15:57:49 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:51 +0100
commitfa2cd738a941906700ba3a1f7c5486dcc3ccbea0 (patch)
tree35e7c9cd8edcca21ffaed8de22d13e272d3774de
parent65d393fc57804447497855a6daeb981e312ec372 (diff)
downloadhercules-fa2cd738a941906700ba3a1f7c5486dcc3ccbea0.tar.gz
hercules-fa2cd738a941906700ba3a1f7c5486dcc3ccbea0.tar.bz2
hercules-fa2cd738a941906700ba3a1f7c5486dcc3ccbea0.tar.xz
hercules-fa2cd738a941906700ba3a1f7c5486dcc3ccbea0.zip
Standardized header in scripts (part 8)
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Event scripts folders Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--npc/events/MemorialDay_2008.txt51
-rw-r--r--npc/events/RWC_2011.txt46
-rw-r--r--npc/events/RWC_2012.txt45
-rw-r--r--npc/events/StPatrick_2008.txt71
-rw-r--r--npc/events/bossnia.txt68
-rw-r--r--npc/events/children_week.txt41
-rw-r--r--npc/events/christmas_2005.txt77
-rw-r--r--npc/events/christmas_2008.txt61
-rw-r--r--npc/events/dumplingfestival.txt45
-rw-r--r--npc/events/easter_2008.txt56
-rw-r--r--npc/events/easter_2010.txt40
-rw-r--r--npc/events/event_skill_reset.txt45
-rw-r--r--npc/events/gdevent_aru.txt45
-rw-r--r--npc/events/gdevent_sch.txt47
-rw-r--r--npc/events/god_se_festival.txt45
-rw-r--r--npc/events/halloween_2006.txt63
-rw-r--r--npc/events/halloween_2008.txt43
-rw-r--r--npc/events/halloween_2009.txt57
-rw-r--r--npc/events/idul_fitri.txt41
-rw-r--r--npc/events/lunar_2008.txt59
-rw-r--r--npc/events/nguild/nguild_dunsw.txt52
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt65
-rw-r--r--npc/events/nguild/nguild_flags.txt74
-rw-r--r--npc/events/nguild/nguild_guardians.txt49
-rw-r--r--npc/events/nguild/nguild_kafras.txt54
-rw-r--r--npc/events/nguild/nguild_managers.txt66
-rw-r--r--npc/events/nguild/nguild_treas.txt79
-rw-r--r--npc/events/nguild/nguild_warper.txt62
-rw-r--r--npc/events/twintowers.txt48
-rw-r--r--npc/events/valentinesday.txt53
-rw-r--r--npc/events/valentinesday_2009.txt64
-rw-r--r--npc/events/valentinesday_2012.txt43
-rw-r--r--npc/events/whiteday.txt41
-rw-r--r--npc/events/xmas.txt70
-rw-r--r--npc/re/events/christmas_2013.txt52
-rw-r--r--npc/re/events/halloween_2013.txt46
-rw-r--r--npc/re/events/halloween_2014.txt97
37 files changed, 1382 insertions, 679 deletions
diff --git a/npc/events/MemorialDay_2008.txt b/npc/events/MemorialDay_2008.txt
index c6628ef12..3981e95a3 100644
--- a/npc/events/MemorialDay_2008.txt
+++ b/npc/events/MemorialDay_2008.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) 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/>.
+//=========================================================================
//= In Memory of Heroes
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Memorial Day (2008)
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Many Many Fixes. [Kisuka]
-//= 1.2 Some changes. [Kisuka]
-//============================================================
+//================= Current Version =======================================
+//= 1.2
+//=========================================================================
-// Lauds
-//============================================================
+//== Lauds =================================================
prontera,182,214,4 script Lauds#Memorial 1_M_MERCHANT,{
if (Memorial08 < 1) {
mes "[Mad Sago Lauds]";
@@ -178,8 +197,7 @@ prontera,182,214,4 script Lauds#Memorial 1_M_MERCHANT,{
}
}
-// Memorial Plaque
-//============================================================
+//== Memorial Plaque =======================================
prontera,153,286,4 script Memorial Plaque#Memorial 4_BOARD3,{
if (Memorial08 < 8) {
mes "[" + strcharinfo(0) + "]";
@@ -231,8 +249,7 @@ L_CleanPlaque:
close;
}
-// Grast
-//============================================================
+//== Grast =================================================
prontera,150,270,4 script Grast#Memorial 4_M_HUMERCHANT,{
if (Memorial08 < 3) {
mes "[Grast]";
diff --git a/npc/events/RWC_2011.txt b/npc/events/RWC_2011.txt
index f7534af84..b81c14618 100644
--- a/npc/events/RWC_2011.txt
+++ b/npc/events/RWC_2011.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
+//=
+//= 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/>.
+//=========================================================================
//= RWC 2011 Golden Poring
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Collect blue cards dropped by Golden Porings to spell out 'RWC2011' and
+//= win a prize!
+//================= Current Version =======================================
//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
-//= Collect blue cards dropped by Golden Porings to spell out
-//= 'RWC2011' and win a prize!
-//===== Additional Comments: =================================
-//= 1.0 First Version. [Euphy]
-//============================================================
+//=========================================================================
prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{
if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
@@ -248,8 +269,7 @@ prontera,114,81,5 script RWC2011 Agent#2 4_M_ATEIL,{
}
}
-// Monster Spawns
-//============================================================
+//== Monster Spawns ========================================
dic_dun03,0,0,0,0 monster Golden Poring 2248,3,5000,0,0
dew_fild01,0,0,0,0 monster Golden Poring 2248,3,5000,0,0
dew_dun01,0,0,0,0 monster Golden Poring 2248,3,5000,0,0
diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt
index faefaa16a..a97ec90fc 100644
--- a/npc/events/RWC_2012.txt
+++ b/npc/events/RWC_2012.txt
@@ -1,15 +1,36 @@
-//===== Hercules Script ======================================
-//= RWC 2012 Enchants
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= 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/>.
+//=========================================================================
//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Adds slots and enchantments to 2012 RWC Memory accessories.
-//===== Additional Comments: =================================
-//= 1.0 First Version. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.4
+//=========================================================================
prontera,147,61,3 script Driller#pron 4_M_BARBER,{
disable_items;
@@ -285,7 +306,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
specialeffect2 EF_REPAIRWEAPON;
}
-// 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;
@@ -314,7 +335,7 @@ prontera,147,59,3 script Goldberg#pron 4_M_OILMAN,{
delitem 6665,1; //RWC_Inicializer
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;
diff --git a/npc/events/StPatrick_2008.txt b/npc/events/StPatrick_2008.txt
index a0b5fda61..a997e91ef 100644
--- a/npc/events/StPatrick_2008.txt
+++ b/npc/events/StPatrick_2008.txt
@@ -1,34 +1,51 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Samuray22
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Kisuka
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= St. Patrick's Day (2008)
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO St. Patrick's Day. (2008)
-//= Find O'Riley's treasure for him, then hunt down coinds from
-//= the snakes to get Green Ale in return for them.
-//=
-//= Mobs 1841 through 1844 have been modified for this event
-//= you must use the mob edits provided for this quest.
+//= Find O'Riley's treasure for him, then hunt down coinds from the snakes
+//= to get Green Ale in return for them.
+//================= Current Version =======================================
+//= 1.5
+//================= Additional Comments ===================================
+//= Mobs 1841 through 1844 have been modified for this event you must use
+//= the mob edits provided for this quest.
//= Enable in mob_db2.txt
//=
-//= The item 12715 Black_Treasure_Chest contains a script
-//= that relies explicitly on this script being loaded.
+//= The item 12715 Black_Treasure_Chest contains a script that relies
+//= explicitly on this script being loaded.
//= Remove the "end" from the item script to enable.
-//= In addition to that, you must enable the item_avail
-//= entries if you are using a kRO client, as the items
-//= were removed from the client between testing and this
-//= updated.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Fixed checkitems for ale, fixed ale prize(gives the correct one now). [Kisuka]
-//= 1.2 Optimized. Uses only one variable now. [L0ne_W0lf]
-//= Corrected EXP rewards, and some typos.
-//= 1.3 Corrected random in item function. [L0ne_W0lf]
-//= 1.4 Replaced effect numerics with constants. [Samuray22]
-//= 1.5 Revamped the script. [Kisuka]
-//============================================================
+//= In addition to that, you must enable the item_avail entries if you are
+//= using a kRO client, as the items were removed from the client between
+//= testing and this updated.
+//=========================================================================
prt_fild05,170,286,4 script Anxious Leprechaun#8pday 4_M_PATRICK,{
if (StPatrick2008 < 1) {
@@ -264,7 +281,7 @@ function script F_08stpattyseventbox {
}
-// Snake Spawns.
+//== Snake Spawns. =========================================
ein_fild03,0,0,0,0 monster Snake Lord's Minon 1841,3,0,0,0
ein_fild04,0,0,0,0 monster Snake Lord's Minon 1841,3,0,0,0
ein_fild06,0,0,0,0 monster Snake Lord's Minon 1841,3,0,0,0
diff --git a/npc/events/bossnia.txt b/npc/events/bossnia.txt
index 432c8e391..b1a061a0c 100644
--- a/npc/events/bossnia.txt
+++ b/npc/events/bossnia.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) 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/>.
+//=========================================================================
//= Bossnia Warp NPCs
-//===== By: ==================================================
-//= Masao
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
+//================= Description ===========================================
//= Bossnia MVP event.
-//===== Additional Comments: =================================
-//= 1.0 Converted from the official script.
-//= 1.1 Optimized. [Euphy]
-//= 1.2 Moved spawns and warps (by Masao) to this file. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.2
+//=========================================================================
-// Entrance NPCs
-//============================================================
+//== Entrance NPCs =========================================
prontera,132,125,4 script Bossnia Staff#1 4_M_PHILMAN,{
mes "[Riss]";
mes "Hello?";
@@ -87,19 +107,15 @@ morocc,142,100,4 duplicate(Bossnia Staff#1) Bossnia Staff#4 4_M_PHILMAN
lighthalzen,203,140,4 duplicate(Bossnia Staff#1) Bossnia Staff#5 4_M_PHILMAN
rachel,132,144,4 duplicate(Bossnia Staff#1) Bossnia Staff#6 4_M_PHILMAN
-// Warp Portals
-//============================================================
+//== Warp Portals ==========================================
bossnia_01,204,204,0 warp bossnia01 1,1,prontera,155,180
bossnia_02,204,204,0 warp bossnia02 1,1,prontera,155,180
bossnia_03,204,204,0 warp bossnia03 1,1,prontera,155,180
bossnia_04,204,204,0 warp bossnia04 1,1,prontera,155,180
-// Monster Spawns
-//============================================================
+//== Monster Spawns ========================================
-//----------------------------------------------------------------------------
-// bossnia_01 - Bossnia
-//----------------------------------------------------------------------------
+//- bossnia_01 - Bossnia -
bossnia_01,0,0,0,0 monster Garm 1252,5,7200000,0,1
bossnia_01,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1
bossnia_01,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1
@@ -141,9 +157,7 @@ bossnia_01,142,61,1,1 monster Beelzebub 1873,1,0,0,1
bossnia_01,34,34,1,1 monster Valkyrie Randgris 1751,1,0,0,1
bossnia_01,45,118,1,1 monster Ifrit 1832,1,0,0,1
-//----------------------------------------------------------------------------
-// bossnia_02 - Bossnia
-//----------------------------------------------------------------------------
+//- bossnia_02 - Bossnia -
bossnia_02,0,0,0,0 monster Garm 1252,5,7200000,0,1
bossnia_02,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1
bossnia_02,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1
@@ -185,9 +199,7 @@ bossnia_02,142,61,1,1 monster Beelzebub 1873,1,0,0,1
bossnia_02,34,34,1,1 monster Valkyrie Randgris 1751,1,0,0,1
bossnia_02,45,118,1,1 monster Ifrit 1832,1,0,0,1
-//----------------------------------------------------------------------------
-// bossnia_03 - Bossnia
-//----------------------------------------------------------------------------
+//- bossnia_03 - Bossnia -
bossnia_03,0,0,0,0 monster Garm 1252,5,7200000,0,1
bossnia_03,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1
bossnia_03,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1
@@ -229,9 +241,7 @@ bossnia_03,142,61,1,1 monster Beelzebub 1873,1,0,0,1
bossnia_03,34,34,1,1 monster Valkyrie Randgris 1751,1,0,0,1
bossnia_03,45,118,1,1 monster Ifrit 1832,1,0,0,1
-//----------------------------------------------------------------------------
-// bossnia_04 - Bossnia
-//----------------------------------------------------------------------------
+//- bossnia_04 - Bossnia -
bossnia_04,0,0,0,0 monster Garm 1252,5,7200000,0,1
bossnia_04,0,0,0,0 monster Gloom Under Night 1768,2,7200000,0,1
bossnia_04,0,0,0,0 monster Dark Lord 1272,3,7200000,0,1
diff --git a/npc/events/children_week.txt b/npc/events/children_week.txt
index 3ba99ebd2..507c3e025 100644
--- a/npc/events/children_week.txt
+++ b/npc/events/children_week.txt
@@ -1,15 +1,36 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Samuray22
+//=
+//= 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/>.
+//=========================================================================
//= Children Week Event
-//===== By: ==================================================
-//= Samuray22
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Indian Ro: Children Week Event
-//===== Additional Comments: =================================
-//= 1.1 First Beta. [Samuray22]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
prontera,146,91,5 script Pandit chacha#child07 1_M_PUBMASTER,{
if (BaseLevel > 50) {
diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt
index c782e3b9d..486014259 100644
--- a/npc/events/christmas_2005.txt
+++ b/npc/events/christmas_2005.txt
@@ -1,29 +1,42 @@
-//===== Hercules Script ======================================
-//= 2005 ChristMas Event
-//===== By: ==================================================
-//= Brainstorm
-//===== Current Version: =====================================
-//= 1.2
-//===== 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) Paradox924X
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Brainstorm
+//=
+//= 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/>.
+//=========================================================================
+//= 2005 Christmas Event
+//================= Description ===========================================
//= Event 1: Louise's Kim creates Louise's Santa Hat.
//= Event 2: Enjoy Happymerry Chistmas Event summons monsters.
//= Event 3: Oholy requires you to hunt Deviruchi NPCs.
-//==========================================
-//= Break down of arguments used in the function:
-//= arg(0) Originating NPC (disable)
-//= arg(1) Next NPC to be enabled
-//= arg(2) Map name of originating NPC
-//= arg(3) Coordinate X to be teleported to
-//= arg(4) Coordinate Y to be teleported to
-//===== Additional Comments: =================================
-//= 1.0 First semi-working conversion. [Brainstorm]
-//= 1.1 Refined Brainstorm's conversion. [L0ne_W0lf]
-//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf]
-//= 1.2a Small update to the checkweight. (bugreport:2553). [Paradox924X]
-//============================================================
-
-// Louise's Santa Hat (Event 1)
+//================= Current Version =======================================
+//= 1.2a
+//=========================================================================
+
+//== Louise's Santa Hat (Event 1) ==========================
xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
mes "[Designer Louise Kim]";
mes "Cone shaped red Santa hat is too ordinary.";
@@ -188,7 +201,7 @@ xmas_in,89,92,5 script Louise Kim#designer 4_F_06,{
}
}
-// Enjoy Happymerry Chistmas Event (Event 2)
+//== Enjoy Happymerry Chistmas Event (Event 2) =============
prontera,155,285,3 script Enjoy#enjoy 4_M_MONK,{
if (!christ_solo05){
mes "[Enjoy]";
@@ -932,7 +945,7 @@ prontera,35,209,5 script Event#event 4_M_SITDOWN,{
}
}
-// Oholy (Event 3)
+//== Oholy (Event 3) =======================================
prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
if (!christ_carol05) {
mes "[Oholy]";
@@ -1386,7 +1399,13 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
}
}
-// Deviruchi functions
+//== Deviruchi functions ===================================
+//= Arguments:
+//= - 0: Originating NPC (disable)
+//= - 1: Next NPC to be enabled
+//= - 2: Map name of originating NPC
+//= - 3: Coordinate X to be teleported to
+//= - 4: Coordinate Y to be teleported to
function script F_carol_devi {
if (christ_carol05 == 1) {
mes "[Deviruchi]";
@@ -1565,7 +1584,7 @@ OnTouch:
end;
}
-// Payon
+//- Payon -
payon,165,153,3 duplicate(OholyDup) Oholy#payon 1_F_PRIEST
payon,142,203,3 script Deviruchi#payon_01 4_DEVIRUCHI,3,3,{
callfunc("F_carol_devi2","payon",166,60);
@@ -1622,7 +1641,7 @@ OnTouch:
end;
}
-// Geffen
+//- Geffen -
geffen,120,188,0 duplicate(OholyDup) Oholy#geffen 1_F_PRIEST
geffen,173,163,3 script Deviruchi#geffen_01 4_DEVIRUCHI,3,3,{
callfunc("F_carol_devi2","geffen",120,34);
@@ -1651,7 +1670,7 @@ OnTouch:
end;
}
-// Alberta
+//- Alberta -
alberta,54,237,0 duplicate(OholyDup) Oholy#alberta 1_F_PRIEST
alberta,97,86,3 script Deviruchi#alberta_01 4_DEVIRUCHI,3,3,{
callfunc("F_carol_devi2","alberta",28,235);
diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt
index c412541cc..6286a4289 100644
--- a/npc/events/christmas_2008.txt
+++ b/npc/events/christmas_2008.txt
@@ -1,25 +1,49 @@
-//===== 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/>.
+//=========================================================================
//= iRO 2008 Christmas Event
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.1
-//===== File Encoding ========================================
+//================= File Encoding =========================================
//= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8.
-//===== Description: =========================================
+//= -If the encoding is correct, the next three lines have the same length-
+//= ============ กฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤ ============
+//= ============ ============================================= ============
+//= ============ กมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกม ============
+//================= Description ===========================================
//= iRO Christmas Event. (2008)
//= Create Music Box and Cake.
//= Play card game with Santa.
//= Create Santa Suits.
-//==========================================
+//================= Current Version =======================================
+//= 1.1
+//================= Additional Comments ===================================
//= Must enable X-mas08 mobs in mob_db2.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Fixed some issues, revamped the whole script. [Kisuka]
-//============================================================
+//=========================================================================
-// Caroller - Music Box
-//============================================================
+//== Caroller - Music Box ==================================
prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
if (iROxmas08carol < 1 || iROxmas08carol == 3) {
if (iROxmas08carol == 3) {
@@ -433,8 +457,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
}
}
-// Santa Claus - Card Game
-//============================================================
+//== Santa Claus - Card Game ===============================
- script Santa Claus#iROxmas08::08santa 4_M_SANTA,{
mes "[Santa Claus]";
mes "Wow! Were you naughty or nice this year?";
@@ -714,8 +737,7 @@ alberta,117,66,4 duplicate(08santa) Santa Claus#0803 4_M_SANTA
geffen,119,70,4 duplicate(08santa) Santa Claus#0804 4_M_SANTA
morocc,158,104,4 duplicate(08santa) Santa Claus#0805 4_M_SANTA
-// Louise Kim - Santa Suit
-//============================================================
+//== Louise Kim - Santa Suit ===============================
xmas_in,89,92,4 script Louise Kim#iROxmas08 4_F_06,{
mes "[Louise Kim]";
mes "I always thought about how boring Santa Claus is wearing a too boring costume.";
@@ -854,8 +876,7 @@ xmas_in,89,92,4 script Louise Kim#iROxmas08 4_F_06,{
}
}
-// Monsters
-//============================================================
+//== Monsters ==============================================
prt_fild00,0,0,0,0 monster Christmas Jakk 1244,5,0,0,0
prt_fild00,0,0,0,0 monster Christmas Goblin 1245,5,0,0,0
prt_fild00,0,0,0,0 monster Christmas Cookie 1246,5,0,0,0
diff --git a/npc/events/dumplingfestival.txt b/npc/events/dumplingfestival.txt
index e20e4dd2a..641b8f2da 100644
--- a/npc/events/dumplingfestival.txt
+++ b/npc/events/dumplingfestival.txt
@@ -1,15 +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) Lupus
+//= Copyright (C) Massdriller
+//=
+//= 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/>.
+//=========================================================================
//= Imitation of Dumpling Festival
-//===== By ===================================================
-//= Massdriller
-//===== Version ==============================================
-//= 1.01
-//===== Description ==========================================
+//================= Description ===========================================
//= A complete redering of the Dumpling Festival.
-//===== Comments =============================================
-//= Ver 1.0- Duplicate of MRO's Dumpling Event
-//= 1.01 fixed bugs [Lupus]
-//============================================================
+//================= Current Version =======================================
+//= 1.01
+//=========================================================================
payon,93,81,4 script Exorcist Master Fahae 4_M_BUDDHIST,{
@@ -65,8 +87,7 @@ payon,93,81,4 script Exorcist Master Fahae 4_M_BUDDHIST,{
close;
}
-// Monsters
-//============================================================
+//== Monsters ==============================================
gef_fild00,0,0,0,0 monster Dumpling 1520,20,60000,66000
gef_fild07,0,0,0,0 monster Dumpling 1520,20,60000,66000
gef_fild04,0,0,0,0 monster Dumpling 1520,20,60000,66000
diff --git a/npc/events/easter_2008.txt b/npc/events/easter_2008.txt
index 5b53831a4..3e8a1bcac 100644
--- a/npc/events/easter_2008.txt
+++ b/npc/events/easter_2008.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) L0ne_W0lf
+//= Copyright (C) Kisuka
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Easter Event (2008)
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Easter Event. (2008)
//= Create Holy Eggs
//= Help a suspicious man.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Corrected a small bug. [L0ne_W0lf]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
-// Prontera
+//== Prontera ==============================================
prontera,111,99,5 script Egg Salesman#prt::EggVendor 4W_M_02,{
mes "[Egg Salesman]";
mes "^FF0000Chicken Eggs^000000! Come and";
@@ -178,27 +200,27 @@ prontera,108,96,5 script Cantankerous Geezer#prt::EggGeezer 4_M_SEAMAN,{
end;
}
-// Payon
+//- Payon -
payon,172,173,5 duplicate(EggVendor) Egg Salesman#pay 4W_M_02
payon,175,171,1 duplicate(EggMatron) Dowdy Matron#pay 4_F_GODEMOM
payon,170,171,5 duplicate(EggGeezer) Cantankerous Geezer#pay 4_M_SEAMAN
-// Geffen
+//- Geffen -
geffen,136,64,5 duplicate(EggVendor) Egg Salesman#gef 4W_M_02
geffen,138,63,1 duplicate(EggMatron) Dowdy Matron#gef 4_F_GODEMOM
geffen,133,63,5 duplicate(EggGeezer) Cantankerous Geezer#gef 4_M_SEAMAN
-// Al De Baran
+//- Aldebaran -
aldebaran,133,119,5 duplicate(EggVendor) Egg Salesman#alde 4W_M_02
aldebaran,135,117,1 duplicate(EggMatron) Dowdy Matron#ald 4_F_GODEMOM
aldebaran,132,116,5 duplicate(EggGeezer) Cantankerous Geezer#ald 4_M_SEAMAN
-// Alberta
+//- Alberta -
alberta,90,55,5 duplicate(EggVendor) Egg Salesman#alb 4W_M_02
alberta,92,53,1 duplicate(EggMatron) Dowdy Matron#alb 4_F_GODEMOM
alberta,88,52,5 duplicate(EggGeezer) Cantankerous Geezer#alb 4_M_SEAMAN
-// Create Holy Eggs
+//== Create Holy Eggs ======================================
prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{
mes "[Nerlen]";
mes "Hello! If you'd like,";
@@ -311,7 +333,7 @@ prontera,230,312,3 script Nerlen#es07 1_F_PRIEST,{
}
}
-// Easter Quest
+//== Easter Quest ==========================================
morocc,131,26,5 script Secret Corps#egg 4_M_MASKMAN,{
if (easter2008 == 1) {
mes "[Corps Member]";
diff --git a/npc/events/easter_2010.txt b/npc/events/easter_2010.txt
index 70ebbe4fa..fc6399663 100644
--- a/npc/events/easter_2010.txt
+++ b/npc/events/easter_2010.txt
@@ -1,14 +1,36 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Easter Event (2010)
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
+//================= Description ===========================================
//= Lift Lina's curse for an Easter Egg Shell.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.0
+//=========================================================================
prontera,202,297,3 script Rina#Easter 4_F_JOB_HUNTER,{
disable_items;
diff --git a/npc/events/event_skill_reset.txt b/npc/events/event_skill_reset.txt
index 4b0d2b2a7..406cc1afe 100644
--- a/npc/events/event_skill_reset.txt
+++ b/npc/events/event_skill_reset.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) Lupus
+//= Copyright (C) $ephiroth
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Official Skill Resetter Event in Yuno (kRO & idRO)
-//===== By: ==================================================
-//= $ephiroth
-//===== Current Version: =====================================
-//= 1.02
-//===== Description: =========================================
-//= 2006 - Edition Skill Reset NPC
-//= 2006/11/16: 1.0 Release and fully working. [$ephiroth]
-//= 1.01 Checked, fixed typos, now uses MISC_QUEST var [Lupus]
-//= 1.02 Added missing message,comment,etc. [$ephiroth]
-//===== Additional Comments: =================================
+//================= Description ===========================================
//= Skill Reset with payment, minimum BaseLv.60 to reset skill.
//= Each 1 BaseLv need 20.000 Zeny, so be careful to use skill.
-//============================================================
+//================= Current Version =======================================
+//= 1.02
+//=========================================================================
+
yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{
@npcname$ = "[^D5A500Hypnotist^000000]";
mes @npcname$;
diff --git a/npc/events/gdevent_aru.txt b/npc/events/gdevent_aru.txt
index 7b68eb980..bb18bd76b 100644
--- a/npc/events/gdevent_aru.txt
+++ b/npc/events/gdevent_aru.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
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Guild dungeon event, Arunafeltz.
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Guild dungeon event, Arunafeltz. Retrieve Morestone's pickaxe from
+//= Kublin.
+//================= Current Version =======================================
//= 1.2
-//===== Description: =========================================
-//= Guild dungeon event, Arunafeltz. Retrieve Morestone's
-//= pickaxe from Kublin.
-//===== Additional Comments: =================================
-//= 1.0 First version
-//= 1.1 Changed spawn timer to 1 hour. [L0ne_w0lf]
-//= 1.2 Added GM management function. [Euphy]
-//============================================================
+//=========================================================================
arug_dun01,1,1,1 script Monster Controler#aru_gd 4_DOG01,{
OnInit:
diff --git a/npc/events/gdevent_sch.txt b/npc/events/gdevent_sch.txt
index 22b70836e..3c92fcd53 100644
--- a/npc/events/gdevent_sch.txt
+++ b/npc/events/gdevent_sch.txt
@@ -1,17 +1,38 @@
-//===== Hercules Script ======================================
-//= Guild dungeon event, Schwaltzvalt.
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) L0ne_W0lf
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
+//= Guild dungeon event, Schwarzwald
+//================= Description ===========================================
+//= Guild dungeon event, Schwarzwald. Retrieve Morestone's pickaxe from
+//= Kublin.
+//================= Current Version =======================================
//= 1.2
-//===== Description: =========================================
-//= Guild dungeon event, Schwaltzvalt. Retrieve Morestone's
-//= pickaxe from Kublin.
-//===== Additional Comments: =================================
-//= 1.0 First version
-//= 1.1 Changed spawn timer to 1 hour. [L0ne_w0lf]
-//= 1.2 Added GM management function. [Euphy]
-//============================================================
+//=========================================================================
schg_dun01,1,1,1 script Monster Controler#sch_gd 4_DOG01,{
OnInit:
diff --git a/npc/events/god_se_festival.txt b/npc/events/god_se_festival.txt
index aed725db5..57e58fe0f 100644
--- a/npc/events/god_se_festival.txt
+++ b/npc/events/god_se_festival.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
+//=
+//= 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/>.
+//=========================================================================
//= Valkyrie's Gift NPCs
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
-//= Post-God Item SE Creation Summoning Event
+//================= Description ===========================================
+//= Post-God Item SE Creation Summoning Event.
//= Second Sister is a custom translation.
-//===== Additional Comments: =================================
-//= 1.0 First version. [L0ne_W0lf]
-//= 1.1 Added GM management function. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
// Original name: "Festival Manager#god_se_fes00"
yuno,1,1,0 script Festival Manager#gq_fes0 4_F_HUGIRL,{
diff --git a/npc/events/halloween_2006.txt b/npc/events/halloween_2006.txt
index 426bff65b..a797d2bb1 100644
--- a/npc/events/halloween_2006.txt
+++ b/npc/events/halloween_2006.txt
@@ -1,25 +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) Samuray22
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Brainstorm
+//=
+//= 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/>.
+//=========================================================================
//= 2006 Halloween Event
-//===== By: ==================================================
-//= Brainstorm
-//===== Current Version: =====================================
-//= 1.4
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Event 1: Redeem "Pumpkin Mojo" for pumpkin headgear.
//= Event 2: Create "Pumpkin Pie" item.
-//===== Additional Comments: =================================
-//= 1.0 First semi-working conversion. [Brainstorm]
-//= 1.1 Refined Brainstorm's conversion. [L0ne_W0lf]
-//= 1.1a Minor fixes. (Screwed up weight checks somehow) [L0ne_W0lf]
-//= 1.2 Added missing checkweights. [L0ne_W0lf]
-//= 1.3 Replaced effect numerics with constants. [L0ne_W0lf]
-//= 1.3a Replaced effect numerics with constants (1 was missed). [Samuray22]
-//= 1.4 Effects are now played by proper NPC. [L0ne_W0lf]
-//============================================================
-
-// Pumpkin Mojo quest (Event 1)
-//============================================================
+//================= Current Version =======================================
+//= 1.4
+//=========================================================================
+
+//== Pumpkin Mojo quest (Event 1) ==========================
prontera,162,69,5 script Gloomy Jack#06_hw JAKK,2,2,{
end;
@@ -480,8 +496,7 @@ nif_in,19,32,3 script Deviruchi#06_hw 4_DEVIRUCHI,{
}
}
-// Creation of Pumpkin Pie (Event 2)
-//============================================================
+//== Creation of Pumpkin Pie (Event 2) =====================
nif_fild01,165,115,3 script Chicken Masta#06_hw 4_M_NFDEADMAN2,{
if (MaxWeight - Weight < 2000 || checkweight(1201,1) == 0) {
mes "^3355FFWait a second!";
@@ -904,8 +919,7 @@ pay_dun03,156,131,3 duplicate(HwChicken3) Chicken#06_hw_p39 4_NFCOCK
pay_dun03,157,131,3 duplicate(HwChicken2) Chicken#06_hw_p40 4_NFCOCK
pay_dun03,158,131,3 duplicate(HwChicken3) Chicken#06_hw_p41 4_NFCOCK
-// Payon Field chickens
-//============================================================
+//== Payon Field chickens ==================================
pay_fild08,1,1,0 script #06_hw_timer02 -1,{
OnInit:
disablenpc "Chicken#06_hw_pf01";
@@ -1077,8 +1091,7 @@ morocc,159,143,3 duplicate(HWFamiDup) Familiar#06_hw03 4_NFBAT
geffen,120,188,3 duplicate(HWFamiDup) Familiar#06_hw04 4_NFBAT
alberta,80,171,3 duplicate(HWFamiDup) Familiar#06_hw05 4_NFBAT
-// Event Lude Monster Spawns
-//============================================================
+//== Event Lude Monster Spawns =============================
ra_fild01,0,0,0,0 monster Lude 1812,3,0,0,0
ra_fild02,0,0,0,0 monster Lude 1812,3,0,0,0
ra_fild03,0,0,0,0 monster Lude 1812,3,0,0,0
diff --git a/npc/events/halloween_2008.txt b/npc/events/halloween_2008.txt
index 9b80eb798..3c1b65db1 100644
--- a/npc/events/halloween_2008.txt
+++ b/npc/events/halloween_2008.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) 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/>.
+//=========================================================================
//= iRO Halloween (2008)
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Halloween (2008)
//= Run away from the zombies for tickets.
//= Redeem tickets for prizes.
-//===== Notes: ===============================================
+//================= Current Version =======================================
+//= 1.1
+//================= Additional Comments ===================================
//= You must enable the event monsters in mob_db2.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Some small changes. [Kisuka]
-//============================================================
+//=========================================================================
payon,162,176,4 script Halloween Magician#iRO08 4_M_BIBI,{
if (Hallow08 < 1) {
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index 2f3a978e3..6c73d708d 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -1,25 +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) Lupus
+//= 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/>.
+//=========================================================================
//= iRO Halloween (2009)
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Halloween (2009)
//= Quest for Weird Pumpkin Hat.
//= Exchange treats for buffs.
//= Summon event monsters in towns.
-//===== Notes: ===============================================
+//================= Current Version =======================================
+//= 1.1
+//================= Additional Comments ===================================
//= You must enable the event items in item_db2.
-//= You must enable the event mobs in mob_db2, mob_avail, and
-//= their skills in mob_skill_db2.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1 Fixed even exploit, fixed mobs overlap. [Lupus]
-//============================================================
+//= You must enable the event mobs in mob_db2, mob_avail, and their skills
+//= in mob_skill_db2.
+//=========================================================================
-// Headgear Quest - Pumpkin Hat
-//============================================================
+//== Headgear Quest - Pumpkin Hat ==========================
prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
if(BaseLevel < 45) {
mes "[Pumpkin Hat Researcher]";
@@ -92,8 +113,7 @@ prontera,152,192,5 script Pumpkin Hat Researcher 4_M_05,{
}
}
-// Buffs - Trick or Treaters
-//============================================================
+//== Buffs - Trick or Treaters =============================
- script Trick or Treater::09Treats 4_M_KID1,2,2,{
OnTouch:
hideoffnpc strnpcinfo(3);
@@ -218,8 +238,7 @@ prontera,142,214,5 duplicate(09Treats) Trick or Treater#iRO6 4_M_KID1,2,2
prontera,134,125,5 duplicate(09Treats) Trick or Treater#iRO7 4_M_KID1,2,2
prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 4_M_KID1,2,2
-// Monster Summoning - Halloween Wizard
-//============================================================
+//== Monster Summoning - Halloween Wizard ==================
- script Halloween Wizard#iRO09::09HallowWiz 4_DARKLORD,{
mes "[Halloween Wizard]";
mes "...";
diff --git a/npc/events/idul_fitri.txt b/npc/events/idul_fitri.txt
index df24208eb..7bb5e81a9 100644
--- a/npc/events/idul_fitri.txt
+++ b/npc/events/idul_fitri.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) Samuray22
+//= Copyright (C) $ephiroth
+//=
+//= 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/>.
+//=========================================================================
//= Feast Day Of Ramadan Idul Fitri Event
-//===== By: ==================================================
-//= $ephiroth
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Official idRO Feast Day of Ramadan Idul Fitri Event.
+//================= Current Version =======================================
//= 1.1
-//===== Description: =========================================
-//= Info : Official idRO
-//= 2006/10/16: 1.0 Release and fully working. [$ephiroth]
-//= 1.1 Replaced effect numerics with constants. [Samuray22]
-//============================================================
+//=========================================================================
prontera,146,92,3 script Cellerb 1_M_MERCHANT,{
mes "[Staff Idul Fitri]";
diff --git a/npc/events/lunar_2008.txt b/npc/events/lunar_2008.txt
index 0b51f468b..9569bc1b8 100644
--- a/npc/events/lunar_2008.txt
+++ b/npc/events/lunar_2008.txt
@@ -1,26 +1,45 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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/>.
+//=========================================================================
//= Lunar New Year Event (2008)
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Lunar New Year event; Year of the Rat. (2008)
-//= Kill Cramps, Taruus, and Matrins to retrieve "Rice Pouches"
-//= in return for various rice-themed foods, envelopes, and
-//= a "New year Doll" egg. Rates are guessed.
-//=
-//= Cramp, Tarou, and Matrin drops altered, Uncomment in
-//= mob_db2 to enable. [required]
+//= Kill Cramps, Taruus, and Matrins to retrieve "Rice Pouches" in return
+//= for various rice-themed foods, envelopes, and a "New year Doll" egg.
+//================= Current Version =======================================
+//= 1.1
+//================= Additional Comments ===================================
+//= Rates are guessed.
+//= Cramp, Tarou, and Matrin drops altered, Uncomment in mob_db2 to enable.
//=
-//= Miss Lunar NPC uses the sprite 4_f_nacoruri, which isn't
-//= standard in kRO's data files. If you're having problems
-//= or are unsure if your client supports that sprite, an
-//= alternate NPC header has been included.
-//===== Additional Comments: =================================
-//= 1.0 First version. [L0ne_W0lf]
-//= 1.1 Added missing checkweights. [L0ne_W0lf]
-//============================================================
+//= Miss Lunar NPC uses the sprite 4_F_NACORURI, which isn't standard in
+//= kRO's data files. If you're having problems or are unsure if your
+//= client supports that sprite, an alternate NPC header has been included.
+//=========================================================================
payon_in01,193,30,4 script Rice Mill Grandma#rat 1_F_ORIENT_04,{
mes "[Rice Mill Grandma]";
diff --git a/npc/events/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt
index f768405d7..f6d031a60 100644
--- a/npc/events/nguild/nguild_dunsw.txt
+++ b/npc/events/nguild/nguild_dunsw.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) 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/>.
+//=========================================================================
//= War of Emperium Dungeon Switch for NGuild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= Switch that warps guild members to the guild dungeon
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 Guild Dungeon Switch Fucntion added. [L0ne_W0lf]
-//============================================================
-
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
-//==================================================
function script F_GldDunSw {
.@GID = getcastledata(getarg(0),1);
if (.@GID == 0) {
@@ -40,25 +60,25 @@ function script F_GldDunSw {
}
}
-// Castle 1 ===============================================
+//== Castle 1 ==============================================
nguild_alde,212,181,0 script Switch#DunN01 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_alde","02",32,122;
close;
}
-// Castle 2 ===============================================
+//== Castle 2 ==============================================
nguild_gef,78,84,0 script Switch#DunN02 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_gef","04",39,258;
close;
}
-// Castle 3 ===============================================
+//== Castle 3 ==============================================
nguild_pay,101,25,0 script Switch#DunN03 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_pay","01",186,165;
close;
}
-// Castle 4 ===============================================
+//== Castle 4 ==============================================
nguild_prt,94,200,0 script Switch#DunN04 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_prt","03",28,251;
close;
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index 5461bb975..c94fbc7ea 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -1,20 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= 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/>.
+//=========================================================================
//= War of Emperium - NGuild Wars Events
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
+//================= Description ===========================================
//= Event Triggers for NGuild Wars
-//===== Additional Comments: =================================
-// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus]
-//= 1.4 AGIT Functions added, treasure spawning added. [L0ne_W0lf]
-//= 1.5 Emperium should now properly respawn. [L0ne_W0lf]
-//============================================================
-
+//================= Current Version =======================================
+//= 1.5
+//=========================================================================
-// Function for OnAgitStart =========================================
+//== Function for OnAgitStart ==============================
function script F_AgitStart {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -28,7 +48,7 @@ function script F_AgitStart {
end;
}
-// Function for OnGuildBreak ======================================
+//== Function for OnGuildBreak =============================
function script F_GuildBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -42,7 +62,7 @@ function script F_GuildBreak {
return;
}
-// Function for OnAgitBreak ======================================
+//== Function for OnAgitBreak ==============================
function script F_AgitBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -78,7 +98,7 @@ function script F_AgitBreak {
}
-// Function for OnAgitEnd ======================================
+//== Function for OnAgitEnd ================================
function script F_AgitEnd {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -92,7 +112,7 @@ function script F_AgitEnd {
end;
}
-// Castle 1 ================================================================
+//== Castle 1 ==============================================
nguild_alde,0,0,0 script Agit_N01 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN01";
@@ -119,7 +139,7 @@ OnAgitEnd:
end;
}
-// Castle 2 ================================================================
+//== Castle 2 ==============================================
nguild_gef,0,0,0 script Agit_N02 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN02";
@@ -146,7 +166,7 @@ OnAgitEnd:
end;
}
-// Castle 3 ================================================================
+//== Castle 3 ==============================================
nguild_pay,0,0,0 script Agit_N03 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN03";
@@ -173,7 +193,7 @@ OnAgitEnd:
end;
}
-// Castle 4 ================================================================
+//== Castle 4 ==============================================
nguild_prt,0,0,0 script Agit_N04 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN04";
@@ -200,8 +220,7 @@ OnAgitEnd:
end;
}
-// Treasure Spawn Time
-//========================================
+//== Treasure Spawn Time ===================================
- script TreasSpawn -1,{
end;
diff --git a/npc/events/nguild/nguild_flags.txt b/npc/events/nguild/nguild_flags.txt
index 830ded7f9..ebfa2d230 100644
--- a/npc/events/nguild/nguild_flags.txt
+++ b/npc/events/nguild/nguild_flags.txt
@@ -1,20 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= 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/>.
+//=========================================================================
//= War of Emperium N Guild Flags
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
+//================= Description ===========================================
//= WoE flag scripts. Display guild emblems on flags.
-//===== Additional Comments: =================================
-// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-// 1.1 Inner Flags don't teleport you to your HQ anymore [Lupus]
-// 1.2 updated flags to use the new arguments. [L0ne__W0lf]
-// 1.3 Guild flag function added. [L0ne_W0lf]
-//============================================================
-
-/// Flag Function
-//============================================================
+//================= Current Version =======================================
+//= 1.3
+//=========================================================================
+
+//== Flag Function =========================================
function script F_Flags {
.@GID = getcastledata(getarg(1),1);
if (getarg(5) == 0) return;
@@ -58,9 +78,7 @@ function script F_Flags {
}
}
-//============================================================================//
-// Castle 1
-//============================================================================//
+//== Castle 1 ==============================================
n_castle,110,96,1 script NGuild Aldebaran#a1-1 GUILD_FLAG,{
callfunc "F_Flags","Al De Baran","nguild_alde",218,170,1,1;
close;
@@ -78,7 +96,7 @@ OnRecvCastleN01:
flagemblem getcastledata("nguild_alde",1);
end;
}
-// In Castle ============================================
+//- In Castle -
nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 GUILD_FLAG
nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 GUILD_FLAG
nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 GUILD_FLAG
@@ -94,9 +112,7 @@ nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 GUILD_FLAG
nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 GUILD_FLAG
nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 GUILD_FLAG
-//============================================================================//
-// Castle 2
-//============================================================================//
+//== Castle 2 ==============================================
n_castle,110,109,3 script NGuild Geffen#g1-1 GUILD_FLAG,{
callfunc "F_Flags","Geffen","nguild_gef",83,47,1,1;
close;
@@ -114,7 +130,7 @@ OnRecvCastleN02:
flagemblem getcastledata("nguild_gef",1);
end;
}
-// In Castle =============================================
+//- In Castle -
nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 GUILD_FLAG
nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 GUILD_FLAG
nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 GUILD_FLAG
@@ -122,9 +138,7 @@ nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 GUILD_FLAG
nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 GUILD_FLAG
nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 GUILD_FLAG
-//============================================================================//
-// Castle 3
-//============================================================================//
+//== Castle 3 ==============================================
n_castle,94,109,5 script NGuild Payon#f1-1 GUILD_FLAG,{
callfunc "F_Flags","Payon","nguild_pay",87,29,1,1;
close;
@@ -142,7 +156,7 @@ OnRecvCastleN03:
flagemblem getcastledata("nguild_pay",1);
end;
}
-// In Castle ===============================================
+//- In Castle -
nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 GUILD_FLAG
nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 GUILD_FLAG
nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 GUILD_FLAG
@@ -150,9 +164,7 @@ nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 GUILD_FLAG
nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 GUILD_FLAG
nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 GUILD_FLAG
-//=============================================================================//
-// Castle 4
-//=============================================================================//
+//== Castle 4 ==============================================
n_castle,94,96,7 script NGuild Prontera#p1-1 GUILD_FLAG,{
callfunc "F_Flags","Prontera","nguild_prt",97,174,1,1;
close;
@@ -170,7 +182,7 @@ OnRecvCastleN04:
flagemblem getcastledata("nguild_prt",1);
end;
}
-// In Castle =============================================
+//- In Castle -
nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 GUILD_FLAG
nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 GUILD_FLAG
nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 GUILD_FLAG
diff --git a/npc/events/nguild/nguild_guardians.txt b/npc/events/nguild/nguild_guardians.txt
index 3b2a7088b..e5b8bc959 100644
--- a/npc/events/nguild/nguild_guardians.txt
+++ b/npc/events/nguild/nguild_guardians.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) 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/>.
+//=========================================================================
//= War of Emperium - nguild guardians script
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Re-spawns guardians on server start if they have been purchased. Also
+//= announces when a guardian dies.
+//================= Current Version =======================================
//= 1.0
-//===== Description: =========================================
-//= Re-spawns guardians on server start if they have been
-//= purchased. Also announces when a guardian dies.
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//============================================================
+//=========================================================================
-
-//------------------------------------------------------------------------------
nguild_alde,216,24,0 script Guardian_N01 -1,{
OnAgitInit:
if (getcastledata("nguild_alde",10) == 1) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
@@ -31,7 +51,6 @@ OnGuardianDied:
end;
}
-//------------------------------------------------------------------------------
nguild_gef,198,182,0 script Guardian_N02 -1,{
OnAgitInit:
if (getcastledata("nguild_gef",10) == 1) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
@@ -49,7 +68,7 @@ OnGuardianDied:
mapannounce "nguild_gef","A Guardian Has Fallen",17;
end;
}
-//------------------------------------------------------------------------------
+
nguild_pay,139,139,0 script Guardian_N03 -1,{
OnAgitInit:
if (getcastledata("nguild_pay",10) == 1) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
@@ -67,7 +86,7 @@ OnGuardianDied:
mapannounce "nguild_pay","A Guardian Has Fallen",17;
end;
}
-//------------------------------------------------------------------------------
+
nguild_prt,197,197,0 script Guardian_N04 -1,{
OnAgitInit:
if (getcastledata("nguild_prt",10) == 1) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt
index 89570fe6d..66c53ff2d 100644
--- a/npc/events/nguild/nguild_kafras.txt
+++ b/npc/events/nguild/nguild_kafras.txt
@@ -1,18 +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) L0ne_W0lf
+//= 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/>.
+//=========================================================================
//= War of Emperium Kafras for N Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
+//================= Description ===========================================
//= Provides Kafra services for guild members of NGuild Castles.
+//================= Current Version =======================================
+//= 1.2
+//================= Additional Comments ===================================
//= Used in conjuction with function F_Kafra.
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 All N Guild Kafras teleport to Prontera only! [Lupus]
-//= 1.2 Added Kafra function. [L0ne_W0lf]
-//============================================================
-
+//=========================================================================
function script F_GKafra {
cutin "kafra_01",2;
@@ -31,7 +53,7 @@ L_StartG:
end;
}
-// Castle 1 ===============================================
+//== Castle 1 ==============================================
nguild_alde,218,170,0 script Kafra Service#N01 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_alde", "Prontera";
end;
@@ -40,7 +62,7 @@ OnRecvCastleN01:
end;
}
-// Castle 2 ===============================================
+//== Castle 2 ==============================================
//nguild_gef,96,173,0 script Kafra Service#N02 4_F_KAFRA1,{
nguild_gef,35,37,0 script Kafra Service#N02 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_gef", "Prontera";
@@ -50,7 +72,7 @@ OnRecvCastleN02:
end;
}
-// Castle 3 ===============================================
+//== Castle 3 ==============================================
nguild_pay,128,58,3 script Kafra Service#N03 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_pay", "Prontera";
end;
@@ -59,7 +81,7 @@ OnRecvCastleN03:
end;
}
-// Castle 4 ===============================================
+//== Castle 4 ==============================================
nguild_prt,96,173,0 script Kafra Service#N04 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_prt", "Prontera";
end;
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt
index 015ef20fd..21b1e4b86 100644
--- a/npc/events/nguild/nguild_managers.txt
+++ b/npc/events/nguild/nguild_managers.txt
@@ -1,26 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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/>.
+//=========================================================================
//= War of Emperium Managers for N Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= War of Emperium Managers for Novice Guild Castles
+//================= Current Version =======================================
//= 1.2
-//===== Description: =========================================
-//=
-//==============================================
-//= Break down of arguments used in the function:
-//= arg(0): name of Castle Manager
-//= arg(1): name of guild castle.
-//= arg(2): x1 coordinate for warp to treasure room
-//= arg(3): y1 coordinate for warp to treasure room
-//= arg(4): guild script suffix for kafra, etc.
-//===== Additional Comments: =================================
-//= 1.0 Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 Added modified guild manager function. [L0ne_W0lf]
-//= Removed guardian summoning.
-//= 1.2 Corrected function name. (bugreport:1728) [L0ne_W0lf]
-//============================================================
+//=========================================================================
-//==============================================
+// Arguments:
+// - 0: name of Castle Manager
+// - 1: name of guild castle.
+// - 2: x1 coordinate for warp to treasure room
+// - 3: y1 coordinate for warp to treasure room
+// - 4: guild script suffix for kafra, etc.
function script F_GldManager {
@GID = getcastledata(getarg(1),1);
@@ -129,28 +147,28 @@ function script F_GldManager {
}
}
-// Castle 1 ==================================================================================
+//== Castle 1 ==============================================
nguild_alde,218,175,0 script Frolo 1_M_JOBTESTER,{
callfunc "F_GldManager","Frolo","nguild_alde",119,223,"N01";
close;
}
-// Castle 2 ==================================================================================
+//== Castle 2 ==============================================
nguild_gef,40,48,5 script Leiber 1_M_JOBTESTER,{
callfunc "F_GldManager","Leiber","nguild_gef",155,112,"N02";
close;
}
-// Castle 3 ==================================================================================
+//== Castle 3 ==============================================
nguild_pay,120,58,4 script Dundar 1_M_JOBTESTER,{
callfunc "F_GldManager","Dundar","nguild_pay",290,7,"N03";
close;
}
-// Castle 4 ==================================================================================
+//== Castle 4 ==============================================
nguild_prt,112,181,0 script Thefton 1_M_JOBTESTER,{
callfunc "F_GldManager","Thefton","nguild_prt",15,209,"N04";
close;
diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt
index 7a7cd64c8..c2ca26451 100644
--- a/npc/events/nguild/nguild_treas.txt
+++ b/npc/events/nguild/nguild_treas.txt
@@ -1,22 +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) brianluau
+//= Copyright (C) L0ne_W0lf
+//= 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/>.
+//=========================================================================
//= War of Emperium Treasure Rooms for NGuild Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= War of Emperium Treasure Rooms for Novice Guild Castles
+//================= Current Version =======================================
//= 1.3b
-//===== Description: =========================================
-//=
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.2 Official treasure spawn [Lupus]
-//= 1.3 Added F_GldTreas function. (bugreport:1788) [L0ne_W0lf]
-//= 1.3b Added F_GldTreasSw function. (bugreport:3292) [brianluau]
-//============================================================
-
+//=========================================================================
-//================================================
-// Treasure Spawning Function
-//================================================
+//== Treasure Spawning Function ============================
function script F_GldTreas {
if(getarg(10) != 1) {
setcastledata getarg(0),4,0;
@@ -47,9 +66,7 @@ function script F_GldTreas {
return;
}
-//==============================================================
-// Treasure Room Switch
-//===============================================================
+//== Treasure Room Switch ==================================
function script F_GldTreasSw {
mes " ";
mes "There's a small lever. Will you pull it?";
@@ -62,9 +79,9 @@ function script F_GldTreasSw {
close;
}
-//<===============================Castle 1 =================================>\\
+//== Castle 1 ==============================================
-// Treasure Spawn -----------------------
+//- Treasure Spawn -
nguild_alde,1,1,1 script Treasure_N01 -1,{
OnRecvCastleN01:
@@ -82,15 +99,15 @@ OnDied:
end;
}
-// Treasure Room Switch --------------------
+//- Treasure Room Switch -
nguild_alde,123,223,0 script Switch#TresN01 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_alde",218,176;
end;
}
-//<================================Castle 2 ================================>\\
+//== Castle 2 ==============================================
-// Treasure Spawn ----------------------------
+//- Treasure Spawn -
nguild_gef,1,1,1 script Treasure_N02 -1,{
OnRecvCastleN02:
@@ -108,15 +125,15 @@ OnDied:
end;
}
-// Room Switch ---------------------------------------------------------
+//- Treasure Room Switch -
nguild_gef,152,117,0 script Switch#TresN02 HIDDEN_NPC,{
callfunc "F_GldTreasSw","nguild_gef",40,49;
end;
}
-//<================================Castle 3 ================================>\\
+//== Castle 3 ==============================================
-// Treasure Spawn ---------------------------
+//- Treasure Spawn -
nguild_pay,1,1,0 script Treasure_N03 -1,{
OnRecvCastleN03:
end;
@@ -133,15 +150,15 @@ OnDied:
end;
}
-// Treasure Room Switch ---------------------------------------------------
+//- Treasure Room Switch -
nguild_pay,295,8,0 script Switch#TresN03 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_pay",120,59;
end;
}
-//<================================Castle 4 ================================>\\
+//== Castle 4 ==============================================
-// Treasure Spawn -------------------------------
+//- Treasure Spawn -
nguild_prt,1,1,0 script Treasure_N04 -1,{
OnRecvCastleN04:
end;
@@ -158,7 +175,7 @@ OnDied:
end;
}
-// Treasure Room Switch ----------------------------------------------------
+//- Treasure Room Switch -
nguild_prt,15,209,0 script Switch#TresN04 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_prt",109,179;
end;
diff --git a/npc/events/nguild/nguild_warper.txt b/npc/events/nguild/nguild_warper.txt
index 6ad9d02ab..94f65e546 100644
--- a/npc/events/nguild/nguild_warper.txt
+++ b/npc/events/nguild/nguild_warper.txt
@@ -1,30 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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's Guild Castles War of Emperium Usher NPC
+//================= Description ===========================================
//= Novice's Guild Castles War of Emperium Usher NPC
-//===== By: ==================================================
-//= Lupus
-//===== Current Version: =====================================
+//================= Current Version =======================================
//= 1.7
-//===== Description: =========================================
-//=
-//===== Additional Comments: =================================
-//= Now you have access to 4 N Guild castles. They don't have
-//= dungeons. And 2nd Classes can't seize these Castles.
-//= These new castles need a new strategy. It would bring some
-//= fun and live to your game.
-//= NOTE: If your Guild Master is 2nd class, then he could
-//= rule the Castles and gather Treasure Boxes after WoE
-//= 1.1 Now 2nd classes can't enter NC place at all
-//= 1.2 Restricted access of SG/SL. On warp clear some
-//= unallowed buffs [Lupus]
-//= 1.3 Restricted TK,High classes >=90 BaseLevel,
-//= updated list of unallowed buffs [Lupus]
-//= 1.4 Restricted it to 80 Base Level [Lupus]
-//= 1.5 According to official info: 1 Treasure Chest per Castle
-//= 1.6 Only 1st Class < 60 BaseLevel Players can participate
-//= 1.7 Guilds with Emergency Call or with 9+ skill points
-//= can't take part in NWoE. [Lupus]
+//================= Additional Comments ===================================
+//= Now you have access to 4 N Guild castles. They don't have dungeons. And
+//= 2nd Classes can't seize these Castles.
+//= These new castles need a new strategy. It would bring some fun and live
+//= to your game.
+//= NOTE: If your Guild Master is 2nd class, then he could rule the Castles
+//= and gather Treasure Boxes after WoE
//= TODO: The official entrance is in Izlude.
-//============================================================
+//=========================================================================
prontera,146,163,6 script Novice Castles 4_F_NOVICE,{
mes "[Cita]";
diff --git a/npc/events/twintowers.txt b/npc/events/twintowers.txt
index 8013b85b7..0d9ede6f8 100644
--- a/npc/events/twintowers.txt
+++ b/npc/events/twintowers.txt
@@ -1,17 +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) ultramage
+//= Copyright (C) Silent
+//= Copyright (C) Lupus
+//= Copyright (C) massdriller
+//= Copyright (C) sEiKaN
+//= Copyright (C) Akaru
+//=
+//= 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/>.
+//=========================================================================
//= Twin Towers NPCs
-//===== By: ==================================================
-//= sEiKaN (1.0)
-//===== Current Version: =====================================
-//= 1.6
-//===== Description: =========================================
+//================= Description ===========================================
//= mRO Event: Twin Towers NPCs
-//===== Additional Comments: =================================
-//= 1.2 by Akaru 1.3 by massdriller(Fixed typos)
-//= 1.4 fixed coords, according to off. src [Lupus]
-//= 1.5 Removed Duplicates [Silent]
-//= 1.6 Fixed wrong sprite id on main npc [ultramage]
-//============================================================
+//================= Current Version =======================================
+//= 1.6
+//=========================================================================
prontera,146,92,4 script Twin Towers#tt1::Twin-Towers TW_TOWER,{
mes "[Twin Towers]";
diff --git a/npc/events/valentinesday.txt b/npc/events/valentinesday.txt
index 5f6289d13..5363a44bd 100644
--- a/npc/events/valentinesday.txt
+++ b/npc/events/valentinesday.txt
@@ -1,20 +1,39 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= 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/>.
+//=========================================================================
//= Valentine Event Script
-//===== By: ==================================================
-//= Muad_Dib (Prometheus Project)
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Valentine's Day Event Script.
+//================= Current Version =======================================
//= 1.1
-//===== Description: =========================================
-//
-//===== Additional Comments: =================================
-//= 07/06/05 : Added 1st Version. [Muad_Dib]
-//= 08/28/05 : Ver. 1.01 Added a missing close; [Muad_Dib]
-//= Converted to rAthena format by Dr.Evil
-//= 1.1 Cleaning. [Euphy]
-//============================================================
+//=========================================================================
-// Stephen - Valentine Event Chocolate seller
-//============================================================
+//== Stephen - Valentine Event Chocolate seller ============
alberta,26,243,4 script Stephen 1_M_MERCHANT,{
mes "[Stephen]";
mes "Guess what I've got?";
@@ -57,8 +76,7 @@ alberta,26,243,4 script Stephen 1_M_MERCHANT,{
close;
}
-// Jainie -- Gives information about Valentine Event
-//============================================================
+//== Jainie -- Gives information about Valentine Event =====
alberta,29,243,4 script Jainie 1_M_INNKEEPER,{
mes "[Jainie]";
mes "You know what? The chocolate that my boyfriend sells are from me!";
@@ -81,8 +99,7 @@ alberta,29,243,4 script Jainie 1_M_INNKEEPER,{
close;
}
-// Carl Orleans -- Valentine Event Chocolate maker
-//============================================================
+//== Carl Orleans -- Valentine Event Chocolate maker =======
prt_castle,54,34,4 script Carl Orleans 1_M_01,{
mes "[Carl Orleans]";
mes "Yes?";
diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt
index aaaf74a85..ca707918e 100644
--- a/npc/events/valentinesday_2009.txt
+++ b/npc/events/valentinesday_2009.txt
@@ -1,28 +1,48 @@
-//===== 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) 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/>.
+//=========================================================================
//= iRO Valentine's Day Event (2009)
-//===== By: ==================================================
-//= Kisuka
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
+//================= Description ===========================================
//= iRO Valentine's Day Event. (2009)
//= Make Chocolate/Chocolate Boxes/Home-Made Chocolate.
//= Make Valentine's Rings/Boxes.
//= Trade rings to those of opposite gender.
//= Register rings you have gotten for votes.
-//=
-//= The male and female with the most votes at the end of
-//= the event will receive item (14466) from GM team.
+//================= Current Version =======================================
+//= 1.3
+//================= Additional Comments ===================================
+//= The male and female with the most votes at the end of the event will
+//= receive item (14466) from GM team.
//=
//= Must enable the event items in item_db2 and item_trade!
-//===== Additional Comments: =================================
-//= 1.0 First version. [Kisuka]
-//= 1.1-1.2 Fixed exploits with unlimited rings and non deleting choco [Lupus]
-//= 1.3 Some Changes. [Kisuka]
-//============================================================
+//=========================================================================
-// Marco Bassinio (Chocolate/Chocolate Box maker)
-//============================================================
+//== Marco Bassinio (Chocolate/Chocolate Box maker) ========
prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
mes "[Marco Bassinio]";
mes "Hey, folks! Here's something you don't see everyday!";
@@ -158,8 +178,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{
}
}
-// Packs Trader (Sells Wrapping Paper, Lace, and Box)
-//============================================================
+//== Packs Trader (Sells Wrapping Paper, Lace, and Box) ====
prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{
mes "[Packs Trader]";
mes "Hello.";
@@ -302,8 +321,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{
}
}
-// Event Ring Maker (Makes ring for players)
-//============================================================
+//== Event Ring Maker (Makes ring for players) =============
prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{
if (BaseLevel < 75) {
mes "[Event Ring Maker]";
@@ -396,8 +414,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{
close;
}
-// Valentine Vote Manager (Registers votes)
-//============================================================
+//== Valentine Vote Manager (Registers votes) ==============
prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
mes "[Valentine Vote Manager]";
mes "Hello, I'm the Valentine's Vote Manager.";
@@ -517,8 +534,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
}
}
-// Charles Orleans (Makes Home-Made Chocolates)
-//============================================================
+//== Charles Orleans (Makes Home-Made Chocolates) ==========
prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{
if (Sex) {
mes "[Charles Orleans]";
diff --git a/npc/events/valentinesday_2012.txt b/npc/events/valentinesday_2012.txt
index d113bd480..04b6a5d77 100644
--- a/npc/events/valentinesday_2012.txt
+++ b/npc/events/valentinesday_2012.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) Rikimaru
+//=
+//= 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/>.
+//=========================================================================
//= Valentine's Day Event (2012)
-//===== By: ==================================================
-//= Rikimaru
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= The full NPCs of the Valentine's Day Event 2012 (account-based).
+//================= Current Version =======================================
//= 1.1
-//===== Description: =========================================
-//= The full Valentine's Day NPCs of the Valentine's Day
-//= Event 2012 (account-based).
-//===== Additional Comments: =================================
-//= 1.0 First version. [Rikimaru]
-//= 1.1 Standardized and fixed. [Euphy]
-//============================================================
+//=========================================================================
mosk_in,21,246,5 script Pinkamenia 1_F_LIBRARYGIRL,{
.@n$ = "^0000FF[Pinkamenia]^000000";
diff --git a/npc/events/whiteday.txt b/npc/events/whiteday.txt
index d90f7c491..58655bf11 100644
--- a/npc/events/whiteday.txt
+++ b/npc/events/whiteday.txt
@@ -1,15 +1,36 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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/>.
+//=========================================================================
//= White Day Event Script
-//===== By: ==================================================
-//= 1.0a Muad_Dib (Prometheus Project)
-//===== Current Version: =====================================
-//= 1.0a
-//===== Description: =========================================
+//================= Description ===========================================
//= Sells candy, candy cane and well baked cookie.
-//===== Additional Comments: =================================
-//= 07/06/05 : Added 1st Version. [Muad_Dib]
-//= Converted to rAthena format by Dr.Evil
-//============================================================
+//================= Current Version =======================================
+//= 1.0a
+//=========================================================================
alberta,188,64,4 script Sugar 4_F_02,{
mes "[Sugar]";
diff --git a/npc/events/xmas.txt b/npc/events/xmas.txt
index be43b3752..9a2b0028e 100644
--- a/npc/events/xmas.txt
+++ b/npc/events/xmas.txt
@@ -1,24 +1,45 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) rAthena Dev Team
+//= Copyright (C) eAthena Dev Team
+//= Copyright (C) Kayla
+//= Copyright (C) MasterOfMuppets
+//= Copyright (C) Lupus
+//= Copyright (C) shadowlady
+//=
+//= 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/>.
+//=========================================================================
//= X-mas Event
-//===== By: ==================================================
-//= rAthena Dev Team
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Beat up Antonios and grab his socks. Get at least 3 and give them to
+//= Santa Claus Claus in exchange for a present.
+//================= Current Version =======================================
//= 1.4
-//===== Description: =========================================
-//= Beat up Antonios and grab his socks. Get at least 3 and
-//= give them to Santa Claus Claus in exchange for a present.
+//================= Additional Comments ===================================
//= Includes X-mas mobs.
//= This npc will disable, the current Santa Claus npc.
-//===== Additional Comments: =================================
-//= Fixed the spawns [shadowlady]
-//= 1.1 Added Xmas Jakk, fixed 2 exploits, fixed reward Box ID [Lupus]
-//= 1.2 Added monsters to the newer fields, thanks to Muad_Dib [MasterOfMuppets]
-//= 1.2a Fixed a major problem with the monster spawns, thanks to Playtester [MasterOfMuppets]
-//= 1.2b Fixed a minor problem with the mosnter spawns, thanks to Playtester [Kayla]
-//= 1.3 Added Christmas Orc to the places where other orcs spawn [MasterOfMuppets]
-//= Added Christmas goblins to yuno_fild09, thanks to Playtester for pointing it out
-//= 1.4 Added a fix to make Lutie & Bard quests passable during this event [Lupus]
-//============================================================
+//=========================================================================
xmas_in,100,96,4 script Santa Claus::Santa2 4_M_SANTA,{
mes "[Santa Claus]";
@@ -108,14 +129,12 @@ OnInit:
end;
}
-// Xmas Goblin Spawns
-//============================================================
+//== Xmas Goblin Spawns ====================================
prt_fild11,0,0,0,0 monster Christmas Goblin 1245,5,0,0,0
gef_fild11,0,0,0,0 monster Christmas Goblin 1245,5,0,0,0
yuno_fild09,0,0,0,0 monster Christmas Goblin 1245,5,0,0,0
-// Santa Poring Spawns
-//============================================================
+//== Santa Poring Spawns ===================================
ein_fild03,0,0,0,0 monster Santa Poring 1062,15,0,0,0
ein_fild04,0,0,0,0 monster Santa Poring 1062,15,0,0,0
ein_fild06,0,0,0,0 monster Santa Poring 1062,15,0,0,0
@@ -229,8 +248,7 @@ hu_fild04,0,0,0,0 monster Santa Poring 1062,15,0,0,0
hu_fild05,0,0,0,0 monster Santa Poring 1062,15,0,0,0
hu_fild07,0,0,0,0 monster Santa Poring 1062,15,0,0,0
-// Antonio Spawns
-//============================================================
+//== Antonio Spawns ========================================
ein_fild03,0,0,0,0 monster Antonio 1247,1,0,0,0
ein_fild04,0,0,0,0 monster Antonio 1247,1,0,0,0
ein_fild06,0,0,0,0 monster Antonio 1247,1,0,0,0
@@ -344,13 +362,11 @@ hu_fild04,0,0,0,0 monster Antonio 1247,1,0,0,0
hu_fild05,0,0,0,0 monster Antonio 1247,1,0,0,0
hu_fild07,0,0,0,0 monster Antonio 1247,1,0,0,0
-// Xmas Jakk Spawns
-//============================================================
+//== Xmas Jakk Spawns ======================================
gef_dun01,0,0,0,0 monster Xmas Jakk 1244,5,0,0,0
//gefenia02,0,0,0,0 monster Xmas Jakk 1244,5,0,0,0
-// Xmas Orc Spawns
-//============================================================
+//== Xmas Orc Spawns =======================================
gef_fild02,0,0,0,0 monster Christmas Orc 1588,5,0,0,0
gef_fild03,0,0,0,0 monster Christmas Orc 1588,5,0,0,0
gef_fild10,0,0,0,0 monster Christmas Orc 1588,5,0,0,0
diff --git a/npc/re/events/christmas_2013.txt b/npc/re/events/christmas_2013.txt
index 517bfd3fd..ae91b9a30 100644
--- a/npc/re/events/christmas_2013.txt
+++ b/npc/re/events/christmas_2013.txt
@@ -1,20 +1,39 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 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/>.
+//=========================================================================
//= iRO/kRO 2013 Christmas Event
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Join the Singles Union Army to break up couples and hunt raccoons for
+//= rewards.
+//================= Current Version =======================================
//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
-//= Join the Singles Union Army to break up couples and hunt
-//= raccoons for rewards.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//============================================================
-
-// Main Quest :: 2013_xmas_en
-//============================================================
+//=========================================================================
+//== Main Quest :: 2013_xmas_en ============================
xmas,150,134,3 script Union Commander Cliff 4_XMAS_CAT1,{
if (BaseLevel < 40) {
mes "[Union Commander Cliff]";
@@ -1119,8 +1138,7 @@ xmas,141,174,3 script Succubus#xmas SUCCUBUS,{
end;
}
-// Monster Spawns :: EventMonster-131209_xmas
-//============================================================
+//== Monster Spawns :: EventMonster-131209_xmas ============
gld_dun01_2,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
gld_dun02_2,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
gld_dun03_2,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
@@ -1727,5 +1745,5 @@ prt_fild08d,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
prt_fild08d,0,0,0,0 monster Sock Stealing Raccoon 2379,5,5000,0,0
gl_chyard_,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
gl_chyard_,0,0,0,0 monster Sock Stealing Raccoon 2379,5,5000,0,0
-gl_cas02_,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0
+gl_cas02_,0,0,0,0 monster Gift Stealing Raccoon 2380,5,5000,0,0m
gl_cas02_,0,0,0,0 monster Sock Stealing Raccoon 2379,5,5000,0,0
diff --git a/npc/re/events/halloween_2013.txt b/npc/re/events/halloween_2013.txt
index b3b780dd1..92c8da7d3 100644
--- a/npc/re/events/halloween_2013.txt
+++ b/npc/re/events/halloween_2013.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) 2015 Hercules Dev Team
+//= Copyright (C) Dastgir
+//= Copyright (C) Akkarin
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Official iRO Halloween Event 2013
-//===== By: ==================================================
-//= Akkarin
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
+//================= Description ===========================================
//= This event ran on iRO from 16th Oct to 6th Nov (3 weeks)
-//===== Additional Comments: =================================
-//= 1.0 Conversion from official script. [Akkarin]
-//= 1.1 Optimized the Script. [Dastgir]
-//= 1.2 Added Monster Spawns. [Akkarin]
-//============================================================
+//================= Current Version =======================================
+//= 1.2
+//=========================================================================
prontera,154,136,5 script Suspicious Coffin#2013HE 4_NFCOFFIN,{
if (!eve_bs) {
@@ -484,8 +505,7 @@ niflheim,183,162,5 script Wandering soul#2013HE4 4_NFWISP,{
close;
}
-// Monster Spawns :: EventMonster-131022
-//============================================================
+//== Monster Spawns :: EventMonster-131022 =================
gld_dun01_2,0,0,0,0 monster Organic Pumpkin 3202,1,5000,0,0
gld_dun02_2,0,0,0,0 monster Organic Pumpkin 3202,1,5000,0,0
gld_dun03_2,0,0,0,0 monster Organic Pumpkin 3202,1,5000,0,0
diff --git a/npc/re/events/halloween_2014.txt b/npc/re/events/halloween_2014.txt
index 69eeab721..caed3f488 100644
--- a/npc/re/events/halloween_2014.txt
+++ b/npc/re/events/halloween_2014.txt
@@ -1,24 +1,55 @@
-//===== Hercules Script ========================================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2014-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Playtester
+//= Copyright (C) erKURITA
+//= 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/>.
+//=========================================================================
//= Halloween Event (2014)
-//===== By: ====================================================================
-//= Kisuka
-//===== Current Version: =======================================================
-//= 1.0.0
-//===== File Encoding ==========================================================
+//================= File Encoding =========================================
//= CP-949 (EUC-KR compatible). Do NOT read/save it as UTF-8.
-//===== Description: ===========================================================
+//= -If the encoding is correct, the next three lines have the same length-
+//= ============ กฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤกฤ ============
+//= ============ ============================================= ============
+//= ============ กมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกมกม ============
+//================= Description ===========================================
//= The Official 2014 Halloween Event
//=
//= Help an Exhausted Priest collect souls in exchange for Candy Holders.
-//= Help some spirits in Niflheim figure out which one among them isn't dead.
-//= Collect 10 Red Scarf and 10 Hanging Doll for a spirit by the name of Loru.
-//= Hunt 20 Hylozoists and 20 Bloody Murderers for a spirit by the name of Devi.
-//===== Additional Comments: ===================================================
-//= 1.0.0 Initial Release. [Kisuka]
-//==============================================================================
+//= Help some spirits in Niflheim figure out which one among them isn't
+//= dead.
+//= Collect 10 Red Scarf and 10 Hanging Doll for a spirit by the name of
+//= Loru.
+//= Hunt 20 Hylozoists and 20 Bloody Murderers for a spirit by the name of
+//= Devi.
+//================= Current Version =======================================
+//= 1.0.0
+//=========================================================================
-//= Exhausted Priest
-//==============================================================================
+//== Exhausted Priest ======================================
- script Exhausted Priest#14hal::Hal14Priest 4_M_MINISTER,{
if (!checkweight("Orcish_Axe", 3)) {
mes "[Exhausted Priest]";
@@ -236,8 +267,7 @@ payon,179,107,3 duplicate(Hal14Priest) Exhausted Priest#pay14h 4_M_MINISTER
prontera,156,194,3 duplicate(Hal14Priest) Exhausted Priest#pron14h 4_M_MINISTER
yuno,162,192,3 duplicate(Hal14Priest) Exhausted Priest#yuno14h 4_M_MINISTER
-//= Bolak
-//==============================================================================
+//== Bolak =================================================
niflheim,196,185,3 script Bolak#14hal 4_M_DRAKE,{
if (!checkweight("Orcish_Axe", 3)) {
mes "[Bolak]";
@@ -842,8 +872,7 @@ niflheim,196,185,3 script Bolak#14hal 4_M_DRAKE,{
}
}
-//= Nathan
-//==============================================================================
+//== Nathan ================================================
niflheim,195,183,1 script Nathan#14hal 4_LUDE,{
mes "[Nathan]";
mes "Ma?";
@@ -863,8 +892,7 @@ niflheim,195,183,1 script Nathan#14hal 4_LUDE,{
close;
}
-//= Jack
-//==============================================================================
+//== Jack ==================================================
niflheim,192,182,7 script Jack#14hal 4_JACK,{
mes "[Jack]";
mes "Come empty, return empty...";
@@ -875,8 +903,7 @@ niflheim,192,182,7 script Jack#14hal 4_JACK,{
close;
}
-//= Richard
-//==============================================================================
+//== Richard ===============================================
niflheim,190,185,5 script Richard#14hal01 4_M_NFDEADSWDMAN,{
if (questprogress(14457)) {
mes "A doll which resembles Richard.";
@@ -887,8 +914,7 @@ niflheim,190,185,5 script Richard#14hal01 4_M_NFDEADSWDMAN,{
close;
}
-//= Loru
-//==============================================================================
+//== Loru ==================================================
niflheim,194,189,3 script Loru#14hal 4_LOLI_RURI,{
if (!checkweight("Orcish_Axe", 3)) {
mes "[Loru]";
@@ -1120,8 +1146,7 @@ niflheim,194,189,3 script Loru#14hal 4_LOLI_RURI,{
}
}
-//= Devi
-//==============================================================================
+//== Devi ==================================================
niflheim,191,188,5 script Devi#14hal 4_DEVIRUCHI,5,5,{
if (!checkweight("Orcish_Axe", 3)) {
mes "[Devi]";
@@ -1333,8 +1358,7 @@ niflheim,191,188,5 script Devi#14hal 4_DEVIRUCHI,5,5,{
}
}
-//= Bonfire
-//==============================================================================
+//== Bonfire ===============================================
niflheim,193,186,6 script Bonfire Spirit#14hal 4_TRACE,{
mes "[Bonfire Spirit]";
mes "Ahahah! Don't touch me with such cold hands!!!";
@@ -1382,8 +1406,7 @@ niflheim,193,186,6 script Bonfire Spirit#14hal 4_TRACE,{
end;
}
-//= Sister / Nun
-//==============================================================================
+//== Sister / Nun ==========================================
prt_church,96,91,4 script Spiritual Sister#14hal 1_F_PRIEST,5,5,{
if (!checkweight("Orcish_Axe", 3)) {
mes "[Spiritual Sister]";
@@ -1628,8 +1651,7 @@ prt_church,96,91,4 script Spiritual Sister#14hal 1_F_PRIEST,5,5,{
end;
}
-//= Richard's Wife
-//==============================================================================
+//== Richard's Wife ========================================
xmas_in,160,175,1 script Worried Wife#14hal 4_F_05,{
if (questprogress(14456) == 1) {
if (countitem("Leaf_Of_Yggdrasil") > 0 && countitem("Live_Coal") > 0) {
@@ -1906,8 +1928,7 @@ xmas_in,160,175,1 script Worried Wife#14hal 4_F_05,{
}
}
-//= Richard's Daughter
-//==============================================================================
+//== Richard's Daughter ====================================
xmas_in,163,178,3 script Worried Daughter#14hal 4_F_NFLOSTGIRL,{
mes "[Richard's Daughter]";
if (questprogress(14457)) {
@@ -1926,8 +1947,7 @@ xmas_in,163,178,3 script Worried Daughter#14hal 4_F_NFLOSTGIRL,{
close;
}
-//= Richard
-//==============================================================================
+//== Richard ===============================================
xmas_in,160,178,3 script Richard#14hal02 4_M_DIEMAN,{
mes "[Richard]";
if (questprogress(14457) == 2) {
@@ -1943,8 +1963,7 @@ xmas_in,160,178,3 script Richard#14hal02 4_M_DIEMAN,{
close;
}
-//= Event Monsters
-//==============================================================================
+//== Event Monsters ========================================
gld_dun01_2,0,0,0,0 monster Dark Soul 3381,2,5000,0,0
gld_dun02_2,0,0,0,0 monster Dark Soul 3381,2,5000,0,0
gld_dun03_2,0,0,0,0 monster Dark Soul 3381,2,5000,0,0