handcraft wafers

This commit is contained in:
Brevven 2025-02-17 22:52:42 -08:00
parent 795438504f
commit 6d4513d783
3 changed files with 26 additions and 1 deletions

View file

@ -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:

View file

@ -1,6 +1,6 @@
{
"name": "bzsilicon",
"version": "2.0.7",
"version": "2.0.8",
"factorio_version": "2.0",
"title": "Silica & Silicon",
"author": "Brevven",

View file

@ -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