From 5ef2af8ca9526803f61937142eedfd1ca9ec7e12 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 3 Feb 2026 00:46:05 +0100 Subject: [PATCH 1/2] Several fixes and tweaks Changes: - The satellite recipe cost is divided by 4-5 - Spidertron added back as expensive end-game technology Bug Fixes: - Added missing prerequisites to the rocket silo technology - Adds circuit wires to autmoation 2 --- factorio-light/data.lua | 47 ++++++++++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/factorio-light/data.lua b/factorio-light/data.lua index b7fc6aa..f042f8e 100644 --- a/factorio-light/data.lua +++ b/factorio-light/data.lua @@ -7,11 +7,20 @@ local Recipe = require("__cf-lib__/data/Recipe") -- Clear space science util.removeTechWithPrerequisite("space-science-pack") +-- Move spidertron +Technology:new("spidertron") + :replacePrerequisite("military-4", "military-3") + :replacePrerequisite("fission-reactor-equipment", "speed-module-3") +Recipe:new("spidertron") + :replaceIngredient("fission-reactor-equipment", "rocket-fuel", 100) + :replaceIngredient("efficiency-module-3", 50) + :addIngredient("speed-module-3", 50) + -- Clear production/utility science -util.removeEverythingRecursivelyByTechnology("uranium-mining", { hideEntities = { "heat-pipe", "nuclear-reactor", "spidertron" } }) +util.removeEverythingRecursivelyByTechnology("uranium-mining", { hideEntities = { "heat-pipe", "nuclear-reactor" } }) util.removeEverythingRecursivelyByTechnology("circuit-network", { skip = { "iron-stick" }, hideEntity = true }) util.removeEverythingRecursivelyByTechnology("follower-robot-count-1") -util.removeEverythingRecursivelyByTechnology("military-4", { hideEntities = { "power-armor-mk2", "artillery-turret", "artillery-wagon", "spidertron" } }) +util.removeEverythingRecursivelyByTechnology("military-4", { hideEntities = { "power-armor-mk2", "artillery-turret", "artillery-wagon" } }) util.removeEverythingRecursivelyByTechnology("defender") util.removeEverythingByTechnology("coal-liquefaction") util.removeEverythingByTechnology("effect-transmission", { hideEntity = true }) @@ -21,6 +30,12 @@ util.removeEverythingByTechnology("personal-roboport-mk2-equipment") util.removeEverythingByTechnology("battery-mk2-equipment") util.removeEverythingByItem("discharge-defense-remote") +-- Add circuit network again +table.insert(data.raw.technology["automation-2"].effects, { + type = "unlock-circuit-network", + modifier = true +}) + -- Move rocket Technology:new("rocket-silo") :removePrerequisite("productivity-module-3") @@ -28,6 +43,8 @@ Technology:new("rocket-silo") :removePrerequisite("utility-science-pack") :removeIngredient("production-science-pack") :removeIngredient("utility-science-pack") + :addPrerequisite("electric-engine") + :addPrerequisite("low-density-structure") -- Move production/utility techs to space science util.replacePrerequisite("production-science-pack", "space-science-pack") @@ -37,10 +54,10 @@ util.replaceTechIngredient("utility-science-pack", "space-science-pack") util.removeEverythingByTechnology("production-science-pack") util.removeEverythingByTechnology("utility-science-pack") data.raw["lab"]["lab"].inputs = table.filter( - data.raw["lab"]["lab"].inputs, - function(value) - return not table.contains({ "production-science-pack", "utility-science-pack" }, value) - end + data.raw["lab"]["lab"].inputs, + function(value) + return not table.contains({ "production-science-pack", "utility-science-pack" }, value) + end ) -- Remove processing unit @@ -85,10 +102,10 @@ data.raw["unit-spawner"]["spitter-spawner"].result_units = { { "big-spitter", { { 0.8, 0.0 }, { 1.0, 0.4 } } } } data.raw["group-attack-achievement"]["it-stinks-and-they-dont-like-it"].entities = table.filter( - data.raw["group-attack-achievement"]["it-stinks-and-they-dont-like-it"].entities, - function(value) - return not table.contains({ "behemoth-biter", "behemoth-spitter" }, value) - end + data.raw["group-attack-achievement"]["it-stinks-and-they-dont-like-it"].entities, + function(value) + return not table.contains({ "behemoth-biter", "behemoth-spitter" }, value) + end ) -- Remove uranium @@ -113,6 +130,16 @@ util.removeEverythingByItem("artillery-targeting-remote") -- Buff rocket silo data.raw["rocket-silo"]["rocket-silo"].rocket_parts_required = 25 +-- Manually set satellite recipe +data.raw.recipe["satellite"].ingredients = { + { type = "item", name = "advanced-circuit", amount = 50 }, + { type = "item", name = "low-density-structure", amount = 25 }, + { type = "item", name = "rocket-fuel", amount = 20 }, + { type = "item", name = "solar-panel", amount = 20 }, + { type = "item", name = "accumulator", amount = 20 }, + { type = "item", name = "radar", amount = 1 }, +} + -- Buff LDS Recipe:new("low-density-structure") :replaceIngredient("copper-plate", 2) From 208f4750b5047b465399d8da53a4d975f212d06e Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Tue, 3 Feb 2026 00:46:15 +0100 Subject: [PATCH 2/2] 1.1.0 --- factorio-light/changelog.txt | 9 +++++++++ factorio-light/info.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/factorio-light/changelog.txt b/factorio-light/changelog.txt index 78643e5..03aeba7 100644 --- a/factorio-light/changelog.txt +++ b/factorio-light/changelog.txt @@ -1,4 +1,13 @@ --------------------------------------------------------------------------------------------------- +Version: 1.1.0 +Date: 03.02.2026 + Changes: + - The satellite recipe cost is divided by 4-5 + - Spidertron added back as expensive end-game technology + Bug Fixes: + - Added missing prerequisites to the rocket silo technology + - Adds circuit wires to autmoation 2 +--------------------------------------------------------------------------------------------------- Version: 1.0.1 Date: 01.02.2026 Changes: diff --git a/factorio-light/info.json b/factorio-light/info.json index a13126c..bb86b0a 100644 --- a/factorio-light/info.json +++ b/factorio-light/info.json @@ -1,6 +1,6 @@ { "name": "factorio-light", - "version": "1.0.1", + "version": "1.1.0", "title": "Factorio light", "description": "A light-weight version of Factorio for a chill round or your kids.", "author": "cackling fiend",