init.lua 508 B

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