sweetgum83/scripts/quest/21767.js

28 lines
726 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
var status = -1;
var canStart;
function start(mode, type, selection) {
status++;
if (status == 0) {
if (qm.haveItem(4032423, 1)) {
qm.forceStartQuest();
qm.dispose();
return;
}
canStart = qm.canHold(4032423, 1);
if (!canStart) {
qm.sendNext("Please open a slot in your ETC inventory first.");
return;
}
qm.sendNext("#bHm, there's a medicinal substance in the box. What could this be? You better take this to John and ask him what it is.#k");
} else if (status == 1) {
if (canStart) {
qm.gainItem(4032423, 1);
qm.forceStartQuest();
}
qm.dispose();
}
}