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

@@ -12,23 +12,22 @@ var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
if (type == 1 && mode == 0) {
status -= 2;
} else {
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "are Leprechauns";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r30 #t4032031##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
var target = "are Leprechauns";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
} else if (status == 1) {
var reqs = "#r30 #t4032031##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
} else if (status == 2) {
qm.dispose();
qm.dispose();
}
}