From 6b9477145428ef2aa9bd1b146ab43e9f365fa70d Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 8 Apr 2019 16:47:30 -0400 Subject: add the anniversary hats Co-authored-by: Jesusaves Co-authored-by: Micksha --- world/map/npc/functions/global_event_handler.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'world/map/npc/functions/global_event_handler.txt') 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; } -- cgit v1.2.3-60-g2f50