diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/hub.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 53df48131..f9987f9b5 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -26,13 +26,21 @@ function script HUB_Login { if (getvaultid()) { .@gto=get_byte(##00_INFO, 3); .@mlp=get_nibble(##00_INFO, 5); - // Target: Us. Handle Mirror Lakes if (.@gto == $WID) { + // Warp to the proper Mirror Lake switch (.@mlp) { case 1: warp "018-7-1", 90, 47; break; default: warp "014-4", 28, 31; break; } + + // Send debug information debugmes("Vault User %d moved to lake %d.", getvaultid(), .@mlp); + + // FIXME: Handle new user (non-native) accounts + + // Unset the target lake/world + set_byte(##00_INFO, 0, 3); + set_nibble(##00_INFO, 0, 5); } } return; |