summaryrefslogtreecommitdiff
path: root/npc/023-3-1/logic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-17 14:00:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-17 14:00:30 -0300
commit7e91a5df4912ad192beda9d997abea237e42f3b4 (patch)
tree10910459a10580253ae9831cefa3cef6f83118de /npc/023-3-1/logic.txt
parent30ba0677270a2900aff105f6d08a0f5abb2cc1f6 (diff)
downloadserverdata-7e91a5df4912ad192beda9d997abea237e42f3b4.tar.gz
serverdata-7e91a5df4912ad192beda9d997abea237e42f3b4.tar.bz2
serverdata-7e91a5df4912ad192beda9d997abea237e42f3b4.tar.xz
serverdata-7e91a5df4912ad192beda9d997abea237e42f3b4.zip
Okay, I'm getting confuse with all these warps.
Diffstat (limited to 'npc/023-3-1/logic.txt')
-rw-r--r--npc/023-3-1/logic.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt
index 8c73c23eb..9ce0bc4f0 100644
--- a/npc/023-3-1/logic.txt
+++ b/npc/023-3-1/logic.txt
@@ -44,6 +44,26 @@ OnTouch:
end;
}
+023-3,45,27,0 script #Leave02331 NPC_HIDDEN,1,0,{
+ end;
+OnTouch:
+ .@q=getq(General_Narrator);
+ .@q2=getq2(General_Narrator);
+ // Cheater Detected
+ if (.@q < 15) {
+ warp "Save", 0, 0;
+ percentheal -100, -100;
+ return false;
+ }
+ if (.@q == 15) {
+ dispbottom lg("I'm not a coward! I must press forward!");
+ end;
+ }
+ .@mapn$="001-7";
+ warp .@mapn$, 59, 45;
+ end;
+}
+
001-7,59,44,0 script #Init02331 NPC_HIDDEN,0,0,{
end;
@@ -56,10 +76,10 @@ OnTouch:
percentheal -100, -100;
return false;
}
- if (.@q == 15) {
+ /*if (.@q == 15) {
dispbottom lg("I'm not a coward! I must press forward!");
end;
- }
+ }*/
.@mapn$="023-3-1";
warp .@mapn$, any(45,46), 79;
end;