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

@@ -20,8 +20,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
Rosey (On Train) 2041001
**/
Rosey (On Train) 2041001
**/
var status = 0;
@@ -38,13 +38,15 @@ function action(mode, type, selection) {
cm.dispose();
} else {
if (status == 1) {
cm.sendNext ("Alright, see you next time. Take care.");
cm.sendNext("Alright, see you next time. Take care.");
status++;
} else if (status == 2) {
if (cm.getPlayer().getMapId() == 200000122)
cm.warp(200000121, 0);// back to orbis
else
cm.warp(220000110,0);// back to Ludi
if (cm.getPlayer().getMapId() == 200000122) {
cm.warp(200000121, 0);
}// back to orbis
else {
cm.warp(220000110, 0);
}// back to Ludi
cm.dispose();
}
}