diff --git a/changelog.txt b/changelog.txt index 513cd6b..37096a8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.8 +Date: 2025-02-17 + Changes: + - Space Age: When enabled, add a handcrafting recipe for silicon wafers +--------------------------------------------------------------------------------------------------- Version: 2.0.7 Date: 2025-02-01 Changes: diff --git a/info.json b/info.json index 41f7a35..93b61f1 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzsilicon", - "version": "2.0.7", + "version": "2.0.8", "factorio_version": "2.0", "title": "Silica & Silicon", "author": "Brevven", diff --git a/prototypes/silicon-recipe.lua b/prototypes/silicon-recipe.lua index a5127bc..a7edc10 100644 --- a/prototypes/silicon-recipe.lua +++ b/prototypes/silicon-recipe.lua @@ -177,6 +177,26 @@ data:extend({ results = {util.item("solar-cell", 2)} }, }) +if mods["space-age"] then +data:extend({ + { + type = "recipe", + name = "silicon-wafer-by-hand", + localised_name = {"item-name.silicon-wafer"}, + category = "handcrafting", + subgroup = "intermediate-product", + enabled = false, + energy_required = 2, + allow_productivity = true, + ingredients = { + util.item("silicon", 1), + }, + results = {util.item("silicon-wafer", 1)} + }, +}) +util.add_new_crafting_category("handcrafting", true) +util.add_unlock("silicon-processing", "silicon-wafer-by-hand") +end if not mods["space-age"] then util.add_unlock("silicon-processing", "silicone") end