Reformat and clean up quest scripts
This commit is contained in:
@@ -4,16 +4,17 @@ function start(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
qm.dispose();
|
||||
} else {
|
||||
if(mode == 0 && type > 0) {
|
||||
if (mode == 0 && type > 0) {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (mode == 1)
|
||||
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
status--;
|
||||
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
qm.sendNext("It is said that a old tree gets alive whenever something sinister disturbs this land... We need a hero that fends our village of that creature!");
|
||||
qm.forceCompleteQuest();
|
||||
@@ -24,5 +25,5 @@ function start(mode, type, selection) {
|
||||
}
|
||||
|
||||
function end(mode, type, selection) {
|
||||
qm.dispose();
|
||||
qm.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user