Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a6fdf43dc | ||
|
|
a396106c92 | ||
|
|
e8ca907779 | ||
|
|
92b6c5e2c1 | ||
|
|
b0fce41381 |
4 changed files with 51 additions and 40 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 2.0.4
|
||||||
|
Date: 01.11.2025
|
||||||
|
Bug Fixes:
|
||||||
|
- Fix crash when K2 and bzgold are active
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Date: 21.10.2025
|
Date: 21.10.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -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,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "IntermediatesForYou2",
|
"name": "IntermediatesForYou2",
|
||||||
"version": "2.0.3",
|
"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.",
|
"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.",
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,12 @@ 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["bzgold2"] 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
|
||||||
|
|
@ -195,6 +200,7 @@ 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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue