mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 20:34:39 +09:00
21 lines
520 B
Lua
21 lines
520 B
Lua
local main = require 'main'
|
|
local items = require 'mbq-c'
|
|
|
|
-- MBQ A 48 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
|
for _, v in pairs(items) do
|
|
v.mod = v.mod or 'base'
|
|
v.min = v.min or 2
|
|
|
|
if v.enabled and (v.mod and mods[v.mod]) and (v.max >= v.min) then
|
|
v.category = 'equipment'
|
|
v.ref_name = v.ref_name or v.name .. '-equipment'
|
|
|
|
for j=v.min, v.max, 1 do
|
|
main.EEQ(v, j)
|
|
main.EI(v, j)
|
|
main.ER(v, j)
|
|
main.ET(v, j)
|
|
end
|
|
end
|
|
end
|