Add Space Age specific ingredient
This commit is contained in:
parent
cd960204c2
commit
08d70706b5
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-evil-3"].ingredients, {type = "item", name = "carbon", amount = 5})
|
||||
table.insert(data.raw.technology["pollution-module-evil-3"].prerequisites, "space-science-pack")
|
||||
table.insert(data.raw.technology["pollution-module-evil-3"].unit.ingredients, { "space-science-pack", 1 })
|
||||
end
|
||||
|
|
@ -1,12 +1,13 @@
|
|||
{
|
||||
"name": "pollution-module-evil",
|
||||
"version": "1.0.3",
|
||||
"title": "Pollution module's evil twin",
|
||||
"description": "Adds pollution modules.",
|
||||
"author": "cackling fiend",
|
||||
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||
"factorio_version": "2.0",
|
||||
"dependencies": [
|
||||
"base"
|
||||
]
|
||||
"name": "pollution-module-evil",
|
||||
"version": "1.0.3",
|
||||
"title": "Pollution module's evil twin",
|
||||
"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