sweetgum83/scripts/quest/21716.js
2024-01-19 03:56:28 -05:00

37 lines
1.3 KiB
JavaScript

var status = -1;
function start(mode, type, selection) {
if (mode == -1 || mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1) {
status++;
} else {
if (status == 2) {
qm.sendNext("What? I don't think there are any suspects besides that kid. Please think again.");
qm.dispose();
return;
}
status--;
}
if (status == 0) {
qm.sendNext("What did #p1032112# say?", 8);
} else if (status == 1) {
qm.sendNextPrev("#b(You tell her what #p1032112# observed.)#k", 2);
} else if (status == 2) {
qm.sendAcceptDecline("A kid with a puppet? That seems very suspicious. I am sure that kid is the reason the Green Mushrooms have suddenly turned violent.");
} else if (status == 3) {
qm.forceStartQuest();
qm.sendNext("How dare this kid wreak havoc in the South Forest. Who knows how long it will take to restore the forest... I'll have to devote most of my time cleaning up the mess.", 2);
} else if (status == 4) {
qm.sendPrev("#b(You were able to find out what caused the changes in the Green Mushrooms. You should report #p1002104# and deliver the information you've collected.)#k", 2);
} else if (status == 5) {
qm.dispose();
}
}
function end(mode, type, selection) {
qm.dispose();
}