diff options
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/event.txt | 9 |
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; |