diff --git a/changelog.txt b/changelog.txt index 8a89aec..deef25a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.1 +Date: 2025-01-07 + Changes: + - In Space Age, modded sand (eg in AAI Industry) will now be created in basic crusher +--------------------------------------------------------------------------------------------------- Version: 2.0.0 -Date: 2025-01-05 +Date: 2025-01-06 Changes: - Compatible with 2.0 and Space Age - More intermediate recipes setting now only has yes/no options. diff --git a/info.json b/info.json index 3a1c8b7..90fd966 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzsilicon", - "version": "2.0.0", + "version": "2.0.1", "factorio_version": "2.0", "title": "Silica & Silicon", "author": "Brevven", diff --git a/recipe-updates.lua b/recipe-updates.lua index 765a8c1..26e3eb5 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -1,6 +1,7 @@ local util = require("data-util"); local si = util.me.more_intermediates() and "silicon-wafer" or "silicon" + if util.me.use_gyros() then util.add_ingredient("flying-robot-frame", "gyro", 1) util.add_prerequisite("robotics", "gyro") @@ -272,3 +273,11 @@ if mods["extended-research-system"] and mods["Bio_Industries"] then data.raw.recipe["bi-crushed-stone-1"].enabled = true end end + +-- Sand in crusher +if mods["space-age"] then + if data.raw.item["sand"] and data.raw.recipe["sand"] and #data.raw.recipe["sand"].ingredients == 1 then + data.raw.recipe["sand"].category = "basic-crushing" + log(serpent.block(data.raw.recipe["sand"])) + end +end