summaryrefslogtreecommitdiff
path: root/npc/025-2-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-15 00:47:01 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-15 00:47:01 -0300
commit90af2bd4dea99e05435e3ee038004ebe741e0228 (patch)
treeed4ca61dba1a02e0ab17863d906f59e6e9c87517 /npc/025-2-1
parent10795dabcfce775a7835f668bd7ce7e799cf8ba8 (diff)
downloadserverdata-90af2bd4dea99e05435e3ee038004ebe741e0228.tar.gz
serverdata-90af2bd4dea99e05435e3ee038004ebe741e0228.tar.bz2
serverdata-90af2bd4dea99e05435e3ee038004ebe741e0228.tar.xz
serverdata-90af2bd4dea99e05435e3ee038004ebe741e0228.zip
Unlock the new area, however, the Main Quest is unfinished
Diffstat (limited to 'npc/025-2-1')
-rw-r--r--npc/025-2-1/_import.txt1
-rw-r--r--npc/025-2-1/logic.txt27
2 files changed, 28 insertions, 0 deletions
diff --git a/npc/025-2-1/_import.txt b/npc/025-2-1/_import.txt
index 362abe0b0..ba2eae352 100644
--- a/npc/025-2-1/_import.txt
+++ b/npc/025-2-1/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/025-2-1/_mobs.txt",
"npc/025-2-1/_warps.txt",
+"npc/025-2-1/logic.txt",
diff --git a/npc/025-2-1/logic.txt b/npc/025-2-1/logic.txt
new file mode 100644
index 000000000..2b65c7901
--- /dev/null
+++ b/npc/025-2-1/logic.txt
@@ -0,0 +1,27 @@
+// TMW-2 Script.
+// Author:
+// Jesusalva
+// Notes:
+// Protected warp
+
+025-2-1,87,89,0 script #To0254 NPC_HIDDEN,0,0,{
+ end;
+
+OnTouch:
+ .@q=getq(General_Narrator);
+ .@q2=getq2(General_Narrator);
+ // Cheater Detected
+ if (.@q < 20) {
+ warp "Save", 0, 0;
+ die();
+ end;
+ }
+ if (.@q < 22) {
+ dispbottom l("You can see a small locked door in what seems a tight tunnel. Entering this tunnel without the key would be suicide.");
+ end;
+ }
+ warp "025-4", 27, 91;
+ end;
+}
+
+