]> git.lizzy.rs Git - dragonfireclient.git/blob - builtin/client/init.lua
[CSM] Client side modding
[dragonfireclient.git] / builtin / client / init.lua
1 -- Minetest: builtin/client/init.lua
2 local scriptpath = core.get_builtin_path()..DIR_DELIM
3 local clientpath = scriptpath.."client"..DIR_DELIM
4
5 dofile(clientpath .. "register.lua")
6
7 -- This is an example function to ensure it's working properly, should be removed before merge
8 core.register_on_shutdown(function()
9         print("shutdown client")
10 end)
11
12 -- This is an example function to ensure it's working properly, should be removed before merge
13 core.register_on_receiving_chat_messages(function(message)
14         print("Received message " .. message)
15         return false
16 end)
17
18 -- This is an example function to ensure it's working properly, should be removed before merge
19 core.register_on_sending_chat_messages(function(message)
20         print("Sending message " .. message)
21         return false
22 end)