summaryrefslogtreecommitdiff
path: root/npc/013-3_Cave/barrier.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/013-3_Cave/barrier.txt')
-rw-r--r--npc/013-3_Cave/barrier.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/013-3_Cave/barrier.txt b/npc/013-3_Cave/barrier.txt
new file mode 100644
index 00000000..07f7a12b
--- /dev/null
+++ b/npc/013-3_Cave/barrier.txt
@@ -0,0 +1,17 @@
+//
+
+013-3.gat,71,21 script #DemonMineBarrier1 127,1,1,{
+ if (QUEST_demon_mines >= 2) quit;
+
+ if (QUEST_demon_mines == 1 && countitem(1198) >= 1) goto L_Has_Jack_O_Soul;
+
+ mes "The barrier around the opening pushes you bach as you approach.";
+
+ warp "013-3.gat", 71, 38;
+ quit;
+
+L_Has_Jack_O_Soul:
+ mes "The barrier around the opening allows you passage.";
+ set QUEST_demon_mines, 2;
+ delitem 1198, 1;
+}