add mtt support

This commit is contained in:
Luke aka SwissalpS
2024-09-16 01:00:34 +02:00
parent 607c6f8d1f
commit b6f312b9db
5 changed files with 137 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
-- Translation support
local S = minetest.get_translator("playerfactions")
-- For integration testing
local do_mtt = minetest.get_modpath("mtt") and mtt.enabled
-- Data
factions = {}
-- This variable "version" can be used by other mods to check the compatibility of this mod
@@ -541,4 +544,8 @@ do
end
end
if do_mtt then
dofile(minetest.get_modpath(minetest.get_current_modname()) .. "/mtt.lua")
end
print("[playerfactions] loaded")