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

View file

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