sweetgum83/scripts/quest/2149.js

29 lines
678 B
JavaScript
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
var status = -1;
function start(mode, type, selection) {
if (mode == -1) {
qm.dispose();
} else {
if (mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1) {
status++;
} 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();
} else if (status == 1) {
qm.dispose();
}
}
}
function end(mode, type, selection) {
qm.dispose();
}