Reformat and clean up quest scripts

This commit is contained in:
P0nk
2021-09-09 23:36:54 +02:00
parent a78ca88a02
commit 3f43fe82d0
249 changed files with 4361 additions and 4247 deletions

View File

@@ -1,28 +1,28 @@
var status = -1;
function start(mode, type, selection) {
if (mode == 0 && type == 0) {
status--;
} else if (mode == -1) {
qm.dispose();
return;
} else {
status++;
}
if (status == 0) {
qm.sendNext("Ugh. This isn't going to work. I need something else. No plants. No meat. What, you have no idea? But you're the master, and you're older than me, too. You must know what'd be good for me!");
} else if (status == 1) {
qm.sendNextPrev("#bBut I don't. It's not like age has anything to do with this...", 2);
} else if (status == 2) {
qm.sendAcceptDecline("Since you're older, you must be more experienced in the world, too. Makes sense that you'd know more than me. Oh, fine. I'll ask someone who's even older than you, master!");
} else if (status == 3) {
if (mode == 0) {
qm.sendNext("No use trying to find an answer to this on my own. I'd better look for #bsomeone older and wiser than master#k!");
} else {
qm.forceStartQuest();
qm.sendNext("#b#b(You already asked Dad once, but you don't have any better ideas. Time to ask him again!)");
}
} else if (status == 4) {
qm.dispose();
if (mode == 0 && type == 0) {
status--;
} else if (mode == -1) {
qm.dispose();
return;
} else {
status++;
}
if (status == 0) {
qm.sendNext("Ugh. This isn't going to work. I need something else. No plants. No meat. What, you have no idea? But you're the master, and you're older than me, too. You must know what'd be good for me!");
} else if (status == 1) {
qm.sendNextPrev("#bBut I don't. It's not like age has anything to do with this...", 2);
} else if (status == 2) {
qm.sendAcceptDecline("Since you're older, you must be more experienced in the world, too. Makes sense that you'd know more than me. Oh, fine. I'll ask someone who's even older than you, master!");
} else if (status == 3) {
if (mode == 0) {
qm.sendNext("No use trying to find an answer to this on my own. I'd better look for #bsomeone older and wiser than master#k!");
} else {
qm.forceStartQuest();
qm.sendNext("#b#b(You already asked Dad once, but you don't have any better ideas. Time to ask him again!)");
}
} else if (status == 4) {
qm.dispose();
}
}