mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 12:24:39 +09:00
.
This commit is contained in:
12
PHI-CL/data/u/mbe-c.lua
Normal file
12
PHI-CL/data/u/mbe-c.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
-- MBE A 5 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-solar-panel'] = {
|
||||
enabled = mods['space-exploration'],
|
||||
stage = 2,
|
||||
mod = 'space-exploration',
|
||||
type = 'solar-panel',
|
||||
name = 'se-space-solar-panel',
|
||||
min = 4,
|
||||
max = settings.startup['PHI-MB-ENERGY-POWER-TIER'].value
|
||||
}
|
||||
}
|
||||
22
PHI-CL/data/u/mbe.lua
Normal file
22
PHI-CL/data/u/mbe.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
local main = require 'main'
|
||||
local items = require 'mbe-c'
|
||||
|
||||
-- MBE A 5 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
for _, v in pairs(items) do
|
||||
if v.enabled and (v.max >= v.min) then
|
||||
v.mod = v.mod or 'base'
|
||||
v.category = v.category or 'item'
|
||||
v.ref_name = v.ref_name or v.name
|
||||
v.tech = v.tech or 'compound-energy'
|
||||
v.min = v.min or 2
|
||||
|
||||
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
|
||||
0
PHI-CL/data/u/mbm.lua
Normal file
0
PHI-CL/data/u/mbm.lua
Normal file
0
PHI-CL/data/u/mbq.lua
Normal file
0
PHI-CL/data/u/mbq.lua
Normal file
Reference in New Issue
Block a user