Skip to content

Commit

Permalink
AAI Loaders Compatibility #963
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Jan 4, 2024
1 parent d7c08ad commit 403f9d9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions angelsindustries/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 -------------------------------------------------------------
-------------------------------------------------------------------------------
Expand Down

0 comments on commit 403f9d9

Please sign in to comment.