Reformat and clean up quest scripts
This commit is contained in:
@@ -6,28 +6,25 @@
|
||||
|
||||
var status = -1;
|
||||
|
||||
function start(mode, type, selection){
|
||||
if(mode == -1){
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
else if(mode == 0 && status == 0){
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
else if(mode == 0)
|
||||
status--;
|
||||
else
|
||||
status++;
|
||||
function start(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
qm.dispose();
|
||||
return;
|
||||
} else if (mode == 0 && status == 0) {
|
||||
qm.dispose();
|
||||
return;
|
||||
} else if (mode == 0) {
|
||||
status--;
|
||||
} else {
|
||||
status++;
|
||||
}
|
||||
|
||||
if(status == 0){
|
||||
qm.sendNext("Hey! Thank you for bringing me a #b#t4001317##k.");
|
||||
}
|
||||
else if(status == 1){
|
||||
qm.sendNextPrev("I plan to escape from here wearing the #b#t4001317##k. Give me a minute to put it on. Talk to you soon...");
|
||||
}
|
||||
else if(status == 2){
|
||||
qm.forceStartQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendNext("Hey! Thank you for bringing me a #b#t4001317##k.");
|
||||
} else if (status == 1) {
|
||||
qm.sendNextPrev("I plan to escape from here wearing the #b#t4001317##k. Give me a minute to put it on. Talk to you soon...");
|
||||
} else if (status == 2) {
|
||||
qm.forceStartQuest();
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user