This commit is contained in:
phidias committed 2026-05-10 03:08:11 +09:00
1 parent 97c6ce9a33
commit cce38aa273
2 files changed
+18

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
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