Reformat and clean up npc scripts

This commit is contained in:
P0nk
2021-09-09 23:35:02 +02:00
parent 0c1545f81d
commit d893309b4f
665 changed files with 19932 additions and 19046 deletions

View File

@@ -1,10 +1,10 @@
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();
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();
}