summaryrefslogtreecommitdiff
path: root/npc/011-4/bl_barrier.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/011-4/bl_barrier.txt')
-rwxr-xr-xnpc/011-4/bl_barrier.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/npc/011-4/bl_barrier.txt b/npc/011-4/bl_barrier.txt
new file mode 100755
index 00000000..4f6512aa
--- /dev/null
+++ b/npc/011-4/bl_barrier.txt
@@ -0,0 +1,24 @@
+
+011-4,111,121,0 script #BL_Barrier NPC45,0,0,{
+ @state = ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
+
+ if (@state >= 6) goto L_Cave_Abandoned;
+ if (@state >= 4) goto L_Lord_Barrier_Open;
+
+ message strcharinfo(0), "This entrance appears to be locked.";
+ goto L_End;
+
+L_Cave_Abandoned:
+ message strcharinfo(0), "This place looks like it was abandoned.";
+ warp "011-6",251,275;
+ goto L_End;
+
+L_Lord_Barrier_Open:
+ message strcharinfo(0), "You insert the silver arrow key and unlock the entrance.";
+ warp "011-6",251,275;
+ goto L_End;
+
+L_End:
+ @state = 0;
+ end;
+}