mirror of
https://github.com/peter-tanner/017-science-transition-mod.git
synced 2024-11-30 11:00:19 +08:00
Migration version created (0.1.7)
This commit is contained in:
parent
d08795c05d
commit
18fd1a8d55
293
017_science_migration/control.lua
Normal file
293
017_science_migration/control.lua
Normal file
|
@ -0,0 +1,293 @@
|
||||||
|
script.on_configuration_changed(function()
|
||||||
|
local old_science = settings.startup["017-old-science"].value
|
||||||
|
game.print("MIGRATING SAVE TO BASE 0.17 ...")
|
||||||
|
if not settings.startup["017-techtree"].value then
|
||||||
|
for i, force in pairs(game.forces) do
|
||||||
|
local f_recipes = force.recipes
|
||||||
|
local f_technologies = force.technologies
|
||||||
|
local f_print = force.print
|
||||||
|
|
||||||
|
f_print("0.17 techtree disabled.")
|
||||||
|
f_print("WARNING: MIGRATING SAVES WITH 0.17 TECHTREE DISABLED HAS NOT BEEN TESTED.")
|
||||||
|
f_print("It is recommended that your base use the 0.17 techtree before upgrading.")
|
||||||
|
f_print("Please report any issues to the disccusion page.")
|
||||||
|
f_recipes["logistic-science-pack"].enabled = true
|
||||||
|
|
||||||
|
if f_technologies["rocket-silo"].researched == true then
|
||||||
|
f_recipes["satellite"].enabled = true
|
||||||
|
f_print("rocket-silo researched for this force: satellite recipe auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("rocket-silo not researched: satellite recipe not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["oil-processing"].researched == true then
|
||||||
|
f_recipes["lubricant"].enabled = true
|
||||||
|
f_print("oil-processing researched for this force: lubricant recipe auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("oil-processing not researched: lubricant recipe not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["military-2"].researched == true then
|
||||||
|
f_recipes["military-science-pack"].enabled = true
|
||||||
|
if old_science then
|
||||||
|
f_recipes["military-science-pack"].enabled = true
|
||||||
|
end
|
||||||
|
f_print("military-2 researched for this force: military-science-pack recipe auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("military-2 not researched: military-science-pack recipe not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["advanced-electronics"].researched == true then
|
||||||
|
f_recipes["chemical-science-pack"].enabled = true
|
||||||
|
if old_science then
|
||||||
|
f_recipes["chemical-science-pack"].enabled = true
|
||||||
|
end
|
||||||
|
f_print("advanced-electronics researched for this force: chemical-science-pack recipe auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("advanced-electronics not researched: chemical-science-pack recipe not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["nuclear-power"].researched == true then
|
||||||
|
f_recipes["centrifuge"].enabled = true
|
||||||
|
f_recipes["uranium-processing"].enabled = true
|
||||||
|
f_print("nuclear-power researched for this force: centrifuge & uranium-processing recipes auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("nuclear-power not researched: recipes not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["advanced-electronics-2"].researched == true then
|
||||||
|
f_recipes["rocket-control-unit"].enabled = true
|
||||||
|
f_recipes["low-density-structure"].enabled = true
|
||||||
|
f_recipes["utility-science-pack"].enabled = true
|
||||||
|
if old_science then
|
||||||
|
if not game.active_mods["bobrevamp"] then
|
||||||
|
f_recipes["low-density-structure"].enabled = true
|
||||||
|
end
|
||||||
|
f_recipes["utility-science-pack"].enabled = true
|
||||||
|
end
|
||||||
|
f_print("advanced-electronics-2 researched for this force: utility-science-pack & low-density-structure & rocket-control-unit recipes auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("advanced-electronics-2 not researched: recipes not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["advanced-material-processing-2"].researched == true then
|
||||||
|
if not game.active_mods["angelspetrochem"] then
|
||||||
|
f_recipes["rocket-fuel"].enabled = true
|
||||||
|
end
|
||||||
|
f_recipes["production-science-pack"].enabled = true
|
||||||
|
if old_science then
|
||||||
|
f_recipes["production-science-pack"].enabled = true
|
||||||
|
end
|
||||||
|
f_print("advanced-material-processing-2 researched for this force: rocket-fuel & production-science-pack recipes auto-unlocked")
|
||||||
|
else
|
||||||
|
f_print("advanced-material-processing-2 not researched: recipes not auto-unlocking")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("fast-inserter") > 0 or get_input_count("filter-inserter") > 0 then
|
||||||
|
f_recipes["fast-inserter"].enabled = true
|
||||||
|
f_recipes["filter-inserter"].enabled = true
|
||||||
|
f_technologies["fast-inserter"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | fast-inserter recipe unlocked | total fast-inserter produced by force: " .. get_input_count("centrifuge"))
|
||||||
|
else
|
||||||
|
f_recipes["fast-inserter"].enabled = false
|
||||||
|
f_recipes["filter-inserter"].enabled = false
|
||||||
|
f_technologies["fast-inserter"].researched = false
|
||||||
|
f_print("No fast-inserter produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["steel-processing"].researched == true then
|
||||||
|
f_technologies["steel-axe"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | steel-axe unlocked | steel-processing researched")
|
||||||
|
else
|
||||||
|
f_print("steel-processing not researched by this force: steel-axe won't be unlocked")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if settings.startup["017-rocket-victory"].value and settings.startup["017-techtree"].value then
|
||||||
|
for i, force in pairs(game.forces) do
|
||||||
|
local get_input_count = force.item_production_statistics.get_input_count
|
||||||
|
if (get_input_count("satellite") > 0) or (get_input_count("space-science-pack") > 0) then
|
||||||
|
force.recipes["satellite"].enabled = true
|
||||||
|
force.technologies["space-science-pack"].researched = true
|
||||||
|
force.print("force: " .. force.name .. " | satellite recipe unlocked | total produced by force: " .. get_input_count("satellite"))
|
||||||
|
else
|
||||||
|
force.recipes["satellite"].enabled = false
|
||||||
|
force.technologies["space-science-pack"].researched = false
|
||||||
|
force.print("No space science OR satellites produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
if settings.startup["017-techtree"].value then
|
||||||
|
for i, force in pairs(game.forces) do
|
||||||
|
local f_recipes = force.recipes
|
||||||
|
local f_technologies = force.technologies
|
||||||
|
local f_print = force.print
|
||||||
|
local get_input_count = force.item_production_statistics.get_input_count
|
||||||
|
local get_fluid_input_count = force.fluid_production_statistics.get_input_count
|
||||||
|
|
||||||
|
f_print("0.17 techtree enabled.")
|
||||||
|
|
||||||
|
if get_input_count("logistic-science-pack") > 0 then
|
||||||
|
f_recipes["logistic-science-pack"].enabled = true
|
||||||
|
f_technologies["logistic-science-pack"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | logistic-science-pack recipe unlocked | total produced by force: " .. get_input_count("logistic-science-pack"))
|
||||||
|
else
|
||||||
|
f_recipes["logistic-science-pack"].enabled = false
|
||||||
|
f_technologies["logistic-science-pack"].researched = false
|
||||||
|
f_print("No logistics science produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("military-science-pack") > 0 then
|
||||||
|
f_recipes["military-science-pack"].enabled = true
|
||||||
|
f_technologies["military-science-pack"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | military-science-pack recipe unlocked | total produced by force: " .. get_input_count("military-science-pack"))
|
||||||
|
else
|
||||||
|
f_recipes["military-science-pack"].enabled = false
|
||||||
|
f_technologies["military-science-pack"].researched = false
|
||||||
|
f_print("No military science produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("chemical-science-pack") > 0 then
|
||||||
|
f_recipes["chemical-science-pack"].enabled = true
|
||||||
|
f_technologies["chemical-science-pack"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | chemical-science-pack recipe unlocked | total produced by force: " .. get_input_count("chemical-science-pack"))
|
||||||
|
else
|
||||||
|
f_recipes["chemical-science-pack"].enabled = false
|
||||||
|
f_technologies["chemical-science-pack"].researched = false
|
||||||
|
f_print("No chemical science produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("production-science-pack") > 0 then
|
||||||
|
f_recipes["production-science-pack"].enabled = true
|
||||||
|
f_technologies["production-science-pack"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | production-science-pack recipe unlocked | total produced by force: " .. get_input_count("production-science-pack"))
|
||||||
|
else
|
||||||
|
f_recipes["production-science-pack"].enabled = false
|
||||||
|
f_technologies["production-science-pack"].researched = false
|
||||||
|
f_print("No production science produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("utility-science-pack") > 0 then
|
||||||
|
f_recipes["utility-science-pack"].enabled = true
|
||||||
|
f_technologies["utility-science-pack"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | high-tech-science-pack recipe unlocked | total produced by force: " .. get_input_count("utility-science-pack"))
|
||||||
|
else
|
||||||
|
f_recipes["utility-science-pack"].enabled = false
|
||||||
|
f_technologies["utility-science-pack"].researched = false
|
||||||
|
f_print("No utility science produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if get_fluid_input_count("lubricant") > 0 then
|
||||||
|
f_recipes["lubricant"].enabled = true
|
||||||
|
f_technologies["lubricant"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | lubricant recipe unlocked | total produced by force: " .. get_fluid_input_count("lubricant"))
|
||||||
|
else
|
||||||
|
f_recipes["lubricant"].enabled = false
|
||||||
|
f_technologies["lubricant"].researched = false
|
||||||
|
f_print("No lubricant produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if not game.active_mods["angelspetrochem"] then
|
||||||
|
if get_input_count("rocket-fuel") > 0 then
|
||||||
|
f_recipes["rocket-fuel"].enabled = true
|
||||||
|
f_technologies["rocket-fuel"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | rocket-fuel recipe unlocked | total produced by force: " .. get_input_count("rocket-fuel"))
|
||||||
|
else
|
||||||
|
f_recipes["rocket-fuel"].enabled = false
|
||||||
|
f_technologies["rocket-fuel"].researched = false
|
||||||
|
f_print("No rocket-fuel produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
elseif game.active_mods["angelspetrochem"] then
|
||||||
|
if get_input_count("rocket-fuel") > 0 then
|
||||||
|
f_technologies["angels-rocket-fuel"].researched = true
|
||||||
|
f_recipes["rocket-oxidizer-capsule"].enabled = true
|
||||||
|
f_recipes["rocket-fuel-capsule"].enabled = true
|
||||||
|
f_recipes["rocket-fuel"].enabled = true
|
||||||
|
f_print("force: " .. force.name .. " | rocket-fuel recipe unlocked | total produced by force: " .. get_input_count("rocket-fuel"))
|
||||||
|
else
|
||||||
|
f_technologies["angels-rocket-fuel"].researched = false
|
||||||
|
f_recipes["rocket-oxidizer-capsule"].enabled = false
|
||||||
|
f_recipes["rocket-fuel-capsule"].enabled = false
|
||||||
|
f_recipes["rocket-fuel"].enabled = false
|
||||||
|
f_print("No rocket-fuel produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if not game.active_mods["bobrevamp"] then
|
||||||
|
if get_input_count("low-density-structure") > 0 then
|
||||||
|
f_recipes["low-density-structure"].enabled = true
|
||||||
|
f_technologies["low-density-structure"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | low-density-structure recipe unlocked | total produced by force: " .. get_input_count("low-density-structure"))
|
||||||
|
else
|
||||||
|
f_recipes["low-density-structure"].enabled = false
|
||||||
|
f_technologies["low-density-structure"].researched = false
|
||||||
|
f_print("No low-density-structure produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
elseif game.active_mods["bobrevamp"] then
|
||||||
|
if get_input_count("low-density-structure") > 0 then
|
||||||
|
f_recipes["low-density-structure"].enabled = true
|
||||||
|
f_technologies["low-density-structure"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | low-density-structure recipe unlocked | total produced by force: " .. get_input_count("low-density-structure"))
|
||||||
|
else
|
||||||
|
f_recipes["low-density-structure"].enabled = false
|
||||||
|
f_technologies["low-density-structure"].researched = false
|
||||||
|
f_print("No low-density-structure produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("rocket-control-unit") > 0 then
|
||||||
|
f_recipes["rocket-control-unit"].enabled = true
|
||||||
|
f_technologies["rocket-control-unit"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | rocket-control-unit recipe unlocked | total produced by force: " .. get_input_count("rocket-control-unit"))
|
||||||
|
else
|
||||||
|
f_recipes["rocket-control-unit"].enabled = false
|
||||||
|
f_technologies["rocket-control-unit"].researched = false
|
||||||
|
f_print("No rocket-control-unit produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("centrifuge") > 0 or f_technologies["nuclear-power"].researched == true then
|
||||||
|
f_recipes["centrifuge"].enabled = true
|
||||||
|
f_recipes["uranium-processing"].enabled = true
|
||||||
|
f_technologies["uranium-processing"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | uranium-enrichment recipe unlocked | total centrifuges produced by force: " .. get_input_count("centrifuge"))
|
||||||
|
else
|
||||||
|
f_recipes["centrifuge"].enabled = false
|
||||||
|
f_recipes["uranium-processing"].enabled = false
|
||||||
|
f_technologies["uranium-processing"].researched = false
|
||||||
|
f_print("No centrifuges produced by this force AND nuclear-power not researched: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if get_input_count("fast-inserter") > 0 or get_input_count("filter-inserter") > 0 then
|
||||||
|
f_recipes["fast-inserter"].enabled = true
|
||||||
|
f_recipes["filter-inserter"].enabled = true
|
||||||
|
f_technologies["fast-inserter"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | fast-inserter recipe unlocked | total fast-inserter produced by force: " .. get_input_count("fast-inserter"))
|
||||||
|
else
|
||||||
|
f_recipes["fast-inserter"].enabled = false
|
||||||
|
f_recipes["filter-inserter"].enabled = false
|
||||||
|
f_technologies["fast-inserter"].researched = false
|
||||||
|
f_print("No fast-inserter produced by this force: technology won't be auto-researched.")
|
||||||
|
end
|
||||||
|
|
||||||
|
if f_technologies["steel-processing"].researched == true then
|
||||||
|
f_technologies["steel-axe"].researched = true
|
||||||
|
f_print("force: " .. force.name .. " | steel-axe unlocked | steel-processing researched")
|
||||||
|
else
|
||||||
|
f_print("steel-processing not researched by this force: steel-axe won't be unlocked")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
for i, force in pairs(game.forces) do
|
||||||
|
force.reset_recipes()
|
||||||
|
end
|
||||||
|
for i, force in pairs(game.forces) do
|
||||||
|
force.reset_technologies()
|
||||||
|
end
|
||||||
|
global.axe_techs = nil
|
||||||
|
game.print("!==================!")
|
||||||
|
game.print("IMPORTANT WARNING!")
|
||||||
|
game.print("DO NOT SAVE THIS WORLD OVER THE PRE-MIGRATION SAVE!")
|
||||||
|
game.print("SAVE THIS GAME AS A NEW SAVE AND LEAVE THE OLD SAVE AS A BACKUP.")
|
||||||
|
end)
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "017_science_migration",
|
"name": "017_science",
|
||||||
"version": "0.0.1",
|
"version": "0.1.7",
|
||||||
"factorio_version": "0.16",
|
"factorio_version": "0.17",
|
||||||
"title": "0.17 science (migration)",
|
"title": "0.17 science conversion",
|
||||||
"author": "npc_strider(morley376)",
|
"author": "npc_strider(morley376)",
|
||||||
"contact": "",
|
"contact": "https://mods.factorio.com/mod/017_science/discussion",
|
||||||
"homepage": "http://steamcommunity.com/id/morley376",
|
"homepage": "http://steamcommunity.com/id/morley376",
|
||||||
"description": "migrate the mod's recipes to the vanilla recipe internal name (so that the mod can be uninstalled)"
|
"description": "WARNING: THIS VERSION OF THE MOD HAS NO CONTENT - It only exists to convert pre-0.17 saves using this mod to 0.17 base (without this mod). If you are using this mod for the 0.17 changes on a 0.16 game, see version 0.1.62 of the mod."
|
||||||
}
|
}
|
107
017_science_migration/locale/en/base.cfg
Normal file
107
017_science_migration/locale/en/base.cfg
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
[technology-name]
|
||||||
|
belt-immunity-equipment=Belt immunity equipment
|
||||||
|
logistics-science-pack=Logistics science pack
|
||||||
|
military-science-pack=Military science pack
|
||||||
|
chemical-science-pack=Chemical science pack
|
||||||
|
production-science-pack=Production science pack
|
||||||
|
utility-science-pack=Utility science pack
|
||||||
|
space-science-pack=Space science pack
|
||||||
|
lubricant=Lubricant
|
||||||
|
uranium-enrichment=Uranium enrichment
|
||||||
|
rocket-fuel=Rocket fuel
|
||||||
|
low-density-structure=Low density structure
|
||||||
|
rocket-control-unit=Rocket control unit
|
||||||
|
|
||||||
|
[item-name]
|
||||||
|
science-pack-1=Automation science pack
|
||||||
|
science-pack-2=Logistics science pack
|
||||||
|
science-pack-3=Chemical science pack
|
||||||
|
high-tech-science-pack=Utility science pack
|
||||||
|
017-mine=Request a new mining-tool
|
||||||
|
|
||||||
|
[item-description]
|
||||||
|
fake-mining-tool=Axe for crafting purposes only.
|
||||||
|
|
||||||
|
[mod-setting-name]
|
||||||
|
017-drill=Ore hardness simplification
|
||||||
|
017-smelting=Reduce smelting time
|
||||||
|
017-assem-lim=Remove assembler item limit
|
||||||
|
017-old-science=Enable old science recipes
|
||||||
|
017-recipes-changes=Misc. recipe changes in 0.17
|
||||||
|
017-durability=Infinite armor/tool durability
|
||||||
|
017-axe=mining-tool (axe) removal
|
||||||
|
017-equipment=Belt immunity equipment
|
||||||
|
017-lds=low-density-structure in recipes
|
||||||
|
017-lds-num=low-density-structure factor
|
||||||
|
017-pack-type-rebalancing=Science pack type rebalancing
|
||||||
|
017-techtree=Science-pack technologies and techtree
|
||||||
|
017-nuclear-reprocessing-discount=nuclear-fuel-reprocessing technology discount
|
||||||
|
017-rocket-victory=No-rocket victory
|
||||||
|
017-tank-gun-nerf=Tank machinegun nerf
|
||||||
|
017-green-cost=Logistics science pack technology cost
|
||||||
|
017-military-cost=Military science pack technology cost
|
||||||
|
017-chem-cost=Chemical science pack technology cost
|
||||||
|
017-purple-cost=Production science pack technology cost
|
||||||
|
017-gold-cost=Utility science pack technology cost
|
||||||
|
017-nasa-cost=Space science pack technology cost
|
||||||
|
017-lubricant-cost=Lubricant technology cost
|
||||||
|
017-rocket-fuel-cost=Rocket fuel technology cost
|
||||||
|
017-rocket-structure-cost=Low density structure technology cost
|
||||||
|
017-rocket-control-cost=Rocket control unit technology cost
|
||||||
|
017-uranium-enrichment-cost=Uranium enrichment technology cost
|
||||||
|
017-nuclear-power-cost=Nuclear power technology cost
|
||||||
|
017-green-energy=Logistics science pack technology time-per-unit
|
||||||
|
017-military-energy=Military science pack technology time-per-unit
|
||||||
|
017-chem-energy=Chemical science pack technology time-per-unit
|
||||||
|
017-purple-energy=Production science pack technology time-per-unit
|
||||||
|
017-gold-energy=Utility science pack technology time-per-unit
|
||||||
|
017-nasa-energy=Space science pack technology time-per-unit
|
||||||
|
017-lubricant-energy=Lubricant research time-per-unit
|
||||||
|
017-rocket-fuel-energy=Rocket fuel research time-per-unit
|
||||||
|
017-rocket-structure-energy=Low density structure research time-per-unit
|
||||||
|
017-rocket-control-energy=Rocket control unit research time-per-unit
|
||||||
|
017-uranium-enrichment-energy=Uranium enrichment research time-per-unit
|
||||||
|
017-nuclear-power-energy=Nuclear power research time-per-unit
|
||||||
|
017-ore-icons=New ore icons
|
||||||
|
|
||||||
|
[mod-setting-description]
|
||||||
|
017-drill=(Default enabled) Toggle FFF-266 mining changes (removed hardness). This mod makes all vanilla ore hardness = 1 and makes the burner-mining-drill mining_power = 3, which may break modded ore gating.
|
||||||
|
017-smelting=(Default enabled) Toggle V's smelting changes (https://forums.factorio.com/viewtopic.php?t=64219#p392508). This mod may break ratios for modded recipes using vanilla and modded items.
|
||||||
|
017-assem-lim=(Default enabled) Toggle the assembly limit removal. This mod affects all assembling-machines and may affect modded crafting stations based on this entity, which may use the limit as a form of gating.
|
||||||
|
017-old-science=(Default disabled) Toggle the old science recipes (0.16), including LDS. When disabled it removes the ability to use the vanilla science and LDS recipes (except SP 1 & 2) but allows existing crafting machines to continue using the recipe until manually changed.
|
||||||
|
017-recipes-changes=(Default enabled) atomic-bomb and power-armor-mk2 recipe changes
|
||||||
|
017-durability=(Default enabled) All armor now have inf. durability (https://forums.factorio.com/viewtopic.php?p=384185#p384185). Axes also have inf. durability to reflect the removal of mining-tool items.
|
||||||
|
017-axe=(Default enabled) IMPORTANT NOTE: It is highly recomended that infinite durability is enabled when using this option to prevent duplicate items. Implements the FFF-266 changes as best as possible. Instead of mining-tools being crafted, they are inserted and locked to the player's tool slot when they're researched. The best mining-tool is used over lower speed ones.
|
||||||
|
017-equipment=(Default enabled) Adds belt-immunity-equipment tech and recipe (FFF-256). Note that if another mod that adds belt-immunity-equipment recipe is present, this mod's unlock will be disabled. Disabling this option in an existing game will NOT remove the item - only the recipe & tech.
|
||||||
|
017-lds=(Default enabled) low-density-structure is also used in multiple advanced personal equipment recipes (mk2 items, fusion reactor, laser defense) instead of steel (FFF-257). NOTE: the cost values in this mod are NOT official, and won't affect other mods (contact me if you want your modded recipe added.). Where possible the cost = math.ceil(n("steel-plate")/2)
|
||||||
|
017-lds-num=(Default 5, Min 1, Max 32) When steel-plate is not present in vanilla 'high tech' equipment recipes, the cost is determined by the number of "processing-unit"s. math.ceil(n("processing-unit")/thissetting)
|
||||||
|
017-pack-type-rebalancing=(Default enabled) Enable the rebalancing of high-end technologies into production/utility 'categories' (FFF-275). For example, level-3 modules no longer use utility science and will use production science instead as they increase production.
|
||||||
|
017-techtree=(Default enabled) Enable the 0.17 techtree. Science packs are now unlocked by dedicated technologies and the rocket-silo no longer requires rocket-speed-5 as a prerequisite (FFF-275 & FFF-245). NOTE: Technologies are dynamically assigned a 'science pack technology' as a prerequisite through script (to work with mods). This may not reflect release tech paths.
|
||||||
|
017-nuclear-reprocessing-discount=(Default 1000, Min 0, Max 1400) This number is subtracted from the current cost of nuclear-fuel-reprocessing technology (1500). FFF-275 hints at a major discount to this technology ("The Nuclear fuel cell reprocessing is also drastically cheaper") but does not specify an amount.
|
||||||
|
017-rocket-victory=(Default enabled) The victory condition for the game no longer requires a payload (satellite) (FFF-275).
|
||||||
|
017-tank-gun-nerf=(Default enabled) FFF-275 states that the 100% damage bonus the tank machinegun provides will be removed.
|
||||||
|
017-green-cost=(Default 50, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off steel-processing difficulty
|
||||||
|
017-military-cost=(Default 100, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off gates difficulty
|
||||||
|
017-chem-cost=(Default 200, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-electronics difficulty
|
||||||
|
017-purple-cost=(Default 250, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-material-processing-2 difficulty.
|
||||||
|
017-gold-cost=(Default 250, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-electronics-2 difficulty.
|
||||||
|
017-nasa-cost=(Default 5000, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off atomic-bomb technology difficulty.
|
||||||
|
017-lubricant-cost=(Default 100, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off electric-engine technology difficulty.
|
||||||
|
017-rocket-fuel-cost=(Default 100, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off engine technology difficulty.
|
||||||
|
017-rocket-structure-cost=(Default 200, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off plastics technology difficulty.
|
||||||
|
017-rocket-control-cost=(Default 250, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off advanced-electronics-2 technology difficulty.
|
||||||
|
017-uranium-enrichment-cost=(Default 500, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off nuclear-power cost (halved).
|
||||||
|
017-nuclear-power-cost=(Default 500, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Default based off nuclear-power cost (halved).
|
||||||
|
017-green-energy=(Default 5, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-military-energy=(Default 15, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-chem-energy=(Default 15, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-purple-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-gold-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-nasa-energy=(Default 60, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-lubricant-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-rocket-fuel-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-rocket-structure-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-rocket-control-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-uranium-enrichment-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-nuclear-power-energy=(Default 30, Min 0, Max INF.) This value is NOT official and is an estimate based on the difficulty of similar technologies. Amount of time to research one unit of this technology.
|
||||||
|
017-ore-icons=(Default enabled) Enable the new ore icons found in the new-icons folder of the base game.
|
|
@ -4,7 +4,12 @@
|
||||||
["17-military-science-pack", "military-science-pack"],
|
["17-military-science-pack", "military-science-pack"],
|
||||||
["17-chemical-science-pack", "chemical-science-pack"],
|
["17-chemical-science-pack", "chemical-science-pack"],
|
||||||
["17-production-science-pack", "production-science-pack"],
|
["17-production-science-pack", "production-science-pack"],
|
||||||
["17-utility-science-pack", "utility-science-pack"]
|
["17-utility-science-pack", "utility-science-pack"],
|
||||||
["17-low-density-structure", "low-density-structure"]
|
["17-low-density-structure", "low-density-structure"]
|
||||||
|
],
|
||||||
|
"technology":
|
||||||
|
[
|
||||||
|
["logistics-science-pack", "logistic-science-pack"],
|
||||||
|
["uranium-enrichment", "uranium-processing"]
|
||||||
]
|
]
|
||||||
}
|
}
|
24
017_science_migration/settings.lua
Normal file
24
017_science_migration/settings.lua
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
data:extend(
|
||||||
|
{
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-old-science",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = false,
|
||||||
|
order = "npc-a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-techtree",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = true,
|
||||||
|
order = "npc-c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "bool-setting",
|
||||||
|
name = "017-rocket-victory",
|
||||||
|
setting_type = "startup",
|
||||||
|
default_value = true,
|
||||||
|
order = "npc-me"
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user