summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/015-8/sealedshrine.txt57
1 files changed, 55 insertions, 2 deletions
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index de27234c0..68d46dff0 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -470,7 +470,7 @@ OnInit:
end;
}
-015-8,91,109,0 script #SaggyBarrier NPC_HIDDEN,5,0,{
+015-8,93,109,0 script #SaggyBarrier NPC_HIDDEN,2,0,{
end;
OnTouch:
@@ -498,7 +498,7 @@ OnTouch:
}
-015-8,91,107,0 script #SaggyBarrier2 NPC_HIDDEN,5,0,{
+015-8,93,107,0 script #SaggyBarrier2 NPC_HIDDEN,2,0,{
end;
OnTouch:
@@ -517,3 +517,56 @@ OnTouch:
}
+
+
+
+
+
+// The Sealed Shrine Itself and the guardians
+015-8,96,22,0 script #SaggyShrineRight NPC_FAKIR,{
+ mesn l("Guardian Statue");
+ mesq l("Answer Me... Or I will devour you...");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+015-8,93,22,0 script #SaggyShrineLeft NPC_FAKIR,{
+ mesn l("Guardian Statue");
+ mesq l("Answer Me... Or I will devour you...");
+ close;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+015-8,94,20,0 script #ShrineGate NPC_NO_SPRITE,1,0,{
+
+ .@q=getq(HurnscaldQuest_Sagratha);
+ .@q3=getq3(HurnscaldQuest_Sagratha);
+ // Cheater Detected
+ if (!MAGIC_LVL || .@q < 4) {
+ setq HurnscaldQuest_Sagratha, 0, 0, 0;
+ sc_end SC_CASH_PLUSEXP;
+ sc_end SC_OVERLAPEXPUP;
+ sc_start SC_OVERLAPEXPUP, 300000, -20;
+ warp "Save", 0, 0;
+ closeclientdialog;
+ end;
+ return false;
+ }
+
+ // Quest Status 4: Riddle pending
+ if (.@q == 4) {
+ npctalk3 l("The gates are firmly shut, no amount of force will break them.");
+ }
+
+ // Quest Status 5: Riddle solved, access granted
+ // Quest Status 6: Boss defeated, no instance needed
+ dispbottom "ERROR";
+ end;
+}
+