From 3391e26afdf6b53b695b64eabbd8bfe703ffb8f9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 21:40:40 -0300 Subject: Exits in Forgotten Shrine (needed, how did I forgot such obvious thing %%n) --- npc/018-6-3/main.txt | 1 + npc/018-6-3/wsys.txt | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) (limited to 'npc/018-6-3') 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 + + -- cgit v1.2.3-70-g09d2