summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/005-2/trapdoor.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/005-2/trapdoor.txt b/npc/005-2/trapdoor.txt
index 8d883f1ae..41c231709 100644
--- a/npc/005-2/trapdoor.txt
+++ b/npc/005-2/trapdoor.txt
@@ -3,10 +3,11 @@
// Saulc
005-2,24,36,0 script Trap Door NPC_HIDDEN,0,0,{
+ end;
OnTouch:
+ .@chest = getq(CandorQuest_Chest);
if (.@chest == 1)
warp "005-2-1", 28, 35;
- else
close;
}