summaryrefslogtreecommitdiff
path: root/npc/config/inspector.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-24 01:24:34 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-24 01:24:34 -0300
commit942cdc08ff09e5177edc30cba1e249565c1b9363 (patch)
treeb10022563f426a62b2bdc142faedc68123e6bee1 /npc/config/inspector.txt
parent6e7b7479f9a5ef967f078b1ffb6b50559cc79436 (diff)
downloadserverdata-942cdc08ff09e5177edc30cba1e249565c1b9363.tar.gz
serverdata-942cdc08ff09e5177edc30cba1e249565c1b9363.tar.bz2
serverdata-942cdc08ff09e5177edc30cba1e249565c1b9363.tar.xz
serverdata-942cdc08ff09e5177edc30cba1e249565c1b9363.zip
Progress with Anselmo's quest. You can now start and finish Hurnscald arc.
UNTESTED, and you not claim the reward for this stage yet.
Diffstat (limited to 'npc/config/inspector.txt')
-rw-r--r--npc/config/inspector.txt145
1 files changed, 142 insertions, 3 deletions
diff --git a/npc/config/inspector.txt b/npc/config/inspector.txt
index b165e4a1c..b0665bc33 100644
--- a/npc/config/inspector.txt
+++ b/npc/config/inspector.txt
@@ -14,6 +14,7 @@ function script inspectorQuest {
// Check if you are in the right map for the right stage to go
if (compare(getmap(), "017") && .@q == 1) .@go=true;
if (compare(getmap(), "012") && .@q == 2) .@go=true;
+ if (compare(getmap(), "016") && .@q == 2) .@go=true;
if (compare(getmap(), "009") && .@q == 3) .@go=true;
// If you're not, return. Otherwise, ask the question.
if (!.@go) return;
@@ -25,8 +26,8 @@ function script inspectorQuest {
return;
}
/*
- // Stage 1: (24+6 = 30 NPCs)
- // Stage 2: TODO
+ // Stage 1: (24+6 = 30 NPCs) (10 Nodes)
+ // Stage 2: (25+8 = 33 NPCs) ( 6 Nodes)
///////////////////////////////
*/
mes "";
@@ -43,6 +44,14 @@ function script inspectorQuest {
.@TROUPE_DISGUISE = 256; // Learned about thief run-in with musics (no noise)
.@SCRATCH_EVIDENCE = 512; // Learned about the scratch marks left by thief
// Stage 2 - Hurnscald
+ .@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
+ .@KHAFAR = 64; // Bonus, not necessary
+ // Stage 3 - Halinarzo
// TODO
///////////////////////////////
// All NPCs list
@@ -86,7 +95,7 @@ function script inspectorQuest {
mesn;
mesq l("About the scratch marks? I can give you a file about them. We didn't paid much mind to it, they're likely caused by a small animal such as a squirrel, a fox, a cat, or a dog.");
setq2 LoFQuest_Inspector, .@q2 | .@SCRATCH_EVIDENCE;
- } else if (compare(.@npc$, "Guard")) {
+ } else if (getmap() == "017-1" && compare(.@npc$, "Guard")) {
// List some excluded NPCs. Could use miller rand to be predictable but...
mesn;
mesq l("I know nothing about the robberies, sorry.");
@@ -333,6 +342,136 @@ function script inspectorQuest {
mesn;
mesq l("The trick is figuring out which kind of cheese was stolen. Once you know that, I guess either Ace Ventura or Erik could help you to thin out the list.");
setq2 LoFQuest_Inspector, .@q2 | .@VICTIM_LAB;
+ // Second Phase - 012 and 016 (22+8 NPCs) (+3 in La Marine)
+ } else if (.@npc$ == "LOFBot") {
+ mesn;
+ mesq l("I would love to help my friends from the Land of Fire, but... I've seen no such thing.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Dyrin The Traveler") {
+ mesn;
+ mesq l("While I can totally believe a squirrel robbing cheese, the \"and it left a golden apple\" is complete madness. Stop wasting my time.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Lieutenant Paul") {
+ mesn;
+ mesq l("While Hurnscald Guard and Police would love to cooperate in an official investigation from the Land of Fire, we neither saw nor heard about such thing. You can ask %s or the other guards, but I believe the answer will be the same.", l("Helena"));
+ setq2 LoFQuest_Inspector, .@q2 | .@GUARDS;
+ } else if (.@npc$ == "Helena") {
+ mesn;
+ mesq l("While Hurnscald Guard and Police would love to cooperate in an official investigation from the Land of Fire, we neither saw nor heard about such thing. You can ask %s or the other guards, but I believe the answer will be the same.", l("Lieutenant Paul"));
+ setq2 LoFQuest_Inspector, .@q2 | .@GUARDS;
+ } else if (getmap() == "012-1" && compare(.@npc$, "Guard")) {
+ mesn;
+ mesq l("Hurnscald Guard and Police will obviously cooperate with the Land of Fire authorities by reporting that, to the best of our knowledge, no such thing was seen in Hurnscald.");
+ setq2 LoFQuest_Inspector, .@q2 | .@GUARDS;
+ } else if (.@npc$ == "Gwendolyn") {
+ mesn;
+ mesq l("I'm no fool. I always see squirrels robbing the unaware. Sometimes they steal cheese dropped in the ground. But nothing like you want me to believe.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Igor") {
+ mesn;
+ mesq l("Oh, please, I don't publish lies in my news! Come with a more convincing lie next time you want to appear in the newspaper!");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Jack") {
+ mesn;
+ mesq l("I've seen living wood, but not smart animals doing such ridiculous journey to play a prank. Unless you are the animal doing the prank here?");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Locamit") {
+ mesn;
+ mesq lg("Don't be ridiculous. Extraordinary claims require extraordinary proof, anyway. Now go away, you liar.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Luffyx") {
+ mesn;
+ mesq l("The summer sun must be playing tricks on your head, my friend. I know of no such thing, and I've been on watch all day long.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Milly") {
+ mesn;
+ mesq lg("It's not good to lie, miss.", "It's not good to lie, mister.");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ } else if (.@npc$ == "Hurnscald's Nurse") {
+ mesn;
+ mesq l("For hallucinations I'll suggest... this injection here. Heya!");
+ mesc l("Ouch!");
+ setq2 LoFQuest_Inspector, .@q2 | .@CIVILIANS;
+ percentheal -5, -10;
+ } else if (.@npc$ == "Hinnak") {
+ mesn;
+ mesq l("I only saw... Yes you can tell... I ONLY SAW PINKIES! And they weren't stealing some foreigner garbage, but MY CROPS! One day, I swear one day I'll get rid of them!");
+ setq2 LoFQuest_Inspector, .@q2 | .@FARMERS;
+ } else if (.@npc$ == "Tezzerin") {
+ mesn;
+ mesq l("Oh my, and I thought ye young'uns were immune to dementia... There are only Pinkies around here, child.");
+ setq2 LoFQuest_Inspector, .@q2 | .@FARMERS;
+ } else if (.@npc$ == "Mahad") {
+ mesn;
+ mesq l("There was no \"smart small animal\" trying to purchase anything here. But if I may, drinking water may help your eyesight! I can make a promotion for you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@SHOPKEEPERS;
+ } else if (.@npc$ == "Shoppa Kep") {
+ mesn;
+ mesq l("There was no \"smart small animal\" trying to purchase anything here. But if I may, these cotton shirts can do wonders to your lack of fashion! I can make a promotion for you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@SHOPKEEPERS;
+ } else if (.@npc$ == "Alan") {
+ mesn;
+ mesq l("There was no \"smart small animal\" trying to purchase anything here. But if I may interest you in a new bow, you might be able to hunt them down! I can make a promotion for you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@SHOPKEEPERS;
+ } else if (.@npc$ == "Nicholas") {
+ mesn;
+ mesq l("There was no \"smart small animal\" trying to purchase anything here. But if I may interest you in a new dagger or short sword, you might be able to hunt them down! I can make a promotion for you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@SHOPKEEPERS;
+ } else if (.@npc$ == "Wyara") {
+ mesn;
+ mesq l("There was no \"smart small animal\" trying to purchase anything here. But if I may reset your stats, you might be able to raise your intelligence to don't be fooled with such fairy tales! I can make a promotion for you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@SHOPKEEPERS;
+ } else if (.@npc$ == "Airlia") {
+ mesn;
+ mesq l("We had bandits targeting the bar, but I can assure it is unrelated to your current case.");
+ next;
+ mesn;
+ mesq l("I can ask the guards to be on lookout, but... Well, while squirrels are known for stealing things, what you imply is too far fetched. Weren't you a LoF official, I would likely have thrown you out the door for wasting my time.");
+ next;
+ mesn;
+ mesq l("So rest assured, what craziness is happening at Land of Fire has nothing to do with Hurnscald.");
+ setq2 LoFQuest_Inspector, .@q2 | .@AUTHORITY;
+ } else if (.@npc$ == "Celestia") {
+ mesn;
+ mesq l("Well, we all know Lalica is a powerful witch from the Land of Fire, are you sure she isn't involved?");
+ next;
+ mesn;
+ mesq l("Because your story is as crazy as Pyndragon's inventions, like staffs which shot or staffs which glow. Regardless of whatever he dubbed both.");
+ next;
+ mesn;
+ mesq l("In any case, rest assured the craziness is likely contained to the Land of Fire and we'll let you know if this changes.");
+ setq2 LoFQuest_Inspector, .@q2 | .@AUTHORITY;
+ } else if (.@npc$ == "Captain") {
+ mesn;
+ mesq l("Lots of pet owners bring their animals for a ride, but unlike old Nard, we verify for stoaways often. So if it was a pet, it definitely had an owner.");
+ next;
+ mesn;
+ mesq l("All pets are also capable of looting items and dropping items as well. I'm repeating this because I know if you truly came from LoF, then you certainly talked with Ace Ventura and know it couldn't have been a pet.");
+ next;
+ mesn;
+ mesq l("So whoever stole Dimond's Cove did not use my ship, of that much I can assure you.");
+ setq2 LoFQuest_Inspector, .@q2 | .@LA_MARINE;
+ } else if (.@npc$ == "Laranja") {
+ mesn;
+ mesq l("I've been looking around all day and night to sell my father's %s, so I remember roughly everyone who have been on this ship.", getitemlink(OrangeDye));
+ next;
+ mesn;
+ mesq l("And I can say no one matching your description was here today or yesterday or the day before. Sorry.");
+ setq2 LoFQuest_Inspector, .@q2 | .@LA_MARINE;
+ } else if (.@npc$ == "Teraa") {
+ mesn;
+ mesq l("Sorry, I only have interest in Tortugas, so I didn't paid any attention. Speaking on which... are you interested in renting one?");
+ } else if (.@npc$ == "Melina") {
+ mesn;
+ mesq l("Sorry, I was busy bringing drinks all day. Well, given your story, you're clearly drunk, but given how out of it you are, I'll advise drinking our %s instead. I promise it'll have less collateral effects than whatever you had!", getitemlink(Beer));
+ } else if (.@npc$ == "Khafar") {
+ mesn;
+ mesq l("HAHAHAHAH, that's a nice story! Really funny, too! I really should buy you a beer for the excellent story.");
+ if (!(.@q2 & .@KHAFAR)) {
+ inventoryplace Beer, 1;
+ setq2 LoFQuest_Inspector, .@q2 | .@KHAFAR;
+ getitem Beer, 1;
+ }
} else {
Exception(sprintf("Oops, unhandled NPC at investigation (typo)! %s was not found on stage %d <= report this!", .@npc$, .@q), RB_SPEECH|RB_PLEASEREPORT);
}