From 85e148f67639453bfaf49a1e65c203fe63f6c465 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Sat, 3 Mar 2018 20:50:18 -0300 Subject: Easter warp out (via @w easter) --- npc/001-4/_import.txt | 2 ++ npc/001-4/event_soulmenhir.txt | 21 +++++++++++++++++++++ npc/001-4/mapflags.txt | 1 + npc/commands/warp.txt | 1 + 4 files changed, 25 insertions(+) create mode 100644 npc/001-4/event_soulmenhir.txt create mode 100644 npc/001-4/mapflags.txt (limited to 'npc') 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) -- cgit v1.2.3-70-g09d2