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

@ -1,6 +1,6 @@
{
"name": "bztitanium",
"version": "0.1.1",
"version": "0.1.2",
"factorio_version": "0.17",
"title": "Titanium",
"author": "Brevven",
@ -9,7 +9,8 @@
"dependencies": [
"base >= 0.17",
"? aai-industry",
"? space-exploration"
"? space-exploration",
"? Pre0-17-60Oil"
],
"description": "Adds titanium to the base game"
}

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"},