It's true, if playing with space exploration installed this problem is solved because aai industry and space exploration make on start some compatibility procedure that help Krastorio too but, only with aai industry the problem appears.
The problem with sand and glass already solved, to be more precise aai industry and space exploration is developed by Earendel and he make it compatible by default using an his standard system
I solve this modifing on line 2533 in data.lua (in Krastorio):
if mods["space-exploration"] then
else
table.insert(data.raw["recipe"]["solar-panel"].ingredients, 1, {name = "glass", amount = 10})
table.insert(data.raw["recipe"]["small-lamp"].ingredients, 1, {name = "glass", amount = 1})
end
into:
if not mods["space-exploration"] then
if not mods["aai-industry"] then
table.insert(data.raw["recipe"]["solar-panel"].ingredients, 1, {name = "glass", amount = 10})
end
table.insert(data.raw["recipe"]["small-lamp"].ingredients, 1, {name = "glass", amount = 1})
end
Testing using:
Krastorio_1.0.15 (modified)
aai-industry_0.3.17
Krastorio_1.0.15 (modified)
space-exploration_0.1.63 (and dependency)
Krastorio_1.0.15 (modified)
aai-industry_0.3.17
space-exploration_0.1.63 (and dependency)
PS:
I see an interesting library in Earendel mods called data-util.lua, the function util.replace_or_add_ingredient solve this problem with similar mod that add the same ingredient to the same recipes, doing proper checks, to avoid these problems in future with other mods, I suggest to ask him if u could use it, Krastor