summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-13 18:36:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-13 18:36:47 -0300
commit2d3024a574858935aac4c4a4fa078b357498531a (patch)
treef9cf68862c9f5312896aa5eda171d84588b46ff3 /npc/000-1
parentf7df9a9a2d612a5fad24f871ba507e47de2c8083 (diff)
downloadserverdata-2d3024a574858935aac4c4a4fa078b357498531a.tar.gz
serverdata-2d3024a574858935aac4c4a4fa078b357498531a.tar.bz2
serverdata-2d3024a574858935aac4c4a4fa078b357498531a.tar.xz
serverdata-2d3024a574858935aac4c4a4fa078b357498531a.zip
Add LOCATION$ support (but it is not being saved yet)
Diffstat (limited to 'npc/000-1')
-rw-r--r--npc/000-1/exit.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt
index a3c4f6c7..4c8f167e 100644
--- a/npc/000-1/exit.txt
+++ b/npc/000-1/exit.txt
@@ -8,11 +8,14 @@
OnTouch:
OnTalk:
OnTalkNearby:
+ if (LOCATION$ != "") goto L_ToLoc;
if (Sex)
warp "029-2", 25, 24;
else
warp "029-2", 22, 24;
end;
-
+L_ToLoc:
+ ReturnTown();
+ end;
}