2011-11-29 16:44:07 +01:00
|
|
|
--
|
|
|
|
-- Experimental things
|
|
|
|
--
|
|
|
|
|
2012-01-24 11:01:59 +01:00
|
|
|
experimental = {}
|
|
|
|
|
2020-05-24 15:46:26 +02:00
|
|
|
dofile(minetest.get_modpath("experimental").."/detached.lua")
|
|
|
|
dofile(minetest.get_modpath("experimental").."/items.lua")
|
|
|
|
dofile(minetest.get_modpath("experimental").."/commands.lua")
|
|
|
|
|
2012-06-05 22:09:18 +02:00
|
|
|
function experimental.print_to_everything(msg)
|
|
|
|
minetest.log("action", msg)
|
|
|
|
minetest.chat_send_all(msg)
|
|
|
|
end
|
|
|
|
|
2020-05-24 15:46:26 +02:00
|
|
|
minetest.log("info", "[experimental] modname="..dump(minetest.get_current_modname()))
|
|
|
|
minetest.log("info", "[experimental] modpath="..dump(minetest.get_modpath("experimental")))
|
|
|
|
minetest.log("info", "[experimental] worldpath="..dump(minetest.get_worldpath()))
|
2017-10-15 09:34:14 +02:00
|
|
|
|
|
|
|
|
2020-05-24 15:46:26 +02:00
|
|
|
minetest.register_on_mods_loaded(function()
|
|
|
|
minetest.log("action", "[experimental] on_mods_loaded()")
|
2012-07-22 16:11:41 +02:00
|
|
|
end)
|