2017-01-21 15:02:08 +01:00
|
|
|
-- Minetest: builtin/client/init.lua
|
|
|
|
local scriptpath = core.get_builtin_path()..DIR_DELIM
|
|
|
|
local clientpath = scriptpath.."client"..DIR_DELIM
|
|
|
|
|
|
|
|
dofile(clientpath .. "register.lua")
|
2017-01-22 00:20:55 +01:00
|
|
|
dofile(clientpath .. "preview.lua")
|
2017-01-21 15:02:08 +01:00
|
|
|
|
2017-01-22 00:20:55 +01:00
|
|
|
core.register_on_death(function()
|
|
|
|
core.display_chat_message("You died.")
|
2017-01-21 15:02:08 +01:00
|
|
|
end)
|
|
|
|
|