From acec79be3da05573777f52864de17a99f8a22975 Mon Sep 17 00:00:00 2001 From: Morganite Date: Mon, 23 Feb 2026 22:26:45 -0600 Subject: [PATCH] 248k update fixes --- Indium2/prototypes/indium-recipe.lua | 4 ++-- Indium2/recipe-final-fix.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Indium2/prototypes/indium-recipe.lua b/Indium2/prototypes/indium-recipe.lua index 82c255f..4c2fc7b 100644 --- a/Indium2/prototypes/indium-recipe.lua +++ b/Indium2/prototypes/indium-recipe.lua @@ -177,9 +177,9 @@ if mods["BrassTacks-Updated"] and data.raw.item["airtight-seal"]then util.add_productivity("indium-airtight-seal") end -local blank_advanced_tech_card_ingredients = {(data.raw.item["kr-blank-tech-card"] and {type="item", name="kr-blank-tech-card", amount=2}) or {type="item", name="steel-plate", amount=2},(data.raw.item[mods["Krastorio2"] and "kr-glass" or "glass"] and {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=5}) or {type="item", name="copper-cable", amount=5}, {type="item", name="indium-solder", amount=2}, (data.raw.item["el_energy_crystal_item"] and {type="item", name="el_energy_crystal_item", amount=1}) or {type="item", name="battery", amount=1}} +local blank_advanced_tech_card_ingredients = {(data.raw.item["kr-blank-tech-card"] and {type="item", name="kr-blank-tech-card", amount=2}) or {type="item", name="steel-plate", amount=2},(data.raw.item[mods["Krastorio2"] and "kr-glass" or "glass"] and {type="item", name=mods["Krastorio2"] and "kr-glass" or "glass", amount=5}) or {type="item", name="copper-cable", amount=5}, {type="item", name="indium-solder", amount=2}, (data.raw.item["el_energy_crystal"] and {type="item", name="el_energy_crystal", amount=1}) or {type="item", name="battery", amount=1}} if mods["bismuth"] then - blank_advanced_tech_card_ingredients = {(data.raw.item["kr-blank-tech-card"] and {type="item", name="kr-blank-tech-card", amount=2}) or {type="item", name="steel-plate", amount=2}, {type="item", name="bismuth-glass", amount=4}, {type="item", name="indium-solder", amount=2}, (data.raw.item["el_energy_crystal_item"] and {type="item", name="el_energy_crystal_item", amount=1}) or {type="item", name="battery", amount=1}} + blank_advanced_tech_card_ingredients = {(data.raw.item["kr-blank-tech-card"] and {type="item", name="kr-blank-tech-card", amount=2}) or {type="item", name="steel-plate", amount=2}, {type="item", name="bismuth-glass", amount=4}, {type="item", name="indium-solder", amount=2}, (data.raw.item["el_energy_crystal"] and {type="item", name="el_energy_crystal", amount=1}) or {type="item", name="battery", amount=1}} end data:extend({ diff --git a/Indium2/recipe-final-fix.lua b/Indium2/recipe-final-fix.lua index 7356e16..8ca089c 100644 --- a/Indium2/recipe-final-fix.lua +++ b/Indium2/recipe-final-fix.lua @@ -2,7 +2,7 @@ local util = require("data-util") util.remove_ingredient("chemical-science-pack", "kr-blank-tech-card") util.remove_ingredient("chemical-science-pack", "bismuth-glass") -util.remove_ingredient("chemical-science-pack", "el_energy_crystal_item") +util.remove_ingredient("chemical-science-pack", "el_energy_crystal") util.add_ingredient("chemical-science-pack", "blank-advanced-tech-card", 5) if mods["space-exploration"] then -- 2.39.5