Mod compatibility fixes
This commit is contained in:
parent
6e87d6d495
commit
55655e2566
6 changed files with 11 additions and 11 deletions
|
@ -11,7 +11,7 @@ function util.se_landfill(params)
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 },
|
{ icon = "__base__/graphics/icons/landfill.png", icon_size = 64, icon_mipmaps = 3 },
|
||||||
{ icon = "__Chromium2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33*64/params.icon_size},
|
{ icon = "__Tantalite2__/graphics/icons/"..params.ore..".png", icon_size = params.icon_size, scale = 0.33*64/params.icon_size},
|
||||||
},
|
},
|
||||||
energy_required = 1,
|
energy_required = 1,
|
||||||
enabled=false,
|
enabled=false,
|
||||||
|
@ -48,7 +48,7 @@ function util.se_matter(params)
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
{icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png",
|
{icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png",
|
||||||
icon_size = 64, scale = 0.33, shift = {8,-8}},
|
icon_size = 64, scale = 0.33, shift = {8,-8}},
|
||||||
{icon = "__Chromium2__/graphics/icons/"..params.ore..".png",
|
{icon = "__Tantalite2__/graphics/icons/"..params.ore..".png",
|
||||||
icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={-8, 8}},
|
icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={-8, 8}},
|
||||||
{icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png",
|
{icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png",
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
|
@ -87,7 +87,7 @@ function util.se_matter(params)
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
{icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png",
|
{icon = "__space-exploration-graphics__/graphics/icons/fluid/particle-stream.png",
|
||||||
icon_size = 64, scale = 0.33, shift = {-8,8}},
|
icon_size = 64, scale = 0.33, shift = {-8,8}},
|
||||||
{icon = "__Chromium2__/graphics/icons/"..params.ore..".png",
|
{icon = "__Tantalite2__/graphics/icons/"..params.ore..".png",
|
||||||
icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={8, -8}},
|
icon_size = params.icon_size, scale = 0.33 * 64/params.icon_size, shift={8, -8}},
|
||||||
{icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png",
|
{icon = "__space-exploration-graphics__/graphics/icons/transition-arrow.png",
|
||||||
icon_size = 64, scale = 0.5},
|
icon_size = 64, scale = 0.5},
|
||||||
|
@ -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},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -134,7 +134,7 @@ if mods["248k-Redux"] and mods["space-exploration"] then
|
||||||
name = "energy-pyroflux",
|
name = "energy-pyroflux",
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = "__space-exploration-graphics__/graphics/icons/fluid/pyroflux.png", icon_size = 64},
|
{ icon = "__space-exploration-graphics__/graphics/icons/fluid/pyroflux.png", icon_size = 64},
|
||||||
{ icon = "__248k-Redux__/ressources/fusion/fu_materials/fu_materials_energy_crystal.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
{ icon = "__248k-Redux-graphics__/ressources/fusion/fu_materials/fu_materials_energy_crystal.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
||||||
},
|
},
|
||||||
category = "chemistry",
|
category = "chemistry",
|
||||||
order = "h",
|
order = "h",
|
||||||
|
|
|
@ -68,7 +68,7 @@ data:extend({
|
||||||
icon_size = 64,
|
icon_size = 64,
|
||||||
icons = (mods["Krastorio2"] and
|
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 = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
|
{ icon = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
|
||||||
} or {
|
} or {
|
||||||
{ icon = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64},
|
{ icon = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64},
|
||||||
|
|
|
@ -63,7 +63,7 @@ data:extend(
|
||||||
always_show_made_in = true,
|
always_show_made_in = true,
|
||||||
always_show_products = true,
|
always_show_products = true,
|
||||||
ingredients = { {type="item", name="enriched-tantalite", amount=5} },
|
ingredients = { {type="item", name="enriched-tantalite", amount=5} },
|
||||||
results = { {type="item", name="tantalum-plate", 5}, {"niobium-plate", amount=5} },
|
results = { {type="item", name="tantalum-plate", amount=5}, {type="item", name="niobium-plate", amount=5} },
|
||||||
order = "a",
|
order = "a",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@ data:extend(
|
||||||
{
|
{
|
||||||
icon = data.raw.item["tantalite-ore"].icon,
|
icon = data.raw.item["tantalite-ore"].icon,
|
||||||
icon_size = data.raw.item["tantalite-ore"].icon_size,
|
icon_size = data.raw.item["tantalite-ore"].icon_size,
|
||||||
scale = 0.20 * (data.raw.fluid["kr-dirty-water"].icon_size/data.raw.item["tantalite-ore"].icon_size),
|
scale = 0.20,
|
||||||
shift = {0, 4}
|
shift = {0, 4}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,7 @@ data:extend({
|
||||||
if mods["248k-Redux"] then
|
if mods["248k-Redux"] then
|
||||||
thoriated_filament_ingredients = {{type="item", name="thorium-ore", amount=1}}
|
thoriated_filament_ingredients = {{type="item", name="thorium-ore", amount=1}}
|
||||||
if mods["bztungsten"] then
|
if mods["bztungsten"] then
|
||||||
table.insert({type="item", name="tungsten-plate", amount=1})
|
table.insert(thoriated_filament_ingredients, {type="item", name="tungsten-plate", amount=1})
|
||||||
end
|
end
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
|
@ -154,7 +154,7 @@ data:extend({
|
||||||
if mods["bzlead"] or mods["manganese"] then
|
if mods["bzlead"] or mods["manganese"] then
|
||||||
tantalum_capacitor_ingredients = {{type="item", name="tantalum-plate", amount=1}}
|
tantalum_capacitor_ingredients = {{type="item", name="tantalum-plate", amount=1}}
|
||||||
if mods["bzlead"] then
|
if mods["bzlead"] then
|
||||||
table.insert({type="item", name="lead-plate", amount = 1})
|
table.insert(tantalum_capacitor_ingredients, {type="item", name="lead-plate", amount = 1})
|
||||||
end
|
end
|
||||||
if mods["manganese"] then
|
if mods["manganese"] then
|
||||||
table.insert(tantalum_capacitor_ingredients, {type="item", name="manganese-plate", amount=1})
|
table.insert(tantalum_capacitor_ingredients, {type="item", name="manganese-plate", amount=1})
|
||||||
|
|
|
@ -144,7 +144,7 @@ data:extend(
|
||||||
name = "energy-pyroflux",
|
name = "energy-pyroflux",
|
||||||
icons = {
|
icons = {
|
||||||
{ icon = "__space-exploration-graphics__/graphics/icons/fluid/pyroflux.png", icon_size = 64},
|
{ icon = "__space-exploration-graphics__/graphics/icons/fluid/pyroflux.png", icon_size = 64},
|
||||||
{ icon = "__248k-Redux__/ressources/fusion/fu_materials/fu_materials_energy_crystal.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
{ icon = "__248k-Redux-graphics__/ressources/fusion/fu_materials/fu_materials_energy_crystal.png", icon_size = 64, scale=0.3, shift= {-8, -8}},
|
||||||
},
|
},
|
||||||
prerequisites = {"se-energy-science-pack-1"},
|
prerequisites = {"se-energy-science-pack-1"},
|
||||||
effects = {
|
effects = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue