mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 12:24:39 +09:00
.
This commit is contained in:
@@ -80,15 +80,4 @@ return {
|
||||
tech = 'heating-tower',
|
||||
max = math.min(settings.startup['PHI-MB-ENERGY-POWER-TIER'].value, 5)
|
||||
},
|
||||
-- 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',
|
||||
tech = 'compound-energy',
|
||||
min = 4,
|
||||
max = settings.startup['PHI-MB-ENERGY-POWER-TIER'].value
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
local param = require 'config'
|
||||
local main = require 'main'
|
||||
local items = require 'mbe-config'
|
||||
local items = require 'mbe-c'
|
||||
|
||||
-- MBE C 1 BASE FLUID
|
||||
data.raw['fluid']['steam'].max_temperature = ((settings.startup['PHI-MB-ENERGY-POWER-TIER'].value > 1) and 5000) or data.raw['fluid']['steam'].max_temperature
|
||||
@@ -22,6 +22,8 @@ for i = 1, 7 do
|
||||
}})
|
||||
end
|
||||
|
||||
-- MBE A 38 BASE ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
-- MBE A 12 SPACE_AGE 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'
|
||||
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