summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-04-08 16:47:30 -0400
committergumi <git@gumi.ca>2019-04-08 16:47:34 -0400
commit6b9477145428ef2aa9bd1b146ab43e9f365fa70d (patch)
treebd96fb8b37ddac3438c3ca8df2eb0af2c1f0c582 /world/map/npc/functions
parent604d1c7945c0ecab7a1651f24a9f970210834a22 (diff)
downloadserverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.gz
serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.bz2
serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.tar.xz
serverdata-6b9477145428ef2aa9bd1b146ab43e9f365fa70d.zip
add the anniversary hatstmp
Co-authored-by: Jesusaves <cpntb1@ymail.com> Co-authored-by: Micksha <Micksha@users.noreply.github.com>
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r--world/map/npc/functions/global_event_handler.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index 9e0b495d..987845bb 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -14,6 +14,7 @@ OnPCLoginEvent:
callfunc "DisplayMOTD"; // send the motd to the client, if enabled
callfunc "getBroadcast"; // get the scheduled broadcast, if any
addtimer 0, "Magic Timer::OnLogin"; // prevent cast rate abuse
+ callfunc "MaybeGiveBirthday";
// add more here
set @login_event, 2;
end;
@@ -37,4 +38,8 @@ OnInit:
callfunc "ClearGlobalVars";
callfunc "MOTD"; // set the MOTD array
end;
+
+OnDay0411:
+ callfunc "MaybeAnnounceBirthday";
+ end;
}