diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-6-0/main.txt | 45 |
1 files changed, 45 insertions, 0 deletions
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; +} + |