2020-05-31 23:31:18 +03:00
|
|
|
tubelib2 = {}
|
|
|
|
|
2022-07-11 21:24:44 +03:00
|
|
|
-- Load support for I18n.
|
|
|
|
tubelib2.S = minetest.get_translator("tubelib2")
|
2020-05-31 23:31:18 +03:00
|
|
|
|
2022-07-11 21:24:44 +03:00
|
|
|
local MP = minetest.get_modpath("tubelib2")
|
2020-05-31 23:31:18 +03:00
|
|
|
dofile(MP .. "/internal2.lua")
|
|
|
|
dofile(MP .. "/internal1.lua")
|
|
|
|
dofile(MP .. "/tube_api.lua")
|
|
|
|
dofile(MP .. "/storage.lua")
|
|
|
|
-- Only for testing/demo purposes
|
2022-01-03 13:59:31 +03:00
|
|
|
if minetest.settings:get_bool("tubelib2_testingblocks_enabled") == true then
|
|
|
|
dofile(MP .. "/tube_test.lua")
|
|
|
|
end
|