From c89f64919248445a29fcaa19d63ba086d3469b99 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 26 May 2026 21:54:56 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 4 ---- PHI-CL/control/pump.lua | 13 ------------- 2 files changed, 17 deletions(-) delete mode 100644 PHI-CL/control/pump.lua diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 9ecabb9..e7c2684 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -49,10 +49,6 @@ script.on_configuration_changed(function() combinator.storage_init() end) -if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then - script.on_event({defines.events.on_player_cheat_mode_enabled, defines.events.on_player_cheat_mode_disabled}, pump.recipe_hidden) -end - if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then script.on_event(defines.events.on_player_created, function(event) if not event.player_index or not game.players[event.player_index] then diff --git a/PHI-CL/control/pump.lua b/PHI-CL/control/pump.lua deleted file mode 100644 index 18575e6..0000000 --- a/PHI-CL/control/pump.lua +++ /dev/null @@ -1,13 +0,0 @@ -local main = {} - -function main.recipe_hidden(event) - 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].enabled = status - end - end -end - -return main