summaryrefslogtreecommitdiff
path: root/npc/instances
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/instances
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/instances')
-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
4 files changed, 154 insertions, 154 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) {