From ebaa1c0043cf3f99aa701a5274c2090c91626298 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 31 Aug 2019 14:34:25 -0300 Subject: 018-6-0 FORGOTTEN CHAMBER should be complete --- npc/018-6-0/main.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt index 4020fe0c1..40827f383 100644 --- a/npc/018-6-0/main.txt +++ b/npc/018-6-0/main.txt @@ -74,4 +74,49 @@ OnInstanceInit: end; } +///////////////////////////// +018-6-0,67,90,0 script #ToWestHall NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("It looks dangerous."); + end; + +OnTouch: + .@q=getq(LoFQuest_Barbara); + .@q2=getq2(LoFQuest_Barbara); + .@q3=getq3(LoFQuest_Barbara); + if (.@q == 2 && !(.@q3 & 1)) { + warp BarbaraInstCheck(2), 70, 150; + } else { + dispbottom l("I already visited this warp."); + } + end; + + +OnInit: + disablenpc .name$; + end; +} + + +///////////////////////////// +018-6-0,113,90,0 script #ToEastHall NPC_SUMMONING_CIRC,0,0,{ + dispbottom l("It looks dangerous."); + end; + +OnTouch: + .@q=getq(LoFQuest_Barbara); + .@q2=getq2(LoFQuest_Barbara); + .@q3=getq3(LoFQuest_Barbara); + if (.@q == 2 && !(.@q3 & 2)) { + warp BarbaraInstCheck(2), 103, 156; + } else { + dispbottom l("I already visited this warp."); + } + end; + + +OnInit: + disablenpc .name$; + end; +} + -- cgit v1.2.3-70-g09d2