summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2015-12-21 19:22:32 -0800
committerTaylor Locke <kisuka@kisuka.com>2015-12-21 19:24:06 -0800
commit0aadc44f37617dbe5762e31f50effc1ee07afd79 (patch)
treebed456357b72eed62dd0e4f48db0b7c63f4d10d1
parent2a16362eed204dde33e5b0638373d67d1c6828ee (diff)
downloadhercules-0aadc44f37617dbe5762e31f50effc1ee07afd79.tar.gz
hercules-0aadc44f37617dbe5762e31f50effc1ee07afd79.tar.bz2
hercules-0aadc44f37617dbe5762e31f50effc1ee07afd79.tar.xz
hercules-0aadc44f37617dbe5762e31f50effc1ee07afd79.zip
Split zone mapflag for pre/re. Follow-up to fd78190a5ec4f19f10027f7a7ebe0e6ce023f672.
-rw-r--r--npc/mapflag/zone.txt16
-rw-r--r--npc/re/mapflag/zone.txt49
-rw-r--r--npc/re/scripts_main.conf1
-rw-r--r--npc/re/scripts_mapflags.conf31
4 files changed, 81 insertions, 16 deletions
diff --git a/npc/mapflag/zone.txt b/npc/mapflag/zone.txt
index 1b3ddc76f..a405934a2 100644
--- a/npc/mapflag/zone.txt
+++ b/npc/mapflag/zone.txt
@@ -131,19 +131,3 @@ umbala mapflag zone Towns
veins mapflag zone Towns
xmas mapflag zone Towns
yuno mapflag zone Towns
-
-// WoE:TE
-te_prt_gld mapflag zone WoE TE
-te_prtcas01 mapflag zone WoE TE
-te_prtcas02 mapflag zone WoE TE
-te_prtcas03 mapflag zone WoE TE
-te_prtcas04 mapflag zone WoE TE
-te_prtcas05 mapflag zone WoE TE
-te_alde_gld mapflag zone WoE TE
-te_aldecas1 mapflag zone WoE TE
-te_aldecas2 mapflag zone WoE TE
-te_aldecas3 mapflag zone WoE TE
-te_aldecas4 mapflag zone WoE TE
-te_aldecas5 mapflag zone WoE TE
-teg_dun01 mapflag zone WoE TE
-teg_dun02 mapflag zone WoE TE
diff --git a/npc/re/mapflag/zone.txt b/npc/re/mapflag/zone.txt
new file mode 100644
index 000000000..a6cfd95f1
--- /dev/null
+++ b/npc/re/mapflag/zone.txt
@@ -0,0 +1,49 @@
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2013-2015 Hercules Dev Team
+//= Copyright (C) Ind
+//=
+//= 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/>.
+//=========================================================================
+//= Mapflag: Zone.
+//================= Current Version =======================================
+//= 1.0
+//================= Description ===========================================
+//= Flags maps as part of zones defined in map_zone_db.txt
+//=========================================================================
+
+// WoE:TE
+te_prt_gld mapflag zone WoE TE
+te_prtcas01 mapflag zone WoE TE
+te_prtcas02 mapflag zone WoE TE
+te_prtcas03 mapflag zone WoE TE
+te_prtcas04 mapflag zone WoE TE
+te_prtcas05 mapflag zone WoE TE
+te_alde_gld mapflag zone WoE TE
+te_aldecas1 mapflag zone WoE TE
+te_aldecas2 mapflag zone WoE TE
+te_aldecas3 mapflag zone WoE TE
+te_aldecas4 mapflag zone WoE TE
+te_aldecas5 mapflag zone WoE TE
+teg_dun01 mapflag zone WoE TE
+teg_dun02 mapflag zone WoE TE
diff --git a/npc/re/scripts_main.conf b/npc/re/scripts_main.conf
index 1fa54f723..fd0d85fad 100644
--- a/npc/re/scripts_main.conf
+++ b/npc/re/scripts_main.conf
@@ -62,6 +62,7 @@ import: npc/scripts_warps.conf
import: npc/re/scripts.conf
import: npc/re/scripts_woe.conf
import: npc/re/scripts_jobs.conf
+import: npc/re/scripts_mapflags.conf
import: npc/re/scripts_monsters.conf
import: npc/re/scripts_warps.conf
diff --git a/npc/re/scripts_mapflags.conf b/npc/re/scripts_mapflags.conf
new file mode 100644
index 000000000..9f10792ef
--- /dev/null
+++ b/npc/re/scripts_mapflags.conf
@@ -0,0 +1,31 @@
+//================= Hercules Configuration ================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Athena Dev Teams
+//=
+//= 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/>.
+//=========================================================================
+//= Map Flags
+//=========================================================================
+
+npc: npc/re/mapflag/zone.txt