summaryrefslogtreecommitdiff
path: root/npc/functions/daily.txt
diff options
context:
space:
mode:
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 697f133a9..6ca64ef0e 100644
--- a/npc/functions/daily.txt
+++ b/npc/functions/daily.txt
@@ -43,6 +43,7 @@ function script daily_login_bonus_handler {
} else {
#LOGIN_STREAK=1;
#LOGIN_TABLE=gettime(6);
+ #TMW2_LOGINBONUS=0;
}
// Update last day you've claimed a reward
@@ -133,6 +134,13 @@ function script daily_login_bonus_handler {
dispbottom "##B##2"+l("It's TMW2 Server anniversary!")+" "+l("We thank every player, because without them, this would be nothing!")+"##b##0";
}
}
+ if (gettime(6) == JUNE) {
+ if (#TMW2_LOGINBONUS != gettime(GETTIME_YEAR) && gettime(5) == 21) {
+ #TMW2_LOGINBONUS=gettime(GETTIME_YEAR);
+ getitem TreasureMap, 1;
+ 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) == DECEMBER) {
if (!#XMAS_LOGINBONUS && gettime(5) >= 24 && gettime(5) <= 26) {
#XMAS_LOGINBONUS=1;