summaryrefslogtreecommitdiff
path: root/npc/014-5/sagratha.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-31 23:50:38 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-31 23:50:38 -0300
commit79350a1c49f3196906dd491cbe50a6039a709d0d (patch)
tree6d68443f401ee07b71f51b6888d935a42793d6df /npc/014-5/sagratha.txt
parent5d0f2e6e14f9cbc6ca76d7f8d7f0a3a7850acb4e (diff)
downloadserverdata-79350a1c49f3196906dd491cbe50a6039a709d0d.tar.gz
serverdata-79350a1c49f3196906dd491cbe50a6039a709d0d.tar.bz2
serverdata-79350a1c49f3196906dd491cbe50a6039a709d0d.tar.xz
serverdata-79350a1c49f3196906dd491cbe50a6039a709d0d.zip
Add some stuff to Sagratha's House
Diffstat (limited to 'npc/014-5/sagratha.txt')
-rw-r--r--npc/014-5/sagratha.txt21
1 files changed, 16 insertions, 5 deletions
diff --git a/npc/014-5/sagratha.txt b/npc/014-5/sagratha.txt
index 2b3476b59..defaa2959 100644
--- a/npc/014-5/sagratha.txt
+++ b/npc/014-5/sagratha.txt
@@ -3,6 +3,17 @@
// Jesusalva
// Description:
// Sagratha's House Door
+//
+// getq(HurnscaldQuest_Sagratha)
+// Field 1
+// 0 - Sagratha is home and annyoed
+// 1 - Wyara sent player saggy way
+// 2 - Rumor Confirmed, check again
+// Field 2
+// RESERVED - INSTANCE ID
+// Field 3
+// During stage 1 and 2: Holds if player looked everywhere
+// RESERVED - INSTANCE ID
014-5,122,137,0 script Sagratha Door NPC_HIDDEN,0,0,{
end;
@@ -95,11 +106,11 @@ L_Open:
mesc l("*CREAK*");
mesc l("The pressure you did made the door burst open. It is unusually quiet inside...");
next;
- enable_items();
+ //enable_items();
//mesc l("WARNING: Save your game now."), 3;
- mesc l("WARNING: Change your equipment now."), 3;
- next;
- disable_items();
+ //mesc l("WARNING: Change your equipment now."), 3;
+ //next;
+ //disable_items();
/*
if (has_instance("014-5-1") == "") {
.@inst = instance_create("Sagratha House", getcharid(3), IOT_CHAR);
@@ -137,7 +148,7 @@ L_Welcome:
OnTouch:
.@q=getq(HurnscaldQuest_Sagratha);
if (!MAGIC_LVL) goto L_Magicless;
- if (.@q == 1) goto L_Open;
+ if (.@q >= 1 && .@q < 10) goto L_Open;
if (getq(HurnscaldQuest_InjuriedMouboo) == 3) goto L_Welcome;
// No special condition