diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-17 23:19:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-17 23:19:23 -0300 |
commit | 71d9baa1fa24a33e50da91ae0f5df6181b616f14 (patch) | |
tree | 29e4e7761524eade652d2819d31bd0e74b5c8ad8 /npc/023-3-1/logic.txt | |
parent | 9ba1a745f6c6a88ef4c82aa617d949feb1d61c2c (diff) | |
download | serverdata-71d9baa1fa24a33e50da91ae0f5df6181b616f14.tar.gz serverdata-71d9baa1fa24a33e50da91ae0f5df6181b616f14.tar.bz2 serverdata-71d9baa1fa24a33e50da91ae0f5df6181b616f14.tar.xz serverdata-71d9baa1fa24a33e50da91ae0f5df6181b616f14.zip |
001-7 Puzzle
Diffstat (limited to 'npc/023-3-1/logic.txt')
-rw-r--r-- | npc/023-3-1/logic.txt | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt index 62ce7d33e..540c19c91 100644 --- a/npc/023-3-1/logic.txt +++ b/npc/023-3-1/logic.txt @@ -6,8 +6,9 @@ 023-3-1 mapflag zone MMO -023-3,39,59,0 script #Exit02331 NPC_HIDDEN,1,0,{ +023-3-1,45,27,0 script #Finish02331 NPC_HIDDEN,0,0,{ end; + OnTouch: .@n=getq(General_Narrator); .@q=getq2(FrostiaQuest_Homunculus); @@ -17,34 +18,17 @@ OnTouch: percentheal -100, -100; return false; } - if (.@n == 15) { - dispbottom lg("I'm not a coward! I must press forward!"); + if (.@q < 3) { + dispbottom l("The magic power outflowing in the room prevents you from leaving."); end; } - .@mapn$="001-7"; - warp .@mapn$, 59, 45; - end; -} - -023-3-1,45,27,0 script #Finish02331 NPC_HIDDEN,0,0,{ - end; - -OnTouch: - .@n=getq(General_Narrator); - .@q=getq2(FrostiaQuest_Homunculus); - // Cheater Detected - if (.@n < 13) { - warp "Save", 0, 0; - percentheal -100, -100; - return false; - } .@mapn$="023-3-2"; warp .@mapn$, any(39,40), 58; end; } -023-3,45,27,0 script #Leave02331 NPC_HIDDEN,1,0,{ +023-3-1,45,80,0 script #Exit02331 NPC_HIDDEN,1,0,{ end; OnTouch: .@n=getq(General_Narrator); |