diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index d1169ef..0000000 --- a/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*] -indent_style = space -indent_size = 4 \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d929479..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.zip -.idea -.vscode \ No newline at end of file diff --git a/factorio-light/changelog.txt b/factorio-light/changelog.txt deleted file mode 100644 index 03aeba7..0000000 --- a/factorio-light/changelog.txt +++ /dev/null @@ -1,16 +0,0 @@ ---------------------------------------------------------------------------------------------------- -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: - - Remove combat robots and remotes - Bug Fixes: - - Fix typos crashing non-Windows version of Factorio diff --git a/factorio-light/data.lua b/factorio-light/data.lua index f042f8e..d2da505 100644 --- a/factorio-light/data.lua +++ b/factorio-light/data.lua @@ -1,26 +1,17 @@ require "__cf-lib__/util/table" local util = require "util" -local Technology = require("__cf-lib__/data/Technology") -local Recipe = require("__cf-lib__/data/Recipe") +local Technology = require("__cf-lib__/data/technology") +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" } }) +util.removeEverythingRecursivelyByTechnology("uranium-mining", { hideEntities = { "heat-pipe", "nuclear-reactor", "spidertron" } }) 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" } }) +util.removeEverythingRecursivelyByTechnology("military-4", { hideEntities = { "power-armor-mk2", "artillery-turret", "artillery-wagon", "spidertron" } }) util.removeEverythingRecursivelyByTechnology("defender") util.removeEverythingByTechnology("coal-liquefaction") util.removeEverythingByTechnology("effect-transmission", { hideEntity = true }) @@ -30,12 +21,6 @@ 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") @@ -43,8 +28,6 @@ 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") @@ -54,10 +37,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 @@ -102,10 +85,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 @@ -120,26 +103,9 @@ util.removeEverythingByItem("uranium-235") util.removeEverythingByItem("uranium-238") util.removeEverythingByItem("depleted-uranium-fuel-cell") --- Remove combat robots and remotes -util.removeEntity("defender", { hideEntity = true }) -util.removeEntity("distractor", { hideEntity = true }) -util.removeEntity("destroyer", { hideEntity = true }) -util.removeEverythingByItem("spidertron-remote") -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) diff --git a/factorio-light/info.json b/factorio-light/info.json index bb86b0a..fb82ba0 100644 --- a/factorio-light/info.json +++ b/factorio-light/info.json @@ -1,6 +1,6 @@ { "name": "factorio-light", - "version": "1.1.0", + "version": "1.0.0", "title": "Factorio light", "description": "A light-weight version of Factorio for a chill round or your kids.", "author": "cackling fiend",