diff --git a/lignumis/prototypes/integrations/vanilla.lua b/lignumis/prototypes/integrations/vanilla.lua index 3cfd62f..21de8f1 100644 --- a/lignumis/prototypes/integrations/vanilla.lua +++ b/lignumis/prototypes/integrations/vanilla.lua @@ -161,11 +161,13 @@ if not mods["planet-picker"] then time = 1 } - local electronics_technology = data.raw.technology["electronics"] - electronics_technology.prerequisites = { "copper-processing" } + if not mods["aai-industry"] then + local electronics_technology = data.raw.technology["electronics"] + electronics_technology.prerequisites = { "copper-processing" } - local steam_power_technology = data.raw.technology["steam-power"] - steam_power_technology.prerequisites = { "iron-processing" } + local steam_power_technology = data.raw.technology["steam-power"] + steam_power_technology.prerequisites = { "iron-processing" } + end local automation_technology = data.raw.technology["automation"] automation_technology.ignore_tech_cost_multiplier = false