Use light oil icon from K2 if playing with K2
This commit is contained in:
parent
0fd82bd524
commit
ef54b17a4b
1 changed files with 7 additions and 1 deletions
|
@ -73,6 +73,12 @@ if data.raw.item["coke"] then
|
||||||
else
|
else
|
||||||
util.add_effect("basic-chemistry", {type="unlock-recipe", recipe="phenol"})
|
util.add_effect("basic-chemistry", {type="unlock-recipe", recipe="phenol"})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if mods.Krastorio2 then
|
||||||
|
light_oil_icon = { icon = "__Krastorio2Assets__/icons/fluids/light-oil.png", icon_size = 64, icon_mipmaps = 4, scale=0.25, shift={-8,-8}}
|
||||||
|
else
|
||||||
|
light_oil_icon = { icon = "__base__/graphics/icons/fluid/light-oil.png", icon_size = 64, icon_mipmaps = 4, scale=0.25, shift={-8,-8}}
|
||||||
|
end
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "recipe",
|
type = "recipe",
|
||||||
|
@ -82,7 +88,7 @@ if data.raw.item["coke"] then
|
||||||
enabled = "false",
|
enabled = "false",
|
||||||
icons = {
|
icons = {
|
||||||
{icon = "__bzgas__/graphics/icons/phenol.png", icon_size = 128},
|
{icon = "__bzgas__/graphics/icons/phenol.png", icon_size = 128},
|
||||||
{icon = "__base__/graphics/icons/fluid/light-oil.png", icon_size = 64, icon_mipmaps = 4, scale=0.25, shift={-8,-8}},
|
light_oil_icon,
|
||||||
},
|
},
|
||||||
ingredients = {
|
ingredients = {
|
||||||
{type="fluid", name="light-oil", amount=20}
|
{type="fluid", name="light-oil", amount=20}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue