1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-25 18:30:23 +01:00

Expose teleport tube database API

This commit is contained in:
SX 2020-08-09 23:09:31 +03:00
parent 34cb0e7682
commit 477a024034

View File

@ -261,3 +261,11 @@ if minetest.get_modpath("mesecons_mvps") ~= nil then
end end
end) end)
end end
-- Expose teleport tube database API for other mods
pipeworks.tptube = {
hash = hash,
save_tube_db = save_tube_db,
get_db = function() return tp_tube_db or read_tube_db() end,
tp_tube_db_version = tp_tube_db_version
}