Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
e9e9ee2364 Properly unlock bronze when foundry is disabled 2025-12-25 22:26:27 +01:00
Simon Brodtmann
ecd9e394d5 2.0.6 2025-12-25 22:20:54 +01:00
3 changed files with 13 additions and 4 deletions

View file

@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
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)
---------------------------------------------------------------------------------------------------
Version: 2.0.5
Date: 10.12.2025
Bug Fixes:

View file

@ -1,6 +1,6 @@
{
"name": "IntermediatesForYou2",
"version": "2.0.5",
"version": "2.0.6",
"factorio_version": "2.0",
"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.",

View file

@ -198,7 +198,7 @@ util.add_unlock("logistics", "spring")
util.add_unlock("rocket-silo","satellite-body")
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
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
@ -223,8 +223,11 @@ if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then
results = {{type="item", name="spring", amount=2}},
}
})
if mods["bzfoundry2"] and not settings.startup["bzfoundry-minimal"].value then
util.add_unlock("foundry", "bronze-spring")
end
else
util.add_unlock("automation", "bronze-spring")
end
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}}