Reformat and clean up quest scripts
This commit is contained in:
@@ -12,43 +12,43 @@ var status = -1;
|
||||
|
||||
function start(mode, type, selection) {
|
||||
status++;
|
||||
if (mode != 1) {
|
||||
if(type == 1 && mode == 0)
|
||||
status -= 2;
|
||||
else{
|
||||
qm.sendOk("Why did you even ask if you were going to say no to this?#");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (status == 0)
|
||||
qm.sendAcceptDecline("I think i've heard of a potion that breaks these kinds of barriers. I think it's called #bKiller Mushroom Spores#k? Hmmm... outside, you'll find the Mushroom Scholar #bScarrs#k waiting outside. #bScarrs#k is an expert on mushrooms, so go talk to him.");
|
||||
else if (status == 1) {
|
||||
qm.forceStartQuest();
|
||||
qm.sendOk("I am confident #kScarrs#k will do everything to help you.");
|
||||
} else if (status == 2){
|
||||
qm.dispose();
|
||||
}
|
||||
if (mode != 1) {
|
||||
if (type == 1 && mode == 0) {
|
||||
status -= 2;
|
||||
} else {
|
||||
qm.sendOk("Why did you even ask if you were going to say no to this?#");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendAcceptDecline("I think i've heard of a potion that breaks these kinds of barriers. I think it's called #bKiller Mushroom Spores#k? Hmmm... outside, you'll find the Mushroom Scholar #bScarrs#k waiting outside. #bScarrs#k is an expert on mushrooms, so go talk to him.");
|
||||
} else if (status == 1) {
|
||||
qm.forceStartQuest();
|
||||
qm.sendOk("I am confident #kScarrs#k will do everything to help you.");
|
||||
} else if (status == 2) {
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
function end(mode, type, selection) {
|
||||
status++;
|
||||
if (mode != 1) {
|
||||
if(type == 1 && mode == 0) {
|
||||
status -= 2;
|
||||
} else {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendOk("Ah, so you're the explorer people were talking about. I'm #bScarrs, the Royal Mushroom Scholar#k representing the Kingdom of Mushroom. So you need some #kKiller Mushroom Spores#k?");
|
||||
} else if (status == 1){
|
||||
qm.forceCompleteQuest();
|
||||
qm.gainExp(4200);
|
||||
qm.sendOk("#kKiller Mushroom Spores#k... I think i've heard of them before...");
|
||||
} else if (status == 2) {
|
||||
qm.dispose();
|
||||
}
|
||||
if (mode != 1) {
|
||||
if (type == 1 && mode == 0) {
|
||||
status -= 2;
|
||||
} else {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendOk("Ah, so you're the explorer people were talking about. I'm #bScarrs, the Royal Mushroom Scholar#k representing the Kingdom of Mushroom. So you need some #kKiller Mushroom Spores#k?");
|
||||
} else if (status == 1) {
|
||||
qm.forceCompleteQuest();
|
||||
qm.gainExp(4200);
|
||||
qm.sendOk("#kKiller Mushroom Spores#k... I think i've heard of them before...");
|
||||
} else if (status == 2) {
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user