mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-19 10:19:59 +09:00
.
This commit is contained in:
@@ -4,7 +4,7 @@ function main.recipe_hidden(event)
|
|||||||
local hidden = (event.name == defines.events.on_player_cheat_mode_enabled and true) or false
|
local hidden = (event.name == defines.events.on_player_cheat_mode_enabled and true) or false
|
||||||
|
|
||||||
for _, v in pairs(prototypes.fluid) do
|
for _, v in pairs(prototypes.fluid) do
|
||||||
if v.subgroup == 'fluid' then
|
if v.subgroup == 'super-pump-fluid' then
|
||||||
prototypes.recipe['super-pump-' .. v.name].hidden = hidden
|
prototypes.recipe['super-pump-' .. v.name].hidden = hidden
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user