2020-05-04 01:15:16 +02:00
|
|
|
-- support for several inventory mods
|
|
|
|
if minetest.get_modpath("unified_inventory") then
|
|
|
|
dofile(minetest.get_modpath("quests") .. "/mod_integrations/unified_inventory.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("inventory_plus") then
|
|
|
|
dofile(minetest.get_modpath("quests") .. "/mod_integrations/inventory_plus.lua")
|
|
|
|
end
|
|
|
|
|
2020-05-05 05:30:26 +02:00
|
|
|
if minetest.global_exists("sfinv") then
|
|
|
|
dofile(minetest.get_modpath("quests") .. "/mod_integrations/sfinv.lua")
|
|
|
|
end
|
2020-05-04 01:15:16 +02:00
|
|
|
|
2020-05-05 05:30:26 +02:00
|
|
|
-- mod that displays notifications in the screen's center
|
2020-05-04 01:15:16 +02:00
|
|
|
if minetest.get_modpath("central_message") then
|
|
|
|
dofile(minetest.get_modpath("quests") .. "/mod_integrations/central_message.lua")
|
|
|
|
|
|
|
|
else -- define blank function so we can still use this in the code later
|
|
|
|
function quests.show_message(...) end
|
|
|
|
end
|