Mod compatibility fixes
This commit is contained in:
parent
f68a992587
commit
44198c0706
6 changed files with 13 additions and 13 deletions
|
|
@ -44,7 +44,7 @@ data:extend({
|
|||
icon_size = 64,
|
||||
icons = (mods["Krastorio2"] and
|
||||
{
|
||||
{ icon = "__248k-Redux__/ressources/fluids/el_dirty_water.png", icon_size = 64},
|
||||
{ icon = "__248k-Redux-graphics__/ressources/fluids/el_dirty_water.png", icon_size = 64},
|
||||
{ icon = "__Cobalt2__/graphics/icons/cobaltite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
|
||||
} or {
|
||||
{ icon = "__Cobalt2__/graphics/icons/cobaltite-ore.png", icon_size = 64},
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ data:extend(
|
|||
{
|
||||
icon = data.raw.item["cobaltite-ore"].icon,
|
||||
icon_size = data.raw.item["cobaltite-ore"].icon_size,
|
||||
scale = 0.20 * (data.raw.fluid["kr-dirty-water"].icon_size/data.raw.item["cobaltite-ore"].icon_size),
|
||||
scale = 0.20,
|
||||
shift = {0, 4}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -27,14 +27,14 @@ data:extend(
|
|||
{
|
||||
{"production-science-pack", 1},
|
||||
{"utility-science-pack", 1},
|
||||
{"matter-tech-card", 1}
|
||||
{"kr-matter-tech-card", 1}
|
||||
},
|
||||
time = 45
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
matter.createMatterRecipe({
|
||||
matter.make_recipes({
|
||||
material = { type = "item", name = "cobaltite-ore", amount = 10 },
|
||||
matter_count = 5,
|
||||
energy_required = 1,
|
||||
|
|
@ -42,7 +42,7 @@ matter.createMatterRecipe({
|
|||
unlocked_by_technology = "cobalt-matter-processing"
|
||||
})
|
||||
|
||||
matter.createMatterRecipe({
|
||||
matter.make_recipes({
|
||||
material = { type = "item", name = "cobalt-plate", amount = 10 },
|
||||
matter_count = 10,
|
||||
energy_required = 3,
|
||||
|
|
|
|||
|
|
@ -171,8 +171,8 @@ if mods["space-exploration"] then
|
|||
order = "z-01",
|
||||
enabled = false,
|
||||
energy_required = 10,
|
||||
ingredients = {{type="item", name="glass", amount=2},{type="item", name="silicon", amount=2},{type="item", name="cobalt-plate", amount=4}},
|
||||
results = {{type="item", name="se-data-storage-substrate", amount=1}, {name="se-scrap", amount=1, probability=0.5}},
|
||||
ingredients = {{type="item", name="glass", amount=2},{type="item", name=mods["Krastorio2"] and "kr-silicon" or "silicon", amount=2},{type="item", name="cobalt-plate", amount=4}},
|
||||
results = {{type="item", name="se-data-storage-substrate", amount=1}, {type="item", name="se-scrap", amount=1, probability=0.5}},
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue