2017-01-21 09:02:08 -05:00
|
|
|
-- Minetest: builtin/client/init.lua
|
|
|
|
local scriptpath = core.get_builtin_path()..DIR_DELIM
|
|
|
|
local clientpath = scriptpath.."client"..DIR_DELIM
|
2017-01-22 03:05:09 -05:00
|
|
|
local commonpath = scriptpath.."common"..DIR_DELIM
|
2017-01-21 09:02:08 -05:00
|
|
|
|
|
|
|
dofile(clientpath .. "register.lua")
|
2017-01-22 05:17:41 -05:00
|
|
|
dofile(commonpath .. "after.lua")
|
|
|
|
dofile(commonpath .. "chatcommands.lua")
|
2017-01-21 18:20:55 -05:00
|
|
|
dofile(clientpath .. "preview.lua")
|
2017-01-21 09:02:08 -05:00
|
|
|
|
2017-01-21 18:20:55 -05:00
|
|
|
core.register_on_death(function()
|
|
|
|
core.display_chat_message("You died.")
|
2017-01-21 09:02:08 -05:00
|
|
|
end)
|