Compare commits
No commits in common. "main" and "main" have entirely different histories.
5 changed files with 11 additions and 18 deletions
|
|
@ -1,9 +1,4 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 2.0.4
|
|
||||||
Date: 01.11.2025
|
|
||||||
Bug Fixes:
|
|
||||||
- Fix K2 matter integration (thanks pla)
|
|
||||||
---------------------------------------------------------------------------------------------------
|
|
||||||
Version: 2.0.3
|
Version: 2.0.3
|
||||||
Date: 21.10.2025
|
Date: 21.10.2025
|
||||||
Changes:
|
Changes:
|
||||||
|
|
|
||||||
|
|
@ -855,8 +855,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
||||||
end
|
end
|
||||||
util.remove_prior_unlocks(tech, old)
|
util.remove_prior_unlocks(tech, old)
|
||||||
for i, recipe in pairs(data.raw.recipe) do
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
if (recipe.enabled and recipe.enabled ~= false)
|
if (recipe.enabled and recipe.enabled ~= 'false')
|
||||||
and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes
|
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
||||||
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||||
then
|
then
|
||||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Cobalt2",
|
"name": "Cobalt2",
|
||||||
"version": "2.0.4",
|
"version": "2.0.3",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"title": "Cobalt",
|
"title": "Cobalt",
|
||||||
"description": "Cobalt is a mod adding the element Cobalt.\n\nThis mod is inspired by Brevven's BZ mods.",
|
"description": "Cobalt is a mod adding the element Cobalt.\n\nThis mod is inspired by Brevven's BZ mods.",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ 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]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,15 @@ data:extend(
|
||||||
icons =
|
icons =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
icon = "__Krastorio2Assets__/technologies/backgrounds/matter.png",
|
icon = "__Krastorio2Assets__/technologies/matter-coal.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,
|
scale = 1.4,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
effects = {},
|
|
||||||
prerequisites = {"kr-matter-processing"},
|
prerequisites = {"kr-matter-processing"},
|
||||||
unit =
|
unit =
|
||||||
{
|
{
|
||||||
|
|
@ -39,16 +38,16 @@ 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,
|
||||||
needs_stabilizer = false,
|
need_stabilizer = false,
|
||||||
unlocked_by = "cobalt-matter-processing"
|
unlocked_by_technology = "cobalt-matter-processing"
|
||||||
})
|
})
|
||||||
|
|
||||||
matter.make_deconversion_recipe({
|
matter.make_recipes({
|
||||||
material = { type = "item", name = "cobalt-plate", amount = 10 },
|
material = { type = "item", name = "cobalt-plate", amount = 10 },
|
||||||
matter_count = 10,
|
matter_count = 10,
|
||||||
energy_required = 3,
|
energy_required = 3,
|
||||||
-- only_deconversion = true,
|
only_deconversion = true,
|
||||||
needs_stabilizer = true,
|
need_stabilizer = true,
|
||||||
unlocked_by = "cobalt-matter-processing"
|
unlocked_by_technology = "cobalt-matter-processing"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue