Compare commits

...

2 commits

Author SHA1 Message Date
Simon Brodtmann
8f6d9ad578 2.0.2 2025-10-11 17:44:58 +02:00
Simon Brodtmann
dc37e0eb3e Mod compatibility fixes 2025-10-11 17:44:28 +02:00
7 changed files with 22 additions and 17 deletions

View file

@ -1,6 +1,11 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.2
Date: 11.10.2025
Bug Fixes:
- Increase mod compatibility
---------------------------------------------------------------------------------------------------
Version: 2.0.1 Version: 2.0.1
Date: 10.10.2025 Date: 11.10.2025
Bug Fixes: Bug Fixes:
- Increase mod compatibility - Increase mod compatibility
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------

View file

@ -129,7 +129,7 @@ function util.se_matter(params)
{"se-astronomic-science-pack-4", 1}, {"se-astronomic-science-pack-4", 1},
{"se-energy-science-pack-4", 1}, {"se-energy-science-pack-4", 1},
{"se-material-science-pack-4", 1}, {"se-material-science-pack-4", 1},
{"matter-tech-card", 1}, {"kr-matter-tech-card", 1},
{"se-deep-space-science-pack-1", 1}, {"se-deep-space-science-pack-1", 1},
} }
}, },

View file

@ -1,6 +1,6 @@
{ {
"name": "Chromium2", "name": "Chromium2",
"version": "2.0.1", "version": "2.0.2",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Chromium", "title": "Chromium",
"author": "Timeken, cackling fiend", "author": "Timeken, cackling fiend",

View file

@ -36,7 +36,7 @@ data:extend(
{ {
{type = "item", name = "enriched-chromium", amount = 6}, {type = "item", name = "enriched-chromium", amount = 6},
{type = "item", name = "iron-ore", amount = 1}, {type = "item", name = "iron-ore", amount = 1},
{type = "fluid", name = "dirty-water", amount = 25, catalyst_amount = 25} {type = "fluid", name = "kr-dirty-water", amount = 25, catalyst_amount = 25}
}, },
crafting_machine_tint = crafting_machine_tint =
{ {
@ -67,12 +67,12 @@ data:extend(
{ {
type = "recipe", type = "recipe",
name = "dirty-water-filtration-chromium", name = "dirty-water-filtration-chromium",
category = "fluid-filtration", category = "kr-fluid-filtration",
icons = icons =
{ {
{ {
icon = data.raw.fluid["dirty-water"].icon, icon = data.raw.fluid["kr-dirty-water"].icon,
icon_size = data.raw.fluid["dirty-water"].icon_size icon_size = data.raw.fluid["kr-dirty-water"].icon_size
}, },
{ {
icon = data.raw.item["chromite-ore"].icon, icon = data.raw.item["chromite-ore"].icon,
@ -81,7 +81,7 @@ data:extend(
shift = {0, 4} shift = {0, 4}
} }
}, },
icon_size = data.raw.fluid["dirty-water"].icon_size, icon_size = data.raw.fluid["kr-dirty-water"].icon_size,
energy_required = 2, energy_required = 2,
enabled = false, enabled = false,
allow_as_intermediate = false, allow_as_intermediate = false,
@ -89,7 +89,7 @@ data:extend(
always_show_products = true, always_show_products = true,
ingredients = ingredients =
{ {
{type = "fluid", name = "dirty-water", amount = 100, catalyst_amount = 100}, {type = "fluid", name = "kr-dirty-water", amount = 100, catalyst_amount = 100},
}, },
results = results =
{ {

View file

@ -27,14 +27,14 @@ if mods["Krastorio2"] then
{ {
{ "production-science-pack", 1 }, { "production-science-pack", 1 },
{ "utility-science-pack", 1 }, { "utility-science-pack", 1 },
{ "matter-tech-card", 1 } { "kr-matter-tech-card", 1 }
}, },
time = 45 time = 45
} }
}, },
}) })
matter.createMatterRecipe({ matter.make_recipes({
material = { type = "item", name = "chromite-ore", amount = 10 }, material = { type = "item", name = "chromite-ore", amount = 10 },
matter_count = 5, matter_count = 5,
energy_required = 1, energy_required = 1,
@ -42,7 +42,7 @@ if mods["Krastorio2"] then
unlocked_by_technology = "chromium-matter-processing" unlocked_by_technology = "chromium-matter-processing"
}) })
matter.createMatterRecipe({ matter.make_recipes({
material = { type = "item", name = "chromium-plate", amount = 10 }, material = { type = "item", name = "chromium-plate", amount = 10 },
matter_count = 10, matter_count = 10,
energy_required = 3, energy_required = 3,

View file

@ -50,7 +50,7 @@ if mods["space-exploration"] then
}, },
energy_required = 45, energy_required = 45,
ingredients = { ingredients = {
{name = mods["Krastorio2"] and "enriched-chromium" or "chromite-ore", amount = 24}, {type = "item", name = mods["Krastorio2"] and "enriched-chromium" or "chromite-ore", amount = 24},
{type = "fluid", name = "se-pyroflux", amount = 10}, {type = "fluid", name = "se-pyroflux", amount = 10},
}, },
enabled = false, enabled = false,
@ -81,11 +81,11 @@ if mods["space-exploration"] then
{icon = "__Chromium2__/graphics/icons/chromium-ingot.png", icon_size = 32, scale = 0.125, shift = {-8, -8}}, {icon = "__Chromium2__/graphics/icons/chromium-ingot.png", icon_size = 32, scale = 0.125, shift = {-8, -8}},
}, },
results = { results = {
{name = "chromium-plate", amount = 10}, {type="item", name = "chromium-plate", amount = 10},
}, },
energy_required = 3.75, energy_required = 3.75,
ingredients = { ingredients = {
{name = "chromium-ingot", amount = 1} {type="item", name = "chromium-ingot", amount = 1}
}, },
enabled = false, enabled = false,
always_show_made_in = true, always_show_made_in = true,

View file

@ -56,14 +56,14 @@ if mods["Krastorio2"] then
{ icon = "__Chromium2__/graphics/icons/chromium-plate.png", icon_size = 64}, { icon = "__Chromium2__/graphics/icons/chromium-plate.png", icon_size = 64},
{ icon = "__Chromium2__/graphics/icons/chromite-ore.png", icon_size = 64, scale=0.125, shift= {-8, -8}} { icon = "__Chromium2__/graphics/icons/chromite-ore.png", icon_size = 64, scale=0.125, shift= {-8, -8}}
}, },
category = "electrolysis", category = "kr-electrolysis",
order = "a[chromium-plate]", order = "a[chromium-plate]",
energy_required = 25, energy_required = 25,
enabled = false, enabled = false,
always_show_made_in = true, always_show_made_in = true,
ingredients = { ingredients = {
{type = "fluid", name = "sulfuric-acid", amount = 25}, {type = "fluid", name = "sulfuric-acid", amount = 25},
{type = "fluid", name = "ammonia", amount = 50}, {type = "fluid", name = "kr-ammonia", amount = 50},
{type = "item", name = "chromite-ore", amount = 20} {type = "item", name = "chromite-ore", amount = 20}
}, },
results = { results = {