summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/portal.txt20
1 files changed, 16 insertions, 4 deletions
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;
}