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

@@ -32,20 +32,22 @@ function start() {
function action(mode, type, selection) {
status++;
if (mode != 1){
if(mode == 0 && status == 2){
if (mode != 1) {
if (mode == 0 && status == 2) {
status -= 2;
start();
}else if(mode == 0)
status-= 2;
else
} else if (mode == 0) {
status -= 2;
} else {
cm.dispose();
}else{
if (status == 1)
}
} else {
if (status == 1) {
cm.sendNextPrev("If you want to get stronger, then go to #bSouthperry#k where there's a harbor. Ride on the gigantic ship and head to the place called #bVictoria Island#k. It's incomparable in size compared to this tiny island.");
else if (status == 2)
} else if (status == 2) {
cm.sendPrev("At the Victoria Island, you can choose your job. Is it called #bPerion#k...? I heard there's a bare, desolate town where warriors live. A highland...what kind of a place would that be?");
else if (status == 3)
} else if (status == 3) {
cm.dispose();
}
}
}