plastic/fiber

This commit is contained in:
Brevven 2022-12-07 22:50:11 -08:00
parent 4ac6d1191d
commit 2fe3190059
3 changed files with 9 additions and 1 deletions

View file

@ -2,6 +2,7 @@ local util = require("data-util");
if util.me.use_fiber() then if util.me.use_fiber() then
util.replace_ingredient("low-density-structure", "plastic-bar", "carbon-fiber") 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.replace_ingredient("combat-shotgun", "wood", "carbon-fiber")
util.add_ingredient("exoskeleton-equipment", "carbon-fiber", 10) util.add_ingredient("exoskeleton-equipment", "carbon-fiber", 10)

View file

@ -1,9 +1,10 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.5.1 Version: 0.5.1
Date: 2022-12-04 Date: 2022-12-05
Fixes: Fixes:
- Add missing locale string for new setting - Add missing locale string for new setting
- LDS recipe only shows once in nanotube tech now, instead of twice. - 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 Version: 0.5.0
Date: 2022-12-04 Date: 2022-12-04

View file

@ -38,6 +38,12 @@ if data.raw.recipe["low-density-structure"] and
}) })
end 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 -- Only electric smelters can make Diamonds
function diamondsInElectricSmelter(entity) function diamondsInElectricSmelter(entity)