Broad packages refactor
Added macro update when using SP reset. Refactored several packages containing general classes. Fixed "worker" nomenclature in class methods misleadingly denoting "task".
This commit is contained in:
@@ -45,8 +45,13 @@ function end(mode, type, selection) {
|
||||
qm.dispose();
|
||||
}
|
||||
} else if (status == 0) {
|
||||
if (!qm.haveItem(oreArray[selection], 2)) {
|
||||
qm.sendNext("What's this, you haven't got the ores. No ores no deal!");
|
||||
return;
|
||||
}
|
||||
|
||||
qm.gainItem(oreArray[selection], -2); // Take 2 ores
|
||||
qm.sendNext("Then wait for awhile. I'll go and get the stuff to help you pass the test of Chief Zanumist.");
|
||||
qm.sendNext("Then wait for awhile. I'll go and get the stuff to help you pass the test of Chief Zenumist.");
|
||||
qm.forceCompleteQuest();
|
||||
} else if (status == 1) {
|
||||
qm.dispose();
|
||||
|
||||
@@ -45,6 +45,11 @@ function end(mode, type, selection) {
|
||||
qm.dispose();
|
||||
}
|
||||
} else if (status == 0) {
|
||||
if (!qm.haveItem(oreArray[selection], 2)) { // thanks resinate for noticing a function missing here
|
||||
qm.sendNext("What's this, you haven't got the ores. No ores no deal!");
|
||||
return;
|
||||
}
|
||||
|
||||
qm.gainItem(oreArray[selection], -2); // Take 2 ores
|
||||
qm.sendNext("Then wait for awhile. I'll go and get the stuff to help you pass the test of Chief Alcadno.");
|
||||
qm.forceCompleteQuest();
|
||||
|
||||
Reference in New Issue
Block a user