mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-29 05:52:30 +09:00
.
This commit is contained in:
@@ -527,14 +527,11 @@ if data.raw['loader'] then
|
|||||||
ln.adjustable_belt_stack_size = (data.raw['inserter']['stack-inserter'] and true) or false
|
ln.adjustable_belt_stack_size = (data.raw['inserter']['stack-inserter'] and true) or false
|
||||||
ln.max_belt_stack_size = (data.raw['inserter']['stack-inserter'] and data.raw['inserter']['stack-inserter'].max_belt_stack_size) or 1
|
ln.max_belt_stack_size = (data.raw['inserter']['stack-inserter'] and data.raw['inserter']['stack-inserter'].max_belt_stack_size) or 1
|
||||||
|
|
||||||
if data.raw.item[l] then
|
for _, c in pairs({'item', 'recipe'}) do
|
||||||
data.raw.item[l].hidden = false
|
if data.raw[c][l] then
|
||||||
data.raw.item[l].hidden_in_factoriopedia = false
|
data.raw[c][l].hidden = false
|
||||||
end
|
data.raw[c][l].hidden_in_factoriopedia = false
|
||||||
|
end
|
||||||
if data.raw.recipe[l] then
|
|
||||||
data.raw.recipe[l].hidden = false
|
|
||||||
data.raw.recipe[l].hidden_in_factoriopedia = false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user