aai unlock crusher

This commit is contained in:
Brevven 2025-01-09 01:34:19 -08:00
parent 952b0280bf
commit 13b901511d
3 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.0.2
Date: 2025-01-09
Changes:
- With AAI Industry, unlock crusher with sand, slight change to tech tree
---------------------------------------------------------------------------------------------------
Version: 2.0.1
Date: 2025-01-07
Changes:

View file

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

View file

@ -171,6 +171,11 @@ data:extend({
results = {{type="item", name="basic-crusher", amount=1}}
},
})
util.add_unlock("automation-2", "basic-crusher")
if mods["aai-industry"] then
util.add_unlock("sand-processing", "basic-crusher")
util.add_prerequisite("sand-processing", "steel-processing")
else
util.add_unlock("automation-2", "basic-crusher")
end
util.add_prerequisite("silica-processing", "automation-2")
end