1 -- Minetest: builtin/client/init.lua
2 local scriptpath = core.get_builtin_path()..DIR_DELIM
3 local clientpath = scriptpath.."client"..DIR_DELIM
4 local commonpath = scriptpath.."common"..DIR_DELIM
6 dofile(clientpath .. "register.lua")
7 dofile(commonpath .. "after.lua")
8 dofile(commonpath .. "chatcommands.lua")
9 dofile(clientpath .. "preview.lua")
11 core.register_on_death(function()
12 core.display_chat_message("You died.")