This commit is contained in:
2026-05-08 17:57:46 +09:00
parent 6030e1b656
commit 6fe4e09cbd
2 changed files with 8 additions and 8 deletions
+4 -2
View File
@@ -437,8 +437,10 @@ local items = {
}, },
['tips_and_tricks_item'] = { ['tips_and_tricks_item'] = {
-- SPACE_AGE 0 -- SPACE_AGE 0
'agriculture', 'quality',
'lava-processing' 'space-age',
'space-platform',
'spoilables'
}, },
['technology'] = { ['technology'] = {
-- SPACE_AGE 0 -- SPACE_AGE 0
+4 -6
View File
@@ -308,17 +308,15 @@ if items['recipe_reform'] then
end end
-- GM-VP C 2 SPACE_AGE TIP_AND_TRICK -- GM-VP C 2 SPACE_AGE TIP_AND_TRICK
-- TODO nil
if items['tips_and_tricks_item'] then if items['tips_and_tricks_item'] then
for _, v in pairs(items['tips_and_tricks_item']) do for _, v in pairs(data.raw['tips-and-tricks-item']) do
if data.raw['tips-and-tricks-item'][v] then if v.category and items['tips_and_tricks_item'][v.category] then
data.raw['tips-and-tricks-item'][v].hidden = true v.hidden = true
data.raw['tips-and-tricks-item'][v].hidden_in_factoriopedia = true v.hidden_in_factoriopedia = true
end end
end end
end end
-- nil
if items['achievement'] then if items['achievement'] then
for k, v in pairs(items['achievement']) do for k, v in pairs(items['achievement']) do
if data.raw[v][k] then if data.raw[v][k] then