summaryrefslogtreecommitdiff
path: root/npc
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
parent6e4069cebfd74f408de2f8ff0508f6efa1f7c6c0 (diff)
downloadserverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.gz
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.bz2
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.tar.xz
serverdata-b8922bb983435b0ba3794839dd753ad4d22b8711.zip
Sagratha hut :3
Diffstat (limited to 'npc')
-rw-r--r--npc/014-5-1/_import.txt3
-rw-r--r--npc/014-5-1/_warps.txt3
-rw-r--r--npc/014-5/sagratha.txt16
-rw-r--r--npc/_import.txt1
4 files changed, 22 insertions, 1 deletions
diff --git a/npc/014-5-1/_import.txt b/npc/014-5-1/_import.txt
new file mode 100644
index 000000000..488faeb05
--- /dev/null
+++ b/npc/014-5-1/_import.txt
@@ -0,0 +1,3 @@
+// Map 014-5-1: Forgotten Hut
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/014-5-1/_warps.txt",
diff --git a/npc/014-5-1/_warps.txt b/npc/014-5-1/_warps.txt
new file mode 100644
index 000000000..0d236b1c6
--- /dev/null
+++ b/npc/014-5-1/_warps.txt
@@ -0,0 +1,3 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 014-5-1: Forgotten Hut warps
+014-5-1,33,45,0 warp #014-5-1_33_45 0,0,014-5,122,138
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;
}
diff --git a/npc/_import.txt b/npc/_import.txt
index 6e071fd89..60c7b0381 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -82,6 +82,7 @@
@include "npc/014-2/_import.txt"
@include "npc/014-3/_import.txt"
@include "npc/014-4/_import.txt"
+@include "npc/014-5-1/_import.txt"
@include "npc/014-5/_import.txt"
@include "npc/015-1/_import.txt"
@include "npc/015-2/_import.txt"