From 697ec91d5a999310fbbdf5bace6d928b5c27d698 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Sat, 3 Mar 2018 20:58:18 -0300 Subject: Easter event control. --- npc/functions/soul_menhir.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/functions/soul_menhir.txt') diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt index 838b5d868..865d5a6a1 100644 --- a/npc/functions/soul_menhir.txt +++ b/npc/functions/soul_menhir.txt @@ -5,6 +5,7 @@ function script SoulMenhir { menu l("Touch it."), L_Bind, rif($@GM_EVENT, l("Send soul to the Mana Plane for GM events")), L_Aeros, + rif($EVENT$ == "Easter", l("[Easter] Send soul to the Mana Forest!")), L_Easter, l("Leave it alone."), L_Return; //L_Towel: @@ -43,6 +44,12 @@ L_Aeros: message strcharinfo(0), l("You are now at the Mana Plane of Existence, at the Floating Island of Aeros."); close; +L_Easter: + if ($EVENT$ != "Easter") goto L_DontPanic; + warp "001-4", 151, 157; + message strcharinfo(0), l("You are now at the Mana Plane of Existence, at the Magical Forest."); + close; + L_DontPanic: message strcharinfo(0), l("(A strange barrier keeps you from touching the stone at this time.)"); goto L_Return; -- cgit v1.2.3-60-g2f50