forked from cacklingfiend/lignumis
Add recipes to Space Age recipe productivity technologies
This commit is contained in:
parent
ca04815aa4
commit
a8a45d589d
2 changed files with 40 additions and 13 deletions
|
@ -12,7 +12,7 @@
|
|||
"flib",
|
||||
"PlanetsLib >= 1.1.26",
|
||||
"astroponics >= 1.2.0",
|
||||
"cf-lib >= 0.0.2",
|
||||
"cf-lib >= 0.0.4",
|
||||
"mf-core >= 1.0.3",
|
||||
"mf-buildings >= 1.0.7",
|
||||
"mf-logistics >= 1.0.1",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
local space_age_item_sounds = require("__space-age__.prototypes.item_sounds")
|
||||
local Technology = require("__cf-lib__/data/Technology")
|
||||
|
||||
data:extend({
|
||||
{
|
||||
|
@ -212,17 +213,43 @@ data:extend({
|
|||
}
|
||||
})
|
||||
|
||||
table.assign(data.raw.technology["plastics"].effects, {
|
||||
{ type = "unlock-recipe", recipe = "cupriavidus-necator-starter" },
|
||||
{ type = "unlock-recipe", recipe = "cupriavidus-necator" },
|
||||
{ type = "unlock-recipe", recipe = "plastic-from-cupriavidus-necator" },
|
||||
{ type = "unlock-recipe", recipe = "plastic-from-dead-cupriavidus-necator" }
|
||||
local plastics = Technology:new("plastics")
|
||||
plastics:addRecipe("cupriavidus-necator-starter")
|
||||
plastics:addRecipe("cupriavidus-necator")
|
||||
plastics:addRecipe("plastic-from-cupriavidus-necator")
|
||||
plastics:addRecipe("plastic-from-dead-cupriavidus-necator")
|
||||
|
||||
local lds = Technology:new("low-density-structure")
|
||||
lds:addRecipe("low-density-structure-gold")
|
||||
|
||||
local rocket_fuel = Technology:new("rocket-fuel")
|
||||
rocket_fuel:addRecipe("rocket-fuel-from-wood-pulp-and-peat")
|
||||
|
||||
local agriculture = Technology:new("agriculture")
|
||||
agriculture:addRecipe("nutrients-from-wood-pulp")
|
||||
|
||||
local plastic_productivity = Technology:new("plastic-bar-productivity")
|
||||
plastic_productivity:addEffect({
|
||||
type = "change-recipe-productivity",
|
||||
recipe = "plastic-from-cupriavidus-necator",
|
||||
change = 0.1
|
||||
})
|
||||
plastic_productivity:addEffect({
|
||||
type = "change-recipe-productivity",
|
||||
recipe = "plastic-from-dead-cupriavidus-necator",
|
||||
change = 0.1
|
||||
})
|
||||
|
||||
table.insert(data.raw.technology["low-density-structure"].effects,
|
||||
{ type = "unlock-recipe", recipe = "low-density-structure-gold" })
|
||||
local lds_productivity = Technology:new("low-density-structure-productivity")
|
||||
lds_productivity:addEffect({
|
||||
type = "change-recipe-productivity",
|
||||
recipe = "low-density-structure-gold",
|
||||
change = 0.1
|
||||
})
|
||||
|
||||
table.insert(data.raw.technology["rocket-fuel"].effects,
|
||||
{ type = "unlock-recipe", recipe = "rocket-fuel-from-wood-pulp-and-peat" })
|
||||
|
||||
table.insert(data.raw.technology["agriculture"].effects, { type = "unlock-recipe", recipe = "nutrients-from-wood-pulp" })
|
||||
local rocket_fuel_productivity = Technology:new("rocket-fuel-productivity")
|
||||
rocket_fuel_productivity:addEffect({
|
||||
type = "change-recipe-productivity",
|
||||
recipe = "rocket-fuel-from-wood-pulp-and-peat",
|
||||
change = 0.1
|
||||
})
|
Loading…
Add table
Reference in a new issue