diff options
-rw-r--r-- | npc/001-4/_import.txt | 2 | ||||
-rw-r--r-- | npc/001-4/event_soulmenhir.txt | 21 | ||||
-rw-r--r-- | npc/001-4/mapflags.txt | 1 | ||||
-rw-r--r-- | npc/commands/warp.txt | 1 |
4 files changed, 25 insertions, 0 deletions
diff --git a/npc/001-4/_import.txt b/npc/001-4/_import.txt index 5435c135a..609e87f62 100644 --- a/npc/001-4/_import.txt +++ b/npc/001-4/_import.txt @@ -1,5 +1,7 @@ // Map 001-4: Enchanted Forest // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/001-4/_mobs.txt", +"npc/001-4/event_soulmenhir.txt", +"npc/001-4/mapflags.txt", "npc/001-4/mushroom.txt", "npc/001-4/traps.txt", diff --git a/npc/001-4/event_soulmenhir.txt b/npc/001-4/event_soulmenhir.txt new file mode 100644 index 000000000..43d60c34a --- /dev/null +++ b/npc/001-4/event_soulmenhir.txt @@ -0,0 +1,21 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// Special Soul Menhir which only allows leaving the map. + +001-4,152,154,0 script Soul Menhir#001-4 NPC_SOUL_CLEAN,{ + mesn; + mes l("(A mystical aura surrounds this stone. It probably can return you home. What do you do?)"); + + menu + l("Touch it."), L_Warp, + l("Leave it alone."), -; + close; + +L_Warp: + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); + close; + +} + diff --git a/npc/001-4/mapflags.txt b/npc/001-4/mapflags.txt new file mode 100644 index 000000000..3a169117c --- /dev/null +++ b/npc/001-4/mapflags.txt @@ -0,0 +1 @@ +001-4 mapflag nosave 002-1,53,38 diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt index dea307bd4..06b6ab878 100644 --- a/npc/commands/warp.txt +++ b/npc/commands/warp.txt @@ -73,6 +73,7 @@ OnInit: // GM Stuff "^AEROS|^GM", "001-1 235 26", // Floating Island of Aeros (GM Events) + "^EASTER", "001-4 151 157", // Easter Event Map "^JAIL|^PRISON", "sec_pri 28 25"; // Jesusalva's Prison (and last line) |