summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-04-30 17:02:42 -0300
committerJesusaves <cpntb1@ymail.com>2018-04-30 17:02:42 -0300
commita8c41d32d8a557ca100e6ad03ef3dff7cd25502d (patch)
treec921140078a36625b5dddd9aa42c619ab9b6240e
parente32fda927b3d1530f987a4771065902b50e29389 (diff)
downloadserverdata-a8c41d32d8a557ca100e6ad03ef3dff7cd25502d.tar.gz
serverdata-a8c41d32d8a557ca100e6ad03ef3dff7cd25502d.tar.bz2
serverdata-a8c41d32d8a557ca100e6ad03ef3dff7cd25502d.tar.xz
serverdata-a8c41d32d8a557ca100e6ad03ef3dff7cd25502d.zip
Trigger for Worker Day, untested, unreviewed
-rw-r--r--npc/commands/event.txt4
-rw-r--r--npc/functions/soul_menhir.txt7
2 files changed, 10 insertions, 1 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 144d51f0d..181faac2f 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -33,12 +33,14 @@ function script GlobalEventMenu {
mes l("Current event: @@", $EVENT$);
menu
l("Disable event"), -,
- l("Enable Easter"), -;
+ l("Enable Easter"), -,
+ l("Enable Worker's Day"), -;
switch (@menu)
{
case 1: set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break;
case 2: set $EVENT$, "Easter"; logmes "Enabled EASTER event.", LOGMES_ATCOMMAND; break;
+ case 3: set $EVENT$, "Worker Day"; logmes "Enabled WORKERS DAY event.", LOGMES_ATCOMMAND; break;
}
return;
diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt
index 865d5a6a1..831451e89 100644
--- a/npc/functions/soul_menhir.txt
+++ b/npc/functions/soul_menhir.txt
@@ -6,6 +6,7 @@ function script SoulMenhir {
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,
+ rif($EVENT$ == "Worker Day", l("[Worker Day] Send soul to the Contributor Cave!")), L_Worker,
l("Leave it alone."), L_Return;
//L_Towel:
@@ -50,6 +51,12 @@ L_Easter:
message strcharinfo(0), l("You are now at the Mana Plane of Existence, at the Magical Forest.");
close;
+L_Worker:
+ if ($EVENT$ != "Worker Day") goto L_DontPanic;
+ warp "001-5", 22, 79;
+ message strcharinfo(0), l("You are now at the Mana Plane of Existence, at the Contributor's Cave.");
+ close;
+
L_DontPanic:
message strcharinfo(0), l("(A strange barrier keeps you from touching the stone at this time.)");
goto L_Return;