summaryrefslogtreecommitdiff
path: root/npc/functions/daily.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-14 17:20:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-14 17:20:39 -0300
commit12ec630bf5b0329ce907265c833400088967532e (patch)
tree8cbed263a4b6ea95298d216aba5281159b08e0ea /npc/functions/daily.txt
parent8c6d333378a0502adf97ba938259af074856b3c9 (diff)
downloadserverdata-12ec630bf5b0329ce907265c833400088967532e.tar.gz
serverdata-12ec630bf5b0329ce907265c833400088967532e.tar.bz2
serverdata-12ec630bf5b0329ce907265c833400088967532e.tar.xz
serverdata-12ec630bf5b0329ce907265c833400088967532e.zip
If I miss the event day - At least have something on automatic schedules.
Diffstat (limited to 'npc/functions/daily.txt')
-rw-r--r--npc/functions/daily.txt8
1 files changed, 8 insertions, 0 deletions
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;