summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-09 00:02:22 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-09 00:02:22 -0200
commit1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7 (patch)
treee2be272e8ffdf813deaa024c015933c2458e765e /npc/commands/event.txt
parente270acd927459a0ee9ea480d51272bdb1edf8393 (diff)
downloadserverdata-1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7.tar.gz
serverdata-1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7.tar.bz2
serverdata-1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7.tar.xz
serverdata-1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7.zip
Receive chocolate boxes - OK
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index bf678a5a0..12ea6f301 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -79,6 +79,7 @@ function script GlobalEventMenu {
DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED");
DelAccRegFromEveryPlayer("#VALENTINE_OPENED");
DelAccRegFromEveryPlayer("#VALENTINE_SENT");
+ htdelete $@VALENTINE_GIFTSTACKS;
htdelete $@VALENTINE_LOVELETTER;
$@VALENTINE_LOVELETTER=0;
}
@@ -123,7 +124,7 @@ function script GlobalEventMenu {
case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND;
break;
case 2:
- set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND;
+ set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); $@VALENTINE_GIFTSTACKS = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND;
break;
case 3: sEaster(); break;
case 4: