This commit is contained in:
2026-05-10 03:08:11 +09:00
parent 97c6ce9a33
commit cce38aa273
2 changed files with 18 additions and 0 deletions
+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