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'] = {
|
['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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user