minetest.get modpath

Description
Returns root mod directory location. Useful for loading additional  modules or static data from mod. For not installed mods, this function returns. Therefor it can be used to determine whether an optionally depended mod is installed.