Reformat and clean up quest scripts
This commit is contained in:
@@ -5,46 +5,43 @@
|
||||
|
||||
var status = -1;
|
||||
|
||||
function start(mode, type, selection){
|
||||
if(mode == -1 || (mode == 0 && status == 0)){
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
else if(mode == 0)
|
||||
status--;
|
||||
else
|
||||
status++;
|
||||
function start(mode, type, selection) {
|
||||
if (mode == -1 || (mode == 0 && status == 0)) {
|
||||
qm.dispose();
|
||||
return;
|
||||
} else if (mode == 0) {
|
||||
status--;
|
||||
} else {
|
||||
status++;
|
||||
}
|
||||
|
||||
|
||||
if(status == 0){
|
||||
qm.sendAcceptDecline("Please help me!");
|
||||
}
|
||||
else if(status == 1){
|
||||
qm.sendNext("The #bPrime Minister#k is the one who plotted all this! Oh no! Here he comes...");
|
||||
}
|
||||
else if (status == 2){
|
||||
qm.forceStartQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendAcceptDecline("Please help me!");
|
||||
} else if (status == 1) {
|
||||
qm.sendNext("The #bPrime Minister#k is the one who plotted all this! Oh no! Here he comes...");
|
||||
} else if (status == 2) {
|
||||
qm.forceStartQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
function end(mode, type, selection){
|
||||
if(mode == -1 || (mode == 0 && status == 0)){
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
else if(mode == 0)
|
||||
status--;
|
||||
else
|
||||
status++;
|
||||
function end(mode, type, selection) {
|
||||
if (mode == -1 || (mode == 0 && status == 0)) {
|
||||
qm.dispose();
|
||||
return;
|
||||
} else if (mode == 0) {
|
||||
status--;
|
||||
} else {
|
||||
status++;
|
||||
}
|
||||
|
||||
|
||||
if(status == 0){
|
||||
qm.sendNext("Hurray! #b#h ##k you defeated the #bPrime Minister#k.");
|
||||
}
|
||||
else if(status == 1){
|
||||
qm.gainExp(15000);
|
||||
qm.forceCompleteQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendNext("Hurray! #b#h ##k you defeated the #bPrime Minister#k.");
|
||||
} else if (status == 1) {
|
||||
qm.gainExp(15000);
|
||||
qm.forceCompleteQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user