From 2d0fddc4907a165d795c48e4c6801d28251bd3e2 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Mon, 26 Feb 2018 23:34:16 -0300 Subject: Soul Menhirs can send players to Aeros. The portal can be used to go back or enable event. --- npc/001-1/portal.txt | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'npc/001-1') diff --git a/npc/001-1/portal.txt b/npc/001-1/portal.txt index a8c459963..5c98e3f1a 100644 --- a/npc/001-1/portal.txt +++ b/npc/001-1/portal.txt @@ -1,15 +1,27 @@ -001-1,301,43,0 script Soul Menhir NPC_SOUL_CLEAN,0,0,{ +001-1,235,25,0 script Soul Menhir NPC_HIDDEN,1,0,{ + +OnTouch: mesn; - mes l("This Soul Menhir can send your soul and body back to the ground."); + mes l("This Soul Menhir can send your soul back to the world, along any items, money and/or experience gained."); mes l("Would you like to leave this place?"); menu - "Yes.", L_Leave, - "No.", L_Close; + l("No."), L_Close, + rif(getgmlevel() && !$@GM_EVENT, l("Enable Event")), L_Enable, + rif(getgmlevel() && $@GM_EVENT, l("Disable Event")), L_Disable, + l("Yes."), L_Leave; L_Leave: warp getsavepoint(0), getsavepoint(1), getsavepoint(2); goto L_Close; +L_Enable: + $@GM_EVENT=1; + close; + +L_Disable: + $@GM_EVENT=0; + close; + L_Close: close; } -- cgit v1.2.3-60-g2f50