Compare commits

...

3 commits

Author SHA1 Message Date
pla
a8dba77096
Fix K2 matter deconversion only for plate 2025-10-27 16:56:33 +01:00
pla
5ca48e20cd
locale for Indium matter tech 2025-10-26 11:06:49 +01:00
pla
b7bafa68d6
Fix K2 matter recipe generation and tech icon 2025-10-26 10:11:52 +01:00
2 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,6 @@
[technology-name] [technology-name]
indium-processing=Indium processing indium-processing=Indium processing
indium-matter-processing=Indium conversion
indium-pcb-solder=Indium pcb solder indium-pcb-solder=Indium pcb solder
[technology-description] [technology-description]

View file

@ -10,15 +10,16 @@ data:extend(
icons = icons =
{ {
{ {
icon = "__Krastorio2Assets__/technologies/matter-coal.png", icon = "__Krastorio2Assets__/technologies/backgrounds/matter.png",
icon_size = 256, icon_size = 256,
}, },
{ {
icon = "__Indium2__/graphics/icons/indite-ore.png", icon = "__Indium2__/graphics/icons/indite-ore.png",
icon_size = 64, icon_size = 64,
scale = 1.4, scale = 1,
} }
}, },
effects = {},
prerequisites = {"kr-matter-processing"}, prerequisites = {"kr-matter-processing"},
unit = unit =
{ {
@ -38,16 +39,16 @@ matter.make_recipes({
material = { type = "item", name = "indite-ore", amount = 10 }, material = { type = "item", name = "indite-ore", amount = 10 },
matter_count = 5, matter_count = 5,
energy_required = 1, energy_required = 1,
need_stabilizer = false, needs_stabilizer = false,
unlocked_by_technology = "indium-matter-processing" unlocked_by = "indium-matter-processing"
}) })
matter.make_recipes({ matter.make_deconversion_recipe({
material = { type = "item", name = "indium-plate", amount = 10 }, material = { type = "item", name = "indium-plate", amount = 10 },
matter_count = 10, matter_count = 10,
energy_required = 3, energy_required = 3,
only_deconversion = true, -- only_deconversion = true,
need_stabilizer = true, needs_stabilizer = true,
unlocked_by_technology = "indium-matter-processing" unlocked_by = "indium-matter-processing"
}) })
end end