init.lua 403 B

123456789101112131415
  1. tubelib2 = {}
  2. -- Load support for I18n.
  3. tubelib2.S = minetest.get_translator("tubelib2")
  4. local MP = minetest.get_modpath("tubelib2")
  5. dofile(MP .. "/internal2.lua")
  6. dofile(MP .. "/internal1.lua")
  7. dofile(MP .. "/tube_api.lua")
  8. dofile(MP .. "/storage.lua")
  9. -- Only for testing/demo purposes
  10. if minetest.settings:get_bool("tubelib2_testingblocks_enabled") == true then
  11. dofile(MP .. "/tube_test.lua")
  12. end