summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 21:40:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 21:40:40 -0300
commit3391e26afdf6b53b695b64eabbd8bfe703ffb8f9 (patch)
tree097338452c761f1406cf6f73a9f13e5253ac59ef /npc
parent3c36937e130b0e66bd963486da6b2d5d138db2cb (diff)
downloadserverdata-3391e26afdf6b53b695b64eabbd8bfe703ffb8f9.tar.gz
serverdata-3391e26afdf6b53b695b64eabbd8bfe703ffb8f9.tar.bz2
serverdata-3391e26afdf6b53b695b64eabbd8bfe703ffb8f9.tar.xz
serverdata-3391e26afdf6b53b695b64eabbd8bfe703ffb8f9.zip
Exits in Forgotten Shrine (needed, how did I forgot such obvious thing %%n)
Diffstat (limited to 'npc')
-rw-r--r--npc/018-6-3/main.txt1
-rw-r--r--npc/018-6-3/wsys.txt22
2 files changed, 23 insertions, 0 deletions
diff --git a/npc/018-6-3/main.txt b/npc/018-6-3/main.txt
index ef925691a..ffc6bd9e9 100644
--- a/npc/018-6-3/main.txt
+++ b/npc/018-6-3/main.txt
@@ -436,6 +436,7 @@ OnInit:
.distance=3;
end;
}
+
018-6-3,142,28,0 duplicate(Book#01863A) Book#01863B NPC_NO_SPRITE
diff --git a/npc/018-6-3/wsys.txt b/npc/018-6-3/wsys.txt
index 7d5abc264..40e8d86b8 100644
--- a/npc/018-6-3/wsys.txt
+++ b/npc/018-6-3/wsys.txt
@@ -665,3 +665,25 @@ OnInstanceInit:
end;
}
+////////// Leave room
+018-6-3,30,152,0 script #01863_SWLeave NPC_SUMMONING_CIRC,0,0,{
+ dispbottom l("This will bring me back to the Hall.");
+ end;
+
+OnTouch:
+ // Disable any other active portal
+ 01863_DisableAllWarps();
+
+ // Lead you outside
+ warp BarbaraInstCheck(0), 90, 68;
+ end;
+
+// NPC must remain hidden.
+OnInit:
+ disablenpc .name$;
+ end;
+}
+
+018-6-3,146,25,0 duplicate(#01863_SWLeave) #01863_NELeave NPC_NO_SPRITE
+
+