summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/001-1/doors.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/npc/001-1/doors.txt b/npc/001-1/doors.txt
index df01abe0..808fbde8 100644
--- a/npc/001-1/doors.txt
+++ b/npc/001-1/doors.txt
@@ -484,7 +484,19 @@ OnInit:
001-1,57,41,0 script #Warp20 NPC_HIDDEN,0,0,{
OnTouch:
- warp "001-2-33", 34, 46;
+ .@enora = getq(ArtisQuests_Enora);
+
+ if (.@enora < 4)
+ {
+ narrator 4,
+ l("Doors are closed.");
+ }
+ else
+ {
+ warp "001-2-33", 34, 46;
+ }
+
+ closedialog;
close;
OnUnTouch: