From 77f418ccc63ea813488f96b0c28366abb5a9dbbd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Mar 2019 20:45:37 -0300 Subject: This is for Crazyfefe: Improve Emergency Exit intelligence. 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 --- npc/012-1/_import.txt | 1 + npc/012-1/town.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 npc/012-1/town.txt (limited to 'npc/012-1') diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt index c6acc50ba..c9898eea0 100644 --- a/npc/012-1/_import.txt +++ b/npc/012-1/_import.txt @@ -21,4 +21,5 @@ "npc/012-1/soul-menhir.txt", "npc/012-1/statue.txt", "npc/012-1/terezin.txt", +"npc/012-1/town.txt", "npc/012-1/wateranimation.txt", diff --git a/npc/012-1/town.txt b/npc/012-1/town.txt new file mode 100644 index 000000000..036b203f9 --- /dev/null +++ b/npc/012-1/town.txt @@ -0,0 +1,12 @@ +// TMW-2 Script +// Author: +// Jesusalva +// Description: +// Reset LOCATION$ when entering a town + +012-1,78,49,0 script #LocHurns NPC_HIDDEN,3,1,{ + LOCATION$="Hurns"; end; +} +012-1,78,80,0 duplicate(#LocHurns) #LocHurnsS 3,1,NPC_HIDDEN +012-1,54,61,0 duplicate(#LocHurns) #LocHurnsW 1,2,NPC_HIDDEN +012-1,127,60,0 duplicate(#LocHurns) #LocHurnsE 1,2,NPC_HIDDEN -- cgit v1.2.3-60-g2f50