From bab74727b72a5c458446a69f4d8542c2adfcf05d Mon Sep 17 00:00:00 2001 From: pla Date: Sun, 26 Oct 2025 10:11:52 +0100 Subject: [PATCH 1/3] 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 -- 2.39.5 From 40a2b7b546bb0e2e5c47975b0462f8fd48413a64 Mon Sep 17 00:00:00 2001 From: pla Date: Sun, 26 Oct 2025 11:06:49 +0100 Subject: [PATCH 2/3] locale for Indium matter tech --- Indium2/locale/en/Indium.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/Indium2/locale/en/Indium.cfg b/Indium2/locale/en/Indium.cfg index d35c2ba..6093623 100644 --- a/Indium2/locale/en/Indium.cfg +++ b/Indium2/locale/en/Indium.cfg @@ -1,5 +1,6 @@ [technology-name] indium-processing=Indium processing +indium-matter-processing=Indium conversion indium-pcb-solder=Indium pcb solder [technology-description] -- 2.39.5 From 89dfe716ea3f4e8f081b5aeff91fe06283657d8e Mon Sep 17 00:00:00 2001 From: pla Date: Mon, 27 Oct 2025 16:56:33 +0100 Subject: [PATCH 3/3] Fix K2 matter deconversion only for plate --- Indium2/prototypes/indium-matter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Indium2/prototypes/indium-matter.lua b/Indium2/prototypes/indium-matter.lua index 90f54df..5873bd6 100644 --- a/Indium2/prototypes/indium-matter.lua +++ b/Indium2/prototypes/indium-matter.lua @@ -43,11 +43,11 @@ matter.make_recipes({ unlocked_by = "indium-matter-processing" }) -matter.make_recipes({ +matter.make_deconversion_recipe({ material = { type = "item", name = "indium-plate", amount = 10 }, matter_count = 10, energy_required = 3, - only_deconversion = true, + -- only_deconversion = true, needs_stabilizer = true, unlocked_by = "indium-matter-processing" }) -- 2.39.5