mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -437,8 +437,10 @@ local items = {
|
||||
},
|
||||
['tips_and_tricks_item'] = {
|
||||
-- SPACE_AGE 0
|
||||
'agriculture',
|
||||
'lava-processing'
|
||||
'quality',
|
||||
'space-age',
|
||||
'space-platform',
|
||||
'spoilables'
|
||||
},
|
||||
['technology'] = {
|
||||
-- SPACE_AGE 0
|
||||
|
||||
@@ -308,17 +308,15 @@ if items['recipe_reform'] then
|
||||
end
|
||||
|
||||
-- GM-VP C 2 SPACE_AGE TIP_AND_TRICK
|
||||
-- TODO nil
|
||||
if items['tips_and_tricks_item'] then
|
||||
for _, v in pairs(items['tips_and_tricks_item']) do
|
||||
if data.raw['tips-and-tricks-item'][v] then
|
||||
data.raw['tips-and-tricks-item'][v].hidden = true
|
||||
data.raw['tips-and-tricks-item'][v].hidden_in_factoriopedia = true
|
||||
for _, v in pairs(data.raw['tips-and-tricks-item']) do
|
||||
if v.category and items['tips_and_tricks_item'][v.category] then
|
||||
v.hidden = true
|
||||
v.hidden_in_factoriopedia = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- nil
|
||||
if items['achievement'] then
|
||||
for k, v in pairs(items['achievement']) do
|
||||
if data.raw[v][k] then
|
||||
|
||||
Reference in New Issue
Block a user