mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
14 lines
302 B
Lua
14 lines
302 B
Lua
local items = require 'config'
|
|
local main = require 'main'
|
|
local file_stage = 3
|
|
|
|
for _, v in pairs(items['item']) do
|
|
if (v.stage <= file_stage) and v.enabled and (v.max >= v.min) then
|
|
v.category = 'item'
|
|
|
|
for j=v.min, v.max, 1 do
|
|
main.EEEC(v, j)
|
|
end
|
|
end
|
|
end
|