This commit is contained in:
2026-05-26 20:24:17 +09:00
parent 33b33406cc
commit d744213342
+3 -3
View File
@@ -1,11 +1,11 @@
local main = {} local main = {}
function main.recipe_hidden(event) function main.recipe_hidden(event)
local hidden = (event.name == defines.events.on_player_cheat_mode_enabled and false) or true local status = (event.name == defines.events.on_player_cheat_mode_enabled and false) or true
for _, v in pairs(prototypes.fluid) do for _, v in pairs(prototypes.fluid) do
if v.subgroup == 'super-pump-fluid' then if v.subgroup == 'fluid' then
prototypes.recipe['super-pump-' .. v.name].hidden = hidden prototypes.recipe['super-pump-' .. v.name].hidden = status
end end
end end
end end