Fix the bug with hyperloop dependency
This commit is contained in:
parent
65852f2035
commit
6ee7306e90
@ -240,3 +240,9 @@ minetest.register_craft({
|
|||||||
output = "techage:ta5_hl_chest",
|
output = "techage:ta5_hl_chest",
|
||||||
recipe = {"techage:chest_ta4", "techage:ta5_aichip"}
|
recipe = {"techage:chest_ta4", "techage:ta5_aichip"}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_on_mods_loaded(function()
|
||||||
|
if not minetest.global_exists("hyperloop") then
|
||||||
|
minetest.clear_craft({output = "techage:ta5_hl_chest"})
|
||||||
|
end
|
||||||
|
end)
|
4
init.lua
4
init.lua
@ -199,9 +199,7 @@ dofile(MP.."/basic_machines/itemsource.lua")
|
|||||||
dofile(MP.."/basic_machines/recycler.lua")
|
dofile(MP.."/basic_machines/recycler.lua")
|
||||||
dofile(MP.."/basic_machines/concentrator.lua")
|
dofile(MP.."/basic_machines/concentrator.lua")
|
||||||
dofile(MP.."/basic_machines/recipeblock.lua")
|
dofile(MP.."/basic_machines/recipeblock.lua")
|
||||||
if minetest.global_exists("hyperloop") then
|
dofile(MP.."/basic_machines/ta5_chest.lua")
|
||||||
dofile(MP.."/basic_machines/ta5_chest.lua")
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Liquids II
|
-- Liquids II
|
||||||
dofile(MP.."/liquids/tank.lua")
|
dofile(MP.."/liquids/tank.lua")
|
||||||
|
@ -103,3 +103,9 @@ minetest.register_craft({
|
|||||||
{"", "", ""},
|
{"", "", ""},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_on_mods_loaded(function()
|
||||||
|
if not minetest.global_exists("hyperloop") then
|
||||||
|
minetest.clear_craft({output = "techage:ta5_hl_tank"})
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user