summaryrefslogtreecommitdiff
path: root/npc/017-1/inspector.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-1/inspector.txt')
-rw-r--r--npc/017-1/inspector.txt56
1 files changed, 45 insertions, 11 deletions
diff --git a/npc/017-1/inspector.txt b/npc/017-1/inspector.txt
index f5d010903..ce0bba1ae 100644
--- a/npc/017-1/inspector.txt
+++ b/npc/017-1/inspector.txt
@@ -15,6 +15,7 @@
if (.@q == 0) goto L_Start;
if (.@q == 1) goto L_Arc1;
if (.@q == 2) goto L_Arc2;
+ if (.@q == 3) goto L_Arc3;
goto L_Close;
L_Start:
@@ -59,7 +60,7 @@ L_Arc1:
mesq l("Considering the direction they came from, we should check Hurnscald next. Ask them if they saw a squirrel robbing Golden Apples, or anything which could help.");
next;
mesn;
- mesq l("Ah, and you don't need to ask all of them, that would be a real bother. Ask maybe %d, and try to prioritize shop keepers, unless you feel you found a trail. You can also ask inside La Marine.", 7);
+ mesq l("Ah, and you don't need to ask all of them, that would be a real bother. Ask around, and try to prioritize shop keepers, unless you feel you found a trail. You can also ask inside La Marine.");
next;
mesn;
mesq l("My authority won't do you any good, but we have good relations with Hurnscald so you should have no problem. Good luck, %s!", strcharinfo(0));
@@ -79,30 +80,61 @@ L_Arc1:
.@UNDERGROUND_PASS = 32; // Know the route used in Dimond
.@RAT_RULEOUT = 64; // Ruled out the possibility of rats
.@PORTAL_USE = 128; // Concluded the Portal was used by thief
- .@TROUPE_DISGUISE = 256; // Learned about thief run-in with musics (no noise)
+ .@TROUPE_DISGUISE = 256; // Learned about thief "run-in" with musics
.@SCRATCH_EVIDENCE = 512; // Learned about the scratch marks left by thief
- if (!(.@q2 & THIEF_DESCRIPTION))
+ if (!(.@q2 & .@THIEF_DESCRIPTION))
mesc l("- I don't know how the thief looks like.");
- if (!(.@q2 & TIME_OF_THEFT))
+ if (!(.@q2 & .@TIME_OF_THEFT))
mesc l("- I don't know when the theft happened.");
- if (!(.@q2 & VICTIM_CHEF))
+ if (!(.@q2 & .@VICTIM_CHEF))
mesc l("- I don't know the victims of the thievery.");
- if (!(.@q2 & UNDERGROUND_PASS))
+ if (!(.@q2 & .@UNDERGROUND_PASS))
mesc l("- I don't know how the theft happened.");
- if (!(.@q2 & RAT_RULEOUT))
+ if (!(.@q2 & .@RAT_RULEOUT))
mesc l("- I don't know the possible culprits for this.");
- if (!(.@q2 & PORTAL_USE))
+ if (!(.@q2 & .@PORTAL_USE))
mesc l("- I don't know if the thief is from LoF or not.");
- if (!(.@q2 & SCRATCH_EVIDENCE))
+ if (!(.@q2 & .@SCRATCH_EVIDENCE))
mesc l("- I don't know any supporting evidence from the crome.");
}
next;
goto L_Close;
L_Arc2:
- mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
+ .@q2 = getq2(LoFQuest_Inspector);
+ if (.@q2 == 63 || .@q2 == 127) {
+ mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
+ } else {
+ .@LA_MARINE = 1; // Asked around La Marine
+ .@SHOPKEEPERS = 2; // Asked around shops
+ .@GUARDS = 4; // Asked to guards or police
+ .@CIVILIANS = 8; // Asked around to some civilians
+ .@AUTHORITY = 16; // Asked around to e.g. Airlia or Celeste
+ .@FARMERS = 32; // Asked around to those in the camps
+ .@p = bitmask_count(.@q2);
+ // Kfahr correction
+ if (.@q2 & 64)
+ .@p -= 1;
+ mesn;
+ mesq l("Keep investigating. You've talked to %d/%d groups in Hurnscald thus far.", .@p, 6);
+ if (!(.@q2 & .@LA_MARINE))
+ mesc l("- Please collect reports from La Marine.");
+ if (!(.@q2 & .@SHOPKEEPERS))
+ mesc l("- Please collect reports from the shop keepers.");
+ if (!(.@q2 & .@GUARDS))
+ mesc l("- Please collect reports from the guards and police.");
+ if (!(.@q2 & .@CIVILIANS))
+ mesc l("- Please collect reports from the civilians.");
+ if (!(.@q2 & .@AUTHORITY))
+ mesc l("- Please collect reports from Hurnscald authorities.");
+ if (!(.@q2 & .@FARMERS))
+ mesc l("- Please collect reports from the farmers.");
+ }
next;
- if (!is_staff()) goto L_Close; // FIXME
+ goto L_Close;
+
+L_Arc3:
+ if (!is_staff()) end;
//...
// ... ... ... ......
mesn;
@@ -113,6 +145,8 @@ L_Arc2:
next;
mesn;
mesq l("But be careful, they won't like an inspector snooping there.");
+ getexp 60000, 600;
+ setq LoFQuest_Inspector, 3, 0;
next;
goto L_Close;