summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-09 00:33:52 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-09 00:33:52 -0200
commitaf131ba5962d70fcaee5e09ad88ae4c3feaedad8 (patch)
tree910cc65f4d9e390e6e15c1c6e6e9e4087523132d /npc/commands/event.txt
parent3bae9e26d4b672d37f51ae21446104c3ed2fdadd (diff)
downloadserverdata-af131ba5962d70fcaee5e09ad88ae4c3feaedad8.tar.gz
serverdata-af131ba5962d70fcaee5e09ad88ae4c3feaedad8.tar.bz2
serverdata-af131ba5962d70fcaee5e09ad88ae4c3feaedad8.tar.xz
serverdata-af131ba5962d70fcaee5e09ad88ae4c3feaedad8.zip
There's probably 20000 more bugs about missing symbols 'cause I type fast >.<
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index da27370a1..a4583159a 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -76,15 +76,16 @@ function script GlobalEventMenu {
// Delete all Valentine Day stuff
if ($EVENT$ != "Valentine") {
- DelItemFromEveryPlayer(LoveLetter);
- DelItemFromEveryPlayer(BoxOfChocolates);
- disablenpc "Demure#ValentineFinal";
- } else if ($EVENT$ == "Valentine") {
// ItemDB prefers account variables than quest log
DelAccRegFromEveryPlayer("#VALENTINE_POINTS");
DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED");
DelAccRegFromEveryPlayer("#VALENTINE_OPENED");
DelAccRegFromEveryPlayer("#VALENTINE_SENT");
+ // Remove event items
+ DelItemFromEveryPlayer(LoveLetter);
+ DelItemFromEveryPlayer(BoxOfChocolates);
+ disablenpc "Demure#ValentineFinal";
+ } else if ($EVENT$ == "Valentine") {
htdelete $@VALENTINE_GIFTSTACKS;
htdelete $@VALENTINE_LOVELETTER;
$@VALENTINE_GIFTSTACKS=0;