Files
factorio-mod-PHI-CL/PHI-CL/control/pump.lua
T
2026-05-10 03:08:11 +09:00

14 lines
339 B
Lua

local main = {}
function main.recipe_hidden(event)
local hidden = (event.name == defines.events.on_player_cheat_mode_enabled and true) or false
for _, v in pairs(prototypes.fluid) do
if v.subgroup == 'fluid' then
prototypes.recipe['super-pump-' .. v.name].hidden = hidden
end
end
end
return main