sand in crusher

This commit is contained in:
Brevven 2025-01-07 04:14:27 -08:00
parent 34ac321a5c
commit 4bb663bfe0
3 changed files with 16 additions and 2 deletions

View file

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

View file

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

View file

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