summaryrefslogtreecommitdiff
path: root/npc/functions/soul_menhir.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-24 05:36:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-24 05:36:47 -0300
commit2a64f8c25598a7f2e374eefb5a9bf93680b72708 (patch)
treefee25ee2486c11d0135aa698d9e73cf17b4927b9 /npc/functions/soul_menhir.txt
parent3079464676d63e74c5c5caab59dd50fbfe00edaa (diff)
downloadserverdata-2a64f8c25598a7f2e374eefb5a9bf93680b72708.tar.gz
serverdata-2a64f8c25598a7f2e374eefb5a9bf93680b72708.tar.bz2
serverdata-2a64f8c25598a7f2e374eefb5a9bf93680b72708.tar.xz
serverdata-2a64f8c25598a7f2e374eefb5a9bf93680b72708.zip
Dream Tower Event. Will begin this monday. Obviously poorly tested.
And balance-wise broken as ****** but whatever - it is done. And it is 05:37, any issues can be addressed after waking up.
Diffstat (limited to 'npc/functions/soul_menhir.txt')
-rw-r--r--npc/functions/soul_menhir.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt
index c192b5f66..2b2b1a897 100644
--- a/npc/functions/soul_menhir.txt
+++ b/npc/functions/soul_menhir.txt
@@ -21,6 +21,7 @@ function script SoulMenhir {
rif($EVENT$ == "Easter", l("[Easter] Send soul to the Mana Forest!")), L_Easter,
rif($EVENT$ == "Worker", l("[Worker Day] Send soul to the Contributor Cave!")), L_Worker,
rif($EVENT$ == "Christmas" && BaseLevel >= 20, l("[Christmas] Send soul to the Christmas Workshop!")), L_Xmas, // TODO: In future there'll be an event map
+ rif($EVENT$ == "Tower" && countitem(EventDreamTicket), l("Dream Tower")), L_Tower,
l("Leave it alone."), -;
return;
@@ -91,6 +92,13 @@ L_Xmas:
message strcharinfo(0), l("You are now at the Christmas Workshop.");
close;
+// FIXME: Dream Tower Warp
+L_Tower:
+ if ($EVENT$ != "Tower") goto L_DontPanic;
+ if (!countitem(EventDreamTicket)) goto L_DontPanic;
+ doevent "sDreamTower::OnWarpTo";
+ close;
+
L_DontPanic:
message strcharinfo(0), l("(A strange barrier keeps you from touching the stone at this time.)");
return;