From 5e45b1a2f065648e26da0fbd1d644a048d82fc74 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 4 Aug 2018 01:14:47 -0300 Subject: Fix Main Storyline Quest. --- npc/009-2/librarian.txt | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'npc/009-2') diff --git a/npc/009-2/librarian.txt b/npc/009-2/librarian.txt index beb92a644..1f9027c8e 100644 --- a/npc/009-2/librarian.txt +++ b/npc/009-2/librarian.txt @@ -20,20 +20,25 @@ L_Advance: .@nt = getq2(General_Narrator); - // If you wait 5 - instead of 3 - hours, you probably went away to do something else. + // Initial Value is 0. + // .@nt tracks future value + if (!.@nt) + goto L_Prologue; + + // If you wait 7 - instead of 3 - hours, you are abusing. // So now, you must wait an extra hour. - if (.@nt < santime()+(60*60*2)) { + if (.@nt > santime()+(60*60*7)) { setq2 General_Narrator, santime()+(60*60); .@nt=santime()+(60*60); } // Wait time is over! if (.@nt <= santime()) goto L_Complete; - // Already have time assigned - if (.@nt) { - mesn; - mesq l("Please help us with the bandits on the Canyon, and meanwhile, I'll seek the records for you. Just @@ more.", FuzzyTime(.@nt)); - } + mesn; + mesq l("Please help us with the bandits on the Canyon, and meanwhile, I'll seek the records for you. Just @@ more.", FuzzyTime(.@nt)); + close; + +L_Prologue: mesn strcharinfo(0); mesq l("Hi! Apparently, I came from here and moved at the age of 4, but I had amnesia and can't remember!"); next; @@ -48,7 +53,7 @@ L_Advance: mesq l("Ah... I see. You are a lost soul, without parents, lost on the world with only some basic stuff."); next; mesn; - mesq l("Alright, I'll look in the archives. I'll have a answer for you in three hours. Meanwhile, why don't you suppress the bandits on the cliff?"); + mesq l("Alright, I'll look in the archives. I'll have an answer for you in three hours. Meanwhile, why don't you suppress the bandits on the cliff?"); setq2 General_Narrator, santime()+(60*60*3); close; @@ -119,7 +124,7 @@ OnInit: .@npcId = getnpcid(0, .name$); setunitdata(.@npcId, UDT_HEADTOP, FancyHat); setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt); - setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); + //setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes); setunitdata(.@npcId, UDT_WEAPON, JeansShorts); setunitdata(.@npcId, UDT_HAIRSTYLE, any(8,11,20)); setunitdata(.@npcId, UDT_HAIRCOLOR, 5); -- cgit v1.2.3-70-g09d2