summaryrefslogtreecommitdiff
path: root/npc/017-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-21 23:56:45 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-21 23:56:45 -0300
commit2678595e7dc973050327b87b84af8f849457f8d6 (patch)
treedaa7deca4ed4d272c4b16ef650f06fe7ba9500e3 /npc/017-1
parentee0cfde9aff5996fe29787ada6907ea6d4354473 (diff)
downloadserverdata-2678595e7dc973050327b87b84af8f849457f8d6.tar.gz
serverdata-2678595e7dc973050327b87b84af8f849457f8d6.tar.bz2
serverdata-2678595e7dc973050327b87b84af8f849457f8d6.tar.xz
serverdata-2678595e7dc973050327b87b84af8f849457f8d6.zip
Add some proof of concept for a possible future quest.
Diffstat (limited to 'npc/017-1')
-rw-r--r--npc/017-1/_import.txt1
-rw-r--r--npc/017-1/fairy_collector.txt1
-rw-r--r--npc/017-1/inspector.txt40
3 files changed, 42 insertions, 0 deletions
diff --git a/npc/017-1/_import.txt b/npc/017-1/_import.txt
index 42925f9bb..7420b7e02 100644
--- a/npc/017-1/_import.txt
+++ b/npc/017-1/_import.txt
@@ -9,6 +9,7 @@
"npc/017-1/fairy_collector.txt",
"npc/017-1/guards.txt",
"npc/017-1/guild.txt",
+"npc/017-1/inspector.txt",
"npc/017-1/mapflags.txt",
"npc/017-1/misc.txt",
"npc/017-1/nowhere_man.txt",
diff --git a/npc/017-1/fairy_collector.txt b/npc/017-1/fairy_collector.txt
index fca6c2cce..fad061ada 100644
--- a/npc/017-1/fairy_collector.txt
+++ b/npc/017-1/fairy_collector.txt
@@ -7,6 +7,7 @@
// Cannot be completed yet, because not every piece of equipment is available ingame
017-1,135,106,0 script Royal Fairy NPC_FAIRY_B,{
+ inspectorQuest();
.@n=getq(LoFQuest_Fairy);
mesn;
diff --git a/npc/017-1/inspector.txt b/npc/017-1/inspector.txt
new file mode 100644
index 000000000..ffae2d420
--- /dev/null
+++ b/npc/017-1/inspector.txt
@@ -0,0 +1,40 @@
+// TMW2/LOF Script.
+// Author:
+// Jesusalva
+// Description:
+// Part of Katze quest
+// See also
+// npc/config/inspector.txt
+
+017-1,77,104,0 script Anselmo NPC_ANSELMO_BR,{
+ .@q = getq(LoFQuest_Inspector);
+ mesn;
+ mesq l("Hello. My name is Anselmo and I'm investigating a recent string of robberies.");
+ if (BaseLevel < 50) close;
+ if (!is_staff()) close; // FIXME
+ next;
+ mesn;
+ mesq l("Well... Not robberies per se... Just cheese vanishing and being replaced by %s, which is super weird.", getitemlink(GoldenApple));
+ next;
+ mesn;
+ mesq l("You look capable, will you help me solve these robberies? Of course, not for free.");
+ next;
+ if (askyesno() == ASK_NO) {
+ closeclientdialog;
+ close;
+ }
+ mesn;
+ mesq l("Excellent. I'd like you to ask around about the recent string of robberies.");
+ next;
+ mesn;
+ mesq l("But remember, they're stealing %s, not shinies, so try to limit your search a bit.", getitemlink(Cheese));
+ setq LoFQuest_Inspector, 1, 0;
+ close;
+
+// function script inspector() -> Invokes strnpcinfo() internally
+
+OnInit:
+ .distance=5;
+ .sex = G_MALE;
+ end;
+}