From 39c338374c91ac1b5cf0dc70d72015b70a9ccf00 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Feb 2019 19:00:56 -0200 Subject: Fix simple bugs on Valentine Day event --- npc/001-11/Demure.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npc/001-11/Demure.txt b/npc/001-11/Demure.txt index 37aafbf64..4d8373ae3 100644 --- a/npc/001-11/Demure.txt +++ b/npc/001-11/Demure.txt @@ -78,7 +78,7 @@ delitem LoveLetter, 1; // Register your name on love letter - .@s$ = htget($@VALENTINE_LOVELETTER, .@ref); + .@s$ = htget($@VALENTINE_LOVELETTER, .@ref, ""); if (.@s$ == "") htput $@VALENTINE_LOVELETTER, str(.@ref), strip(strcharinfo(0)); else @@ -115,6 +115,7 @@ inventoryplace BoxOfChocolates, .@m; getitem BoxOfChocolates, .@m; + #VALENTINE_RECEIVED+=.@m; htput $@VALENTINE_GIFTSTACKS, str(getcharid(3)), 0; htput $@VALENTINE_LOVELETTER, str(getcharid(3)), ""; -- cgit v1.2.3-60-g2f50