Begin implementing compatibility with Pipeworks mod

This commit is contained in:
2024-02-27 21:02:12 +01:00
parent a5ef9eca00
commit d800a22fe0
5 changed files with 63 additions and 2 deletions

View File

@@ -39,8 +39,9 @@ if industrialtest.mtgAvailable then
elseif industrialtest.mclAvailable then
industrialtest.mods.mclRubber=minetest.get_modpath("mcl_rubber")
end
industrialtest.mods.pipeworks=minetest.get_modpath("pipeworks")
if industrialtest.mtgAvailable and not industrialtest then
if industrialtest.mtgAvailable and not industrialtest.mods._3dArmor then
error("IndustrialTest requires 3D Armor when used with Minetest Game")
end