From 12ec630bf5b0329ce907265c833400088967532e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Jul 2019 17:20:39 -0300 Subject: If I miss the event day - At least have something on automatic schedules. --- npc/functions/daily.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 6ca64ef0e..8f4b71551 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -141,6 +141,14 @@ function script daily_login_bonus_handler { dispbottom "##B##2"+l("It's Jesusalva's anniversary!")+" "+l("Also, Summer just started. Why not taking this opportunity to go Treasure Hunting?!")+"##b##0"; } } + if (gettime(6) == OCTOBER) { + if (#TMW2_LOGINBONUS != gettime(GETTIME_YEAR) && gettime(5) == 1) { + #TMW2_LOGINBONUS=gettime(GETTIME_YEAR); + getitem Coffee, 1; + getexp BaseLevel, JobLevel; + dispbottom "##B##2"+l("It's the International Coffee Day!")+" "+l("Have a warm cup of Coffee on the house, and enjoy!")+"##b##0"; + } + } if (gettime(6) == DECEMBER) { if (!#XMAS_LOGINBONUS && gettime(5) >= 24 && gettime(5) <= 26) { #XMAS_LOGINBONUS=1; -- cgit v1.2.3-60-g2f50