Reformat and clean up npc scripts
This commit is contained in:
@@ -12,7 +12,7 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
} else {
|
||||
@@ -24,7 +24,7 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
return;
|
||||
}
|
||||
switch(cm.getPlayer().getMapId()) {
|
||||
switch (cm.getPlayer().getMapId()) {
|
||||
case 610030100:
|
||||
if (status == 0) {
|
||||
cm.sendNext("Agh, you have made it in. Let me tell you real quick: they've caught us already. Master Guardians are about to come here in about a minute. We'd better hurry.");
|
||||
@@ -36,45 +36,45 @@ function action(mode, type, selection) {
|
||||
}
|
||||
break;
|
||||
case 610030200:
|
||||
if (status == 0) {
|
||||
if (status == 0) {
|
||||
cm.sendNext("That was a success! Now, for this path, I do believe we need one of every Adventurer class to get past.");
|
||||
} else if (status == 1) {
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("They need to use their skills on each of these things called Sigils. Once all five have been done, we can get past.");
|
||||
cm.dispose();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 610030300:
|
||||
if (status == 0) {
|
||||
if (status == 0) {
|
||||
cm.sendNext("Now what we have here are more Sigils. At least five Adventurers have to climb to the very top and go through the portal. Stay aware though: not every wall or ground on this map is what it seems to be, so tread lightly!");
|
||||
} else if (status == 1) {
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("Oh, and beware of these death traps: Menhirs. They really pack a punch. Good luck.");
|
||||
cm.dispose();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 610030400:
|
||||
if (status == 0) {
|
||||
if (status == 0) {
|
||||
cm.sendNext("Now what we have here are more Sigils. However, some of them don't work. Here all jobs must fill their roles, as at least one of these Sigils are activated by their job skills, however there can be more than one per job, so be sure to test them all.");
|
||||
} else if (status == 1) {
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("These Stirges will get in your way, but they're merely a distraction. To get rid of them, get five adventurers to stand on the middle-left platform simultaneously. To pass, try every one of these Sigils until they work.");
|
||||
cm.dispose();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 610030500:
|
||||
if (status == 0) {
|
||||
if (status == 0) {
|
||||
cm.sendNext("Surprised you made it this far! What you see here is the statue of Crimsonwood Keep, but without any of it's weapons.");
|
||||
} else if (status == 1) {
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("There are five rooms, marked by a statue near each of them, around the statue.");
|
||||
} else if (status == 2) {
|
||||
} else if (status == 2) {
|
||||
cm.sendNext("I suspect that each of these rooms have one of the statue's five weapons.");
|
||||
} else if (status == 3) {
|
||||
} else if (status == 3) {
|
||||
cm.sendNext("Bring back the weapons and restore them to the Relic of Mastery!");
|
||||
cm.dispose();
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 610030700:
|
||||
cm.sendNext("That was some good work out there! This leads the way to the Twisted Masters' Armory.");
|
||||
cm.dispose();
|
||||
break;
|
||||
cm.sendNext("That was some good work out there! This leads the way to the Twisted Masters' Armory.");
|
||||
cm.dispose();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user