From b7bafa68d6d5cdbd3e39e253c6db40a4d5401ccb Mon Sep 17 00:00:00 2001 From: pla Date: Sun, 26 Oct 2025 10:11:52 +0100 Subject: [PATCH] Fix K2 matter recipe generation and tech icon --- Indium2/prototypes/indium-matter.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Indium2/prototypes/indium-matter.lua b/Indium2/prototypes/indium-matter.lua index bad09f1..90f54df 100644 --- a/Indium2/prototypes/indium-matter.lua +++ b/Indium2/prototypes/indium-matter.lua @@ -10,15 +10,16 @@ data:extend( icons = { { - icon = "__Krastorio2Assets__/technologies/matter-coal.png", + icon = "__Krastorio2Assets__/technologies/backgrounds/matter.png", icon_size = 256, }, { icon = "__Indium2__/graphics/icons/indite-ore.png", icon_size = 64, - scale = 1.4, + scale = 1, } }, + effects = {}, prerequisites = {"kr-matter-processing"}, unit = { @@ -38,8 +39,8 @@ matter.make_recipes({ material = { type = "item", name = "indite-ore", amount = 10 }, matter_count = 5, energy_required = 1, - need_stabilizer = false, - unlocked_by_technology = "indium-matter-processing" + needs_stabilizer = false, + unlocked_by = "indium-matter-processing" }) matter.make_recipes({ @@ -47,7 +48,7 @@ matter.make_recipes({ matter_count = 10, energy_required = 3, only_deconversion = true, - need_stabilizer = true, - unlocked_by_technology = "indium-matter-processing" + needs_stabilizer = true, + unlocked_by = "indium-matter-processing" }) end \ No newline at end of file