mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -687,6 +687,15 @@ local items = {
|
|||||||
['small-stomper-pentapod'] = 'spider-unit',
|
['small-stomper-pentapod'] = 'spider-unit',
|
||||||
['medium-stomper-pentapod'] = 'spider-unit',
|
['medium-stomper-pentapod'] = 'spider-unit',
|
||||||
['big-stomper-pentapod'] = 'spider-unit',
|
['big-stomper-pentapod'] = 'spider-unit',
|
||||||
|
['cliff-fulgora'] = 'cliff',
|
||||||
|
['cliff-gleba'] = 'cliff',
|
||||||
|
['cliff-vulcanus'] = 'cliff',
|
||||||
|
['crater-cliff'] = 'cliff',
|
||||||
|
['bioflux'] = 'capsule',
|
||||||
|
['jelly'] = 'capsule',
|
||||||
|
['jellynut'] = 'capsule',
|
||||||
|
['yumako'] = 'capsule',
|
||||||
|
['yumako-mash'] = 'capsule',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+13
-18
@@ -350,6 +350,7 @@ for _, c in pairs({'space-connection', 'space-location', 'asteroid', 'asteroid-c
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if items['recipe'] then
|
||||||
for _, v in pairs(data.raw.recipe) do
|
for _, v in pairs(data.raw.recipe) do
|
||||||
v.surface_conditions = nil
|
v.surface_conditions = nil
|
||||||
v.maximum_productivity = nil
|
v.maximum_productivity = nil
|
||||||
@@ -360,6 +361,18 @@ for _, v in pairs(data.raw.recipe) do
|
|||||||
v.hidden_in_factoriopedia = true
|
v.hidden_in_factoriopedia = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if items['item'] then
|
||||||
|
for _, v in pairs(data.raw.item) do
|
||||||
|
v.auto_recycle = false
|
||||||
|
|
||||||
|
if items['item'][v.name] then
|
||||||
|
v.hidden = true
|
||||||
|
v.hidden_in_factoriopedia = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- GM-VP H 18 SPACE_AGE MENU_SIMULATION
|
-- GM-VP H 18 SPACE_AGE MENU_SIMULATION
|
||||||
if data.raw['utility-constants'] and data.raw['utility-constants']['default'] and data.raw['utility-constants']['default']['main_menu_simulations'] then
|
if data.raw['utility-constants'] and data.raw['utility-constants']['default'] and data.raw['utility-constants']['default']['main_menu_simulations'] then
|
||||||
@@ -446,14 +459,6 @@ for _, v in pairs({'vulcanus_coal', 'tungsten_ore', 'calcite', 'sulfuric_acid_ge
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for k, v in pairs(items['item']) do
|
|
||||||
if data.raw.item[k] then
|
|
||||||
data.raw.item[k].auto_recycle = false
|
|
||||||
data.raw.item[k].hidden = v
|
|
||||||
data.raw.item[k].hidden_in_factoriopedia = v
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
for k, v in pairs(items['hidden']) do
|
for k, v in pairs(items['hidden']) do
|
||||||
if data.raw[v] and data.raw[v][k] then
|
if data.raw[v] and data.raw[v][k] then
|
||||||
data.raw[v][k].hidden = true
|
data.raw[v][k].hidden = true
|
||||||
@@ -473,16 +478,6 @@ for _, v in pairs({'empty-space', 'space-platform-foundation', 'foundation'}) do
|
|||||||
data.raw.tile[v].hidden_in_factoriopedia = true
|
data.raw.tile[v].hidden_in_factoriopedia = true
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, v in pairs({'cliff-fulgora', 'cliff-gleba', 'cliff-vulcanus', 'crater-cliff'}) do
|
|
||||||
data.raw['cliff'][v].hidden = true
|
|
||||||
data.raw['cliff'][v].hidden_in_factoriopedia = true
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs({'bioflux', 'jelly', 'jellynut', 'yumako', 'yumako-mash'}) do
|
|
||||||
data.raw['capsule'][v].hidden = true
|
|
||||||
data.raw['capsule'][v].hidden_in_factoriopedia = true
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs({'ashland-lichen-tree', 'ashland-lichen-tree-flaming', 'slipstack', 'funneltrunk', 'hairyclubnub', 'teflilly', 'lickmaw', 'stingfrond', 'boompuff', 'sunnycomb', 'cuttlepop', 'water-cane'}) do
|
for _, v in pairs({'ashland-lichen-tree', 'ashland-lichen-tree-flaming', 'slipstack', 'funneltrunk', 'hairyclubnub', 'teflilly', 'lickmaw', 'stingfrond', 'boompuff', 'sunnycomb', 'cuttlepop', 'water-cane'}) do
|
||||||
data.raw['tree'][v].hidden = true
|
data.raw['tree'][v].hidden = true
|
||||||
data.raw['tree'][v].hidden_in_factoriopedia = true
|
data.raw['tree'][v].hidden_in_factoriopedia = true
|
||||||
|
|||||||
Reference in New Issue
Block a user