init.lua 421 B

12345678910111213141516
  1. factory={
  2. crafts={},
  3. empty={item=ItemStack(nil),time=0}
  4. }
  5. factory.worldpath = minetest.get_worldpath()
  6. factory.modpath = minetest.get_modpath("factory")
  7. dofile(factory.modpath.."/settings.txt")
  8. dofile(factory.modpath.."/util/init.lua")
  9. dofile(factory.modpath.."/machines/init.lua")
  10. dofile(factory.modpath.."/items/init.lua")
  11. dofile(factory.modpath.."/decor/init.lua")
  12. print("Factory v0.5.1 is working")