diff --git a/angelsindustries/changelog.txt b/angelsindustries/changelog.txt index bcd3d806d..b62651f6b 100644 --- a/angelsindustries/changelog.txt +++ b/angelsindustries/changelog.txt @@ -3,6 +3,8 @@ Version: 0.4.20 Date: ??? Changes: - Compatibility changes for YAFC when Components or Technology Overhauls are enabled (962) + - Science mode: + - Added AAI Loaders compatibility #963 Bugfixes: - Fixed soft lock when using Components Overhaul (955) - Fixed compatibility issue with AAI Industry and Bob's Assembling Machines (960) diff --git a/angelsindustries/prototypes/overrides/global-tech-popular-addons.lua b/angelsindustries/prototypes/overrides/global-tech-popular-addons.lua index 4171d6728..b62d8247e 100644 --- a/angelsindustries/prototypes/overrides/global-tech-popular-addons.lua +++ b/angelsindustries/prototypes/overrides/global-tech-popular-addons.lua @@ -10,6 +10,29 @@ if angelsmods.industries.tech then AI.pack_replace("warehouse-logistics-research-1", "green", "orange") end + ------------------------------------------------------------------------------- + -- AAI LOADERS ---------------------------------------------------------------- + ------------------------------------------------------------------------------- + if mods["aai-loaders"] then + AI.core_replace("aai-basic-loader", "basic", "logistic") + AI.core_replace("aai-loader", "basic", "logistic") + AI.core_replace("aai-fast-loader", "basic", "logistic") + AI.core_replace("aai-express-loader", "basic", "logistic") + AI.core_replace("aai-turbo-loader", "basic", "logistic") + AI.core_replace("aai-ultimate-loader", "basic", "logistic") + + OV.remove_prereq("aai-express-loader", "advanced-electronics-2") + OV.remove_prereq("aai-express-loader", "production-science-pack") + OV.remove_science_pack("aai-express-loader", "production-science-pack") + OV.remove_science_pack("aai-express-loader", "advanced-logistic-science-pack") + OV.remove_science_pack("aai-turbo-loader", "production-science-pack") + OV.remove_science_pack("aai-turbo-loader", "advanced-logistic-science-pack") + OV.remove_science_pack("aai-ultimate-loader", "production-science-pack") + OV.remove_science_pack("aai-ultimate-loader", "advanced-logistic-science-pack") + + AI.pack_replace("aai-fast-loader", "blue", "orange") + end + ------------------------------------------------------------------------------- -- AAI INDUSTRIES ------------------------------------------------------------- -------------------------------------------------------------------------------