init.lua 774 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Tubelib Addons 3
  3. ================
  4. Copyright (C) 2017-2020 Joachim Stolberg
  5. AGPL v3
  6. See LICENSE.txt for more information
  7. ]]--
  8. tubelib_addons3 = {}
  9. -- Load support for I18n
  10. tubelib_addons3.S = minetest.get_translator("tubelib_addons3")
  11. dofile(minetest.get_modpath("tubelib_addons3") .. '/chest.lua')
  12. dofile(minetest.get_modpath("tubelib_addons3") .. '/pusher.lua')
  13. dofile(minetest.get_modpath("tubelib_addons3") .. '/distributor.lua')
  14. dofile(minetest.get_modpath("tubelib_addons3") .. '/pushing_chest.lua')
  15. dofile(minetest.get_modpath("tubelib_addons3") .. '/teleporter.lua')
  16. dofile(minetest.get_modpath("tubelib_addons3") .. '/funnel.lua')
  17. if minetest.global_exists("minecart") then
  18. dofile(minetest.get_modpath("tubelib_addons3") .. '/chest_cart.lua')
  19. end