Made NPCs now work properly on multiworld system. Solved multiple issues regarding Player Shops not giving back items properly when owner exits. Added restriction on changing channels at FM rooms, preventing shop owner entering Cash Shop.
10 lines
274 B
JavaScript
10 lines
274 B
JavaScript
function start() {
|
|
if (!cm.isQuestStarted(22015)) {
|
|
cm.sendOk("#b(You are too far from the Piglet. Go closer to grab it.)");
|
|
} else {
|
|
cm.gainItem(4032449, true);
|
|
cm.forceCompleteQuest(22015);
|
|
cm.playerMessage(5, "You have rescued the Piglet.");
|
|
}
|
|
cm.dispose();
|
|
} |