Files
factorio-mod-PHI-CL/PHI-CL/control/pump.lua
T
2026-05-26 21:38:51 +09:00

14 lines
305 B
Lua

local main = {}
function main.recipe_hidden(event)
local status = game.players[event.player_index].cheat_mode
for _, v in pairs(prototypes.fluid) do
if v.subgroup == 'fluid' then
prototypes.recipe['super-pump-' .. v.name].hidden = status
end
end
end
return main