summaryrefslogtreecommitdiff
path: root/npc/018-6-1/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 21:45:12 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 21:45:12 -0300
commit735389e9e0146660d7c12b44d8e2b22739d4ac0f (patch)
treeb89ee5ad697b862050f9207af5a1b1dc6e449041 /npc/018-6-1/main.txt
parent3391e26afdf6b53b695b64eabbd8bfe703ffb8f9 (diff)
downloadserverdata-735389e9e0146660d7c12b44d8e2b22739d4ac0f.tar.gz
serverdata-735389e9e0146660d7c12b44d8e2b22739d4ac0f.tar.bz2
serverdata-735389e9e0146660d7c12b44d8e2b22739d4ac0f.tar.xz
serverdata-735389e9e0146660d7c12b44d8e2b22739d4ac0f.zip
Prepare the final cutscene, but for now, it'll merely report you that
the quest is not yet complete
Diffstat (limited to 'npc/018-6-1/main.txt')
-rw-r--r--npc/018-6-1/main.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt
index 2dce61042..c40fd03c4 100644
--- a/npc/018-6-1/main.txt
+++ b/npc/018-6-1/main.txt
@@ -202,3 +202,50 @@ OnInit:
end;
}
+///////////////////////////// Minievents
+018-6-1,89,70,0 script Barbara#01861 NPC_GUARD_DEAD,{
+ //npctalk3 l("Please find her and don't worry with me! And be careful!");
+ npctalk3 l("*scream in pain*");
+ close;
+
+OnMain:
+ .@q=getq(LoFQuest_Barbara);
+ .@q2=getq2(LoFQuest_Barbara);
+ .@q3=getq3(LoFQuest_Barbara);
+
+ // TODO stop here FIXME
+ mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
+ close;
+
+ // Barbara was taken hostage or murdered - save this data
+ setq3 LoFQuest_Barbara, .@q3|2;
+ disablenpc instance_npcname(.name$); // NPC will now go to rest
+ close;
+
+OnInit:
+ .sex=G_FEMALE;
+ disablenpc .name$;
+ end;
+OnInstanceInit:
+ disablenpc instance_npcname(.name$);
+ end;
+}
+
+// Event trigger
+018-6-1,84,71,0 script #01861TriggerBB1 NPC_HIDDEN, 0, 10,{
+ end;
+OnTouch:
+ .@q=getq(LoFQuest_Barbara);
+ .@q2=getq2(LoFQuest_Barbara);
+ .@q3=getq3(LoFQuest_Barbara);
+ if (.@q == 4 && !(.@q3 & 2)) {
+ enablenpc instance_npcname("Barbara#01861", .@q2);
+ addtimer2(500, instance_npcname("Barbara#01861", .@q2)+"::OnMain");
+ }
+ end;
+
+OnInit:
+ disablenpc .name$;
+ end;
+}
+