summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-18 14:23:58 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-18 14:23:58 -0300
commit731149e6a8136c18be34e4ec13fa1d19728c1b99 (patch)
tree2403f0ba431eaee9d8a8a2d0bdb9d0bd4f172efe
parentbcbdd7540c1983e1069d5ada169f259bc65cea59 (diff)
downloadserverdata-731149e6a8136c18be34e4ec13fa1d19728c1b99.tar.gz
serverdata-731149e6a8136c18be34e4ec13fa1d19728c1b99.tar.bz2
serverdata-731149e6a8136c18be34e4ec13fa1d19728c1b99.tar.xz
serverdata-731149e6a8136c18be34e4ec13fa1d19728c1b99.zip
Mapflags for Caves
-rw-r--r--npc/021-1/_import.txt1
-rw-r--r--npc/021-1/logic.txt16
-rw-r--r--npc/021-2/_import.txt1
-rw-r--r--npc/021-2/mapflags.txt1
-rw-r--r--npc/021-3/_import.txt1
-rw-r--r--npc/021-3/mapflags.txt1
-rw-r--r--npc/021-4/_import.txt1
-rw-r--r--npc/021-4/mapflags.txt1
8 files changed, 23 insertions, 0 deletions
diff --git a/npc/021-1/_import.txt b/npc/021-1/_import.txt
index 322b886cd..c5b485973 100644
--- a/npc/021-1/_import.txt
+++ b/npc/021-1/_import.txt
@@ -2,4 +2,5 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/021-1/_mobs.txt",
"npc/021-1/_warps.txt",
+"npc/021-1/logic.txt",
"npc/021-1/yeti.txt",
diff --git a/npc/021-1/logic.txt b/npc/021-1/logic.txt
new file mode 100644
index 000000000..b57844cb0
--- /dev/null
+++ b/npc/021-1/logic.txt
@@ -0,0 +1,16 @@
+// TMW2 scripts.
+// Authors:
+// The Mana World Team
+// Jesusalva
+// Description:
+// Cave logic
+
+021-1,155,196,0 script #MainLogic NPC_NOSPRITE,0,0,{
+ if ($@CINDY_STATE == 0) goto L_Blocked;
+ //warp "031-4", 40, 70;
+ end;
+
+L_Blocked:
+ dispbottom l("This place is reeking blood. We better come again later.");
+ end;
+}
diff --git a/npc/021-2/_import.txt b/npc/021-2/_import.txt
index 8fc4d48da..2e81435fd 100644
--- a/npc/021-2/_import.txt
+++ b/npc/021-2/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/021-2/_mobs.txt",
"npc/021-2/_warps.txt",
+"npc/021-2/mapflags.txt",
diff --git a/npc/021-2/mapflags.txt b/npc/021-2/mapflags.txt
new file mode 100644
index 000000000..f5bc49d2f
--- /dev/null
+++ b/npc/021-2/mapflags.txt
@@ -0,0 +1 @@
+021-2 mapflag nosave 019-2,76,25
diff --git a/npc/021-3/_import.txt b/npc/021-3/_import.txt
index 0bd8e802b..64d770b9a 100644
--- a/npc/021-3/_import.txt
+++ b/npc/021-3/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/021-3/_mobs.txt",
"npc/021-3/_warps.txt",
+"npc/021-3/mapflags.txt",
diff --git a/npc/021-3/mapflags.txt b/npc/021-3/mapflags.txt
new file mode 100644
index 000000000..8f505b7a2
--- /dev/null
+++ b/npc/021-3/mapflags.txt
@@ -0,0 +1 @@
+021-3 mapflag nosave 019-2,76,25
diff --git a/npc/021-4/_import.txt b/npc/021-4/_import.txt
index 2e24c6902..fbe0e9684 100644
--- a/npc/021-4/_import.txt
+++ b/npc/021-4/_import.txt
@@ -1,2 +1,3 @@
// Map 021-4: Cindy Cave
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/021-4/mapflags.txt",
diff --git a/npc/021-4/mapflags.txt b/npc/021-4/mapflags.txt
new file mode 100644
index 000000000..89112fc39
--- /dev/null
+++ b/npc/021-4/mapflags.txt
@@ -0,0 +1 @@
+021-4 mapflag pvp