summaryrefslogtreecommitdiff
path: root/npc/014-5/sagratha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-5/sagratha.txt')
-rw-r--r--npc/014-5/sagratha.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/014-5/sagratha.txt b/npc/014-5/sagratha.txt
index 54d601e38..be4704116 100644
--- a/npc/014-5/sagratha.txt
+++ b/npc/014-5/sagratha.txt
@@ -5,10 +5,11 @@
// Sagratha's House Door
014-5,122,137,0 script Sagratha Door NPC_HIDDEN,0,0,{
+ .@q=getq(HurnscaldQuest_Sagratha);
end;
L_Magicless:
- npctalk3 l("A mild magic barrier prevents you from entering.");
+ npctalk3 l("A light magic barrier prevents you from entering.");
dispbottom l("If I only knew some magic...");
end;
@@ -22,6 +23,13 @@ L_Lockpick:
mes "";
if (@menu == 1) {
+ /*
+ if (getq(HurnscaldQuest_InjuriedMouboo) == 2)) {
+ mesn strcharinfo(0);
+ mesc l("Nobody answers.");
+ mes "";
+ }
+ */
mesn l("Sagratha");
mesq l("No, I don't need monster repellent nor anything! Go away!");
close;
@@ -75,9 +83,15 @@ L_Lockpick:
}
close;
+L_Open:
+ warp "014-5-1", 33, 44;
+ dispbottom l("For some reason, the door was not locked today...");
+ close;
+
OnTouch:
if (!MAGIC_LVL) goto L_Magicless;
goto L_Lockpick;
+ if (getq(HurnscaldQuest_InjuriedMouboo) == 3) goto L_Open;
end;
}