minetest-mm/mods/tubelib2/init.lua

15 lines
403 B
Lua
Raw Normal View History

2020-11-15 20:25:38 +01:00
tubelib2 = {}
2024-12-19 12:55:40 +01:00
-- Load support for I18n.
tubelib2.S = minetest.get_translator("tubelib2")
2020-11-15 20:25:38 +01:00
2024-12-19 12:55:40 +01:00
local MP = minetest.get_modpath("tubelib2")
2020-11-15 20:25:38 +01: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-04 16:19:55 +01:00
if minetest.settings:get_bool("tubelib2_testingblocks_enabled") == true then
dofile(MP .. "/tube_test.lua")
end