init.lua 935 B

12345678910111213141516171819202122232425262728293031
  1. asrs = {}
  2. asrs.clicker = {}
  3. dofile(core.get_modpath('asrs')..'/formspecs.lua')
  4. dofile(core.get_modpath('asrs')..'/functions.lua')
  5. dofile(core.get_modpath('asrs')..'/nodes.lua')
  6. dofile(core.get_modpath('asrs')..'/remote.lua')
  7. if core.get_modpath('default') and core.get_modpath('dye') then
  8. dofile(core.get_modpath('asrs')..'/craft_recipies_mtg.lua')
  9. end
  10. if core.get_modpath('mcl_core') and core.get_modpath('mcl_dye') and core.get_modpath('mcl_chests') and core.get_modpath('mesecons') and core.get_modpath('mesecons_torch') then
  11. dofile(core.get_modpath('asrs')..'/craft_recipies_mcl.lua')
  12. end
  13. if core.get_modpath('tubelib') then
  14. dofile(core.get_modpath('asrs')..'/tubelib.lua')
  15. end
  16. if core.get_modpath('techage') then
  17. dofile(core.get_modpath('asrs')..'/techage.lua')
  18. end
  19. if core.get_modpath('pipeworks') then
  20. dofile(core.get_modpath('asrs')..'/pipeworks.lua')
  21. end
  22. asrs.load()
  23. core.register_on_shutdown(asrs.save)