Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
3f27c20c65 2.0.6 2025-12-25 22:27:18 +01:00
Simon Brodtmann
78e7372a9a Properly unlock bronze when foundry is disabled 2025-12-25 22:27:12 +01:00
3 changed files with 14 additions and 4 deletions

View file

@ -1,4 +1,11 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.6
Date: 10.12.2025
Bug Fixes:
- Fix recipe name for elementium-heat-shielding (thanks Hraukr)
- Fix recipe name and icon for bronze-spring (thanks Hraukr)
- Fix recipe unlock for bronze spring when foundry is disabled
---------------------------------------------------------------------------------------------------
Version: 2.0.5 Version: 2.0.5
Date: 10.12.2025 Date: 10.12.2025
Bug Fixes: Bug Fixes:

View file

@ -1,6 +1,6 @@
{ {
"name": "IntermediatesForYou2", "name": "IntermediatesForYou2",
"version": "2.0.5", "version": "2.0.6",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "IntermediatesForYou", "title": "IntermediatesForYou",
"description": "This mod adds some intermediates and is intented to be played with my other mods.\n\nThis mod is inspired by Brevven's BZ mods.", "description": "This mod adds some intermediates and is intented to be played with my other mods.\n\nThis mod is inspired by Brevven's BZ mods.",

View file

@ -198,7 +198,7 @@ util.add_unlock("logistics", "spring")
util.add_unlock("rocket-silo","satellite-body") util.add_unlock("rocket-silo","satellite-body")
util.add_unlock("fast-inserter", "shock-absorber") util.add_unlock("fast-inserter", "shock-absorber")
if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then if data.raw.item["bronze-plate"] then
local bronze_plate_icon = data.raw.item["bronze-plate"].icon local bronze_plate_icon = data.raw.item["bronze-plate"].icon
or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon
local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size
@ -223,8 +223,11 @@ if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then
results = {{type="item", name="spring", amount=2}}, results = {{type="item", name="spring", amount=2}},
} }
}) })
if mods["bzfoundry2"] and not settings.startup["bzfoundry-minimal"].value then
util.add_unlock("foundry", "bronze-spring") util.add_unlock("foundry", "bronze-spring")
end else
util.add_unlock("automation", "bronze-spring")
end
if mods["ThemTharHills-Updated"] then if mods["ThemTharHills-Updated"] then
local low_quality_advanced_circuit_ingredients = {{type="item", name="copper-cable", amount=3}, {type="item", name="electronic-circuit", amount=3}} local low_quality_advanced_circuit_ingredients = {{type="item", name="copper-cable", amount=3}, {type="item", name="electronic-circuit", amount=3}}