Aleksei-bird 7c9c708c92 Первый фикс
Пачки некоторых позиций увеличены
2024-03-01 20:54:33 +03:00

12 lines
403 B
Lua

local DLL = require("prototypes.globals")
local function config_refresh(event)
if event.mod_changes["DeadlockLargerLamp"] then
for _,force in pairs(game.forces) do
force.recipes[DLL.name].enabled = force.technologies[DLL.technology].researched
force.recipes[DLL.floor_name].enabled = force.technologies[DLL.technology].researched
end
end
end
script.on_configuration_changed(config_refresh)