summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-09 00:30:19 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-09 00:30:19 -0200
commit3bae9e26d4b672d37f51ae21446104c3ed2fdadd (patch)
treeb150368b02d10e2352cff1daf33e61621b61dbb4 /npc/commands/event.txt
parent5dac604d77833adad6bd127218153397ddce299e (diff)
downloadserverdata-3bae9e26d4b672d37f51ae21446104c3ed2fdadd.tar.gz
serverdata-3bae9e26d4b672d37f51ae21446104c3ed2fdadd.tar.bz2
serverdata-3bae9e26d4b672d37f51ae21446104c3ed2fdadd.tar.xz
serverdata-3bae9e26d4b672d37f51ae21446104c3ed2fdadd.zip
Valentine Day Rewards is now complete and automated (I don't want the hard work)
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index 9631f7d73..da27370a1 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -77,7 +77,8 @@ function script GlobalEventMenu {
// Delete all Valentine Day stuff
if ($EVENT$ != "Valentine") {
DelItemFromEveryPlayer(LoveLetter);
- debugmes "TODO: Delete valentine chocolate box";
+ DelItemFromEveryPlayer(BoxOfChocolates);
+ disablenpc "Demure#ValentineFinal";
} else if ($EVENT$ == "Valentine") {
// ItemDB prefers account variables than quest log
DelAccRegFromEveryPlayer("#VALENTINE_POINTS");
@@ -86,7 +87,9 @@ function script GlobalEventMenu {
DelAccRegFromEveryPlayer("#VALENTINE_SENT");
htdelete $@VALENTINE_GIFTSTACKS;
htdelete $@VALENTINE_LOVELETTER;
+ $@VALENTINE_GIFTSTACKS=0;
$@VALENTINE_LOVELETTER=0;
+ enablenpc "Demure#ValentineFinal";
}
// We must remove any event drop