This commit is contained in:
2025-04-02 23:43:32 +09:00
parent c515726af6
commit 6fababe5d2
2 changed files with 12 additions and 8 deletions

View File

@@ -1,6 +1,14 @@
local items = require 'config'
local main = require 'main'
if mods['space-age'] and settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value then
for k, v in pairs(data.raw.recipe) do
if v.category == 'recycling' then
data.raw.recipe[k] = nil
end
end
end
if mods['space-age'] then
for i=2, settings.startup['PHI-MB-ENERGY-SOLAR-TIER'].value do
if data.raw.recipe['accumulator-' .. i] then
@@ -13,6 +21,7 @@ if mods['space-age'] then
end
end
--[[
for _, v in pairs(items['item']) do
if v.enabled and (v.max >= v.min) then
v.category = 'item'
@@ -22,3 +31,4 @@ for _, v in pairs(items['item']) do
end
end
end
]]