summaryrefslogtreecommitdiff
path: root/npc/018-6-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-01 14:44:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-01 14:44:34 -0300
commitfad04ba82736ea807a3b7d377846597694eb7fe8 (patch)
treedc536b1d7aa94c6fcc6be02cd8735b6f13240254 /npc/018-6-0
parentd7a12ae2c32db522a81eb895e8674e0b35ca1c58 (diff)
downloadserverdata-fad04ba82736ea807a3b7d377846597694eb7fe8.tar.gz
serverdata-fad04ba82736ea807a3b7d377846597694eb7fe8.tar.bz2
serverdata-fad04ba82736ea807a3b7d377846597694eb7fe8.tar.xz
serverdata-fad04ba82736ea807a3b7d377846597694eb7fe8.zip
This should resolve south wing. That would allow you to go to shrine.
Monsters still missing.
Diffstat (limited to 'npc/018-6-0')
-rw-r--r--npc/018-6-0/ctrl2
-rw-r--r--npc/018-6-0/main.txt17
2 files changed, 13 insertions, 6 deletions
diff --git a/npc/018-6-0/ctrl b/npc/018-6-0/ctrl
index 865cd9903..fad4beb65 100644
--- a/npc/018-6-0/ctrl
+++ b/npc/018-6-0/ctrl
@@ -13,7 +13,7 @@ q1
1 West puzzle solved (&) (west lever)
2 East puzzle solved (&) (east lever)
3 South puzzle unlocked (w/e lever)
- 4 South puzzle node (e/w lever)
+ 4 South puzzle node (unused)
5 South puzzle solved, access to shrine granted
&64 West Puzzle in Progress
&128 East Puzzle in Progress
diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt
index 9789d82f7..2d30b3f48 100644
--- a/npc/018-6-0/main.txt
+++ b/npc/018-6-0/main.txt
@@ -11,12 +11,17 @@
OnTouch:
.@q=getq(LoFQuest_Barbara);
- if (.@q >= 2) {
- warp BarbaraInstCheck(3), 31, 151;
- //warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
- } else {
- Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC");
+ .@q2=getq2(LoFQuest_Barbara);
+ .@q3=getq3(LoFQuest_Barbara);
+ if (.@q < 2 || .@q3 != 5)
+ Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC.INVALID", RB_DEFAULT|RB_ISFATAL);
+ // Make the speech
+ if (.@q == 2) {
+ setq1 LoFQuest_Barbara, 3;
+ setq3 LoFQuest_Barbara, 0;
}
+ // Execute the warp
+ warp BarbaraInstCheck(3), 31, 151;
end;
@@ -58,6 +63,8 @@ OnTouch:
.@q2=getq2(LoFQuest_Barbara);
.@q3=getq3(LoFQuest_Barbara);
if (.@q == 2 && .@q3 >= 3) {
+ enablenpc instance_npcname("#FromWestHall", .@q2);
+ enablenpc instance_npcname("#FromEastHall", .@q2);
warp BarbaraInstCheck(2), 90, 32;
//warp BarbaraInstCheck(0), 90+any(-1, 1), 90+any(-1,1);
} else {