From 6fababe5d203cd14df0cfb8d79f1418cc67ac40c Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 2 Apr 2025 23:43:32 +0900 Subject: [PATCH] . --- PHI-CL/data-final-fixes.lua | 10 ++++++++++ PHI-CL/data-updates.lua | 10 ++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/PHI-CL/data-final-fixes.lua b/PHI-CL/data-final-fixes.lua index 3d85c64..6f474c4 100644 --- a/PHI-CL/data-final-fixes.lua +++ b/PHI-CL/data-final-fixes.lua @@ -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 +]] diff --git a/PHI-CL/data-updates.lua b/PHI-CL/data-updates.lua index 72c668a..434e316 100644 --- a/PHI-CL/data-updates.lua +++ b/PHI-CL/data-updates.lua @@ -2,14 +2,7 @@ local items = require 'config' local main = require 'main' local file_stage = 2 -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 - +--[[ for _, v in pairs(items['item']) do if (v.stage == file_stage) and v.enabled and (v.max >= v.min) then v.category = 'item' @@ -37,3 +30,4 @@ for _, v in pairs(items['equipment']) do end end end +]]