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,26 +1,26 @@
var status = -1;
function start(mode, type, selection) {
if(mode == -1 || mode == 0 && type > 0) {
if (mode == -1 || mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1) {
status++;
status++;
} else {
if (status == 2) {
qm.dispose();
return;
}
status--;
if (status == 2) {
qm.dispose();
return;
}
status--;
}
if (status == 0) {
qm.sendNext("Aren't you the one that used to be in #m101000000# until not too long ago? I finally found you! Do you know how long it took for me to finally find you?", 8);
qm.sendNext("Aren't you the one that used to be in #m101000000# until not too long ago? I finally found you! Do you know how long it took for me to finally find you?", 8);
} else if (status == 1) {
qm.sendNextPrev("Who are you?", 2);
qm.sendNextPrev("Who are you?", 2);
} else if (status == 2) {
qm.sendAcceptDecline("Me? If you want to know, stop by my cave. I'll even send you an invitation. You'll be directly sent to my cave as soon as you accept. Look forward to seeing you there.");
qm.sendAcceptDecline("Me? If you want to know, stop by my cave. I'll even send you an invitation. You'll be directly sent to my cave as soon as you accept. Look forward to seeing you there.");
} else if (status == 3) {
qm.forceCompleteQuest();
qm.warp(910510200, 0);