Add Space Age specific ingredient
This commit is contained in:
parent
885def2f3c
commit
d6d3bfcd3f
2 changed files with 18 additions and 11 deletions
|
|
@ -180,4 +180,10 @@ data:extend({
|
|||
},
|
||||
upgrade = true
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
if mods["space-age"] then
|
||||
table.insert(data.raw.recipe["pollution-module-3"].ingredients, {type = "item", name = "carbon", amount = 5})
|
||||
table.insert(data.raw.technology["pollution-module-3"].prerequisites, "space-science-pack")
|
||||
table.insert(data.raw.technology["pollution-module-3"].unit.ingredients, { "space-science-pack", 1 })
|
||||
end
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"name": "pollution-module",
|
||||
"version": "1.0.2",
|
||||
"title": "Pollution module",
|
||||
"description": "Adds pollution modules.",
|
||||
"author": "cackling fiend",
|
||||
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||
"factorio_version": "2.0",
|
||||
"dependencies": [
|
||||
"base"
|
||||
]
|
||||
"name": "pollution-module",
|
||||
"version": "1.0.2",
|
||||
"title": "Pollution module",
|
||||
"description": "Adds pollution modules.",
|
||||
"author": "cackling fiend",
|
||||
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||
"factorio_version": "2.0",
|
||||
"dependencies": [
|
||||
"base",
|
||||
"? space-age"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue