2019-01-13 23:32:46 +08:00
|
|
|
if settings.startup["017-techtree"].value then
|
|
|
|
data:extend(
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-14 10:44:06 +08:00
|
|
|
name = "logistics-science-pack",
|
2019-01-13 23:32:46 +08:00
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/green.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type = "unlock-recipe",
|
|
|
|
recipe = "science-pack-2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-green-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-green-energy"].value
|
|
|
|
},
|
|
|
|
order = "d-a-a-a"
|
|
|
|
},
|
2019-01-17 15:29:50 +08:00
|
|
|
{
|
|
|
|
type = "technology",
|
|
|
|
name = "military-science-pack",
|
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/gray.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type = "unlock-recipe",
|
|
|
|
recipe = "17-military-science-pack"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
prerequisites = {"military-2", "stone-walls"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-military-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-military-energy"].value
|
|
|
|
},
|
|
|
|
order = "e-a-b-a"
|
|
|
|
},
|
2019-01-13 23:32:46 +08:00
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-14 10:44:06 +08:00
|
|
|
name = "chemical-science-pack",
|
2019-01-13 23:32:46 +08:00
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/blue.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{type = "unlock-recipe", recipe = "17-chemical-science-pack"}
|
|
|
|
},
|
|
|
|
prerequisites = {"oil-processing", "advanced-electronics", "engine"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-chem-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-chem-energy"].value
|
|
|
|
},
|
|
|
|
order = "a-d-b-a"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "technology",
|
|
|
|
name = "production-science-pack",
|
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/purple.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{type = "unlock-recipe", recipe = "17-production-science-pack"}
|
|
|
|
},
|
|
|
|
prerequisites = {"advanced-material-processing-2", "productivity-module", "railway"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-purple-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
{"science-pack-3", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-purple-energy"].value
|
|
|
|
},
|
|
|
|
order = "c-c-b"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-14 10:44:06 +08:00
|
|
|
name = "utility-science-pack",
|
2019-01-13 23:32:46 +08:00
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/yellow.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{type = "unlock-recipe", recipe = "17-utility-science-pack"}
|
|
|
|
},
|
|
|
|
prerequisites = {"advanced-electronics-2", "robotics"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-gold-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
{"science-pack-3", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-gold-energy"].value
|
|
|
|
},
|
|
|
|
order = "e-e-e"
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "technology",
|
|
|
|
name = "lubricant",
|
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/lubricant.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{type = "unlock-recipe", recipe = "lubricant"}
|
|
|
|
},
|
|
|
|
prerequisites = {"oil-processing"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-lubricant-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
},
|
|
|
|
time = settings.startup["017-lubricant-energy"].value
|
|
|
|
},
|
|
|
|
order = "d-a-a"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-20 11:03:50 +08:00
|
|
|
name = "rocket-control-unit",
|
2019-01-16 21:16:59 +08:00
|
|
|
icon_size = 128,
|
2019-01-20 11:03:50 +08:00
|
|
|
icon = "__017_science__/graphics/technology/rocketcontrols.png",
|
2019-01-16 21:16:59 +08:00
|
|
|
effects =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
{type = "unlock-recipe", recipe = "rocket-control-unit"}
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
prerequisites = {"speed-module"},
|
2019-01-16 21:16:59 +08:00
|
|
|
unit =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
count = settings.startup["017-rocket-control-cost"].value,
|
2019-01-16 21:16:59 +08:00
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
2019-01-20 11:03:50 +08:00
|
|
|
{"science-pack-3", 1},
|
|
|
|
{"high-tech-science-pack", 1},
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
time = settings.startup["017-rocket-control-energy"].value
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
order = "e-e-e"
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-20 11:03:50 +08:00
|
|
|
name = "uranium-enrichment",
|
2019-01-16 21:16:59 +08:00
|
|
|
icon_size = 128,
|
2019-01-20 11:03:50 +08:00
|
|
|
icon = "__017_science__/graphics/technology/uraniumenrichment.png",
|
2019-01-16 21:16:59 +08:00
|
|
|
effects =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
{type = "unlock-recipe", recipe = "centrifuge"},
|
|
|
|
{type = "unlock-recipe", recipe = "uranium-processing"}
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
prerequisites = data.raw["technology"]["nuclear-power"].prerequisites,
|
2019-01-16 21:16:59 +08:00
|
|
|
unit =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
count = settings.startup["017-uranium-enrichment-cost"].value,
|
2019-01-16 21:16:59 +08:00
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
{"science-pack-3", 1},
|
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
time = settings.startup["017-uranium-enrichment-energy"].value
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
|
|
|
order = "e-e-e"
|
2019-01-20 11:03:50 +08:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if not mods["angelspetrochem"] and settings.startup["017-techtree"].value then
|
|
|
|
data:extend(
|
|
|
|
{
|
2019-01-16 21:16:59 +08:00
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-20 11:03:50 +08:00
|
|
|
name = "rocket-fuel",
|
2019-01-16 21:16:59 +08:00
|
|
|
icon_size = 128,
|
2019-01-20 11:03:50 +08:00
|
|
|
icon = "__017_science__/graphics/technology/rocketfuel.png",
|
2019-01-16 21:16:59 +08:00
|
|
|
effects =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
{type = "unlock-recipe", recipe = "rocket-fuel"}
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
prerequisites = {"engine", "flammables"},
|
2019-01-16 21:16:59 +08:00
|
|
|
unit =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
count = settings.startup["017-rocket-fuel-cost"].value,
|
2019-01-16 21:16:59 +08:00
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
time = settings.startup["017-rocket-fuel-energy"].value
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
order = "d-a-b"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if not mods["bobrevamp"] and settings.startup["017-techtree"].value then
|
|
|
|
data:extend(
|
|
|
|
{
|
2019-01-16 21:16:59 +08:00
|
|
|
{
|
|
|
|
type = "technology",
|
2019-01-20 11:03:50 +08:00
|
|
|
name = "low-density-structure",
|
2019-01-16 21:16:59 +08:00
|
|
|
icon_size = 128,
|
2019-01-20 11:03:50 +08:00
|
|
|
icon = "__017_science__/graphics/technology/rocketstructure.png",
|
2019-01-16 21:16:59 +08:00
|
|
|
effects =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
{type = "unlock-recipe", recipe = "17-low-density-structure"}
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
prerequisites = {"advanced-material-processing"},
|
2019-01-16 21:16:59 +08:00
|
|
|
unit =
|
|
|
|
{
|
2019-01-20 11:03:50 +08:00
|
|
|
count = settings.startup["017-rocket-structure-cost"].value,
|
2019-01-16 21:16:59 +08:00
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
{"science-pack-3", 1},
|
|
|
|
},
|
2019-01-20 11:03:50 +08:00
|
|
|
time = settings.startup["017-rocket-structure-energy"].value
|
2019-01-16 21:16:59 +08:00
|
|
|
},
|
|
|
|
order = "e-e-e"
|
2019-01-15 20:48:17 +08:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if settings.startup["017-techtree"].value and settings.startup["017-rocket-victory"].value then
|
|
|
|
data:extend(
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type = "technology",
|
|
|
|
name = "space-science-pack",
|
|
|
|
icon_size = 128,
|
|
|
|
icon = "__017_science__/graphics/technology/white.png",
|
|
|
|
effects =
|
|
|
|
{
|
|
|
|
{type = "unlock-recipe", recipe = "satellite"}
|
|
|
|
},
|
|
|
|
prerequisites = {"rocket-silo"},
|
|
|
|
unit =
|
|
|
|
{
|
|
|
|
count = settings.startup["017-nasa-cost"].value,
|
|
|
|
ingredients =
|
|
|
|
{
|
|
|
|
{"science-pack-1", 1},
|
|
|
|
{"science-pack-2", 1},
|
|
|
|
{"science-pack-3", 1},
|
|
|
|
{"military-science-pack", 1},
|
|
|
|
{"production-science-pack", 1},
|
|
|
|
{"high-tech-science-pack", 1}
|
|
|
|
},
|
|
|
|
time = settings.startup["017-nasa-energy"].value,
|
|
|
|
},
|
|
|
|
order = "k-b"
|
|
|
|
}
|
2019-01-13 23:32:46 +08:00
|
|
|
})
|
|
|
|
end
|