2018-10-05 21:55:40 +02:00
|
|
|
tubelib2 = {}
|
|
|
|
|
2022-03-11 22:26:02 +01:00
|
|
|
-- Load support for I18n.
|
|
|
|
tubelib2.S = minetest.get_translator("tubelib2")
|
2018-12-20 16:28:23 +01:00
|
|
|
|
2022-03-11 22:26:02 +01:00
|
|
|
local MP = minetest.get_modpath("tubelib2")
|
2018-12-20 16:28:23 +01:00
|
|
|
dofile(MP .. "/internal2.lua")
|
|
|
|
dofile(MP .. "/internal1.lua")
|
|
|
|
dofile(MP .. "/tube_api.lua")
|
2019-02-09 11:04:42 +01:00
|
|
|
dofile(MP .. "/storage.lua")
|
2018-10-28 18:45:07 +01:00
|
|
|
-- Only for testing/demo purposes
|
2022-01-03 11:51:20 +01:00
|
|
|
if minetest.settings:get_bool("tubelib2_testingblocks_enabled") == true then
|
|
|
|
dofile(MP .. "/tube_test.lua")
|
|
|
|
end
|