This commit is contained in:
2026-05-26 21:50:16 +09:00
parent bb7b47e1c2
commit e38d8732dd
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
local main = {}
function main.recipe_hidden(event)
local status = game.players[event.player_index].cheat_mode
local status = (event.name == defines.events.on_player_cheat_mode_enabled)
for _, v in pairs(prototypes.fluid) do
if v.subgroup == 'fluid' then
prototypes.recipe['super-pump-' .. v.name].hidden = status
prototypes.recipe['super-pump-' .. v.name].enabled = status
end
end
end