diff --git a/angelsbioprocessing/changelog.txt b/angelsbioprocessing/changelog.txt index 325437a1f..20c7249e1 100644 --- a/angelsbioprocessing/changelog.txt +++ b/angelsbioprocessing/changelog.txt @@ -11,6 +11,7 @@ Date: xx.xx.xxxx - Recipe changes for Tree seed generators, Arboretum, and Composter - Tech tree changes - Added custom error message for when trying to insert invalid items into butchery, composter, or hatchery (933) + - Prevent Bob's mods from enabling Agriculture Modules for non bio recipes (937) --------------------------------------------------------------------------------------------------- Version: 0.7.24 Date: 23.02.2023 diff --git a/angelsbioprocessing/info.json b/angelsbioprocessing/info.json index 9f760ea6d..edff17896 100644 --- a/angelsbioprocessing/info.json +++ b/angelsbioprocessing/info.json @@ -11,6 +11,7 @@ "angelsrefining >= 0.12.1", "angelspetrochem >= 0.9.25", "angelssmelting >= 0.6.17", - "? bobenemies >= 1.1.5" + "? bobenemies >= 1.1.5", + "? boblibrary >= 1.2.0" ] } diff --git a/angelsbioprocessing/prototypes/recipes/bio-module.lua b/angelsbioprocessing/prototypes/recipes/bio-module.lua index 12c187715..42c32c139 100644 --- a/angelsbioprocessing/prototypes/recipes/bio-module.lua +++ b/angelsbioprocessing/prototypes/recipes/bio-module.lua @@ -41,3 +41,18 @@ data:extend({ result = "angels-bio-yield-module-3", }, }) + +if mods["boblibrary"] then + for _, module_name in pairs({ + "angels-bio-yield-module", + "angels-bio-yield-module-2", + "angels-bio-yield-module-3", + "angels-bio-yield-module-4", + "angels-bio-yield-module-5", + "angels-bio-yield-module-6", + "angels-bio-yield-module-7", + "angels-bio-yield-module-8" + }) do + bobmods.lib.module.exclude_productivity_module(module_name) + end +end