Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a6fdf43dc | ||
|
|
a396106c92 | ||
|
|
e8ca907779 | ||
|
|
92b6c5e2c1 | ||
|
|
b0fce41381 | ||
|
|
5745f3c164 | ||
|
|
1595a77c3d | ||
|
|
582ac5a322 |
6 changed files with 85 additions and 73 deletions
|
|
@ -1,4 +1,15 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.4
|
||||||
|
Date: 01.11.2025
|
||||||
|
Bug Fixes:
|
||||||
|
- Fix crash when K2 and bzgold are active
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.3
|
||||||
|
Date: 21.10.2025
|
||||||
|
Changes:
|
||||||
|
- Switch to bz mods forks
|
||||||
|
- Add incompatibility with Space Age
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Date: 13.10.2025
|
Date: 13.10.2025
|
||||||
Bug Fixes:
|
Bug Fixes:
|
||||||
|
|
|
||||||
|
|
@ -855,8 +855,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
||||||
end
|
end
|
||||||
util.remove_prior_unlocks(tech, old)
|
util.remove_prior_unlocks(tech, old)
|
||||||
for i, recipe in pairs(data.raw.recipe) do
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
if (recipe.enabled and recipe.enabled ~= 'false')
|
if (recipe.enabled and recipe.enabled ~= false)
|
||||||
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes
|
||||||
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||||
then
|
then
|
||||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "IntermediatesForYou2",
|
"name": "IntermediatesForYou2",
|
||||||
"version": "2.0.2",
|
"version": "2.0.4",
|
||||||
"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.",
|
||||||
"author": "Timeken, cackling fiend",
|
"author": "Timeken, cackling fiend",
|
||||||
"homepage": "https://discord.gg/ufvFUJtVwk",
|
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
|
@ -14,15 +15,15 @@
|
||||||
"? BrassTacks-Updated",
|
"? BrassTacks-Updated",
|
||||||
"? bobassembly",
|
"? bobassembly",
|
||||||
"? BrimStuff-Updated",
|
"? BrimStuff-Updated",
|
||||||
"? bzaluminum",
|
"? bzaluminum2",
|
||||||
"? bzcarbon",
|
"? bzcarbon2",
|
||||||
"? bzchlorine",
|
"? bzchlorine2",
|
||||||
"? bzfoundry",
|
"? bzfoundry2",
|
||||||
"? bzgas",
|
"? bzgas2",
|
||||||
"? bzgold",
|
"? bzgold2",
|
||||||
"? bzlead",
|
"? bzlead2",
|
||||||
"? bzsilicon",
|
"? bzsilicon2",
|
||||||
"? bztin",
|
"? bztin2",
|
||||||
"? EndgameCombat",
|
"? EndgameCombat",
|
||||||
"? IfNickel-Updated",
|
"? IfNickel-Updated",
|
||||||
"? Nylon2",
|
"? Nylon2",
|
||||||
|
|
@ -33,7 +34,7 @@
|
||||||
"? Repair_Turret",
|
"? Repair_Turret",
|
||||||
"? space-exploration",
|
"? space-exploration",
|
||||||
"? ShockTurret",
|
"? ShockTurret",
|
||||||
"? ThemTharHills-Updated"
|
"? ThemTharHills-Updated",
|
||||||
],
|
"! space-age"
|
||||||
"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."
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -7,55 +7,60 @@ end
|
||||||
|
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
local electronic_ingredients = {{type="item", name="kr-electronic-components", amount=3}}
|
local electronic_ingredients = {{type="item", name="kr-electronic-components", amount=3}}
|
||||||
if mods["bzgold"] then
|
if mods["bzgold2"] then
|
||||||
electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, (mods["ThemTharHills-Updated"] and {type="item", name="integrated-circuit", amount=5}) or (mods["MDbobelectronics2"] and {type="item", name="intergrated-electronics", amount=2}), {type="item", name="cpu", amount=1}}
|
electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="cpu", amount=1}}
|
||||||
|
if mods["ThemTharHills-Updated"] then
|
||||||
|
table.insert(electronic_ingredients, {type="item", name="integrated-circuit", amount=5})
|
||||||
|
elseif mods["MDbobelectronics2"] then
|
||||||
|
table.insert(electronic_ingredients, {type="item", name="intergrated-electronics", amount=2})
|
||||||
|
end
|
||||||
elseif mods["MDbobelectronics2"] then
|
elseif mods["MDbobelectronics2"] then
|
||||||
electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="intergrated-electronics", amount=2}, {type="item", name="processing-electronics", amount=1}}
|
electronic_ingredients = {{type="item", name="kr-electronic-components", amount=1}, {type="item", name="intergrated-electronics", amount=2}, {type="item", name="processing-electronics", amount=1}}
|
||||||
end
|
end
|
||||||
data:extend({
|
|
||||||
{
|
|
||||||
type = "item",
|
|
||||||
name = "advanced-electronic-components",
|
|
||||||
icon = "__IntermediatesForYou2__/graphics/icons/advanced-electronic-components.png",
|
|
||||||
icon_size = 64,
|
|
||||||
group = "kr-electronic-components",
|
|
||||||
subgroup = "intermediate-product",
|
|
||||||
order = "e03",
|
|
||||||
stack_size = 100,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type = "recipe",
|
|
||||||
name = "advanced-electronic-components",
|
|
||||||
category = "crafting",
|
|
||||||
order = "e03",
|
|
||||||
enabled = false,
|
|
||||||
energy_required = 4,
|
|
||||||
ingredients = electronic_ingredients,
|
|
||||||
results = {{type="item", name="advanced-electronic-components", amount=2}},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
if mods["248k-Redux"] then
|
|
||||||
data:extend({
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "item",
|
||||||
|
name = "advanced-electronic-components",
|
||||||
|
icon = "__IntermediatesForYou2__/graphics/icons/advanced-electronic-components.png",
|
||||||
|
icon_size = 64,
|
||||||
|
group = "kr-electronic-components",
|
||||||
|
subgroup = "intermediate-product",
|
||||||
|
order = "e03",
|
||||||
|
stack_size = 100,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "charged-crystal-imersite-powder",
|
name = "advanced-electronic-components",
|
||||||
icons =
|
category = "crafting",
|
||||||
{
|
order = "e03",
|
||||||
{ icon = "__Krastorio2Assets__/icons/items/imersite-powder.png", icon_size = 64},
|
|
||||||
{ icon = "__248k-Redux-graphics__/ressources/fusion/fu_materials/fu_materials_energy_crystal_charged.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
|
||||||
},
|
|
||||||
category = "kr-crushing",
|
|
||||||
order = "a-a-a-1",
|
|
||||||
enabled = false,
|
enabled = false,
|
||||||
energy_required = 4,
|
energy_required = 4,
|
||||||
ingredients = {{type="item", name="fu_materials_energy_charged_crystal", amount=1}},
|
ingredients = electronic_ingredients,
|
||||||
results = {{type="item", name="kr-imersite-powder", amount=2}},
|
results = {{type="item", name="advanced-electronic-components", amount=2}},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
util.add_unlock("kr-imersium-processing", "charged-crystal-imersite-powder")
|
if mods["248k-Redux"] then
|
||||||
end
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = "charged-crystal-imersite-powder",
|
||||||
|
icons =
|
||||||
|
{
|
||||||
|
{ icon = "__Krastorio2Assets__/icons/items/imersite-powder.png", icon_size = 64},
|
||||||
|
{ icon = "__248k-Redux-graphics__/ressources/fusion/fu_materials/fu_materials_energy_crystal_charged.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
||||||
|
},
|
||||||
|
category = "kr-crushing",
|
||||||
|
order = "a-a-a-1",
|
||||||
|
enabled = false,
|
||||||
|
energy_required = 4,
|
||||||
|
ingredients = {{type="item", name="fu_materials_energy_charged_crystal", amount=1}},
|
||||||
|
results = {{type="item", name="kr-imersite-powder", amount=2}},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
util.add_unlock("kr-imersium-processing", "charged-crystal-imersite-powder")
|
||||||
|
end
|
||||||
|
|
||||||
util.add_unlock("processing-unit", "advanced-electronic-components")
|
util.add_unlock("processing-unit", "advanced-electronic-components")
|
||||||
end
|
end
|
||||||
|
|
||||||
local turret_large_base_ingredients = {(data.raw.item["tantalum-titanium-beam"] and {type="item", name="tantalum-titanium-beam", amount=60}) or {type="item", name="steel-plate", amount=60}, {type="item", name="concrete", amount=60}}
|
local turret_large_base_ingredients = {(data.raw.item["tantalum-titanium-beam"] and {type="item", name="tantalum-titanium-beam", amount=60}) or {type="item", name="steel-plate", amount=60}, {type="item", name="concrete", amount=60}}
|
||||||
|
|
@ -67,7 +72,7 @@ local satellite_body_ingredients = {{type="item", name="low-density-structure",
|
||||||
if mods["bismuth"] then
|
if mods["bismuth"] then
|
||||||
table.insert(satellite_body_ingredients, {type="item", name="bismuth-glass", amount=100})
|
table.insert(satellite_body_ingredients, {type="item", name="bismuth-glass", amount=100})
|
||||||
end
|
end
|
||||||
if mods["bzcarbon"] then
|
if mods["bzcarbon2"] then
|
||||||
table.insert(satellite_body_ingredients, {type="item", name="graphene", amount=100})
|
table.insert(satellite_body_ingredients, {type="item", name="graphene", amount=100})
|
||||||
end
|
end
|
||||||
if data.raw.item["gimbaled-thruster"] then
|
if data.raw.item["gimbaled-thruster"] then
|
||||||
|
|
@ -190,11 +195,12 @@ 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["bzfoundry"] and data.raw.item["bronze-plate"] then
|
if mods["bzfoundry2"] and data.raw.item["bronze-plate"] then
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
name = "bronze-spring",
|
name = "bronze-spring",
|
||||||
|
localised_name = { "item-name.bronze-spring" },
|
||||||
category = "crafting",
|
category = "crafting",
|
||||||
order = "s2[spring]",
|
order = "s2[spring]",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@ if mods["MDbobelectronics2"] then
|
||||||
util.remove_ingredient("advanced-processing-unit", "processing-electronics")
|
util.remove_ingredient("advanced-processing-unit", "processing-electronics")
|
||||||
end
|
end
|
||||||
|
|
||||||
if (mods["Krastorio2"] and mods["bzgas"]) or false then
|
if (mods["Krastorio2"] and mods["bzgas2"]) or false then
|
||||||
if mods["bzgold"] then
|
if mods["bzgold2"] then
|
||||||
util.remove_ingredient("chemical-plant", "silver-plate")
|
util.remove_ingredient("chemical-plant", "silver-plate")
|
||||||
end
|
end
|
||||||
if mods["bzaluminum"] then
|
if mods["bzaluminum2"] then
|
||||||
util.remove_ingredient("kr-filtration-plant", "aluminum-plate")
|
util.remove_ingredient("kr-filtration-plant", "aluminum-plate")
|
||||||
end
|
end
|
||||||
if mods["bztin"] then
|
if mods["bztin2"] then
|
||||||
util.remove_ingredient("kr-filtration-plant", "solder")
|
util.remove_ingredient("kr-filtration-plant", "solder")
|
||||||
end
|
end
|
||||||
util.remove_ingredient("kr-filtration-plant", "pipe")
|
util.remove_ingredient("kr-filtration-plant", "pipe")
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,9 @@ util.add_ingredient("fast-inserter", "shock-absorber", 1)
|
||||||
util.add_ingredient("car", "shock-absorber", 4)
|
util.add_ingredient("car", "shock-absorber", 4)
|
||||||
util.add_ingredient("artillery-turret", "shock-absorber", 10)
|
util.add_ingredient("artillery-turret", "shock-absorber", 10)
|
||||||
|
|
||||||
util.add_ingredient("stack-filter-inserter", "filter-inserter", 1)
|
|
||||||
util.remove_ingredient("stack-filter-inserter", "stack-inserter")
|
|
||||||
|
|
||||||
-- Mod changes
|
-- Mod changes
|
||||||
if mods["bztin"] then
|
if mods["bztin2"] then
|
||||||
util.remove_ingredient("fast-inserter", "bronze-plate")
|
util.remove_ingredient("fast-inserter", "bronze-plate")
|
||||||
util.remove_ingredient("filter-inserter", "bronze-plate")
|
|
||||||
if data.raw.item["motorized-articulator"] then
|
if data.raw.item["motorized-articulator"] then
|
||||||
util.remove_ingredient("motorized-articulator", "bronze-plate")
|
util.remove_ingredient("motorized-articulator", "bronze-plate")
|
||||||
util.add_ingredient("motorized-articulator", "spring", 2)
|
util.add_ingredient("motorized-articulator", "spring", 2)
|
||||||
|
|
@ -38,7 +34,7 @@ if mods["bismuth"] then
|
||||||
util.remove_ingredient("satellite", "bismuth-glass")
|
util.remove_ingredient("satellite", "bismuth-glass")
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["bzcarbon"] then
|
if mods["bzcarbon2"] then
|
||||||
util.remove_ingredient("satellite", "graphene")
|
util.remove_ingredient("satellite", "graphene")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -51,7 +47,7 @@ else
|
||||||
util.remove_ingredient("gun-turret", "iron-gear-wheel")
|
util.remove_ingredient("gun-turret", "iron-gear-wheel")
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["bzlead"] then
|
if mods["bzlead2"] then
|
||||||
util.remove_ingredient("flamethrower-turret", "lead-plate")
|
util.remove_ingredient("flamethrower-turret", "lead-plate")
|
||||||
|
|
||||||
util.remove_ingredient("pipe-to-ground", "lead-plate")
|
util.remove_ingredient("pipe-to-ground", "lead-plate")
|
||||||
|
|
@ -104,7 +100,7 @@ if mods["RampantArsenal"] then
|
||||||
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "steel-plate")
|
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "steel-plate")
|
||||||
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "concrete")
|
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "concrete")
|
||||||
util.add_ingredient("suppression-cannon-item-rampant-arsenal", "turret-large-base", 1)
|
util.add_ingredient("suppression-cannon-item-rampant-arsenal", "turret-large-base", 1)
|
||||||
if mods["bzlead"] then
|
if mods["bzlead2"] then
|
||||||
util.remove_ingredient("rapid-cannon-item-rampant-arsenal", "lead-plate")
|
util.remove_ingredient("rapid-cannon-item-rampant-arsenal", "lead-plate")
|
||||||
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "lead-plate")
|
util.remove_ingredient("suppression-cannon-item-rampant-arsenal", "lead-plate")
|
||||||
end
|
end
|
||||||
|
|
@ -119,12 +115,12 @@ if mods["EndgameCombat"] then
|
||||||
end
|
end
|
||||||
|
|
||||||
--chemical plant
|
--chemical plant
|
||||||
if mods["bzgas"] then
|
if mods["bzgas2"] then
|
||||||
util.remove_ingredient("chemical-plant", "stone-brick")
|
util.remove_ingredient("chemical-plant", "stone-brick")
|
||||||
util.remove_ingredient("chemical-plant", "pipe")
|
util.remove_ingredient("chemical-plant", "pipe")
|
||||||
util.add_ingredient("chemical-plant", "basic-chemical-plant", 1)
|
util.add_ingredient("chemical-plant", "basic-chemical-plant", 1)
|
||||||
|
|
||||||
if (mods["bzlead"] and mods["bztin"]) or false then
|
if (mods["bzlead2"] and mods["bztin2"]) or false then
|
||||||
util.remove_ingredient("basic-chemical-plant", "tin-plate")
|
util.remove_ingredient("basic-chemical-plant", "tin-plate")
|
||||||
util.remove_ingredient("basic-chemical-plant", "lead-plate")
|
util.remove_ingredient("basic-chemical-plant", "lead-plate")
|
||||||
util.add_ingredient("basic-chemical-plant", "solder", 8)
|
util.add_ingredient("basic-chemical-plant", "solder", 8)
|
||||||
|
|
@ -171,8 +167,6 @@ if (mods["MDbobelectronics2"] and mods["Krastorio2"]) or false then
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods["Krastorio2"] then
|
if mods["Krastorio2"] then
|
||||||
util.add_ingredient("stack-filter-inserter", "kr-inserter-parts", 4)
|
|
||||||
|
|
||||||
if mods["ThemTharHills-Updated"] then
|
if mods["ThemTharHills-Updated"] then
|
||||||
util.remove_ingredient("processing-unit", "integrated-circuit")
|
util.remove_ingredient("processing-unit", "integrated-circuit")
|
||||||
util.remove_ingredient("processing-unit", "cpu")
|
util.remove_ingredient("processing-unit", "cpu")
|
||||||
|
|
@ -194,7 +188,7 @@ if mods["Krastorio2"] then
|
||||||
util.add_ingredient("kr-rocket-turret", "turret-large-base", 1)
|
util.add_ingredient("kr-rocket-turret", "turret-large-base", 1)
|
||||||
util.add_ingredient("kr-railgun-turret", "turret-large-base", 1)
|
util.add_ingredient("kr-railgun-turret", "turret-large-base", 1)
|
||||||
util.remove_ingredient("kr-railgun-turret", "steel-beam")
|
util.remove_ingredient("kr-railgun-turret", "steel-beam")
|
||||||
if mods["bzlead"] then
|
if mods["bzlead2"] then
|
||||||
util.remove_ingredient("kr-laser-artillery-turret", "lead-plate")
|
util.remove_ingredient("kr-laser-artillery-turret", "lead-plate")
|
||||||
util.remove_ingredient("kr-rocket-turret", "lead-plate")
|
util.remove_ingredient("kr-rocket-turret", "lead-plate")
|
||||||
util.remove_ingredient("kr-railgun-turret", "lead-plate")
|
util.remove_ingredient("kr-railgun-turret", "lead-plate")
|
||||||
|
|
@ -218,7 +212,7 @@ if mods["space-exploration"] then
|
||||||
util.set_ingredient("speed-module-4", "se-iridium-plate", 90)
|
util.set_ingredient("speed-module-4", "se-iridium-plate", 90)
|
||||||
util.add_ingredient("speed-module-4", "elementium-plate", 30)
|
util.add_ingredient("speed-module-4", "elementium-plate", 30)
|
||||||
|
|
||||||
if mods["bztin"] then
|
if mods["bztin2"] then
|
||||||
util.remove_ingredient("se-space-biochemical-laboratory", "solder")
|
util.remove_ingredient("se-space-biochemical-laboratory", "solder")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue