summaryrefslogtreecommitdiff
path: root/npc/014-5
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-09 11:30:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-09 11:30:13 -0300
commitb8922bb983435b0ba3794839dd753ad4d22b8711 (patch)
tree8d791aa9903817280ba6667c9819b712e3fb7253 /npc/014-5
parent6e4069cebfd74f408de2f8ff0508f6efa1f7c6c0 (diff)
downloadserverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.gz
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.bz2
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.xz
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.zip
Sagratha hut :3
Diffstat (limited to 'npc/014-5')
-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;
}