mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-28 08:37:28 +01:00
Merge branch 'tptube-api' into 'master'
Expose teleport tube database API See merge request VanessaE/pipeworks!24
This commit is contained in:
commit
dedb0dd54e
@ -261,3 +261,11 @@ if minetest.get_modpath("mesecons_mvps") ~= nil then
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user