summaryrefslogtreecommitdiff
path: root/npc/re
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/re
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/re')
-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
9 files changed, 357 insertions, 233 deletions
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";