summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 898db8331..4d98dd002 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -28,6 +28,22 @@ function script GlobalEventMenu {
return;
}
+ function seasonManagement {
+ clear;
+ mes l("Current event: @@", $EVENT$);
+ menu
+ l("Disable event"), -,
+ l("Enable Easter"), -;
+
+ switch (@menu)
+ {
+ case 1: set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break;
+ case 2: set $EVENT$, "Easter"; logmes "Enabled EASTER event.", LOGMES_ATCOMMAND; break;
+ }
+
+ return;
+ }
+
do
{
clear;
@@ -39,6 +55,7 @@ function script GlobalEventMenu {
select
l("Experience Rate management"),
l("Drop Rate management"),
+ l("Change Season Event"),
rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu")));
//.@c = getarg(0,0) ? 2 : 1; // 1 = back to event menu, 2 = back to super menu
@@ -47,6 +64,7 @@ function script GlobalEventMenu {
{
case 1: rateManagement; break;
case 2: dropManagement; break;
+ case 3: seasonManagement; break;
default: return;
}