diff options
-rw-r--r-- | npc/functions/daily.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/daily.txt b/npc/functions/daily.txt index 9262fcda3..cc0cae5ed 100644 --- a/npc/functions/daily.txt +++ b/npc/functions/daily.txt @@ -163,6 +163,13 @@ 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) == JULY) { + if (#TMW2_LOGINBONUS != gettime(GETTIME_YEAR) && gettime(5) == 7) { + #TMW2_LOGINBONUS=gettime(GETTIME_YEAR); + getitem ChocolateBar, 1; + dispbottom "##B##2"+l("It's International Chocolate Day!")+"##b "+l("All monsters may drop chocolate during this period. And here is one for you!")+"##0"; + } + } if (gettime(6) == OCTOBER) { if (#TMW2_LOGINBONUS != gettime(GETTIME_YEAR) && gettime(5) == 1) { #TMW2_LOGINBONUS=gettime(GETTIME_YEAR); |