mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 12:24:39 +09:00
.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
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',
|
||||
|
||||
@@ -3,12 +3,13 @@ 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.mod = v.mod or 'base'
|
||||
v.min = v.min or 2
|
||||
|
||||
if (v.mod and mods[v.mod]) and (v.max >= v.min) then
|
||||
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)
|
||||
|
||||
260
PHI-CL/data/u/mbm-c.lua
Normal file
260
PHI-CL/data/u/mbm-c.lua
Normal file
@@ -0,0 +1,260 @@
|
||||
return {
|
||||
-- MBM A 2 AAI_INDUSTRY ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['industrial-furnace'] = {
|
||||
mod = 'aai-industry',
|
||||
type = 'assembling-machine',
|
||||
name = 'industrial-furnace',
|
||||
tech = 'industrial-furnace',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 AAI_INDUSTRY ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['fuel-processor'] = {
|
||||
mod = 'aai-industry',
|
||||
type = 'assembling-machine',
|
||||
name = 'fuel-processor',
|
||||
tech = 'fuel-processing',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 AAI_INDUSTRY ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['area-mining-drill'] = {
|
||||
mod = (mods['big-mining-drill'] and 'big-mining-drill') or 'aai-industry',
|
||||
type = 'mining-drill',
|
||||
name = 'area-mining-drill',
|
||||
tech = 'area-mining-drill',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-assembling-machine'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-assembling-machine',
|
||||
tech = 'se-space-assembling',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-manufactory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-manufactory',
|
||||
tech = 'se-space-manufactory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-casting-machine'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-casting-machine',
|
||||
tech = 'se-pyroflux-smelting',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-pulveriser'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-pulveriser',
|
||||
tech = 'se-pulveriser',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-lifesupport-facility'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-lifesupport-facility',
|
||||
tech = 'se-lifesupport-facility',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-fuel-refinery'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-fuel-refinery',
|
||||
tech = 'se-fuel-refining',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-decontamination-facility'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-decontamination-facility',
|
||||
tech = 'se-space-decontamination-facility',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-genetics-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-genetics-laboratory',
|
||||
tech = 'se-space-genetics-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-growth-facility'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-growth-facility',
|
||||
tech = 'se-space-growth-facility',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-biochemical-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-biochemical-laboratory',
|
||||
tech = 'se-space-biochemical-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-radiation-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-radiation-laboratory',
|
||||
tech = 'se-space-radiation-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-electromagnetics-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-electromagnetics-laboratory',
|
||||
tech = 'se-space-electromagnetics-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-laser-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-laser-laboratory',
|
||||
tech = 'se-space-laser-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-astrometrics-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-astrometrics-laboratory',
|
||||
tech = 'se-space-astrometrics-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-gravimetrics-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-gravimetrics-laboratory',
|
||||
tech = 'se-space-gravimetrics-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-mechanical-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-mechanical-laboratory',
|
||||
tech = 'se-space-mechanical-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-thermodynamics-laboratory'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-thermodynamics-laboratory',
|
||||
tech = 'se-space-thermodynamics-laboratory',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-material-fabricator'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-material-fabricator',
|
||||
tech = 'se-space-material-fabricator',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-particle-accelerator'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-particle-accelerator',
|
||||
tech = 'se-space-particle-accelerator',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-particle-collider'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-particle-collider',
|
||||
tech = 'se-space-particle-collider',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-plasma-generator'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-plasma-generator',
|
||||
tech = 'se-space-plasma-generator',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-hypercooler'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-hypercooler',
|
||||
tech = 'se-space-hypercooling-1',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-radiator'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-radiator',
|
||||
ref_name = 'se-space-radiator-2',
|
||||
tech = 'se-space-radiator-2',
|
||||
min = 3,
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value + 1
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-telescope'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-telescope',
|
||||
tech = 'se-space-telescope',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-telescope-gammaray'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-telescope-gammaray',
|
||||
tech = 'se-space-telescope-gammaray',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-telescope-microwave'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-telescope-microwave',
|
||||
tech = 'se-space-telescope-microwave',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-telescope-radio'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-telescope-radio',
|
||||
tech = 'se-space-telescope-radio',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-telescope-xray'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'assembling-machine',
|
||||
name = 'se-space-telescope-xray',
|
||||
tech = 'se-space-telescope-xray',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
-- MBM A 2 SPACE_EXPLORATION ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
['se-space-science-lab'] = {
|
||||
mod = 'space-exploration',
|
||||
type = 'lab',
|
||||
name = 'se-space-science-lab',
|
||||
tech = 'se-space-science-lab',
|
||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
local main = require 'main'
|
||||
local items = require 'mbm-c'
|
||||
|
||||
-- MBE A 6 AAI_INDUSTRY ENTITY,RECIPE,RESEARCH_EFFECT
|
||||
-- MBE A 58 SPACE_EXPLORATION ENTITY,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 = v.category or 'item'
|
||||
v.ref_name = v.ref_name or v.name
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user