plastic/fiber
This commit is contained in:
parent
4ac6d1191d
commit
2fe3190059
3 changed files with 9 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue