From 3247dd7d8de40a76b6973a41102ee7047f6aa07e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Feb 2020 00:09:20 -0300 Subject: [Skip CI] Valentine Day event - eat multiple + Demure bugfixes --- db/re/item_db.conf | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'db/re') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 506f72804..8e54658b9 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2600,17 +2600,7 @@ item_db: ( noauction: true } Script: <" - if ($EVENT$ != "Valentine" || #VALENTINE_OPENED >= #VALENTINE_RECEIVED) { - dispbottom l("Past due date."); - } else { - // I know technically this is wrong grammar, but I want fixed width - #VALENTINE_OPENED=#VALENTINE_OPENED+1; - #VALENTINE_POINTS=#VALENTINE_POINTS+1; - if (rand(0,1)) - dispbottom l("It's tasty ^.^"); - else - dispbottom l("It's yummy ^.^"); - } + callfunc("EatValentineChocolate"); "> }, { -- cgit v1.2.3-70-g09d2