summaryrefslogtreecommitdiff
path: root/npc/023-3-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-15 23:50:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-15 23:50:39 -0300
commit2693a7f6b5810fa37934958a3f1858dc080f84ec (patch)
tree859691b148ec8c66174ab46993cbdd25ba1566ec /npc/023-3-2
parente3f5f8f40888bc07737e3785b3490069761a0a28 (diff)
downloadserverdata-2693a7f6b5810fa37934958a3f1858dc080f84ec.tar.gz
serverdata-2693a7f6b5810fa37934958a3f1858dc080f84ec.tar.bz2
serverdata-2693a7f6b5810fa37934958a3f1858dc080f84ec.tar.xz
serverdata-2693a7f6b5810fa37934958a3f1858dc080f84ec.zip
Link Player Story 5 caves - Puzzles, Dynamics, etc. all missing, and quest
check still temporary.
Diffstat (limited to 'npc/023-3-2')
-rw-r--r--npc/023-3-2/_import.txt1
-rw-r--r--npc/023-3-2/logic.txt28
2 files changed, 29 insertions, 0 deletions
diff --git a/npc/023-3-2/_import.txt b/npc/023-3-2/_import.txt
index 0573c4d25..b163d8fb9 100644
--- a/npc/023-3-2/_import.txt
+++ b/npc/023-3-2/_import.txt
@@ -1,2 +1,3 @@
// Map 023-3-2: Ice Caves
// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/023-3-2/logic.txt",
diff --git a/npc/023-3-2/logic.txt b/npc/023-3-2/logic.txt
new file mode 100644
index 000000000..17ea27118
--- /dev/null
+++ b/npc/023-3-2/logic.txt
@@ -0,0 +1,28 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// 023-3-2 Isbamuth's Study Room Configuration File
+
+023-3-2 mapflag zone MMO
+
+023-3,39,59,0 script #Exit02332 NPC_HIDDEN,1,0,{
+ end;
+OnTouch:
+ .@q=getq(General_Narrator);
+ .@q2=getq2(General_Narrator);
+ // Cheater Detected
+ if (.@q < 13) {
+ warp "Save", 0, 0;
+ percentheal -100, -100;
+ return false;
+ }
+ if (.@q == 13) {
+ dispbottom lg("I'm not a coward! I must press forward!");
+ end;
+ }
+ .@mapn$="023-3-1";
+ warp .@mapn$, 45, 28;
+ end;
+}
+