summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-26 21:40:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-26 21:40:57 -0300
commit5730649cb1df93a3cae88313e96f443979430210 (patch)
treeea367ed7fe45f60ab5f897b549e363a07cb40f8d /npc/functions/global_event_handler.txt
parent9050c51d647e9e32db39080c25f9d0e0a56b3216 (diff)
downloadserverdata-5730649cb1df93a3cae88313e96f443979430210.tar.gz
serverdata-5730649cb1df93a3cae88313e96f443979430210.tar.bz2
serverdata-5730649cb1df93a3cae88313e96f443979430210.tar.xz
serverdata-5730649cb1df93a3cae88313e96f443979430210.zip
Add Mirror Lake Vault Functionality. Along other required changes.
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index 3d8156c4..bc8f6742 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -6,12 +6,17 @@ OnPCLoginEvent:
@login_event = 1;
adddefaultskills();
//callfunc "fixHeadStyles"; // convert headstyles
- callfunc "ClearVariables"; // removes / converts old variables
+ ClearVariables(); // removes / converts old variables
DisplayMOTD(); // send the motd to the client, if enabled
// add more here
+ vaultOnLogin();
@login_event = 2;
end;
+OnPCLogoutEvent:
+ vaultOnLogout();
+ end;
+
OnPCKillEvent:
elanore_decrease_exp(); // decrease heal exp for doing bad things
end;