init.lua 624 B

12345678910111213141516
  1. local scriptpath = core.get_builtin_path()
  2. local clientpath = scriptpath.."client"..DIR_DELIM
  3. local commonpath = scriptpath.."common"..DIR_DELIM
  4. local builtin_shared = {}
  5. assert(loadfile(commonpath .. "register.lua"))(builtin_shared)
  6. assert(loadfile(clientpath .. "register.lua"))(builtin_shared)
  7. dofile(commonpath .. "after.lua")
  8. dofile(commonpath .. "mod_storage.lua")
  9. dofile(commonpath .. "chatcommands.lua")
  10. dofile(commonpath .. "information_formspecs.lua")
  11. dofile(clientpath .. "chatcommands.lua")
  12. dofile(clientpath .. "misc.lua")
  13. assert(loadfile(commonpath .. "item_s.lua"))({}) -- Just for push/read node functions