Add minor compatibility change with Pre 0.17.60 Oil mod

This commit is contained in:
Brevven 2019-07-31 01:13:47 -07:00
parent 536dc9290c
commit 2189f2440b
2 changed files with 13 additions and 8 deletions

View file

@ -44,12 +44,16 @@ data:extend(
unit =
{
count = 75,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
},
ingredients = (mods["Pre0-17-60Oil"] and
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1}
} or
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
}),
time = 30
},
prerequisites = {"lubricant"},