diff --git a/.vscode/launch.json b/.vscode/launch.json index 216cfe6..1add307 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -42,7 +42,7 @@ "flib": true, "cybersyn": true, }, - "disableExtraMods": true + //"disableExtraMods": true }, { "type": "factoriomod", diff --git a/cybersyn/changelog.txt b/cybersyn/changelog.txt index 9044384..b973149 100644 --- a/cybersyn/changelog.txt +++ b/cybersyn/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.1.4 +Date: 2022-12-9 + Changes: + - Made the recipe and research requirements for cybernetic combinators cheaper so that access to them in various modpacks is more in line with my intentions +--------------------------------------------------------------------------------------------------- Version: 1.1.3 Date: 2022-12-8 Changes: diff --git a/cybersyn/info.json b/cybersyn/info.json index 36da9aa..ff96549 100644 --- a/cybersyn/info.json +++ b/cybersyn/info.json @@ -1,6 +1,6 @@ { "name": "cybersyn", - "version": "1.1.3", + "version": "1.1.4", "title": "Project Cybersyn", "author": "Mami", "factorio_version": "1.1", diff --git a/cybersyn/locale/en/base.cfg b/cybersyn/locale/en/base.cfg index 7897d9a..5725f19 100644 --- a/cybersyn/locale/en/base.cfg +++ b/cybersyn/locale/en/base.cfg @@ -32,7 +32,7 @@ cybersyn-combinator-output=Cybernetic combinator output cybersyn-combinator=Has 4 different control modes. Primary control allows providing and requesting. Optional Control allows setting thresholds per-item and reading all in progress deliveries. Depot control allows parked trains to be added to the network. Wagon control allows for reading the desired contents of the adjacent wagon. [technology-name] -cybersyn-train-network=Cybernetic train network +cybersyn-train-network=Cybersyn train network [technology-description] cybersyn-train-network=Train stop controllers capable of coordinating the inputs and outputs of an entire economy. diff --git a/cybersyn/prototypes/tech.lua b/cybersyn/prototypes/tech.lua index d4daad1..445bb53 100644 --- a/cybersyn/prototypes/tech.lua +++ b/cybersyn/prototypes/tech.lua @@ -1,35 +1,25 @@ --By Mami -combinator_recipe = flib.copy_prototype(data.raw["recipe"]["train-stop"], COMBINATOR_NAME) +combinator_recipe = flib.copy_prototype(data.raw["recipe"]["arithmetic-combinator"], COMBINATOR_NAME) combinator_recipe.ingredients = { - {"copper-cable", 5}, - {"advanced-circuit", 5}, + {"copper-cable", 20}, + {"electronic-circuit", 10}, } combinator_recipe.enabled = false -cybersyn_tech = { - type = "technology", - name = "cybersyn-train-network", - icon = "__cybersyn__/graphics/icons/tech.png", - icon_size = 256, - --icon_mipmaps = 4, - prerequisites = { - "automated-rail-transportation", - "circuit-network", - "advanced-electronics" - }, - effects = { - { - type = "unlock-recipe", - recipe = COMBINATOR_NAME - }, - }, - unit = { - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1} - }, - count = 250, - time = 30 - }, - order = "c-g-c" + +cybersyn_tech = flib.copy_prototype(data.raw["technology"]["automated-rail-transportation"], "cybersyn-train-network") + +cybersyn_tech.icon = "__cybersyn__/graphics/icons/tech.png" +cybersyn_tech.icon_size = 256 +cybersyn_tech.prerequisites = { + "automated-rail-transportation", + "circuit-network", } +cybersyn_tech.effects = { + { + type = "unlock-recipe", + recipe = COMBINATOR_NAME + }, +} +cybersyn_tech.unit.count = 3*cybersyn_tech.unit.count +cybersyn_tech.order = "c-g-c"