Fix K2 matter recipe generation and tech icon #1

Merged
cacklingfiend merged 2 commits from pla/Chromium2:k2-matter into main 2025-11-01 12:57:41 +01:00
2 changed files with 8 additions and 6 deletions
Showing only changes of commit 5c9fd0f441 - Show all commits

View file

@ -1,5 +1,6 @@
[technology-name]
chromium-processing=Chromium processing
chromium-matter-processing=Chromium conversion
polyethylene-plastic=Polyethylene plastic
stainless-steel-processing=Stainless steel processing
basic-vehicle-frame-production=Basic vehicle frame production

View file

@ -10,15 +10,16 @@ if mods["Krastorio2"] then
icons =
{
{
icon = "__Krastorio2Assets__/technologies/matter-coal.png",
icon = "__Krastorio2Assets__/technologies/backgrounds/matter.png",
icon_size = 256,
},
{
icon = "__Chromium2__/graphics/icons/chromite-ore.png",
icon_size = 64,
scale = 1.4,
scale = 1,
}
},
effects = {},
prerequisites = { "kr-matter-processing" },
unit =
{
@ -38,8 +39,8 @@ if mods["Krastorio2"] then
material = { type = "item", name = "chromite-ore", amount = 10 },
matter_count = 5,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "chromium-matter-processing"
needs_stabilizer = false,
unlocked_by = "chromium-matter-processing"
})
matter.make_recipes({
@ -47,7 +48,7 @@ if mods["Krastorio2"] then
matter_count = 10,
energy_required = 3,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "chromium-matter-processing"
needs_stabilizer = true,
unlocked_by = "chromium-matter-processing"
})
end