Reformat and clean up map scripts

This commit is contained in:
P0nk
2021-09-09 23:32:43 +02:00
parent f76b9954a7
commit 0c1545f81d
87 changed files with 473 additions and 466 deletions

View File

@@ -1,11 +1,11 @@
var eventName = "Trains";
var toMap = 200090110;
function start(ms) {
var em = ms.getClient().getEventManager(eventName);
//is the player late to start the travel?
if(em.getProperty("docked") == "false") {
ms.getClient().getPlayer().warpAhead(toMap);
}
function start(ms) {
var em = ms.getClient().getEventManager(eventName);
//is the player late to start the travel?
if (em.getProperty("docked") == "false") {
ms.getClient().getPlayer().warpAhead(toMap);
}
}