From 2693a7f6b5810fa37934958a3f1858dc080f84ec Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Jun 2019 23:50:39 -0300 Subject: Link Player Story 5 caves - Puzzles, Dynamics, etc. all missing, and quest check still temporary. --- npc/023-3-1/logic.txt | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 npc/023-3-1/logic.txt (limited to 'npc/023-3-1/logic.txt') diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt new file mode 100644 index 000000000..1962edfb3 --- /dev/null +++ b/npc/023-3-1/logic.txt @@ -0,0 +1,67 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// 023-3-1 The First Monster King's Throne Room Configuration File + +023-3-1 mapflag zone MMO + +023-3,39,59,0 script #Exit02331 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$="001-7"; + warp .@mapn$, 59, 45; + end; +} + +023-3-1,45,27,0 script #Finish02331 NPC_HIDDEN,0,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; + } + + .@mapn$="023-3-2"; + warp .@mapn$, any(39,40), 58; + end; +} + +001-7,59,44,0 script #Init02331 NPC_HIDDEN,0,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$, any(45,46), 79; + end; +} + -- cgit v1.2.3-60-g2f50