summaryrefslogtreecommitdiff
path: root/npc/009-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-01 20:45:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-01 20:45:37 -0300
commit77f418ccc63ea813488f96b0c28366abb5a9dbbd (patch)
treef7bbb487125e731c20ceadd05e02a593f2edf305 /npc/009-1
parentc2b002b6c7167455bcf1b8aedfebd74857bff990 (diff)
downloadserverdata-77f418ccc63ea813488f96b0c28366abb5a9dbbd.tar.gz
serverdata-77f418ccc63ea813488f96b0c28366abb5a9dbbd.tar.bz2
serverdata-77f418ccc63ea813488f96b0c28366abb5a9dbbd.tar.xz
serverdata-77f418ccc63ea813488f96b0c28366abb5a9dbbd.zip
This is for Crazyfefe: Improve Emergency Exit intelligence.r08.3_190301
Now when you are flushed out of the world, you'll end up in the closest town for you. Ships override location when you enter so it should be ok
Diffstat (limited to 'npc/009-1')
-rw-r--r--npc/009-1/_import.txt1
-rw-r--r--npc/009-1/town.txt10
2 files changed, 11 insertions, 0 deletions
diff --git a/npc/009-1/_import.txt b/npc/009-1/_import.txt
index e91e09873..abe8b2d99 100644
--- a/npc/009-1/_import.txt
+++ b/npc/009-1/_import.txt
@@ -10,3 +10,4 @@
"npc/009-1/mapflags.txt",
"npc/009-1/soul-menhir.txt",
"npc/009-1/teleporter.txt",
+"npc/009-1/town.txt",
diff --git a/npc/009-1/town.txt b/npc/009-1/town.txt
new file mode 100644
index 000000000..df037528d
--- /dev/null
+++ b/npc/009-1/town.txt
@@ -0,0 +1,10 @@
+// TMW-2 Script
+// Author:
+// Jesusalva
+// Description:
+// Reset LOCATION$ when entering a town
+
+009-1,71,24,0 script #LocHalin NPC_HIDDEN,4,1,{
+ LOCATION$="Halin"; end;
+}
+009-1,55,72,0 duplicate(#LocHalin) #LocHalinB 3,1,NPC_HIDDEN