mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
19 lines
399 B
Lua
19 lines
399 B
Lua
local items = require 'config'
|
|
local main = require 'main'
|
|
local file_stage = 2
|
|
|
|
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.EEE(v, j)
|
|
main.EI(v, j)
|
|
main.ER(v, j)
|
|
main.ET(v, j)
|
|
end
|
|
|
|
main.EL(v)
|
|
end
|
|
end
|