Reformat and clean up quest scripts

This commit is contained in:
P0nk
2021-09-09 23:36:54 +02:00
parent a78ca88a02
commit 3f43fe82d0
249 changed files with 4361 additions and 4247 deletions

View File

@@ -27,16 +27,17 @@ function start(mode, type, selection) {
if (mode == -1) {
qm.dispose();
} else {
if(mode == 0 && type > 0) {
if (mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1)
if (mode == 1) {
status++;
else
} else {
status--;
}
if (status == 0) {
qm.sendNext("I didn't think you would be this strong. I feel like you have what it takes to become a member of the Sand Bandits. The most important aspect of being a member is power, and I think you have that. I also... want to test you one more time, just to make sure you're the right one. What do you think? Can you handle it?");
} else if (status == 1) {
@@ -44,7 +45,7 @@ function start(mode, type, selection) {
} else if (status == 2) {
qm.sendNext("Good, I like your confidence.");
} else if (status == 3) {
if(qm.getWarpMap(926000000).getCharacters().size() > 0) {
if (qm.getWarpMap(926000000).getCharacters().size() > 0) {
qm.sendOk("There is someone currently in this map, come back later.");
qm.dispose();
} else {