summaryrefslogtreecommitdiff
path: root/npc/battleground
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-12 17:45:09 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:51 +0100
commit65d393fc57804447497855a6daeb981e312ec372 (patch)
tree8dc93d8a9d1d53c517d55d297d4f04f288913c6e /npc/battleground
parent0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4 (diff)
downloadhercules-65d393fc57804447497855a6daeb981e312ec372.tar.gz
hercules-65d393fc57804447497855a6daeb981e312ec372.tar.bz2
hercules-65d393fc57804447497855a6daeb981e312ec372.tar.xz
hercules-65d393fc57804447497855a6daeb981e312ec372.zip
Standardized header in scripts (part 7)
- Now including GPL-compliant license/copyright info - Restored some missing copyrights - Battlegrounds and WoE scripts folders Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/battleground')
-rw-r--r--npc/battleground/bg_common.txt69
-rw-r--r--npc/battleground/flavius/flavius01.txt57
-rw-r--r--npc/battleground/flavius/flavius02.txt58
-rw-r--r--npc/battleground/flavius/flavius_enter.txt47
-rw-r--r--npc/battleground/kvm/kvm01.txt59
-rw-r--r--npc/battleground/kvm/kvm02.txt62
-rw-r--r--npc/battleground/kvm/kvm03.txt61
-rw-r--r--npc/battleground/kvm/kvm_enter.txt56
-rw-r--r--npc/battleground/kvm/kvm_item_pay.txt50
-rw-r--r--npc/battleground/tierra/tierra01.txt56
-rw-r--r--npc/battleground/tierra/tierra02.txt55
-rw-r--r--npc/battleground/tierra/tierra_enter.txt48
12 files changed, 430 insertions, 248 deletions
diff --git a/npc/battleground/bg_common.txt b/npc/battleground/bg_common.txt
index abed7c5a0..35cc52fe5 100644
--- a/npc/battleground/bg_common.txt
+++ b/npc/battleground/bg_common.txt
@@ -1,27 +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) 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/>.
+//=========================================================================
// BattleGround System - Common NPCs
-//===== By: ==================================================
-//= ????, L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.4
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Battleground NPCs:
//= - Generals and Aides
//= - Battleground Warper
//= - Kafra and Repairman.
//= - GM Management NPC (disabled by default)
//= - Badge Exchanger (Tierra and Flavius)
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Updated several NPCs to Official.
-//= 1.2 Updated Repairman NPC
-//= 1.3 Optimized "Erundek" NPC. [Euphy]
-//= 1.4 Added GM management function. [Euphy]
-//============================================================
+//================= Current Version =======================================
+//= 1.4
+//=========================================================================
-// Generals
-//============================================================
+//== Generals ==============================================
bat_room,161,158,3 script Gen. Guillaume's Aide#01 4_M_KY_HEAD,{ end; }
bat_room,161,160,3 script Gen. Guillaume's Aide#03 4_M_KY_HEAD,{ end; }
@@ -170,15 +187,13 @@ bat_room,160,159,3 script General Guillaume 4_M_KY_KIYOM,{
end;
}
-// Flags
-//============================================================
+//== Flags =================================================
//bat_room,140,160,3 script Guillaume Base#roomflag1 1_FLAG_LION,{ end; }
//bat_room,167,160,3 script Guillaume Base#roomflag2 1_FLAG_LION,{ end; }
//bat_room,140,139,3 script Croix Base#roomflag1 1_FLAG_EAGLE,{ end; }
//bat_room,167,139,3 script Croix Base#roomflag2 1_FLAG_EAGLE,{ end; }
-// BattleGround Warper
-//============================================================
+//== BattleGround Warper ===================================
bat_room,148,150,5 script Teleporter#Battlefield 4_F_TELEPORTER,{
mes "[Teleporter]";
mes "Do you wish to leave the battlefield? Use my services to return to town.";
@@ -278,7 +293,7 @@ payon,189,105,3 duplicate(BatRecruit) Maroll Battle Recruiter::BatRecruit5 4_F_J
lighthalzen,153,86,5 duplicate(BatRecruit) Maroll Battle Recruiter::BatRecruit6 4_F_JOB_KNIGHT
rachel,149,138,3 duplicate(BatRecruit) Maroll Battle Recruiter::BatRecruit7 4_F_JOB_KNIGHT
-// Additional warps
+//== Additional warps ======================================
// Empty
bat_room,57,81,0 warp bat1 1,1,bat_room,154,149
bat_room,57,90,0 warp bat2 1,1,bat_room,154,149
@@ -307,22 +322,19 @@ bat_room,253,90,0 warp bat30 1,1,bat_room,154,149
bat_room,253,220,0 warp bat31 1,1,bat_room,154,149
bat_room,253,211,0 warp bat32 1,1,bat_room,154,149
-// Kafra
-//============================================================
+//== Kafra =================================================
bat_room,148,147,4 script Kafra Staff::kaf_bat 4_F_KAFRA9,{
cutin "kafra_09",2;
callfunc "F_Kafra",0,2,1,150,0;
}
-// Repairman
-//============================================================
+//== Repairman =============================================
bat_room,138,144,4 script Repairman#bg 4_M_04,{
callfunc "repairmain","Repairman";
end;
}
-// GM Management NPC
-//============================================================
+//== GM Management NPC =====================================
bat_room,1,151,3 script Switch#batgnd 4_DOG01,{
.@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
@@ -372,8 +384,7 @@ bat_room,1,151,3 script Switch#batgnd 4_DOG01,{
}
}
-// Badges Exchange
-//============================================================
+//== Badges Exchange =======================================
bat_room,160,150,3 script Erundek 4_M_MANAGER,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt
index 5fc1de8f5..bed6e8115 100644
--- a/npc/battleground/flavius/flavius01.txt
+++ b/npc/battleground/flavius/flavius01.txt
@@ -1,25 +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) Kisuka
+//= 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/>.
+//=========================================================================
// BattleGround System - Flavius
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Flavius Battleground.
//= - Winning Team: 9 badges
//= - Losing Team: 3 badge
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Fixed pink crystal spawning as blue. [L0ne_W0lf]
-//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
-//= 1.3 Removed MaxLvl check in waitingrooms. Replaced setwall with setcell.
-//= 1.4 Label standardization. [Euphy]
-//= 1.5 Added GM management function. [Euphy]
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.5
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,86,227,4 script Lieutenant Ator 4_M_KY_KNT,{
end;
OnInit:
@@ -68,9 +85,7 @@ OnTimer1000:
end;
}
-
-// Flavius Battleground Engine
-//============================================================
+//== Flavius Battleground Engine ===========================
bat_b01,15,15,3 script start#bat_b01 CLEAR_NPC,{
OnInit:
mapwarp "bat_b01","bat_room",154,150;
diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt
index 42a0abc42..182a067c1 100644
--- a/npc/battleground/flavius/flavius02.txt
+++ b/npc/battleground/flavius/flavius02.txt
@@ -1,26 +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) Kisuka
+//= 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/>.
+//=========================================================================
// BattleGround System - Flavius Second
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.6
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Flavius Battleground.
//= - Winning Team: 9 badges
//= - Losing Team: 3 badge
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Fixed NPCs being called for waiting rooms. (bugreport:4395)
-//= 1.2 Fixed pink crystal spawning as blue. [L0ne_W0lf]
-//= 1.3 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
-//= 1.4 Removed MaxLvl check in waitingrooms. Replaced setwall with setcell.
-//= 1.5 Label standardization. [Euphy]
-//= 1.6 Added GM management function. [Euphy]
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.6
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,142,227,4 script Lieutenant Huvas 4_M_KY_KNT,{
end;
OnInit:
@@ -69,9 +85,7 @@ OnTimer1000:
end;
}
-
-// Flavius Battleground Engine
-//============================================================
+//== Flavius Battleground Engine ===========================
bat_b02,15,15,3 script start#bat_b02 CLEAR_NPC,{
OnInit:
mapwarp "bat_b02","bat_room",154,150;
diff --git a/npc/battleground/flavius/flavius_enter.txt b/npc/battleground/flavius/flavius_enter.txt
index 315eff2cb..243203d6e 100644
--- a/npc/battleground/flavius/flavius_enter.txt
+++ b/npc/battleground/flavius/flavius_enter.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
+//=
+//= 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/>.
+//=========================================================================
// BattleGround System - Flavius Entrance NPCs
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Flavius Battleground Entrance NPCs
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//============================================================
+//================= Current Version =======================================
+//= 1.0
+//=========================================================================
-// Flavius Officer - Guillaume
-//============================================================
+//== Flavius Officer - Guillaume ===========================
bat_room,133,178,5 script Flavius Officer#01a 4_M_KY_KNT,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
@@ -221,8 +241,7 @@ bat_room,151,121,1 script Croix Knight#4 4_M_CRU_SOLD,{
close;
}
-// Flavius Officer - Croix
-//============================================================
+//== Flavius Officer - Croix ===============================
bat_room,148,178,5 script Flavius Officer#02a 4_M_KY_KNT,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
diff --git a/npc/battleground/kvm/kvm01.txt b/npc/battleground/kvm/kvm01.txt
index 951d9ef2b..08c92d7ba 100644
--- a/npc/battleground/kvm/kvm01.txt
+++ b/npc/battleground/kvm/kvm01.txt
@@ -1,24 +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
+//=
+//= 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/>.
+//=========================================================================
// BattleGround System - KvM 80-99
-//===== By: ==================================================
-//= ???, L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Kreiger Von Midgard Battleground for levels 80 to 99
//= - Winning Team: 5 points
//= - Losing Team: 1 point
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Updated using official Aegis files. [L0ne_W0lf]
-//= 1.2 Upated some announces and dialogs from iRO.
-//= Changed how the scoreboard works slightly.
-//= Removed the areapercentheals, and minor things.
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.2
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,169,226,5 script KVM Waiting Room#a::KvM01R_Guillaume 4_M_KY_KNT,{
end;
@@ -47,8 +63,7 @@ OnEnterBG:
bat_room,169,211,0 warp #kvm802 2,2,bat_room,154,150
-// Starting Line
-//============================================================
+//== Starting Line =========================================
- script KVM01::CellEffect -1,{
end;
@@ -119,8 +134,7 @@ OnTouch:
end;
}
-// Battleground Engine
-//============================================================
+//== Battleground Engine ===================================
- script KvM01_BG -1,{
end;
@@ -365,8 +379,7 @@ OnTimer60000:
end;
}
-// Battleground rewards
-//============================================================
+//== Battleground rewards ==================================
bat_c01,51,130,5 script KVM Officer#KVM01A 4_M_KY_HEAD,{
if( $@KvM01BG_Victory )
{
diff --git a/npc/battleground/kvm/kvm02.txt b/npc/battleground/kvm/kvm02.txt
index ea2a32bbc..ccca49656 100644
--- a/npc/battleground/kvm/kvm02.txt
+++ b/npc/battleground/kvm/kvm02.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) Ai4rei
+//= 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/>.
+//=========================================================================
// BattleGround System - KvM 1-59
-//===== By: ==================================================
-//= ???, L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Kreiger Von Midgard Battleground for levels 1 to 59
//= - Winning Team: 1 point
//= - Losing Team: 0 points
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Updated using official Aegis files. [L0ne_W0lf]
-//= 1.2 Upated some announces and dialogs from iRO.
-//= Changed how the scoreboard works slightly.
-//= Removed the areapercentheals, and minor things.
-//= 1.3 Fixed wrong names for disablenpc/enablenpc. [Ai4rei]
-//= Fixed points in text and actual points differing.
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.3
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,197,226,5 script KVM Waiting Room#a2::KvM02R_Guillaume 4_M_KY_KNT,{
end;
@@ -49,8 +64,7 @@ OnEnterBG:
bat_room,197,211,0 warp #kvm602 2,2,bat_room,154,150
-// Starting Line
-//============================================================
+//== Starting Line =========================================
- script KVM02::CellEffect2 -1,{
end;
@@ -121,8 +135,7 @@ OnTouch:
end;
}
-// Battleground Engine
-//============================================================
+//== Battleground Engine ===================================
- script KvM02_BG -1,{
end;
@@ -367,8 +380,7 @@ OnTimer60000:
end;
}
-// Battleground rewards
-//============================================================
+//== Battleground rewards ==================================
bat_c02,51,130,5 script KVM Officer#KVM02A 4_M_KY_HEAD,{
if( $@KvM01BG_Victory )
{
diff --git a/npc/battleground/kvm/kvm03.txt b/npc/battleground/kvm/kvm03.txt
index 279a0b5fe..efbfb3984 100644
--- a/npc/battleground/kvm/kvm03.txt
+++ b/npc/battleground/kvm/kvm03.txt
@@ -1,25 +1,41 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Ai4rei
+//= 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/>.
+//=========================================================================
// BattleGround System - KvM 60-80
-//===== By: ==================================================
-//= ???, L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Kreiger Von Midgard Battleground for levels 60 to 80
//= - Winning Team: 2 points
//= - Losing Team: 1 point
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Updated using official Aegis files. [L0ne_W0lf]
-//= 1.2 Upated some announces and dialogs from iRO.
-//= Changed how the scoreboard works slightly.
-//= Removed the areapercentheals, and minor things.
-//= 1.3 Fixed wrong names for disablenpc/enablenpc. [Ai4rei]
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.3
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,225,226,5 script KVM Waiting Room#a3::KvM03R_Guillaume 4_M_KY_KNT,{
end;
@@ -48,8 +64,7 @@ OnEnterBG:
bat_room,225,211,0 warp #kvm702 2,2,bat_room,154,150
-// Starting Line
-//============================================================
+//== Starting Line =========================================
- script KVM03::CellEffect3 -1,{
end;
@@ -120,8 +135,7 @@ OnTouch:
end;
}
-// Battleground Engine
-//============================================================
+//== Battleground Engine ===================================
- script KvM03_BG -1,{
end;
@@ -366,8 +380,7 @@ OnTimer60000:
end;
}
-// Battleground rewards
-//============================================================
+//== Battleground rewards ==================================
bat_c03,51,130,5 script KVM Officer#KVM03A 4_M_KY_HEAD,{
if( $@KvM01BG_Victory )
{
diff --git a/npc/battleground/kvm/kvm_enter.txt b/npc/battleground/kvm/kvm_enter.txt
index 5a9537461..c165b8058 100644
--- a/npc/battleground/kvm/kvm_enter.txt
+++ b/npc/battleground/kvm/kvm_enter.txt
@@ -1,22 +1,39 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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/>.
+//=========================================================================
// BattleGround System - KvM Entrance NPCs
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.1
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Kreiger Von Midgard Battleground Entrance NPCs
//= Original NPCs scrapped from bg_common.
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Corrected some typos, and shifted messages around.
-//= Corrected iRO style quest log entries, however it's
-//= advisable that you not use them, as they conflict.
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
-// KvM Officer - Guillaume
-//============================================================
+//== KvM Officer - Guillaume ===============================
bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
/*
.@kvm = questprogress(6026,PLAYTIME);
@@ -55,8 +72,7 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
}
}
-// Guillaume Knight - KvM
-//============================================================
+//== Guillaume Knight - KvM ================================
bat_room,167,178,5 script Guillaume Knight#kvm 4_M_KY_SOLD,{
mes "[Guillaume Knight]";
mes "Hello.";
@@ -115,8 +131,7 @@ bat_room,167,178,5 script Guillaume Knight#kvm 4_M_KY_SOLD,{
}
}
-// KvM Officer - Croix
-//============================================================
+//== KvM Officer - Croix ===================================
bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
/*
.@kvm = questprogress(6025,PLAYTIME);
@@ -155,8 +170,7 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
}
}
-// Croix Knight - KvM
-//============================================================
+//== Croix Knight - KvM ====================================
bat_room,167,121,1 script Croix Knight#kvm 4_M_CRU_SOLD,{
mes "[Croix Knight]";
mes "Hello.";
diff --git a/npc/battleground/kvm/kvm_item_pay.txt b/npc/battleground/kvm/kvm_item_pay.txt
index ed6190690..aa3ade66b 100644
--- a/npc/battleground/kvm/kvm_item_pay.txt
+++ b/npc/battleground/kvm/kvm_item_pay.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
+//=
+//= 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/>.
+//=========================================================================
// BattleGround System - KvM Item Dealer
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Kreiger Von Midgard Battleground Point redemption NPC
-//= * NOTE *
-//= KvM Does NOT use items, but a character variable to
-//= keep track of points. This NPC when talked to will
-//= convert already-given tokens and convert them to points.
-//= under the player variable kvm_point.
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//============================================================
+//================= Current Version =======================================
+//= 1.0
+//================= Additional Comments ===================================
+//= KvM Does NOT use items, but a character variable to keep track of
+//= points. This NPC when talked to will convert already-given tokens and
+//= convert them to points under the player variable kvm_point.
+//=========================================================================
bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
if (countitem(7773)) {
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt
index 20f0fe096..f0e66932d 100644
--- a/npc/battleground/tierra/tierra01.txt
+++ b/npc/battleground/tierra/tierra01.txt
@@ -1,25 +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) Kisuka
+//= 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/>.
+//=========================================================================
// BattleGround System - Tierra Gorge
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Tierra Gorge Battleground.
//= - Winning Team: 3 badges
//= - Losing Team: 1 badge
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Corrected setwalls for barricades. [L0ne_W0lf]
-//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
-//= 1.3 Removed MaxLvl check in waitingrooms.
-//= 1.4 Label standardization. [Euphy]
-//= 1.5 Added GM management function. [Euphy]
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.5
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,57,227,5 script Lieutenant Kalos 4_M_KY_KNT,{
end;
@@ -90,8 +107,7 @@ OnTouch:
bat_room,57,220,0 warp back_bgrooma01a 1,1,bat_room,154,150
bat_room,57,211,0 warp back_bgrooma01b 1,1,bat_room,154,150
-// Tierra Gorge Battleground Engine
-//============================================================
+//== Tierra Gorge Battleground Engine ======================
bat_a01,15,15,3 script start#bat_a01 CLEAR_NPC,{
OnInit:
mapwarp "bat_a01","bat_room",154,150;
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index c79b20845..86913ee6f 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -1,24 +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) Kisuka
+//= 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/>.
+//=========================================================================
// BattleGround System - Tierra Gorge 2
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.4
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Second Tierra Gorge Battleground.
//= - Winning Team: 3 badges
//= - Losing Team: 1 badge
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
-//= 1.2 Removed MaxLvl check in waitingrooms.
-//= 1.3 Label standardization. [Euphy]
-//= 1.4 Added GM management function. [Euphy]
-//============================================================
-
-// Waiting Room NPCs
-//============================================================
+//================= Current Version =======================================
+//= 1.4
+//=========================================================================
+
+//== Waiting Room NPCs =====================================
bat_room,114,227,5 script Lieutenant Rundel 4_M_KY_KNT,{
end;
@@ -89,8 +107,7 @@ OnTouch:
bat_room,113,220,0 warp back_bgrooma02a 1,1,bat_room,154,150
bat_room,113,211,0 warp back_bgrooma02b 1,1,bat_room,154,150
-// Tierra Gorge Battleground Engine
-//============================================================
+//== Tierra Gorge Battleground Engine ======================
bat_a02,15,15,3 script start#bat_a02 CLEAR_NPC,{
OnInit:
mapwarp "bat_a02","bat_room",154,150;
diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt
index 19ceb732e..c7dbd10ae 100644
--- a/npc/battleground/tierra/tierra_enter.txt
+++ b/npc/battleground/tierra/tierra_enter.txt
@@ -1,19 +1,38 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 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/>.
+//=========================================================================
// BattleGround System - Tierra Gorge Entrance NPCs
-//===== By: ==================================================
-//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.0
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Tierra Gorge Battleground Entrance NPCs
-//===== Additional Comments: =================================
-//= 1.0 First Version.
-//= 1.1 Fixed silly copy paste errors. (bugreport:4401)
-//============================================================
+//================= Current Version =======================================
+//= 1.1
+//=========================================================================
-// First Tierra Gorge Officers - Guillaume
-//============================================================
+//== First Tierra Gorge Officers - Guillaume ===============
bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
@@ -230,8 +249,7 @@ bat_room,143,121,1 script Croix Knight#2 4_M_CRU_SOLD,{
close;
}
-// Second Tierra Gorge Officers - Croix
-//============================================================
+//== Second Tierra Gorge Officers - Croix ==================
bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";