init.lua 662 B

123456789101112131415
  1. minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- start loading from "..minetest.get_modpath(minetest.get_current_modname()))
  2. farming_xpfw={}
  3. farming_xpfw.path = minetest.get_modpath("farming")
  4. farming_xpfw.config = minetest.get_mod_storage()
  5. farming_xpfw.modname=minetest.get_current_modname()
  6. basic_functions.import_settingtype(farming_xpfw.path .. "/settingtypes.txt")
  7. dofile(minetest.get_modpath("farming_xpfw") .. "/config.lua")
  8. dofile(minetest.get_modpath("farming_xpfw") .. "/api.lua")
  9. dofile(minetest.get_modpath("farming_xpfw") .. "/register.lua")
  10. minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded ")