summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-29 10:20:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-29 10:20:40 -0300
commit3ed73e0a0b424ca5b2b8491f365bf601e34220f9 (patch)
tree3adb5b2710137faa017443551fff67e912b6ea30 /npc/000-1
parent7b1f6f59b0781188c967b896a62c6ecc05df84e4 (diff)
downloadserverdata-3ed73e0a0b424ca5b2b8491f365bf601e34220f9.tar.gz
serverdata-3ed73e0a0b424ca5b2b8491f365bf601e34220f9.tar.bz2
serverdata-3ed73e0a0b424ca5b2b8491f365bf601e34220f9.tar.xz
serverdata-3ed73e0a0b424ca5b2b8491f365bf601e34220f9.zip
@ucp may now update your save point if you SAVE AND EXIT.
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/exit.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index 4e2e9c2a2..aaeed2d4e 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -28,11 +28,12 @@ OnTalkNearby:
warp "002-1", 53, 38;
end;
-OnSetLX:
- @lx=array_find(.LOCMASTER_LOC$, LOCATION$);
-savepoint .LOCMASTER_MAP$[@lx], .LOCMASTER_X[@lx], .LOCMASTER_Y[@lx];
- end;
-// Begin
+// Save your location to last visited town for @ucp. I won't hate you for this.
+/OnSetLX:
+ @lx=array_find(.LOCMASTER_LOC$, LOCATION$);
+ savepoint .LOCMASTER_MAP$[@lx], .LOCMASTER_X[@lx], .LOCMASTER_Y[@lx];
+ end;
+
OnInit:
setarray .LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Lilit", "Nival", "Frostia";
setarray .LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "018-5", "020-1", "024-1";