Compare commits

...

6 commits
2.0.5 ... main

Author SHA1 Message Date
Simon Brodtmann
8f09f25c61 Move readme 2025-12-25 22:30:45 +01:00
Simon Brodtmann
1991302758 2.0.6 2025-12-25 22:28:10 +01:00
Simon Brodtmann
20d54e5c04 Properly unlock bronze when foundry is disabled 2025-12-25 22:28:10 +01:00
msmods
3dbe264abb Fix recipe name and icon for bronze-spring 2025-12-25 22:19:43 +01:00
msmods
7c3cc4172e Fix recipe name for elementium-heat-shielding 2025-12-25 22:18:57 +01:00
d2d1853c95 Updated README.md for the mod 2025-12-25 22:18:57 +01:00
6 changed files with 125 additions and 73 deletions

View file

@ -1,16 +0,0 @@
# MetalsForYou
## Version History
See changelog.txt
## Created by
## Thanks to
### Compatibility
### Localization

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

@ -54,6 +54,7 @@ aluminium-hydroxide-smelting=Aluminium hydroxide smelting
sodium-hydroxide-reaction=Sodium hydroxide reaction sodium-hydroxide-reaction=Sodium hydroxide reaction
silica-extraction=Silica extraction silica-extraction=Silica extraction
sodium-aluminate=Sodium aluminate sodium-aluminate=Sodium aluminate
bronze-spring=Spring (Bronze)
slag=slag slag=slag
iron-extraction=Iron extraction iron-extraction=Iron extraction
@ -61,6 +62,7 @@ trace-rare-ore-extraction=Trace rare ore extraction
elementite=Elementite elementite=Elementite
elementite-dust=Elementite dust elementite-dust=Elementite dust
elementium-plate=Elementium plate elementium-plate=Elementium plate
elementium-heat-shielding=Heat Shielding (Elementium)
[recipe-description] [recipe-description]
low-quality-advanced-circuit=When resources are scarce you use what you got. low-quality-advanced-circuit=When resources are scarce you use what you got.

View file

@ -87,6 +87,9 @@ if data.raw.item["rubber"] then
table.insert(shock_absorber_ingredients, {type="item", name="rubber", amount=1}) table.insert(shock_absorber_ingredients, {type="item", name="rubber", amount=1})
end end
local spring_icon = "__IntermediatesForYou2__/graphics/icons/spring.png"
local spring_icon_size = 64
data:extend({ data:extend({
{ {
type = "item", type = "item",
@ -111,8 +114,8 @@ data:extend({
{ {
type = "item", type = "item",
name = "spring", name = "spring",
icon = "__IntermediatesForYou2__/graphics/icons/spring.png", icon = spring_icon,
icon_size = 64, icon_size = spring_icon_size,
group = "intermediate-product", group = "intermediate-product",
subgroup = "intermediate-product", subgroup = "intermediate-product",
order = "a[spring]", order = "a[spring]",
@ -195,61 +198,76 @@ 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
data:extend({ 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
type = "recipe", local bronze_plate_icon_size = data.raw.item["bronze-plate"].icon_size
name = "bronze-spring", or data.raw.item["bronze-plate"].icons and data.raw.item["bronze-plate"].icons[1].icon_size
localised_name = { "item-name.bronze-spring" }, data:extend({
category = "crafting", {
order = "s2[spring]", type = "recipe",
enabled = false, name = "bronze-spring",
energy_required = 2, category = "crafting",
ingredients = {{type="item", name="bronze-plate", amount=1}}, order = "s2[spring]",
results = {{type="item", name="spring", amount=2}}, icons = (data.raw.item["bronze-plate"] and
} {
}) { icon = spring_icon, icon_size = spring_icon_size },
util.add_unlock("foundry", "bronze-spring") { icon = bronze_plate_icon, icon_size = bronze_plate_icon_size, scale = 0.125, shift = { -8, -8 } }
} or {
{ icon = spring_icon, icon_size = spring_icon_size }
}
),
enabled = false,
energy_required = 2,
ingredients = {{type="item", name="bronze-plate", amount=1}},
results = {{type="item", name="spring", amount=2}},
}
})
if mods["bzfoundry2"] and not settings.startup["bzfoundry-minimal"].value then
util.add_unlock("foundry", "bronze-spring")
else
util.add_unlock("automation", "bronze-spring")
end
end 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}}
if data.raw.item["solder"] then if data.raw.item["solder"] then
table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="solder", amount=4}) table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="solder", amount=4})
end end
if data.raw.item["kr-electronic-components"] then if data.raw.item["kr-electronic-components"] then
table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="kr-electronic-components", amount=2}) table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="kr-electronic-components", amount=2})
end end
if data.raw.item["circuit-board"] then if data.raw.item["circuit-board"] then
table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="circuit-board", amount=1}) table.insert(low_quality_advanced_circuit_ingredients, {type="item", name="circuit-board", amount=1})
end end
local low_quality_advanced_circuit_results = {{ type = "item", name = "advanced-circuit", amount=1, probability=0.75}} local low_quality_advanced_circuit_results = {{ type = "item", name = "advanced-circuit", amount=1, probability=0.75}}
if mods["space-exploration"] then if mods["space-exploration"] then
table.insert(low_quality_advanced_circuit_results, { type = "item", name = "se-scrap", amount=1, probability=0.25}) table.insert(low_quality_advanced_circuit_results, { type = "item", name = "se-scrap", amount=1, probability=0.25})
end end
data:extend({ data:extend({
{ {
type = "recipe", type = "recipe",
name = "low-quality-advanced-circuit", name = "low-quality-advanced-circuit",
category = "crafting", category = "crafting",
icons = (mods["Krastorio2"] and icons = (mods["Krastorio2"] and
{ {
{ icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64},
{ icon = "__base__/graphics/icons/copper-cable.png", icon_size = 64, scale=0.25, shift= {-8, -8}}, { icon = "__base__/graphics/icons/copper-cable.png", icon_size = 64, scale=0.25, shift= {-8, -8}},
} or { } or {
{ icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64}, { icon = "__base__/graphics/icons/advanced-circuit.png", icon_size = 64},
} }
), ),
main_product = "advanced-circuit", main_product = "advanced-circuit",
order = "f", order = "f",
enabled = false, enabled = false,
energy_required = 6, energy_required = 6,
ingredients = low_quality_advanced_circuit_ingredients, ingredients = low_quality_advanced_circuit_ingredients,
results = low_quality_advanced_circuit_results, results = low_quality_advanced_circuit_results,
} }
}) })
util.add_unlock("advanced-circuit", "low-quality-advanced-circuit") util.add_unlock("advanced-circuit", "low-quality-advanced-circuit")
end end
if mods["aai-industry"] or mods["Krastorio2"] then if mods["aai-industry"] or mods["Krastorio2"] then

View file

@ -1,5 +1,46 @@
# IntermediatesForYou ## IntermediatesForYou2
[IntermediatesForYou](https://mods.factorio.com/mod/IntermediatesForYou) by [Timeken](https://mods.factorio.com/user/Timeken) updated for Factorio 2.0
Updated for Factorio 2.0. Things in this mod may change.
Original mod: https://mods.factorio.com/mod/IntermediatesForYou This mod is intended to be played with Timeken's other mods, BZ (and the BZ likes), K2, SE, 248k.
If you play with Brass Tacks and If I Had A Nickel it is recommended to enable their Hard mode settings as that is what this mod is balanced for right now.
#### New Intermediates
- Turret base
- Large turret base
- Advanced electronic components
- Satellite body
- Spring
- Shock absorber
- Elementite [SE]
- Slag [K2/AAI]
- Imersite Powder [K2 & 248k]
#### Changes & Compatibility (Likely an incomplete list)
- Added Inserter Parts to stack filter inserter
- [K2] Greenhouse upgrades into Bio Lab
- [SE] Recycling recipe for long handed inserter
- [SE & 248k] Changed SE canister to use 248k fiber glass instead of glass and plastic
- [BZ] BZ Burner Chemical Plant upgrades into Chemical Plant
- Low quality advanced circuit recipe (for when you are low on gold)
- Filter Inserter upgrades into Stack Filter Inserter
#### Planned Features (Maybe?)
- More late game SE and K2 support
- Customization settings
- Custom textures
#### Created by:
Timeken (https://mods.factorio.com/user/Timeken)
Original Mod: https://mods.factorio.com/mod/IntermediatesForYou
#### Updated By
cackling.fiend (https://mods.factorio.com/user/cackling.fiend)
Hraukr (https://mods.factorio.com/user/Hraukr)
#### Based On
The BZ Mods series from brevven (https://mods.factorio.com/user/brevven)