summaryrefslogtreecommitdiff
path: root/npc/functions/daily.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-26 01:50:50 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-26 01:50:50 -0300
commit39e151b4e21bd73fb6d0d3be03994fc187ed583d (patch)
tree26d6f4d33fe616be8814852adecff19300a49211 /npc/functions/daily.txt
parentf505932e7db9d8bd023c7eeb69820ae9d63e7f3f (diff)
downloadserverdata-39e151b4e21bd73fb6d0d3be03994fc187ed583d.tar.gz
serverdata-39e151b4e21bd73fb6d0d3be03994fc187ed583d.tar.bz2
serverdata-39e151b4e21bd73fb6d0d3be03994fc187ed583d.tar.xz
serverdata-39e151b4e21bd73fb6d0d3be03994fc187ed583d.zip
Announce when it is the International Chocolate Day.
Otherwise, the event will be missed.
Diffstat (limited to 'npc/functions/daily.txt')
-rw-r--r--npc/functions/daily.txt7
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);