summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-16 14:34:46 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:53 +0100
commitbec90279c8edae4c2ab5690567f9ec978ab03285 (patch)
treebccc1703a00d7b913421531983d01d4948d947fe /npc
parentca2c900a349676867bae1af90c9515c4642439d3 (diff)
downloadhercules-bec90279c8edae4c2ab5690567f9ec978ab03285.tar.gz
hercules-bec90279c8edae4c2ab5690567f9ec978ab03285.tar.bz2
hercules-bec90279c8edae4c2ab5690567f9ec978ab03285.tar.xz
hercules-bec90279c8edae4c2ab5690567f9ec978ab03285.zip
Standardized header in scripts (part 12)
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Instance scripts folders Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc')
-rw-r--r--npc/instances/EndlessTower.txt91
-rw-r--r--npc/instances/NydhoggsNest.txt60
-rw-r--r--npc/instances/OrcsMemory.txt75
-rw-r--r--npc/instances/SealedShrine.txt82
-rw-r--r--npc/re/instances/BakonawaLake.txt44
-rw-r--r--npc/re/instances/BangungotHospital.txt54
-rw-r--r--npc/re/instances/BuwayaCave.txt43
-rw-r--r--npc/re/instances/EclageInterior.txt40
-rw-r--r--npc/re/instances/HazyForest.txt60
-rw-r--r--npc/re/instances/MalangdoCulvert.txt62
-rw-r--r--npc/re/instances/OctopusCave.txt53
-rw-r--r--npc/re/instances/OldGlastHeim.txt72
-rw-r--r--npc/re/instances/WolfchevLaboratory.txt162
13 files changed, 511 insertions, 387 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
index 474abf315..2f58b6276 100644
--- a/npc/instances/EndlessTower.txt
+++ b/npc/instances/EndlessTower.txt
@@ -1,40 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Joseph
+//= Copyright (C) Gepard
+//= 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/>.
+//=========================================================================
//= Endless Tower
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 2.4
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Endless Tower Memorial Dungeon.
//= Consists of 101 floors.
-//===== Additional Comments: =================================
-//= 1.0 First version.
-//= 1.1 Removed a disablenpc from #102FShadowDust1. (bugreport:4415)
-//= 1.2 Added ends to several NPCs which would allow you to restart timers.
-//= Added some missing stopnpctimers to npcs. (bugreport:4418)
-//= 1.3 Fixed a couple copy/paste errors :D I fail. [L0ne_W0lf]
-// Timer no longer resets when re-entering.
-//= 1.4 Added quest log entries based on iRO. [L0ne_W0lf]
-//= You may need to update your questid2display.
-//= Changed White lady spawn to MVP White Lady. (bugreport:4601)
-//= 1.5 Corrected some grammar and typos.
-//= 1.6 Corrected the tower re-entry blocked condition. (bugreport:4677) [L0ne_W0lf]
-//= Corrected floor 75 warp disabling the wrong NPC. (bugreport:4711)
-//= 1.7 Added missing end's to prevent accidental disabling of
-//= warps between floors. (bugreport:4623)
-//= Added missing end's to prevent infinite mobspawn (bugreport:4540)
-//= Commented out remaining GM-only NPCs. [Gepard]
-//= 1.8 Adjusted Instance Attach Map to Validate ALL Maps, instead of
-//= only 1@tower -> 5@tower (bugreport:4983)
-//= 1.9 Added 'instance_check_party' command to the script for proper checking if
-//= the invoking party meets the requirements to join the Memorial Dungeon.
-//= 2.0 Fixed broken else/if chaining. [Joseph]
-//= 2.1 Updated to match latest official script. [Euphy]
-//= 2.2 Instance system rewrite. [Euphy]
-//= 2.3 Added some missing announcements. [Euphy]
-//= 2.4 Added GM management function. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 2.4
+//=========================================================================
1@tower mapflag src4instance
2@tower mapflag src4instance
@@ -42,7 +42,7 @@
4@tower mapflag src4instance
5@tower mapflag src4instance
6@tower mapflag src4instance
-//============================================================
+
alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{
if (checkweight(1201,1) == 0) {
mes "^008800Wait here!!";
@@ -401,8 +401,7 @@ e_tower,151,185,4 script Purification Stone#et2 CLEAR_NPC,{
end;
}
-// Core Functions
-//============================================================
+//== Core Functions ========================================
function script F_Tower_Monster {
.@level = getarg(0);
@@ -1194,8 +1193,7 @@ function script F_Tower_Warp {
return;
}
-// Levels 1-25
-//============================================================
+//== Levels 1-25 ===========================================
1@tower,50,360,0 script Immortal Brazier# CLEAR_NPC,{
mes "- A Message is Engraved on the Brazier -";
mes "The one who scatters the ashes of the darkness in this place shall become one step closer to Nacht Sieger, the Hegemon King of the Darkness...";
@@ -1401,8 +1399,7 @@ OnTimer120000:
close;
}
-// Levels 26-50
-//============================================================
+//== Levels 26-50 ==========================================
2@tower,29,365,2 script Immortal Furnace#1 CLEAR_NPC,{
end;
@@ -1517,8 +1514,7 @@ OnTouch_:
close;
}
-// Levels 51-75
-//============================================================
+//== Levels 51-75 ==========================================
3@tower,29,365,2 script Immortal Furnace#2 CLEAR_NPC,{
end;
@@ -1633,8 +1629,7 @@ OnTouch_:
close;
}
-// Levels 76-99
-//============================================================
+//== Levels 76-99 ==========================================
4@tower,29,365,2 script Immortal Furnace#3 CLEAR_NPC,{
end;
@@ -1748,8 +1743,7 @@ OnTouch_:
close;
}
-// Level 100
-//============================================================
+//== Level 100 =============================================
5@tower,106,109,2 script Lucid Crystal#102 CLEAR_NPC,{
if (in_102tower < 10) {
mes "^0000ffA mysterious voice echoes through the room as you touch the lucid crystal radiating a strong light.^000000";
@@ -1932,8 +1926,7 @@ OnEnable:
close;
}
-// Level 101
-//============================================================
+//== Level 101 =============================================
6@tower,45,89,2 script Life Spring#1 CLEAR_NPC,{
mes "^0066ffYou took a sip of the spring's clear water, and you feel invigorated.^000000";
heal (MaxHp-Hp),(MaxSp-Sp);
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index 6538330fc..58351581f 100644
--- a/npc/instances/NydhoggsNest.txt
+++ b/npc/instances/NydhoggsNest.txt
@@ -1,26 +1,41 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) 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/>.
+//=========================================================================
//= Nidhoggr's Nest
-//===== By: ==================================================
-//= L0ne_W0lf, various sources
-//===== Current Version: =====================================
-//= 1.6
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Nidhoggr's Nest Instance
-//===== Additional Comments: =================================
-//= 1.0 First version.
-//= 1.1 Minor dialog updates.
-//= 1.2 No longer glitches when anyone but party leader talks to the first NPC.
-//= 1.3 Added 'instance_check_party' command to the script for proper checking if
-//= the invoking party meets the requirements to join the Memorial Dungeon.
-//= 1.4 Cleaning. [Euphy]
-//= 1.5 Instance system rewrite. [Euphy]
-//= 1.6 Added GM management NPCs. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.6
+//=========================================================================
1@nyd mapflag src4instance
2@nyd mapflag src4instance
-//============================================================
+
nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{
if (ins_nyd == 0) {
mes "A great stone gate stands before you. The sculpture of a terrible dragon spreads its powerful looking wings.";
@@ -1514,8 +1529,7 @@ OnTouch_:
end;
}
-// First floor
-//============================================================
+//== First floor ===========================================
1@nyd,213,277,5 script Murdered Yggdrasilid#1F 4_F_FAIRYKID2,5,5,{
if ('ins_nyd2 == 0) {
mes "When a faint light enters your heart, a voice sounds in your head.";
@@ -1799,8 +1813,7 @@ OnMyPingDead:
end;
}
-// Second Floor
-//============================================================
+//== Second Floor ==========================================
2@nyd,200,14,0 script nyd_2f_enter -1,6,6,{
OnTouch_:
donpcevent instance_npcname("nyd_2f_enter_broad")+"::OnEnable";
@@ -2179,8 +2192,7 @@ OnMyPingDead:
end;
}
-// GM Management NPCs
-//============================================================
+//== GM Management NPCs ====================================
sec_in02,36,167,3 script Nidhoggur Manager 4_M_FAIRYSOLDIER,1,1,{
callfunc "F_GM_NPC";
mes "Enter the password.";
diff --git a/npc/instances/OrcsMemory.txt b/npc/instances/OrcsMemory.txt
index 68cf8b2e9..41c0d5e5d 100644
--- a/npc/instances/OrcsMemory.txt
+++ b/npc/instances/OrcsMemory.txt
@@ -1,45 +1,42 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) 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/>.
+//=========================================================================
//= Orc's Memory
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.7
-//===== Description: =========================================
-//= [Official Conversion]
-//= Relive the memory of an orc.
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Relive the memory of an orc.
-//===== Additional Comments: =================================
-//= 1.0 First version. [L0ne_W0lf]
-//= 1.1 First round of bugfixes. (bugreport:3928) [L0ne_W0lf]
-//= Fixed some npcs calling wrong events.
-//= Fixed Depraved Orc Spirit spawn point
-//= Fixed an NPC that was never being enabled.
-//= 1.1a Second round from bugreport. (bugreport:3928) [L0ne_W0lf]
-//= Fixed first warp never enabling, issue not seen
-//= because of a local source mod.
-//= Corrected the IDs for the Vengeful Orc Spirit and
-//= Shaman Cargalache, copy/paste fail.
-//= Changed spawn point for dungeon according to spawn
-//= point on iRO.
-//= 1.2 More bugfixes, mostly typos. :O (bugreport:3944) [L0ne_W0lf]
-//= Fixed some varaibles (types/values) as well.
-//= 1.3 Disabled an exploit related to the orc hero spawn. [L0ne_W0lf]
-//= Corrected the variable type for party leader name.
-//= 1.4 Fixed donpcevent calling non-existant npc. (bugreport:4039) [L0ne_W0lf]
-//= 1.5 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
-//= 1.6 Added 'instance_check_party' command to the script for proper checking if
-//= the invoking party meets the requirements to join the Memorial Dungeon.
-//= 1.7 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.7
+//=========================================================================
1@orcs mapflag src4instance
2@orcs mapflag src4instance
-//============================================================
-// Entrance
-//============================================================
+//== Entrance ==============================================
gef_fild10,242,202,0 script Dimensional Gorge Piece 2_MONEMUS,{
.@party_id = getcharid(1);
@@ -176,8 +173,7 @@ gef_fild10,238,202,6 script Mad Scientist#orc 4_LGTSCIENCE,{
}
}
-// Orc's Memory Floor 1
-//============================================================
+//== Orc's Memory Floor 1 ==================================
1@orcs,180,30,0 script #Resurrect Monsters1 CLEAR_NPC,{
end;
@@ -523,8 +519,7 @@ OnMyMobDead3:
end;
}
-// Orc's Memory Floor 2
-//============================================================
+//== Orc's Memory Floor 2 ==================================
2@orcs,36,171,0 script #2Resurrect Monsters1 CLEAR_NPC,{
end;
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index da2244323..9f8dc6620 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -1,38 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Joseph
+//= Copyright (C) Gepard
+//= 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/>.
+//=========================================================================
//= Sealed Shrine
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 2.3
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Seal away the Great Demon Baphomet.
-//===== Additional Comments: =================================
-//= 1.0 First version. [L0ne_W0lf]
-//= 1.1 Added setquest for instance cooldown. [L0ne_W0lf]
-//= 1.2 Fixed Torch#12 not being disabled. (bugreport:4044) [L0ne_w0lf]
-//= 1.3 Fixed cutins not being removed. (bugreport:4117) [L0ne_w0lf]
-//= 1.4 Fixed some typos. [Gepard]
-//= 1.5 Fixed not being able to enter dungeon for the first two hours.
-//= 1.6 Players should be able to re-take the quest after 12 hours now.
-//= Changed quest 3046 to 3040. This is the correct quest id.
-//= Removed checking quest 3045, unofficial check.
-//= 1.7 Fixed a checkquest condition never setting quest. [L0ne_W0lf]
-//= 1.8 Added 'instance_check_party' command to the script for proper checking if
-//= the invoking party meets the requirements to join the Memorial Dungeon.
-//= 1.9 Fixed broken else/if chaining. [Joseph]
-//= 2.0 Some optimization. [Euphy]
-//= 2.1 Fixed quest being removed before the 12 hours cool down. [Joseph]
-//= 2.2 Removed extra setquest (quest id:3040). [Joseph]
-//= 2.3 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 2.3
+//=========================================================================
1@cata mapflag src4instance
2@cata mapflag src4instance
-//============================================================
-// Sealed Catacomb Entrance
-//============================================================
+//== Sealed Catacomb Entrance ==============================
monk_test,309,146,3 script Friar Patrick#edq 4_M_OLDFRIAR,{
cutin "ins_cata_pri_n",2;
mes "[Friar Patrick]";
@@ -430,8 +436,7 @@ prt_monk,261,91,3 script Rust Blackhand#edq 4_M_DWARF,{
}
}
-// Sealed Shrine Interior
-//============================================================
+//== Sealed Shrine Interior ================================
1@cata,1,2,0 script ins_baphomet_lotto -1,{
OnInstanceInit:
// Pick one "true" Gravestone and 12 "false" Gravestones.
@@ -484,8 +489,7 @@ OnMyMobDead:
end;
}
-// Soul of hero near the north grave
-//============================================================
+//== Soul of hero near the north grave =====================
1@cata,141,221,0 script Gravestone# CLEAR_NPC,3,3,{
.@party_id = getcharid(1);
if ('ins_baphomet == 0) {
@@ -812,8 +816,7 @@ OnInstanceInit:
end;
}
-// To 2F Warp
-//============================================================
+//== To 2F Warp ============================================
1@cata,281,12,0 script ins_bapho_to_2f WARPNPC,1,1,{
OnTouch:
if (countitem(6002) > 0) {
@@ -833,8 +836,7 @@ OnInstanceInit:
end;
}
-// Gravestones
-//============================================================
+//== Gravestones ===========================================
- script Gravestone#SS1 -1,{
if ('ins_baphomet == 1) {
getitem 6003,1; //Soul_Pendant
@@ -882,8 +884,7 @@ OnInstanceInit:
1@cata,127,32,0 duplicate(Gravestone#SS2) Gravestone#1F_12F CLEAR_NPC
1@cata,267,30,0 duplicate(Gravestone#SS2) Gravestone#1F_13F CLEAR_NPC
-// Bobbing Torches
-//============================================================
+//== Bobbing Torches =======================================
- script Bobbing Torch#SS -1,{
.@party_id = getcharid(1);
if (getpartyleader(.@party_id,2) == getcharid(0)) {
@@ -1084,8 +1085,7 @@ OnTouch:
end;
}
-// Magical Seals
-//============================================================
+//== Magical Seals =========================================
- script Magical Seal#SS -1,{
.@seal_check = questprogress(3041,PLAYTIME);
if (.@seal_check == 1) {
diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt
index d8f88e471..82a9d7782 100644
--- a/npc/re/instances/BakonawaLake.txt
+++ b/npc/re/instances/BakonawaLake.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) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Bakonawa Lake
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Defeat Bakonawa before he eats the moon.
//= Part of the "Bakonawa Extermination" quest.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= 1.1 Added GM management NPC. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
1@ma_b mapflag src4instance
-//============================================================
+
ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{
disable_items;
if (checkweight(1201,1) == 0) {
diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt
index 911abfced..1789106e8 100644
--- a/npc/re/instances/BangungotHospital.txt
+++ b/npc/re/instances/BangungotHospital.txt
@@ -1,23 +1,41 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Bangungot Hospital 2F
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Save the hospital in Port Malaya from Bangungot.
//= Part of the "Nurse in Port Malaya" quest.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= 1.1 Added GM management function. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
1@ma_h mapflag src4instance
-//============================================================
-// Instance Creation
-//============================================================
+//== Instance Creation =====================================
ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
if (BaseLevel < 100) end;
@@ -359,8 +377,7 @@ sec_in02,27,30,0 script Bangungot Gate 2_MONEMUS,{
}
}
-// Instance Scripts
-//============================================================
+//== Instance Scripts ======================================
1@ma_h,43,157,0 script #Memorial Start HIDDEN_WARP_NPC,2,2,{
end;
OnTouch:
@@ -1024,8 +1041,7 @@ OnTimer30000:
1@ma_h,99,132,7 script Patient in Cold Sweat#b 4_F_PATIENT,{ end; }
1@ma_h,87,132,7 script Howling Patient#b 4_M_PATIENT,{ end; }
-// Warp Portals
-//============================================================
+//== Warp Portals ==========================================
1@ma_h,35,156,0 warp #Boss Room Exit 2,2,ma_dun01,150,9
1@ma_h,105,157,0 warp #Boss Room Door 2,2,1@ma_h,116,157
1@ma_h,112,157,0 warp #Boss Room Door1 2,2,1@ma_h,100,157
@@ -1080,7 +1096,7 @@ OnTimer30000:
1@ma_h,131,49,0 warp #Patternwarp32 10,10,1@ma_h,116,157
1@ma_h,146,49,0 warp #Patternwarp33 10,10,1@ma_h,116,157
-// Disable select warps.
+//- Disable select warps -
// Custom, but saves processing and lines.
1@ma_h,1,1,0 script #ma_hos_warp_init CLEAR_NPC,{
end;
diff --git a/npc/re/instances/BuwayaCave.txt b/npc/re/instances/BuwayaCave.txt
index 908c15e2f..008529551 100644
--- a/npc/re/instances/BuwayaCave.txt
+++ b/npc/re/instances/BuwayaCave.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) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Buwaya Cave
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Defeat Buwaya in his cave.
//= Part of the "Secret in the Woods" quest.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.0
+//=========================================================================
1@ma_c mapflag src4instance
-//============================================================
+
ma_fild02,312,317,5 script Guard#buwaya_cave 4_MAL_SOLDIER,{
if (BaseLevel < 130) {
mes "[Guard]";
diff --git a/npc/re/instances/EclageInterior.txt b/npc/re/instances/EclageInterior.txt
index d28d7cf64..bf11c8443 100644
--- a/npc/re/instances/EclageInterior.txt
+++ b/npc/re/instances/EclageInterior.txt
@@ -1,14 +1,36 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2015 Hercules Dev Team
+//= Copyright (C) Dastgir
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Eclage Instance Script
-//===== By: ==================================================
-//= Dastgir
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
+//================= Description ===========================================
//= Eclage Interior Instance
-//===== Additional Comments: =================================
-//= 1.0 Converted from the official Aegis script. [Dastgir]
-//============================================================
+//================= Current Version =======================================
+//= 1.0
+//=========================================================================
ecl_hub01,132,12,3 script Chief of Staff#tl01::EclInstance 4_F_FAIRY,{
.@party_id = getcharid(1);
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt
index 1baa1423f..d3c017a47 100644
--- a/npc/re/instances/HazyForest.txt
+++ b/npc/re/instances/HazyForest.txt
@@ -1,23 +1,41 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Hazy Forest
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Cross through the Hazy Forest to reach the Bifrost.
//= Contains the "Wandering Guardian" quest.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= 1.1 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
1@mist mapflag src4instance
-//============================================================
-// Instance Creation
-//============================================================
+//== Instance Creation =====================================
bif_fild01,158,340,5 script Laphine Soldier#mist 4_M_FAIRYSOLDIER,{
.@party_id = getcharid(1);
@@ -165,8 +183,7 @@ bif_fild01,161,355,0 script Log Tunnel CLEAR_NPC,{
}
}
-// Instance Scripts
-//============================================================
+//== Instance Scripts ======================================
1@mist,89,29,0 script #Whisper_mist CLEAR_NPC,1,1,{
end;
OnInstanceInit:
@@ -497,8 +514,7 @@ OnMyMobDead:
1@mist,252,206,0 duplicate(Mysterious Flower#1) Mysterious Flower#49 CLEAR_NPC
1@mist,244,211,0 duplicate(Mysterious Flower#1) Mysterious Flower#50 CLEAR_NPC
-// Wandering Guardian Quest
-//============================================================
+//== Wandering Guardian Quest ==============================
1@mist,2,2,0 script #Dragon Herder CLEAR_NPC,{
end;
OnInstanceInit:
@@ -919,8 +935,7 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{
}
}
-// Monster Spawns
-//============================================================
+//== Monster Spawns ========================================
1@mist,1,1,0 script #Mist Mobs Respawn1 CLEAR_NPC,{
end;
OnInstanceInit:
@@ -994,8 +1009,7 @@ OnInstanceInit:
end;
}
-// Warp Portals
-//============================================================
+//== Warp Portals ==========================================
bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{
mes "It's a giant flower with mysterious energy.";
if (countitem(12561)) {
@@ -1123,7 +1137,7 @@ OnTouch:
1@mist,329,171,0 warp c11-1_c8-2 1,1,1@mist,346,120
1@mist,301,237,0 warp b8_b2 1,1,1@mist,289,170
-// Disable Garden Tree warps.
+//- Disable Garden Tree warps -
// Custom, but saves processing and lines.
1@mist,1,1,0 script #mist_warp_init CLEAR_NPC,{
end;
diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt
index 6f23195cc..6e4862b81 100644
--- a/npc/re/instances/MalangdoCulvert.txt
+++ b/npc/re/instances/MalangdoCulvert.txt
@@ -1,28 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2013-2015 Hercules Dev Team
+//= Copyright (C) Joseph
+//= 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/>.
+//=========================================================================
//= Malangdo Culvert
-//===== By: ==================================================
-//= Euphy
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Clean the culverts and defeat the Coelacanth.
//= Daily and weekly quests are available.
//= Contains a normal mode and hard mode.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= Letters "n" and "h" in NPC names indicate difficulty.
-//= 1.0a There is no minimum party size on official servers.
-//= 1.0b Fixed incorrect use of 'close'. [Joseph]
-//= 1.1 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
1@pump mapflag src4instance
2@pump mapflag src4instance
-//============================================================
-// Quest NPCs
-//============================================================
+//== Quest NPCs ============================================
mal_in01,172,28,2 script Albo#mal 4_CAT_SAILOR5,{
if (checkweight(1201,1) == 0) {
mes "You have too many kinds of objects. Try to continue after reducing those objects.";
@@ -267,8 +283,7 @@ L_CheckQuest:
return;
}
-// Instance Creation
-//============================================================
+//== Instance Creation =====================================
mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{
if (BaseLevel < 90) {
mes "[Missing, the Cleaner]";
@@ -459,8 +474,7 @@ L_Enter:
end;
}
-// Instance: Common Scripts
-//============================================================
+//== Instance: Common Scripts ==============================
1@pump,63,100,4 script Missing, the Cleaner#0 4_CAT_SAILOR2,{
if (getcharid(0) != getpartyleader(getcharid(1),2)) {
mes "[Missing, the Cleaner]";
@@ -572,8 +586,7 @@ function script F_mal_missing {
}
}
-// Instance: Normal Mode
-//============================================================
+//== Instance: Normal Mode =================================
1@pump,84,105,4 script Missing, the Cleaner#nf 4_CAT_SAILOR2,{
mes "[Missing, the Cleaner]";
mes "I have the cleaning job for 40 years and I've never seen such a terrible team!!";
@@ -902,8 +915,7 @@ OnInstanceInit:
end;
}
-// Instance: Hard Mode
-//============================================================
+//== Instance: Hard Mode ===================================
2@pump,39,88,4 duplicate(Missing, the Cleaner#nf) Missing, the Cleaner#hf 4_CAT_SAILOR2
2@pump,39,88,4 script Missing, the Cleaner#h 4_CAT_SAILOR2,{
diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt
index 6c3be5199..0d7e794a1 100644
--- a/npc/re/instances/OctopusCave.txt
+++ b/npc/re/instances/OctopusCave.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) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Muad_Dib
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Octopus Cave
-//===== By: ==================================================
-//= Muad_Dib
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Defeat the Disgusting Octopus.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= 1.1 Instance system rewrite. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
1@cash mapflag src4instance
-//============================================================
-// Instance Creation
-//============================================================
+//== Instance Creation =====================================
mal_dun01,151,235,5 script Starfish 4_ASTER,{
.@party_id = getcharid(1);
@@ -160,8 +179,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{
}
}
-// Instance Scripts
-//============================================================
+//== Instance Scripts ======================================
1@cash,199,99,0 script oct_enter HIDDEN_WARP_NPC,4,4,{
end;
OnTouch:
@@ -700,8 +718,7 @@ OnTouch:
// This is never enabled in the official script.
//1@cash,200,161,0 duplicate(oct_exit_1) oct_exit_3 WARPNPC,2,2
-// Warp Portals
-//============================================================
+//== Warp Portals ==========================================
1@cash,193,82,0 warp oct_door1 2,2,1@cash,151,48
1@cash,154,53,0 warp oct_door2 2,2,1@cash,197,87
1@cash,187,99,0 warp oct_door3 2,2,1@cash,148,128
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt
index 2666f8151..6620357c4 100644
--- a/npc/re/instances/OldGlastHeim.txt
+++ b/npc/re/instances/OldGlastHeim.txt
@@ -1,21 +1,43 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2013-2015 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Heris
+//= Copyright (C) Ziu
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Old Glast Heim
-//===== By: ==================================================
-//= Ziu, Heris (translation)
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Discover the history of events that took place in the Glast Heim castle
+//= and how it ended up in ruins.
+//================= Current Version =======================================
//= 1.1
-//===== Description: =========================================
-//= Discover the history of events that took place in the
-//= Glast Heim castle and how it ended up in ruins.
-//===== Additional Comments: =================================
-//= 1.0 First version. [Euphy]
-//= This is a custom version, and may contain bugs.
-//= 1.1 Bug fixes; removed redundant OnInstanceInit scripts.
-//============================================================
+//=========================================================================
1@gl_k mapflag src4instance
2@gl_k mapflag src4instance
-//============================================================
+
glast_01,204,273,6 script Hugin#ghinstance 4_M_SAGE_C,{
mes "^ff0000This isn't considered a normal progression dungeon. Please note this point.^000000";
next;
@@ -90,8 +112,7 @@ glast_01,204,273,6 script Hugin#ghinstance 4_M_SAGE_C,{
}
}
-// Floor 1
-//============================================================
+//== Floor 1 ===============================================
1@gl_k,149,41,6 script Varmunt#ghinstance1 4_M_BARMUND,{
if (getcharid(0) == getpartyleader(getcharid(1),2)) {
mes "Hey ^0000ffguys^000000, were you sent here to help me?";
@@ -433,8 +454,7 @@ OnTalk8:
end;
}
-// Control Timer
-//============================================================
+//== Control Timer =========================================
1@gl_k,0,0,0 script #talkinstance1 -1,{
OnInstanceInit:
OnDisable:
@@ -796,8 +816,7 @@ OnTouch:
2@gl_k,150,163,0 duplicate(#ghinstancewarp1) #ghinstancewarp12 WARPNPC,1,2
-// Sector 1 Mobs
-//============================================================
+//== Sector 1 Mobs =========================================
1@gl_k,0,0,0 script #ghmemorialmob01 -1,{
OnInstanceInit:
OnDisable:
@@ -878,8 +897,7 @@ OnEnable:
end;
}
-// Sector 2 Mobs
-//============================================================
+//== Sector 2 Mobs =========================================
1@gl_k,291,145,3 script Hollgrehenn Destroyer 4_F_JOB_BLACKSMITH,{
if (getcharid(0) == getpartyleader(getcharid(1),2)) {
mes "[Hollgrehenn Destroyer]";
@@ -960,8 +978,7 @@ OnMyMobDead:
end;
}
-// Tramp Mobs
-//============================================================
+//== Tramp Mobs ============================================
1@gl_k,221,82,3 script Breathless Man#GHtramp1 4_M_DIEMAN,4,4,{
end;
OnTouch:
@@ -1018,8 +1035,7 @@ OnDisable:
2@gl_k,143,260,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp31 4_M_DIEMAN,4,4
2@gl_k,173,258,3 duplicate(Breathless Man#GHtramp1) Breathless Man#GHtramp32 4_M_DIEMAN,4,4
-// Sector 3 Mobs
-//============================================================
+//== Sector 3 Mobs =========================================
1@gl_k,0,0,0 script #ghmemorialmob03 -1,{
OnInstanceInit:
OnDisable:
@@ -1057,8 +1073,7 @@ OnMyMobDead:
end;
}
-// 1st MVP
-//============================================================
+//== 1st MVP ===============================================
1@gl_k,0,0,0 script #ghmemorialmob04 -1,{
OnInstanceInit:
OnDisable:
@@ -1251,8 +1266,7 @@ OnTalk2:
end;
}
-// Floor 2
-//============================================================
+//== Floor 2 ===============================================
2@gl_k,148,67,1 script Heinrich#ghinstance5 4_M_HEINRICH,{
mes "[Heinrich]";
mes "Himmelmez's blocking spells";
diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt
index 08ac36161..30cd74c7f 100644
--- a/npc/re/instances/WolfchevLaboratory.txt
+++ b/npc/re/instances/WolfchevLaboratory.txt
@@ -1,23 +1,47 @@
-//===== 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) Euphy
+//= Copyright (C) Kisuka
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Wolfchev's Laboratory
-//===== By: ====================================================================
-//= Kisuka (1.0)
-//===== Current Version: =======================================================
-//= 1.0.2
-//===== 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 ===========================================
//= Defeat Wolfchev's human experimentations.
-//===== Additional Comments: ===================================================
-//= 1.0.0 Initial Release. [Kisuka]
-//= 1.0.1 Some Clean-Up and Fixes. [Euphy]
-//= 1.0.2 Fixed a small typo. [Euphy]
-//==============================================================================
+//================= Current Version =======================================
+//= 1.0.2
+//=========================================================================
1@lhz mapflag src4instance
-// Giacomo Girolam
-//==============================================================================
+//== Giacomo Girolam =======================================
lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
@@ -294,8 +318,7 @@ lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
end;
}
-// Weird Old Man (Rewards)
-//==============================================================================
+//== Weird Old Man (Rewards) ===============================
lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
if ((MaxWeight - Weight) < 2800 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
@@ -530,7 +553,7 @@ lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
} else {
.@weapon$[.@i] = "^FF0000";
}
- }
+ }
while(1) {
switch(select(
"Show me other items.",
@@ -670,8 +693,7 @@ lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
return;
}
-// Sorcerer (Rewards)
-//==============================================================================
+//== Sorcerer (Rewards) ====================================
lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
if ((MaxWeight - Weight) < 1200 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
@@ -1320,8 +1342,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
end;
}
-// Warp portal to the 4th Fl.
-//==============================================================================
+//== Warp portal to the 4th Floor ==========================
lhz_dun03,239,78,1 script lhz_dun03_lhz_dun04 WARPNPC,1,1,{
end;
@@ -1347,12 +1368,10 @@ lhz_dun03,239,78,1 script lhz_dun03_lhz_dun04 WARPNPC,1,1,{
end;
}
-// Warp Portal to the 3rd Fl.
-//==============================================================================
+//== Warp Portal to the 3rd Floor ==========================
lhz_dun04,244,61,1 warp lhz_dun04_lhz_dun03 1,1,lhz_dun03,240,75
-// Inside the Lab
-//==============================================================================
+//== Inside the Lab ========================================
que_lhz,242,50,0 script #01Startpoint -1,3,3,{
end;
@@ -1394,8 +1413,7 @@ que_lhz,242,50,0 script #01Startpoint -1,3,3,{
end;
}
-// Wolfchev
-//==============================================================================
+//== Wolfchev ==============================================
que_lhz,206,74,4 script Researcher#02 4_LGTSCIENCE,3,3,{
end;
@@ -1438,8 +1456,7 @@ que_lhz,206,74,4 script Researcher#02 4_LGTSCIENCE,3,3,{
end;
}
-// Wolfchev
-//==============================================================================
+//== Wolfchev ==============================================
que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
@@ -1480,8 +1497,7 @@ que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
end;
}
-// Wolfchev
-//==============================================================================
+//== Wolfchev ==============================================
que_lhz,147,224,4 script Researcher#04 4_LGTSCIENCE,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
@@ -1565,8 +1581,7 @@ que_lhz,147,224,4 script Researcher#04 4_LGTSCIENCE,{
end;
}
-// Warp to lhz_dun04 from Wolfchev's Lab
-//==============================================================================
+//== Warp to lhz_dun04 from Wolfchev's Lab =================
que_lhz,148,251,0 script #Move2lab -1,12,0,{
end;
@@ -1582,8 +1597,7 @@ que_lhz,148,251,0 script #Move2lab -1,12,0,{
}
}
-// Event Controller
-//==============================================================================
+//== Event Controller ======================================
que_lhz,1,1,0 script #Eventctrl -1,{
end;
@@ -1657,8 +1671,7 @@ que_lhz,147,215,0 script #06 -1,{ end; }
que_lhz,139,215,0 script #07 -1,{ end; }
que_lhz,139,224,0 script #08 -1,{ end; }
-// Human Guinea pigs
-//==============================================================================
+//== Human Guinea pigs =====================================
que_lhz,140,231,1 script Human Guinea pig#01 CHEN,{
end;
@@ -1684,8 +1697,7 @@ que_lhz,147,216,4 duplicate(Human Guinea pig#01) Human Guinea pig#06 CHEN
que_lhz,140,216,3 duplicate(Human Guinea pig#01) Human Guinea pig#07 CHEN
que_lhz,140,224,2 duplicate(Human Guinea pig#01) Human Guinea pig#08 CHEN
-// Wolfchev
-//==============================================================================
+//== Wolfchev ==============================================
lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
@@ -1902,8 +1914,7 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
}
}
-//
-//==============================================================================
+//==========================================================
lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
@@ -1961,8 +1972,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
}
}
-// The Lab No.1 : System 1_1
-//==============================================================================
+//== The Lab No.1 : System 1_1 =============================
1@lhz,35,108,4 script Lab1#1_1 CLEAR_NPC,{
end;
@@ -1994,8 +2004,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.1 Monster Control
-//==============================================================================
+//== The Lab No.1 Monster Control ==========================
1@lhz,37,108,4 script MobCtrl1#mob01 CLEAR_NPC,{
end;
@@ -2029,8 +2038,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// Emergency Access Valve Manual
-//==============================================================================
+//== Emergency Access Valve Manual =========================
1@lhz,39,168,0 script Manual Sheet#1_1 CLEAR_NPC,{
mes "There are valve manual sheets littered on the floor.";
next;
@@ -2107,8 +2115,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// Left Valve
-//==============================================================================
+//== Left Valve ============================================
1@lhz,41,172,0 script Valve#1_2 CLEAR_NPC,{
.@open_portal = 0;
mes "This is the left valve for the emergency access.";
@@ -2170,8 +2177,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// Right Valve
-//==============================================================================
+//== Right Valve ===========================================
1@lhz,52,172,0 script Valve#1_3 CLEAR_NPC,{
.@open_portal = 0;
mes "This is the left valve for the emergency access.";
@@ -2234,8 +2240,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
}
-// The Lab No.1 >> The Lab No.2 Warp portal
-//==============================================================================
+//== The Lab No.1 >> The Lab No.2 Warp portal ==============
1@lhz,45,173,0 script #potal_01 WARPNPC,2,2,{
end;
@@ -2254,8 +2259,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2
-//==============================================================================
+//== The Lab No.2 ==========================================
1@lhz,151,29,0 script #2_0 -1,1,1,{
end;
@@ -2273,8 +2277,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2 2_1 System - Control of Monster Wave and Pipe right before exploding
-//==============================================================================
+//== The Lab No.2 2_1 System - Control of Monster Wave and Pipe right before exploding =
1@lhz,35,106,4 script Lab2#2_1 CLEAR_NPC,{
end;
@@ -2382,9 +2385,8 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2 2_2 System - Pipe Operation Control
+//== The Lab No.2 2_2 System - Pipe Operation Control ======
// When 3 pipes explode, system will shut down.
-//==============================================================================
1@lhz,37,106,4 script Lab2#2_2 CLEAR_NPC,{
end;
@@ -2462,8 +2464,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2 2_3 System
-//==============================================================================
+//== The Lab No.2 2_3 System ===============================
1@lhz,151,48,0 script #2_3 -1,20,20,{
end;
@@ -2489,8 +2490,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2 Monster Control
-//==============================================================================
+//== The Lab No.2 Monster Control ==========================
1@lhz,39,106,4 script MobCtrl2#mob02 CLEAR_NPC,{
end;
@@ -2567,8 +2567,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.2 Valves
-//==============================================================================
+//== The Lab No.2 Valves ===================================
- script bio4FLab2Valve -1,{
if (getpartyleader(getcharid(1),2) == getcharid(0)) {
progressbar "0xffff00", 20;
@@ -2604,8 +2603,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
1@lhz,165,51,0 duplicate(bio4FLab2Valve) Valve#2_5 CLEAR_NPC
1@lhz,137,47,0 duplicate(bio4FLab2Valve) Valve#2_6 CLEAR_NPC
-// The Lab No.2 >> The Lab No.3 Warp portal(General)
-//==============================================================================
+//== The Lab No.2 >> The Lab No.3 Warp portal(General) =====
1@lhz,151,64,0 script #potal_02 WARPNPC,2,2,{
end;
@@ -2627,8 +2625,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.3
-//==============================================================================
+//== The Lab No.3 ==========================================
1@lhz,84,28,0 script #3_0 -1,1,1,{
end;
@@ -2646,8 +2643,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.3 3_1 System - Monster wave control
-//==============================================================================
+//== The Lab No.3 3_1 System - Monster wave control ========
1@lhz,35,104,4 script Lab3#3_1 CLEAR_NPC,{
end;
@@ -2699,8 +2695,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.3 Monster Control
-//==============================================================================
+//== The Lab No.3 Monster Control ==========================
1@lhz,37,104,4 script MobCtrl3#mob03 CLEAR_NPC,{
end;
@@ -2806,8 +2801,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.3 >> Boss's Room Warp portal
-//==============================================================================
+//== The Lab No.3 >> Boss's Room Warp portal ===============
1@lhz,83,62,0 script #potal_03 WARPNPC,2,2,{
end;
@@ -2829,8 +2823,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.4
-//==============================================================================
+//== The Lab No.4 ==========================================
1@lhz,137,100,0 script #4_0 -1,1,1,{
end;
@@ -2848,8 +2841,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// The Lab No.4 4_1 System - Summon of Boss Monster
-//==============================================================================
+//== The Lab No.4 4_1 System - Summon of Boss Monster ======
1@lhz,35,102,4 script Lab4#4_1 CLEAR_NPC,{
end;
@@ -2939,8 +2931,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// Area No. 4 - Boss Summon Control
-//==============================================================================
+//== Area No. 4 - Boss Summon Control ======================
1@lhz,37,102,4 script MobCtrl4#mob04 CLEAR_NPC,{
end;
@@ -2992,14 +2983,12 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
end;
}
-// Random Experiments in Tubes
-//==============================================================================
+//== Random Experiments in Tubes ===========================
1@lhz,156,148,3 script Type_**Gren#boss14 4_M_03,{ end; }
1@lhz,152,152,3 script Type_**Roke#boss15 4_M_HUMAN_01,{ end; }
1@lhz,148,156,3 script Type_**Dree#boss16 4_M_DWARF,{ end; }
-// Bosses
-//==============================================================================
+//== Bosses ================================================
- script bio4FBoss -1,{
end;
@@ -3103,8 +3092,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
1@lhz,160,123,1 duplicate(bio4FBoss) Margaretha Sorin#boss12 B_MAGALETA
1@lhz,160,144,3 duplicate(bio4FBoss) Howard Alt-Eisen#boss13 B_HARWORD
-// Wolfchev - Final encounter
-//==============================================================================
+//== Wolfchev - Final encounter ============================
1@lhz,137,156,7 script Wolfchev#last 4_LGTSCIENCE,{
if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";