summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-30 18:13:36 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-30 18:13:36 -0300
commit7700279c0d332a974245c0e85b74840c9e3abb1b (patch)
tree4a40368021b70e751a817f93625470dd035a575e /npc
parenta5cc0cb7a3d5ce851380114e9b2e52c5e58cbee8 (diff)
downloadserverdata-7700279c0d332a974245c0e85b74840c9e3abb1b.tar.gz
serverdata-7700279c0d332a974245c0e85b74840c9e3abb1b.tar.bz2
serverdata-7700279c0d332a974245c0e85b74840c9e3abb1b.tar.xz
serverdata-7700279c0d332a974245c0e85b74840c9e3abb1b.zip
Make maps, and delete useless file
Diffstat (limited to 'npc')
-rw-r--r--npc/002-5/_import.txt1
-rw-r--r--npc/002-5/_mobs.txt3
-rw-r--r--npc/functions/masks.txt68
-rw-r--r--npc/scripts.conf1
4 files changed, 4 insertions, 69 deletions
diff --git a/npc/002-5/_import.txt b/npc/002-5/_import.txt
index 1e44e8d59..bf17f825b 100644
--- a/npc/002-5/_import.txt
+++ b/npc/002-5/_import.txt
@@ -1,3 +1,4 @@
// Map 002-5: Ocean
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/002-5/_mobs.txt",
"npc/002-5/main.txt",
diff --git a/npc/002-5/_mobs.txt b/npc/002-5/_mobs.txt
new file mode 100644
index 000000000..cdfc3719d
--- /dev/null
+++ b/npc/002-5/_mobs.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 002-5: Ocean mobs
+002-5,32,26,8,2 monster Ocean Croc 1133,2,36000,30000
diff --git a/npc/functions/masks.txt b/npc/functions/masks.txt
deleted file mode 100644
index 98e8bdf87..000000000
--- a/npc/functions/masks.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-// Evol functions.
-// Author:
-// Reid
-// Description:
-// Triggers functions to add and remove masks.
-// Variables:
-// none
-
-// Artis Aemil's Legion
-
-function script artisALRemTopMask {
- if ((getareausers("001-2-33", 23, 27, 45, 31) >= 1) ||
- (getareausers("001-2-33", 23, 32, 26, 38) >= 1) ||
- (getareausers("001-2-33", 42, 32, 45, 38) >= 1))
- {
- removemapmask "001-2-33", 4;
- }
- return 0;
-}
-
-function script artisALAddTopMask {
- if ((getareausers("001-2-33", 23, 27, 45, 31) == 0) &&
- (getareausers("001-2-33", 23, 32, 26, 38) == 0) &&
- (getareausers("001-2-33", 42, 32, 45, 38) == 0))
- {
- addmapmask "001-2-33", 4;
- }
- return 0;
-}
-
-function script artisALRemBotMask {
- if (getareausers("001-2-33", 23, 32, 45, 46) >= 1)
- {
- removemapmask "001-2-33", 8;
- }
- return 0;
-}
-
-function script artisALAddBotMask {
- if (getareausers("001-2-33", 23, 32, 45, 46) == 0)
- {
- addmapmask "001-2-33", 8;
- }
- return 0;
-}
-
-function script artisALUpdateMask {
- if (getareausers("001-2-33", 23, 32, 45, 46) >= 1)
- {
- removemapmask "001-2-33", 8;
- }
- else
- {
- addmapmask "001-2-33", 8;
- }
- if ((getareausers("001-2-33", 23, 27, 45, 31) >= 1) ||
- (getareausers("001-2-33", 23, 32, 26, 38) >= 1) ||
- (getareausers("001-2-33", 42, 32, 45, 38) >= 1))
- {
- removemapmask "001-2-33", 4;
- }
- else
- {
- addmapmask "001-2-33", 4;
- }
-
- return 0;
-}
diff --git a/npc/scripts.conf b/npc/scripts.conf
index e7e8e35d9..0d5f58d11 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -29,7 +29,6 @@
"npc/functions/marriage.txt",
"npc/functions/mobpoint.txt",
"npc/functions/npcmove.txt",
-"npc/functions/masks.txt",
"npc/functions/openbook.txt",
"npc/functions/questgen.txt",
"npc/functions/sailordialogue.txt",