From f8fbdb523149acc3e20b08a7fc0695e08b23ffa9 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 12 Mar 2025 00:02:23 +0900 Subject: [PATCH] . --- PHI-CL/config.lua | 2 ++ PHI-CL/data.lua | 7 ++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/PHI-CL/config.lua b/PHI-CL/config.lua index 9e50ebf..0214865 100644 --- a/PHI-CL/config.lua +++ b/PHI-CL/config.lua @@ -520,6 +520,8 @@ local items = { ['spoilage'] = true, ['nutrients'] = true, ['carbon-fiber'] = true, + ['biter-egg'] = true, + ['pentapod-egg'] = true, ['lithium'] = true, ['lithium-plate'] = true, ['quantum-processor'] = true, diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 7f7cc64..0a16888 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -1026,7 +1026,8 @@ if settings.startup['PHI-VP'].value then end for k, _ in pairs(items['space-age']['PHI-VP-MAIN']['recipe']) do - data.raw.recipe[k] = nil + data.raw.recipe[k].hidden = v + data.raw.recipe[k].hidden_in_factoriopedia = v end for k, v in pairs(items['space-age']['PHI-VP-MAIN']['item']) do @@ -1171,10 +1172,6 @@ if settings.startup['PHI-VP'].value then data.raw['simple-entity'][v] = nil end - for _, v in pairs({'biter-egg', 'pentapod-egg'}) do - data.raw.item[v] = nil - end - data.raw.ammo['capture-robot-rocket'] = nil data.raw['tips-and-tricks-item']['agriculture'] = nil