From 9407fdfb8e23283ffa0e90545d914ee5fa19ec2c Mon Sep 17 00:00:00 2001 From: Brevven Date: Thu, 2 Jan 2025 03:38:24 -0800 Subject: [PATCH] remove module script --- data-final-fixes.lua | 1 - modules.lua | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 modules.lua diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 7877e8c..633efac 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -1,5 +1,4 @@ require("deadlock-stacking") -require("modules") local util = require("__bzsilicon__.data-util"); diff --git a/modules.lua b/modules.lua deleted file mode 100644 index a429457..0000000 --- a/modules.lua +++ /dev/null @@ -1,16 +0,0 @@ -local util = require("__bzsilicon__.data-util"); - - -for i, recipe in pairs(util.me.recipes) do - if data.raw.recipe[recipe] then - for j, module in pairs(data.raw.module) do - if module.effect then - for effect_name, effect in pairs(module.effect) do - if effect_name == "productivity" and effect.bonus > 0 and module.limitation and #module.limitation > 0 then - table.insert(module.limitation, recipe) - end - end - end - end - end -end