Update NPC handling for quest 3311

This commit is contained in:
Charlie Unfricht
2022-08-17 03:31:30 -04:00
parent 9592b8323f
commit 871c8a4477
2 changed files with 20 additions and 37 deletions

View File

@@ -1,3 +1,7 @@
// NPC - Wall
// Location: Magatia - Home of the Missing Alchemist
// Used to handle quest 3311 - Clue
var status;
function start() {
@@ -19,7 +23,19 @@ function action(mode, type, selection) {
status--;
}
if (!cm.isQuestStarted(3311)) {
cm.dispose();
return;
}
if (status == 0) {
cm.sendYesNo("Amidst the throng of spider webs, there's a wall behind it that seems to have something written on it. Perhaps you should take a closer look at the wall?");
}
else if (status == 1) {
cm.setQuestProgress(3311, 5);
cm.sendOk("On a wall full of graffiti, there seems to be a phrase that really stands out above the rest. #bIt's in a form of a pendant...#k What does that mean?");
}
else {
cm.dispose();
}
}