From e93c9c47dc85070dab5a7958dd60f15f30d48741 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 7 Sep 2019 17:20:40 -0300 Subject: Experimental placeholders --- npc/018-6-1/main.txt | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'npc/018-6-1') diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt index e38d102f4..3f8f1ba2a 100644 --- a/npc/018-6-1/main.txt +++ b/npc/018-6-1/main.txt @@ -87,6 +87,10 @@ OnTouch: .@q=getq(LoFQuest_Barbara); .@q2=getq2(LoFQuest_Barbara); .@q3=getq3(LoFQuest_Barbara); + // Skipped cutscenes, show you the EXIT + if (.@q == 1 && .@q3 != 2) + cwarp "017-1", 32, 45; + if (.@q >= 1) { warp BarbaraInstCheck(0), 90, 91; // Complete the first arc if possible @@ -124,6 +128,45 @@ OnInit: } ///////////////////////////// Minievents +018-6-1,128,131,0 script Wounded Soldier#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: + mesn l("Wounded Soldier"); + mesq l("Hey, you! Are you here on Kenton's orders?!"); + next; + mesn l("Benjamin, Wounded Soldier"); + mesq l("My name is Benjamin, and I was in charge of an incursion here to capture Barbara."); + next; + mesn l("Benjamin, Wounded Soldier"); + mesq l("My unit, however, was attacked!"); + mesc l("You help Benjamin in getting up."); + mesq l("I now entrust this quest in your hands!"); + mesc l("With a wave, Benjamin returns to report Kenton about the outcome."); + setq3 LoFQuest_Barbara, 1; + disablenpc instance_npcname(.name$); // NPC will now go to rest + close; +OnInit: + disablenpc .name$; + end; +OnInstanceInit: + disablenpc instance_npcname(.name$); + end; +} +// Event trigger +018-6-1,121,132,0 script Wounded Soldier#01861 NPC_WOUNDEDSOLDIER, 0, 10,{ +OnTouch: + .@q=getq(LoFQuest_Barbara); + .@q2=getq2(LoFQuest_Barbara); + .@q3=getq3(LoFQuest_Barbara); + if (.@q == 1 && .@q3 == 0) { + enablenpc instance_npcname("Wounded Soldier#01861", .@q2); + addtimer 500, instance_npcname("Wounded Soldier#01861", .@q2)+"::OnMain"; + } + end; +} -- cgit v1.2.3-60-g2f50