sweetgum83/scripts/quest/2151.js
2024-01-19 03:56:28 -05:00

29 lines
594 B
JavaScript

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("The tree has a strange carving that resembles a scary face.");
qm.forceCompleteQuest();
} else if (status == 1) {
qm.dispose();
}
}
}
function end(mode, type, selection) {
qm.dispose();
}