summaryrefslogtreecommitdiff
path: root/npc/020-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/020-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/020-1')
-rw-r--r--npc/020-1/_import.txt1
-rw-r--r--npc/020-1/town.txt10
2 files changed, 11 insertions, 0 deletions
diff --git a/npc/020-1/_import.txt b/npc/020-1/_import.txt
index 8aacf29bc..d297b38d2 100644
--- a/npc/020-1/_import.txt
+++ b/npc/020-1/_import.txt
@@ -5,4 +5,5 @@
"npc/020-1/misc.txt",
"npc/020-1/serge.txt",
"npc/020-1/siege.txt",
+"npc/020-1/town.txt",
"npc/020-1/wateranimation.txt",
diff --git a/npc/020-1/town.txt b/npc/020-1/town.txt
new file mode 100644
index 000000000..4796d0cbb
--- /dev/null
+++ b/npc/020-1/town.txt
@@ -0,0 +1,10 @@
+// TMW-2 Script
+// Author:
+// Jesusalva
+// Description:
+// Reset LOCATION$ when entering a town
+
+020-1,71,102,0 script #LocNival NPC_HIDDEN,2,0,{
+ LOCATION$="Nival"; end;
+}
+012-1,106,55,0 duplicate(#LocHurns) #LocNivalB 1,1,NPC_HIDDEN