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

@@ -24,17 +24,18 @@ var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1){
if (mode == 0 && type == 12)
if (mode != 1) {
if (mode == 0 && type == 12) {
qm.sendNext("Come back again when you have took your desition wisely.");
}
qm.dispose();
return;
}
if(status == 0)
if (status == 0) {
qm.sendAcceptDecline("How is the training going? Wow, you've reached such a high level! That's amazing. I knew you would do just fine on Victoria Island... Oh, look at me. I'm wasting your time. I know you're busy, but you'll have to return to the island for a bit.");
else if(status == 1){
} else if (status == 1) {
qm.sendOk("Your #b#p1201001##k in #b#m140000000##k is acting strange all of a sudden. According to the records, the Polearm acts this way when it is calling for its master. #bPerhaps it's calling for you#k. Please return to the island and check things out.");
} else if(status == 2){
} else if (status == 2) {
qm.startQuest();
qm.dispose();
}
@@ -42,41 +43,43 @@ function start(mode, type, selection) {
function end(mode, type, selection) {
status++;
if (mode != 1){
if (mode == 0 && type == 1)
if (mode != 1) {
if (mode == 0 && type == 1) {
qm.sendNext("Hey! At least say you tried!");
}
qm.dispose();
return;
}
if (status == 0)
qm.sendNext("Voom voom voom voom voom...."); //Giant Polearm
else if (status == 1)
if (status == 0) {
qm.sendNext("Voom voom voom voom voom....");
}//Giant Polearm
else if (status == 1) {
qm.sendNextPrev("#b(The #p1201001# is producing an undulating echo. But who is that boy standing over there?)", 2);
else if (status == 2)
} else if (status == 2) {
qm.sendNextPrev("#b(You've never seen him before. He doesn't look human.)", 2);
else if (status == 3)
} else if (status == 3) {
qm.sendNextPrev("Yo, Aran! Do you not hear me? I said, do you not hear me! Ugh, how frustating!");
else if (status == 4)
} else if (status == 4) {
qm.sendNextPrev("#b(Hm? Who's voice was that? It sounds like an angry boy...)", 2);
else if (status == 5)
} else if (status == 5) {
qm.sendNextPrev("Ugh, my only master had to end up trapped in ice for hundreds of years, abandoning me completely, and is now completely ignoring me.");
else if (status == 6)
} else if (status == 6) {
qm.sendNextPrev("Who...are you?", 2);
else if (status == 7)
} else if (status == 7) {
qm.sendNextPrev("Aran? Do you hear me now? It's me! Don't you recognize me? I'm your weapon, #b#p1201002# the Polearm#k!");
else if (status == 8)
} else if (status == 8) {
qm.sendNextPrev("#b(...#p1201002#? A #p1201001# can talk?)", 2);
else if (status == 9)
} else if (status == 9) {
qm.sendNextPrev("What's with that suspicious look on your face? I know you've lost your memory, but did you forgot about me, too? How could you?!");
else if (status == 10)
} else if (status == 10) {
qm.sendNextPrev("I'm so sorry, but I can't remember a thing.", 2);
else if (status == 11)
} else if (status == 11) {
qm.sendYesNo("Sorry doesn't cut it! Do you know how lonely and bored I was for hundreds of years? I don't care what it takes! Remember me! Remember me now!");
else if (status == 12){
} else if (status == 12) {
qm.completeQuest();
qm.sendNext("#b(The voice that claims to be #p1201002# the #p1201001# is yelling in frustration. You don't think this conversation is going anywhere. You better go talk to #p1201000# first.)", 2);
//qm.sendNoExit("#b(The voice that claims to be #p1201002# the #p1201001# is yelling in frustration. You don't think this conversation is going anywhere. You better go talk to #p1201000# first.)", true);
}else if (status == 13){
} else if (status == 13) {
//qm.showVideo("Maha");
qm.dispose();
}