summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-08 16:54:58 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-08 16:54:58 -0200
commit2ba52c84ea317a16e4f9a941e4fc27c2d304b0c1 (patch)
treec87ce4729f22e5489b35a240afca8ca34b3af565 /npc
parent988e3a84cf38d23252808c985ce96fa5f2127e6c (diff)
downloadserverdata-2ba52c84ea317a16e4f9a941e4fc27c2d304b0c1.tar.gz
serverdata-2ba52c84ea317a16e4f9a941e4fc27c2d304b0c1.tar.bz2
serverdata-2ba52c84ea317a16e4f9a941e4fc27c2d304b0c1.tar.xz
serverdata-2ba52c84ea317a16e4f9a941e4fc27c2d304b0c1.zip
@event Valentine day ack
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/event.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 894455ca8..ec4f90067 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -98,6 +98,7 @@ function script GlobalEventMenu {
mes l("Current event: @@", $EVENT$);
menu
l("Disable event"), -,
+ l("Enable Valentine Day"), -,
l("Enable Easter"), -,
l("Enable Worker's Day"), -,
l("Enable Christmas"), -,
@@ -107,8 +108,11 @@ function script GlobalEventMenu {
switch (@menu) {
case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND;
break;
- case 2: sEaster(); break;
- case 3:
+ case 2:
+ set $EVENT$, "Valentine"; logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND;
+ break;
+ case 3: sEaster(); break;
+ case 4:
set $EVENT$, "Worker Day";
logmes "Enabled WORKERS DAY event.", LOGMES_ATCOMMAND;
/*
@@ -116,16 +120,16 @@ function script GlobalEventMenu {
debugmes "Snakes are now dropping Pearls.";
*/
break;
- case 4:
+ case 5:
logmes "Enabled CHRISTMAS event.", LOGMES_ATCOMMAND;
query_sql("DELETE FROM `quest` WHERE `quest_id` = '"+SQuest_Christmas+"'");
sChristmas(); break;
- case 5:
+ case 6:
$EVENT$=any("Demure Birthday", "Blame Saulc");
dispbottom("Maybe in future this increases everyone attack speed? Well, for now,");
dispbottom("This is not actually an event, it just lower prices at Lua GM shop.");
break;
- case 6: DelItemFromEveryPlayer(MurdererCrown); break;
+ case 7: DelItemFromEveryPlayer(MurdererCrown); break;
}
return;