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

@@ -31,14 +31,14 @@
function start() {
cm.sendAcceptDecline("Becoming a Knight of Cygnus requires talent, faith, courage, and will power... and it looks like you are more than qualified to become a Knight of Cygnus. What do you think? If you wish to become one right this minute, I'll take you straight to Erev. Would you like to head over to Erev right now?");
}
function action(coded, by, Moogra) {
if (coded > 0)
if (coded > 0) {
cm.warp(130000000);
else {
} else {
try {
cm.warp(cm.getPlayer().getSavedLocation("CYGNUSINTRO"));
} catch(err) {
} catch (err) {
cm.warp(100000000);
}
}