diff --git a/carbon-fiber-recipe-updates.lua b/carbon-fiber-recipe-updates.lua index a150d6d..d7bf6e6 100644 --- a/carbon-fiber-recipe-updates.lua +++ b/carbon-fiber-recipe-updates.lua @@ -2,6 +2,7 @@ local util = require("data-util"); if util.me.use_fiber() then util.replace_ingredient("low-density-structure", "plastic-bar", "carbon-fiber") + util.replace_ingredient("se-low-density-structure-beryllium", "plastic-bar", "carbon-fiber") util.replace_ingredient("combat-shotgun", "wood", "carbon-fiber") util.add_ingredient("exoskeleton-equipment", "carbon-fiber", 10) diff --git a/changelog.txt b/changelog.txt index 4a86cdd..9f0a53e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,9 +1,10 @@ --------------------------------------------------------------------------------------------------- Version: 0.5.1 -Date: 2022-12-04 +Date: 2022-12-05 Fixes: - Add missing locale string for new setting - LDS recipe only shows once in nanotube tech now, instead of twice. + - When carbon fiber is enabled, it should now fully replace plastic in all LDS recipes. --------------------------------------------------------------------------------------------------- Version: 0.5.0 Date: 2022-12-04 diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 67faf44..2e6695d 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -38,6 +38,12 @@ if data.raw.recipe["low-density-structure"] and }) end +if util.me.use_fiber() then + util.remove_ingredient("low-density-structure", "plastic-bar") + util.remove_ingredient("low-density-structure-nanotubes", "plastic-bar") + util.remove_ingredient("se-low-density-structure-beryllium", "plastic-bar") +end + -- Only electric smelters can make Diamonds function diamondsInElectricSmelter(entity)