summaryrefslogtreecommitdiff
path: root/npc/events/nguild
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/nguild')
-rw-r--r--npc/events/nguild/nguild_dunsw.txt52
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt65
-rw-r--r--npc/events/nguild/nguild_flags.txt74
-rw-r--r--npc/events/nguild/nguild_guardians.txt49
-rw-r--r--npc/events/nguild/nguild_kafras.txt54
-rw-r--r--npc/events/nguild/nguild_managers.txt66
-rw-r--r--npc/events/nguild/nguild_treas.txt79
-rw-r--r--npc/events/nguild/nguild_warper.txt62
8 files changed, 321 insertions, 180 deletions
diff --git a/npc/events/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt
index f768405d7..f6d031a60 100644
--- a/npc/events/nguild/nguild_dunsw.txt
+++ b/npc/events/nguild/nguild_dunsw.txt
@@ -1,18 +1,38 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium Dungeon Switch for NGuild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
+//================= Description ===========================================
//= Switch that warps guild members to the guild dungeon
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 Guild Dungeon Switch Fucntion added. [L0ne_W0lf]
-//============================================================
-
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
-//==================================================
function script F_GldDunSw {
.@GID = getcastledata(getarg(0),1);
if (.@GID == 0) {
@@ -40,25 +60,25 @@ function script F_GldDunSw {
}
}
-// Castle 1 ===============================================
+//== Castle 1 ==============================================
nguild_alde,212,181,0 script Switch#DunN01 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_alde","02",32,122;
close;
}
-// Castle 2 ===============================================
+//== Castle 2 ==============================================
nguild_gef,78,84,0 script Switch#DunN02 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_gef","04",39,258;
close;
}
-// Castle 3 ===============================================
+//== Castle 3 ==============================================
nguild_pay,101,25,0 script Switch#DunN03 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_pay","01",186,165;
close;
}
-// Castle 4 ===============================================
+//== Castle 4 ==============================================
nguild_prt,94,200,0 script Switch#DunN04 HIDDEN_NPC,{
callfunc "F_GldDunSw","nguild_prt","03",28,251;
close;
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index 5461bb975..c94fbc7ea 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -1,20 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Lupus
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium - NGuild Wars Events
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
+//================= Description ===========================================
//= Event Triggers for NGuild Wars
-//===== Additional Comments: =================================
-// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus]
-//= 1.4 AGIT Functions added, treasure spawning added. [L0ne_W0lf]
-//= 1.5 Emperium should now properly respawn. [L0ne_W0lf]
-//============================================================
-
+//================= Current Version =======================================
+//= 1.5
+//=========================================================================
-// Function for OnAgitStart =========================================
+//== Function for OnAgitStart ==============================
function script F_AgitStart {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -28,7 +48,7 @@ function script F_AgitStart {
end;
}
-// Function for OnGuildBreak ======================================
+//== Function for OnGuildBreak =============================
function script F_GuildBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -42,7 +62,7 @@ function script F_GuildBreak {
return;
}
-// Function for OnAgitBreak ======================================
+//== Function for OnAgitBreak ==============================
function script F_AgitBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -78,7 +98,7 @@ function script F_AgitBreak {
}
-// Function for OnAgitEnd ======================================
+//== Function for OnAgitEnd ================================
function script F_AgitEnd {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -92,7 +112,7 @@ function script F_AgitEnd {
end;
}
-// Castle 1 ================================================================
+//== Castle 1 ==============================================
nguild_alde,0,0,0 script Agit_N01 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN01";
@@ -119,7 +139,7 @@ OnAgitEnd:
end;
}
-// Castle 2 ================================================================
+//== Castle 2 ==============================================
nguild_gef,0,0,0 script Agit_N02 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN02";
@@ -146,7 +166,7 @@ OnAgitEnd:
end;
}
-// Castle 3 ================================================================
+//== Castle 3 ==============================================
nguild_pay,0,0,0 script Agit_N03 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN03";
@@ -173,7 +193,7 @@ OnAgitEnd:
end;
}
-// Castle 4 ================================================================
+//== Castle 4 ==============================================
nguild_prt,0,0,0 script Agit_N04 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN04";
@@ -200,8 +220,7 @@ OnAgitEnd:
end;
}
-// Treasure Spawn Time
-//========================================
+//== Treasure Spawn Time ===================================
- script TreasSpawn -1,{
end;
diff --git a/npc/events/nguild/nguild_flags.txt b/npc/events/nguild/nguild_flags.txt
index 830ded7f9..ebfa2d230 100644
--- a/npc/events/nguild/nguild_flags.txt
+++ b/npc/events/nguild/nguild_flags.txt
@@ -1,20 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Lupus
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium N Guild Flags
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
+//================= Description ===========================================
//= WoE flag scripts. Display guild emblems on flags.
-//===== Additional Comments: =================================
-// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-// 1.1 Inner Flags don't teleport you to your HQ anymore [Lupus]
-// 1.2 updated flags to use the new arguments. [L0ne__W0lf]
-// 1.3 Guild flag function added. [L0ne_W0lf]
-//============================================================
-
-/// Flag Function
-//============================================================
+//================= Current Version =======================================
+//= 1.3
+//=========================================================================
+
+//== Flag Function =========================================
function script F_Flags {
.@GID = getcastledata(getarg(1),1);
if (getarg(5) == 0) return;
@@ -58,9 +78,7 @@ function script F_Flags {
}
}
-//============================================================================//
-// Castle 1
-//============================================================================//
+//== Castle 1 ==============================================
n_castle,110,96,1 script NGuild Aldebaran#a1-1 GUILD_FLAG,{
callfunc "F_Flags","Al De Baran","nguild_alde",218,170,1,1;
close;
@@ -78,7 +96,7 @@ OnRecvCastleN01:
flagemblem getcastledata("nguild_alde",1);
end;
}
-// In Castle ============================================
+//- In Castle -
nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 GUILD_FLAG
nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 GUILD_FLAG
nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 GUILD_FLAG
@@ -94,9 +112,7 @@ nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 GUILD_FLAG
nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 GUILD_FLAG
nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 GUILD_FLAG
-//============================================================================//
-// Castle 2
-//============================================================================//
+//== Castle 2 ==============================================
n_castle,110,109,3 script NGuild Geffen#g1-1 GUILD_FLAG,{
callfunc "F_Flags","Geffen","nguild_gef",83,47,1,1;
close;
@@ -114,7 +130,7 @@ OnRecvCastleN02:
flagemblem getcastledata("nguild_gef",1);
end;
}
-// In Castle =============================================
+//- In Castle -
nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 GUILD_FLAG
nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 GUILD_FLAG
nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 GUILD_FLAG
@@ -122,9 +138,7 @@ nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 GUILD_FLAG
nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 GUILD_FLAG
nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 GUILD_FLAG
-//============================================================================//
-// Castle 3
-//============================================================================//
+//== Castle 3 ==============================================
n_castle,94,109,5 script NGuild Payon#f1-1 GUILD_FLAG,{
callfunc "F_Flags","Payon","nguild_pay",87,29,1,1;
close;
@@ -142,7 +156,7 @@ OnRecvCastleN03:
flagemblem getcastledata("nguild_pay",1);
end;
}
-// In Castle ===============================================
+//- In Castle -
nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 GUILD_FLAG
nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 GUILD_FLAG
nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 GUILD_FLAG
@@ -150,9 +164,7 @@ nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 GUILD_FLAG
nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 GUILD_FLAG
nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 GUILD_FLAG
-//=============================================================================//
-// Castle 4
-//=============================================================================//
+//== Castle 4 ==============================================
n_castle,94,96,7 script NGuild Prontera#p1-1 GUILD_FLAG,{
callfunc "F_Flags","Prontera","nguild_prt",97,174,1,1;
close;
@@ -170,7 +182,7 @@ OnRecvCastleN04:
flagemblem getcastledata("nguild_prt",1);
end;
}
-// In Castle =============================================
+//- In Castle -
nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 GUILD_FLAG
nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 GUILD_FLAG
nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 GUILD_FLAG
diff --git a/npc/events/nguild/nguild_guardians.txt b/npc/events/nguild/nguild_guardians.txt
index 3b2a7088b..e5b8bc959 100644
--- a/npc/events/nguild/nguild_guardians.txt
+++ b/npc/events/nguild/nguild_guardians.txt
@@ -1,18 +1,38 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium - nguild guardians script
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= Re-spawns guardians on server start if they have been purchased. Also
+//= announces when a guardian dies.
+//================= Current Version =======================================
//= 1.0
-//===== Description: =========================================
-//= Re-spawns guardians on server start if they have been
-//= purchased. Also announces when a guardian dies.
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//============================================================
+//=========================================================================
-
-//------------------------------------------------------------------------------
nguild_alde,216,24,0 script Guardian_N01 -1,{
OnAgitInit:
if (getcastledata("nguild_alde",10) == 1) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
@@ -31,7 +51,6 @@ OnGuardianDied:
end;
}
-//------------------------------------------------------------------------------
nguild_gef,198,182,0 script Guardian_N02 -1,{
OnAgitInit:
if (getcastledata("nguild_gef",10) == 1) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
@@ -49,7 +68,7 @@ OnGuardianDied:
mapannounce "nguild_gef","A Guardian Has Fallen",17;
end;
}
-//------------------------------------------------------------------------------
+
nguild_pay,139,139,0 script Guardian_N03 -1,{
OnAgitInit:
if (getcastledata("nguild_pay",10) == 1) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
@@ -67,7 +86,7 @@ OnGuardianDied:
mapannounce "nguild_pay","A Guardian Has Fallen",17;
end;
}
-//------------------------------------------------------------------------------
+
nguild_prt,197,197,0 script Guardian_N04 -1,{
OnAgitInit:
if (getcastledata("nguild_prt",10) == 1) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt
index 89570fe6d..66c53ff2d 100644
--- a/npc/events/nguild/nguild_kafras.txt
+++ b/npc/events/nguild/nguild_kafras.txt
@@ -1,18 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Lupus
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium Kafras for N Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
+//================= Description ===========================================
//= Provides Kafra services for guild members of NGuild Castles.
+//================= Current Version =======================================
+//= 1.2
+//================= Additional Comments ===================================
//= Used in conjuction with function F_Kafra.
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 All N Guild Kafras teleport to Prontera only! [Lupus]
-//= 1.2 Added Kafra function. [L0ne_W0lf]
-//============================================================
-
+//=========================================================================
function script F_GKafra {
cutin "kafra_01",2;
@@ -31,7 +53,7 @@ L_StartG:
end;
}
-// Castle 1 ===============================================
+//== Castle 1 ==============================================
nguild_alde,218,170,0 script Kafra Service#N01 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_alde", "Prontera";
end;
@@ -40,7 +62,7 @@ OnRecvCastleN01:
end;
}
-// Castle 2 ===============================================
+//== Castle 2 ==============================================
//nguild_gef,96,173,0 script Kafra Service#N02 4_F_KAFRA1,{
nguild_gef,35,37,0 script Kafra Service#N02 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_gef", "Prontera";
@@ -50,7 +72,7 @@ OnRecvCastleN02:
end;
}
-// Castle 3 ===============================================
+//== Castle 3 ==============================================
nguild_pay,128,58,3 script Kafra Service#N03 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_pay", "Prontera";
end;
@@ -59,7 +81,7 @@ OnRecvCastleN03:
end;
}
-// Castle 4 ===============================================
+//== Castle 4 ==============================================
nguild_prt,96,173,0 script Kafra Service#N04 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_prt", "Prontera";
end;
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt
index 015ef20fd..21b1e4b86 100644
--- a/npc/events/nguild/nguild_managers.txt
+++ b/npc/events/nguild/nguild_managers.txt
@@ -1,26 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium Managers for N Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= War of Emperium Managers for Novice Guild Castles
+//================= Current Version =======================================
//= 1.2
-//===== Description: =========================================
-//=
-//==============================================
-//= Break down of arguments used in the function:
-//= arg(0): name of Castle Manager
-//= arg(1): name of guild castle.
-//= arg(2): x1 coordinate for warp to treasure room
-//= arg(3): y1 coordinate for warp to treasure room
-//= arg(4): guild script suffix for kafra, etc.
-//===== Additional Comments: =================================
-//= 1.0 Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.1 Added modified guild manager function. [L0ne_W0lf]
-//= Removed guardian summoning.
-//= 1.2 Corrected function name. (bugreport:1728) [L0ne_W0lf]
-//============================================================
+//=========================================================================
-//==============================================
+// Arguments:
+// - 0: name of Castle Manager
+// - 1: name of guild castle.
+// - 2: x1 coordinate for warp to treasure room
+// - 3: y1 coordinate for warp to treasure room
+// - 4: guild script suffix for kafra, etc.
function script F_GldManager {
@GID = getcastledata(getarg(1),1);
@@ -129,28 +147,28 @@ function script F_GldManager {
}
}
-// Castle 1 ==================================================================================
+//== Castle 1 ==============================================
nguild_alde,218,175,0 script Frolo 1_M_JOBTESTER,{
callfunc "F_GldManager","Frolo","nguild_alde",119,223,"N01";
close;
}
-// Castle 2 ==================================================================================
+//== Castle 2 ==============================================
nguild_gef,40,48,5 script Leiber 1_M_JOBTESTER,{
callfunc "F_GldManager","Leiber","nguild_gef",155,112,"N02";
close;
}
-// Castle 3 ==================================================================================
+//== Castle 3 ==============================================
nguild_pay,120,58,4 script Dundar 1_M_JOBTESTER,{
callfunc "F_GldManager","Dundar","nguild_pay",290,7,"N03";
close;
}
-// Castle 4 ==================================================================================
+//== Castle 4 ==============================================
nguild_prt,112,181,0 script Thefton 1_M_JOBTESTER,{
callfunc "F_GldManager","Thefton","nguild_prt",15,209,"N04";
close;
diff --git a/npc/events/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt
index 7a7cd64c8..c2ca26451 100644
--- a/npc/events/nguild/nguild_treas.txt
+++ b/npc/events/nguild/nguild_treas.txt
@@ -1,22 +1,41 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) brianluau
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Lupus
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium Treasure Rooms for NGuild Guild Castles
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
+//================= Description ===========================================
+//= War of Emperium Treasure Rooms for Novice Guild Castles
+//================= Current Version =======================================
//= 1.3b
-//===== Description: =========================================
-//=
-//===== Additional Comments: =================================
-//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.2 Official treasure spawn [Lupus]
-//= 1.3 Added F_GldTreas function. (bugreport:1788) [L0ne_W0lf]
-//= 1.3b Added F_GldTreasSw function. (bugreport:3292) [brianluau]
-//============================================================
-
+//=========================================================================
-//================================================
-// Treasure Spawning Function
-//================================================
+//== Treasure Spawning Function ============================
function script F_GldTreas {
if(getarg(10) != 1) {
setcastledata getarg(0),4,0;
@@ -47,9 +66,7 @@ function script F_GldTreas {
return;
}
-//==============================================================
-// Treasure Room Switch
-//===============================================================
+//== Treasure Room Switch ==================================
function script F_GldTreasSw {
mes " ";
mes "There's a small lever. Will you pull it?";
@@ -62,9 +79,9 @@ function script F_GldTreasSw {
close;
}
-//<===============================Castle 1 =================================>\\
+//== Castle 1 ==============================================
-// Treasure Spawn -----------------------
+//- Treasure Spawn -
nguild_alde,1,1,1 script Treasure_N01 -1,{
OnRecvCastleN01:
@@ -82,15 +99,15 @@ OnDied:
end;
}
-// Treasure Room Switch --------------------
+//- Treasure Room Switch -
nguild_alde,123,223,0 script Switch#TresN01 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_alde",218,176;
end;
}
-//<================================Castle 2 ================================>\\
+//== Castle 2 ==============================================
-// Treasure Spawn ----------------------------
+//- Treasure Spawn -
nguild_gef,1,1,1 script Treasure_N02 -1,{
OnRecvCastleN02:
@@ -108,15 +125,15 @@ OnDied:
end;
}
-// Room Switch ---------------------------------------------------------
+//- Treasure Room Switch -
nguild_gef,152,117,0 script Switch#TresN02 HIDDEN_NPC,{
callfunc "F_GldTreasSw","nguild_gef",40,49;
end;
}
-//<================================Castle 3 ================================>\\
+//== Castle 3 ==============================================
-// Treasure Spawn ---------------------------
+//- Treasure Spawn -
nguild_pay,1,1,0 script Treasure_N03 -1,{
OnRecvCastleN03:
end;
@@ -133,15 +150,15 @@ OnDied:
end;
}
-// Treasure Room Switch ---------------------------------------------------
+//- Treasure Room Switch -
nguild_pay,295,8,0 script Switch#TresN03 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_pay",120,59;
end;
}
-//<================================Castle 4 ================================>\\
+//== Castle 4 ==============================================
-// Treasure Spawn -------------------------------
+//- Treasure Spawn -
nguild_prt,1,1,0 script Treasure_N04 -1,{
OnRecvCastleN04:
end;
@@ -158,7 +175,7 @@ OnDied:
end;
}
-// Treasure Room Switch ----------------------------------------------------
+//- Treasure Room Switch -
nguild_prt,15,209,0 script Switch#TresN04 HIDDEN_NPC,{
callfunc "F_GldTreasSw", "nguild_prt",109,179;
end;
diff --git a/npc/events/nguild/nguild_warper.txt b/npc/events/nguild/nguild_warper.txt
index 6ad9d02ab..94f65e546 100644
--- a/npc/events/nguild/nguild_warper.txt
+++ b/npc/events/nguild/nguild_warper.txt
@@ -1,30 +1,44 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Lupus
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
+//= Novice's Guild Castles War of Emperium Usher NPC
+//================= Description ===========================================
//= Novice's Guild Castles War of Emperium Usher NPC
-//===== By: ==================================================
-//= Lupus
-//===== Current Version: =====================================
+//================= Current Version =======================================
//= 1.7
-//===== Description: =========================================
-//=
-//===== Additional Comments: =================================
-//= Now you have access to 4 N Guild castles. They don't have
-//= dungeons. And 2nd Classes can't seize these Castles.
-//= These new castles need a new strategy. It would bring some
-//= fun and live to your game.
-//= NOTE: If your Guild Master is 2nd class, then he could
-//= rule the Castles and gather Treasure Boxes after WoE
-//= 1.1 Now 2nd classes can't enter NC place at all
-//= 1.2 Restricted access of SG/SL. On warp clear some
-//= unallowed buffs [Lupus]
-//= 1.3 Restricted TK,High classes >=90 BaseLevel,
-//= updated list of unallowed buffs [Lupus]
-//= 1.4 Restricted it to 80 Base Level [Lupus]
-//= 1.5 According to official info: 1 Treasure Chest per Castle
-//= 1.6 Only 1st Class < 60 BaseLevel Players can participate
-//= 1.7 Guilds with Emergency Call or with 9+ skill points
-//= can't take part in NWoE. [Lupus]
+//================= Additional Comments ===================================
+//= Now you have access to 4 N Guild castles. They don't have dungeons. And
+//= 2nd Classes can't seize these Castles.
+//= These new castles need a new strategy. It would bring some fun and live
+//= to your game.
+//= NOTE: If your Guild Master is 2nd class, then he could rule the Castles
+//= and gather Treasure Boxes after WoE
//= TODO: The official entrance is in Izlude.
-//============================================================
+//=========================================================================
prontera,146,163,6 script Novice Castles 4_F_NOVICE,{
mes "[Cita]";