Fix K2 matter recipe generation and tech icon #1

Merged
cacklingfiend merged 2 commits from pla/Cobalt2:k2-matter into main 2025-11-01 12:50:24 +01:00
2 changed files with 8 additions and 6 deletions
Showing only changes of commit fa663a1d6e - Show all commits

View file

@ -3,6 +3,7 @@ cobalt-refining=Cobalt refining
cobalt-carbide=Cobalt carbide cobalt-carbide=Cobalt carbide
cobalt-electromagnet=Cobalt electromagnet cobalt-electromagnet=Cobalt electromagnet
cobalt-substrates=Cobalt substrates cobalt-substrates=Cobalt substrates
cobalt-matter-processing=Cobalt conversion
[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 = "__Cobalt2__/graphics/icons/cobaltite-ore.png", icon = "__Cobalt2__/graphics/icons/cobaltite-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,8 +39,8 @@ matter.make_recipes({
material = { type = "item", name = "cobaltite-ore", amount = 10 }, material = { type = "item", name = "cobaltite-ore", amount = 10 },
matter_count = 5, matter_count = 5,
energy_required = 1, energy_required = 1,
need_stabilizer = false, needs_stabilizer = false,
unlocked_by_technology = "cobalt-matter-processing" unlocked_by = "cobalt-matter-processing"
}) })
matter.make_recipes({ matter.make_recipes({
@ -47,7 +48,7 @@ matter.make_recipes({
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 = "cobalt-matter-processing" unlocked_by = "cobalt-matter-processing"
}) })
end end