From 38adc7b0500091fabadba5281f5526ff7fd60966 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 4 May 2019 02:12:58 -0300 Subject: Mechanic-wise, implement Warp Crystals and ensure they work --- npc/000-1/exit.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/000-1') diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt index b32e22548..fa80138f3 100644 --- a/npc/000-1/exit.txt +++ b/npc/000-1/exit.txt @@ -34,6 +34,12 @@ OnSetLX: savepoint .LOCMASTER_MAP$[@lx], .LOCMASTER_X[@lx], .LOCMASTER_Y[@lx]; end; +// Warp you according to LX +OnVisitLX: + @lx=array_find(.LOCMASTER_LOC$, LOCATION$); + warp .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"; -- cgit v1.2.3-70-g09d2