1 -- This is an example function to ensure it's working properly, should be removed before merge
2 core.register_on_shutdown(function()
3 print("[PREVIEW] shutdown client")
6 -- This is an example function to ensure it's working properly, should be removed before merge
7 core.register_on_receiving_chat_messages(function(message)
8 print("[PREVIEW] Received message " .. message)
12 -- This is an example function to ensure it's working properly, should be removed before merge
13 core.register_on_sending_chat_messages(function(message)
14 print("[PREVIEW] Sending message " .. message)
18 -- This is an example function to ensure it's working properly, should be removed before merge
19 core.register_on_hp_modification(function(hp)
20 print("[PREVIEW] HP modified " .. hp)
23 -- This is an example function to ensure it's working properly, should be removed before merge
24 core.register_on_damage_taken(function(hp)
25 print("[PREVIEW] Damage taken " .. hp)
28 -- This is an example function to ensure it's working properly, should be removed before merge
29 core.register_globalstep(function(dtime)
30 -- print("[PREVIEW] globalstep " .. dtime)
33 -- This is an example function to ensure it's working properly, should be removed before merge
34 core.register_chatcommand("dump", {
35 func = function(param)
40 core.after(2, function()