summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",