summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-08-04 01:14:47 -0300
committerJesusaves <cpntb1@ymail.com>2018-08-04 01:14:47 -0300
commit5e45b1a2f065648e26da0fbd1d644a048d82fc74 (patch)
tree089a7ec99ecbd20f5ef8ca3fac2fdb298a8b8293 /npc
parent9efdc7de12093575e274e66a8835a63397a1da99 (diff)
downloadserverdata-5e45b1a2f065648e26da0fbd1d644a048d82fc74.tar.gz
serverdata-5e45b1a2f065648e26da0fbd1d644a048d82fc74.tar.bz2
serverdata-5e45b1a2f065648e26da0fbd1d644a048d82fc74.tar.xz
serverdata-5e45b1a2f065648e26da0fbd1d644a048d82fc74.zip
Fix Main Storyline Quest.
Diffstat (limited to 'npc')
-rw-r--r--npc/009-2/librarian.txt23
1 files changed, 14 insertions, 9 deletions
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);