diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-11-11 02:31:15 +0100 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2023-11-11 02:31:15 +0100 |
commit | 2918fccc4872637ee76663f9d754a66f1c0cef78 (patch) | |
tree | ea88d93d94bfc7eca4b0204e6a6b9740f0101e3e /world/map/npc/functions | |
parent | 791888e831c6fe0a1722289a1f625cd1e8560285 (diff) | |
download | serverdata-2918fccc4872637ee76663f9d754a66f1c0cef78.tar.gz serverdata-2918fccc4872637ee76663f9d754a66f1c0cef78.tar.bz2 serverdata-2918fccc4872637ee76663f9d754a66f1c0cef78.tar.xz serverdata-2918fccc4872637ee76663f9d754a66f1c0cef78.zip |
fluffy event global event handler
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r-- | world/map/npc/functions/global_event_handler.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt index 2743d9f3..eba97ab2 100644 --- a/world/map/npc/functions/global_event_handler.txt +++ b/world/map/npc/functions/global_event_handler.txt @@ -17,16 +17,21 @@ OnPCLoginEvent: callfunc "MaybeGiveBirthday"; callfunc "MiriamExpire"; // force the speed skill quest to expire callfunc "ConvertChristmas21"; // Christmas 2021 + callfunc "VaultLogin"; // Mirror Lake Protocol biddings + callfunc "VaultLogout"; // Clean some stuff, to be safe // add more here set @login_event, 2; end; OnPCKillEvent: callfunc "elanore_decrease_exp"; // decrease heal exp for doing bad things + callfunc "SweetTooth"; end; OnMobKillEvent: callfunc "MobPoints"; + callfunc "MobKillHandler"; + callfunc "SweetTooth"; end; OnPCDieEvent: @@ -35,6 +40,11 @@ OnPCDieEvent: callfunc "SpawnGhost"; callfunc "MiriamExpire"; // force the speed skill quest to expire set @killerrid, 0; // reset killer rid + set TowelLastUsed, gettimetick(2); // reset towel cooldown timer + end; + +OnPCLogoutEvent: + callfunc "VaultLogout"; end; OnInit: |