mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-03-28 12:24:39 +09:00
.
This commit is contained in:
405
PHI-CL/config-updates.lua
Normal file
405
PHI-CL/config-updates.lua
Normal file
@@ -0,0 +1,405 @@
|
|||||||
|
local items = {}
|
||||||
|
|
||||||
|
if mods and mods['aai-industry'] then
|
||||||
|
items['item']['industrial-furnace'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'aai-industry',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'industrial-furnace',
|
||||||
|
ref_name = 'industrial-furnace',
|
||||||
|
tech = 'industrial-furnace',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['fuel-processor'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'aai-industry',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'fuel-processor',
|
||||||
|
ref_name = 'fuel-processor',
|
||||||
|
tech = 'fuel-processing',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods and (mods['aai-industry'] or mods['big-mining-drill']) then
|
||||||
|
items['item']['area-mining-drill'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = (mods['big-mining-drill'] and 'big-mining-drill') or 'aai-industry',
|
||||||
|
type = 'mining-drill',
|
||||||
|
name = 'area-mining-drill',
|
||||||
|
ref_name = 'area-mining-drill',
|
||||||
|
tech = 'area-mining-drill',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods and mods['space-exploration'] then
|
||||||
|
items['item']['se-space-assembling-machine'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-assembling-machine',
|
||||||
|
ref_name = 'se-space-assembling-machine',
|
||||||
|
tech = 'se-space-assembling',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-manufactory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-manufactory',
|
||||||
|
ref_name = 'se-space-manufactory',
|
||||||
|
tech = 'se-space-manufactory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-casting-machine'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-casting-machine',
|
||||||
|
ref_name = 'se-casting-machine',
|
||||||
|
tech = 'se-pyroflux-smelting',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-pulveriser'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-pulveriser',
|
||||||
|
ref_name = 'se-pulveriser',
|
||||||
|
tech = 'se-pulveriser',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-lifesupport-facility'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-lifesupport-facility',
|
||||||
|
ref_name = 'se-lifesupport-facility',
|
||||||
|
tech = 'se-lifesupport-facility',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-fuel-refinery'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-fuel-refinery',
|
||||||
|
ref_name = 'se-fuel-refinery',
|
||||||
|
tech = 'se-fuel-refining',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-decontamination-facility'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-decontamination-facility',
|
||||||
|
ref_name = 'se-space-decontamination-facility',
|
||||||
|
tech = 'se-space-decontamination-facility',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-genetics-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-genetics-laboratory',
|
||||||
|
ref_name = 'se-space-genetics-laboratory',
|
||||||
|
tech = 'se-space-genetics-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-growth-facility'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-growth-facility',
|
||||||
|
ref_name = 'se-space-growth-facility',
|
||||||
|
tech = 'se-space-growth-facility',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-biochemical-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-biochemical-laboratory',
|
||||||
|
ref_name = 'se-space-biochemical-laboratory',
|
||||||
|
tech = 'se-space-biochemical-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-radiation-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-radiation-laboratory',
|
||||||
|
ref_name = 'se-space-radiation-laboratory',
|
||||||
|
tech = 'se-space-radiation-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-electromagnetics-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-electromagnetics-laboratory',
|
||||||
|
ref_name = 'se-space-electromagnetics-laboratory',
|
||||||
|
tech = 'se-space-electromagnetics-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-laser-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-laser-laboratory',
|
||||||
|
ref_name = 'se-space-laser-laboratory',
|
||||||
|
tech = 'se-space-laser-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-astrometrics-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-astrometrics-laboratory',
|
||||||
|
ref_name = 'se-space-astrometrics-laboratory',
|
||||||
|
tech = 'se-space-astrometrics-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-gravimetrics-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-gravimetrics-laboratory',
|
||||||
|
ref_name = 'se-space-gravimetrics-laboratory',
|
||||||
|
tech = 'se-space-gravimetrics-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-mechanical-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-mechanical-laboratory',
|
||||||
|
ref_name = 'se-space-mechanical-laboratory',
|
||||||
|
tech = 'se-space-mechanical-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-thermodynamics-laboratory'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-thermodynamics-laboratory',
|
||||||
|
ref_name = 'se-space-thermodynamics-laboratory',
|
||||||
|
tech = 'se-space-thermodynamics-laboratory',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-material-fabricator'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-material-fabricator',
|
||||||
|
ref_name = 'se-space-material-fabricator',
|
||||||
|
tech = 'se-space-material-fabricator',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-particle-accelerator'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-particle-accelerator',
|
||||||
|
ref_name = 'se-space-particle-accelerator',
|
||||||
|
tech = 'se-space-particle-accelerator',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-particle-collider'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-particle-collider',
|
||||||
|
ref_name = 'se-space-particle-collider',
|
||||||
|
tech = 'se-space-particle-collider',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-plasma-generator'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-plasma-generator',
|
||||||
|
ref_name = 'se-space-plasma-generator',
|
||||||
|
tech = 'se-space-plasma-generator',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-hypercooler'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-hypercooler',
|
||||||
|
ref_name = 'se-space-hypercooler',
|
||||||
|
tech = 'se-space-hypercooling-1',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-radiator'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-telescope'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-telescope',
|
||||||
|
ref_name = 'se-space-telescope',
|
||||||
|
tech = 'se-space-telescope',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-telescope-gammaray'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-telescope-gammaray',
|
||||||
|
ref_name = 'se-space-telescope-gammaray',
|
||||||
|
tech = 'se-space-telescope-gammaray',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-telescope-microwave'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-telescope-microwave',
|
||||||
|
ref_name = 'se-space-telescope-microwave',
|
||||||
|
tech = 'se-space-telescope-microwave',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-telescope-radio'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-telescope-radio',
|
||||||
|
ref_name = 'se-space-telescope-radio',
|
||||||
|
tech = 'se-space-telescope-radio',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-telescope-xray'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'assembling-machine',
|
||||||
|
name = 'se-space-telescope-xray',
|
||||||
|
ref_name = 'se-space-telescope-xray',
|
||||||
|
tech = 'se-space-telescope-xray',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['item']['se-space-science-lab'] = {
|
||||||
|
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
||||||
|
stage = 2,
|
||||||
|
mod = 'space-exploration',
|
||||||
|
type = 'lab',
|
||||||
|
name = 'se-space-science-lab',
|
||||||
|
ref_name = 'se-space-science-lab',
|
||||||
|
tech = 'se-space-science-lab',
|
||||||
|
min = 2,
|
||||||
|
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
||||||
|
}
|
||||||
|
|
||||||
|
items['equipment']['fission-reactor-equipment'].tech = 'se-rtg-equipment'
|
||||||
|
items['equipment']['fission-reactor-equipment'].base_name = 'se-rtg'
|
||||||
|
|
||||||
|
items['equipment']['battery-equipment'].tech = 'battery-equipment'
|
||||||
|
items['equipment']['battery-equipment'].min = 2
|
||||||
|
|
||||||
|
items['equipment']['energy-shield-equipment'].tech = 'energy-shield-equipment'
|
||||||
|
items['equipment']['energy-shield-equipment'].min = 2
|
||||||
|
|
||||||
|
items['equipment']['personal-roboport-equipment'].tech = 'personal-roboport-equipment'
|
||||||
|
items['equipment']['personal-roboport-equipment'].min = 2
|
||||||
|
end
|
||||||
|
|
||||||
|
return items
|
||||||
@@ -790,418 +790,4 @@ if mods and mods['quality'] then
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
if mods and mods['aai-industry'] then
|
|
||||||
items['item']['industrial-furnace'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'aai-industry',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'industrial-furnace',
|
|
||||||
ref_name = 'industrial-furnace',
|
|
||||||
tech = 'industrial-furnace',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['fuel-processor'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'aai-industry',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'fuel-processor',
|
|
||||||
ref_name = 'fuel-processor',
|
|
||||||
tech = 'fuel-processing',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
if mods and (mods['aai-industry'] or mods['big-mining-drill']) then
|
|
||||||
items['item']['area-mining-drill'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = (mods['big-mining-drill'] and 'big-mining-drill') or 'aai-industry',
|
|
||||||
type = 'mining-drill',
|
|
||||||
name = 'area-mining-drill',
|
|
||||||
ref_name = 'area-mining-drill',
|
|
||||||
tech = 'area-mining-drill',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
if mods and mods['space-exploration'] then
|
|
||||||
items['item']['se-space-solar-panel'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-ENERGY'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'solar-panel',
|
|
||||||
name = 'se-space-solar-panel',
|
|
||||||
ref_name = 'se-space-solar-panel',
|
|
||||||
tech = 'compound-energy',
|
|
||||||
min = 4,
|
|
||||||
max = settings.startup['PHI-MB-ENERGY-POWER-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-assembling-machine'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-assembling-machine',
|
|
||||||
ref_name = 'se-space-assembling-machine',
|
|
||||||
tech = 'se-space-assembling',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-manufactory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-manufactory',
|
|
||||||
ref_name = 'se-space-manufactory',
|
|
||||||
tech = 'se-space-manufactory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-casting-machine'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-casting-machine',
|
|
||||||
ref_name = 'se-casting-machine',
|
|
||||||
tech = 'se-pyroflux-smelting',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-pulveriser'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-pulveriser',
|
|
||||||
ref_name = 'se-pulveriser',
|
|
||||||
tech = 'se-pulveriser',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-lifesupport-facility'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-lifesupport-facility',
|
|
||||||
ref_name = 'se-lifesupport-facility',
|
|
||||||
tech = 'se-lifesupport-facility',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-fuel-refinery'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-fuel-refinery',
|
|
||||||
ref_name = 'se-fuel-refinery',
|
|
||||||
tech = 'se-fuel-refining',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-decontamination-facility'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-decontamination-facility',
|
|
||||||
ref_name = 'se-space-decontamination-facility',
|
|
||||||
tech = 'se-space-decontamination-facility',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-genetics-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-genetics-laboratory',
|
|
||||||
ref_name = 'se-space-genetics-laboratory',
|
|
||||||
tech = 'se-space-genetics-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-growth-facility'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-growth-facility',
|
|
||||||
ref_name = 'se-space-growth-facility',
|
|
||||||
tech = 'se-space-growth-facility',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-biochemical-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-biochemical-laboratory',
|
|
||||||
ref_name = 'se-space-biochemical-laboratory',
|
|
||||||
tech = 'se-space-biochemical-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-radiation-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-radiation-laboratory',
|
|
||||||
ref_name = 'se-space-radiation-laboratory',
|
|
||||||
tech = 'se-space-radiation-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-electromagnetics-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-electromagnetics-laboratory',
|
|
||||||
ref_name = 'se-space-electromagnetics-laboratory',
|
|
||||||
tech = 'se-space-electromagnetics-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-laser-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-laser-laboratory',
|
|
||||||
ref_name = 'se-space-laser-laboratory',
|
|
||||||
tech = 'se-space-laser-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-astrometrics-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-astrometrics-laboratory',
|
|
||||||
ref_name = 'se-space-astrometrics-laboratory',
|
|
||||||
tech = 'se-space-astrometrics-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-gravimetrics-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-gravimetrics-laboratory',
|
|
||||||
ref_name = 'se-space-gravimetrics-laboratory',
|
|
||||||
tech = 'se-space-gravimetrics-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-mechanical-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-mechanical-laboratory',
|
|
||||||
ref_name = 'se-space-mechanical-laboratory',
|
|
||||||
tech = 'se-space-mechanical-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-thermodynamics-laboratory'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-thermodynamics-laboratory',
|
|
||||||
ref_name = 'se-space-thermodynamics-laboratory',
|
|
||||||
tech = 'se-space-thermodynamics-laboratory',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-material-fabricator'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-material-fabricator',
|
|
||||||
ref_name = 'se-space-material-fabricator',
|
|
||||||
tech = 'se-space-material-fabricator',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-particle-accelerator'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-particle-accelerator',
|
|
||||||
ref_name = 'se-space-particle-accelerator',
|
|
||||||
tech = 'se-space-particle-accelerator',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-particle-collider'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-particle-collider',
|
|
||||||
ref_name = 'se-space-particle-collider',
|
|
||||||
tech = 'se-space-particle-collider',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-plasma-generator'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-plasma-generator',
|
|
||||||
ref_name = 'se-space-plasma-generator',
|
|
||||||
tech = 'se-space-plasma-generator',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-hypercooler'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-hypercooler',
|
|
||||||
ref_name = 'se-space-hypercooler',
|
|
||||||
tech = 'se-space-hypercooling-1',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-radiator'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-telescope'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-telescope',
|
|
||||||
ref_name = 'se-space-telescope',
|
|
||||||
tech = 'se-space-telescope',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-telescope-gammaray'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-telescope-gammaray',
|
|
||||||
ref_name = 'se-space-telescope-gammaray',
|
|
||||||
tech = 'se-space-telescope-gammaray',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-telescope-microwave'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-telescope-microwave',
|
|
||||||
ref_name = 'se-space-telescope-microwave',
|
|
||||||
tech = 'se-space-telescope-microwave',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-telescope-radio'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-telescope-radio',
|
|
||||||
ref_name = 'se-space-telescope-radio',
|
|
||||||
tech = 'se-space-telescope-radio',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-telescope-xray'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'assembling-machine',
|
|
||||||
name = 'se-space-telescope-xray',
|
|
||||||
ref_name = 'se-space-telescope-xray',
|
|
||||||
tech = 'se-space-telescope-xray',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['item']['se-space-science-lab'] = {
|
|
||||||
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,
|
|
||||||
stage = 2,
|
|
||||||
mod = 'space-exploration',
|
|
||||||
type = 'lab',
|
|
||||||
name = 'se-space-science-lab',
|
|
||||||
ref_name = 'se-space-science-lab',
|
|
||||||
tech = 'se-space-science-lab',
|
|
||||||
min = 2,
|
|
||||||
max = settings.startup['PHI-MB-MACHINE-TIER'].value
|
|
||||||
}
|
|
||||||
|
|
||||||
items['equipment']['fission-reactor-equipment'].tech = 'se-rtg-equipment'
|
|
||||||
items['equipment']['fission-reactor-equipment'].base_name = 'se-rtg'
|
|
||||||
|
|
||||||
items['equipment']['battery-equipment'].tech = 'battery-equipment'
|
|
||||||
items['equipment']['battery-equipment'].min = 2
|
|
||||||
|
|
||||||
items['equipment']['energy-shield-equipment'].tech = 'energy-shield-equipment'
|
|
||||||
items['equipment']['energy-shield-equipment'].min = 2
|
|
||||||
|
|
||||||
items['equipment']['personal-roboport-equipment'].tech = 'personal-roboport-equipment'
|
|
||||||
items['equipment']['personal-roboport-equipment'].min = 2
|
|
||||||
end
|
|
||||||
|
|
||||||
return items
|
return items
|
||||||
|
|||||||
@@ -1,7 +1,22 @@
|
|||||||
local items = require 'config'
|
local param = require 'config'
|
||||||
|
local items = require 'config-updates'
|
||||||
local main = require 'main'
|
local main = require 'main'
|
||||||
local file_stage = 2
|
local file_stage = 2
|
||||||
|
|
||||||
|
if settings.startup['PHI-MB'].value then
|
||||||
|
if settings.startup['PHI-MB-ENERGY'].value then
|
||||||
|
require 'data.u.mbe'
|
||||||
|
end
|
||||||
|
|
||||||
|
if settings.startup['PHI-MB-MACHINE'].value then
|
||||||
|
require 'data.u.mbm'
|
||||||
|
end
|
||||||
|
|
||||||
|
if settings.startup['PHI-MB-EQUIPMENT'].value then
|
||||||
|
require 'data.u.mbq'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value and settings.startup['PHI-MB-MACHINE-TIER'].value > 1 then
|
if settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value and settings.startup['PHI-MB-MACHINE-TIER'].value > 1 then
|
||||||
for i = 4, settings.startup['PHI-MB-MACHINE-TIER'].value + 2 do
|
for i = 4, settings.startup['PHI-MB-MACHINE-TIER'].value + 2 do
|
||||||
data.raw['assembling-machine']['assembling-machine-' .. i].localised_name = {'phi-cl.combine', {'?', {'entity-name.assembling-machine'}, {'name.assembling-machine'}}, tostring(i)}
|
data.raw['assembling-machine']['assembling-machine-' .. i].localised_name = {'phi-cl.combine', {'?', {'entity-name.assembling-machine'}, {'name.assembling-machine'}}, tostring(i)}
|
||||||
@@ -14,7 +29,7 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
|||||||
item.name = 'super-combinator'
|
item.name = 'super-combinator'
|
||||||
item.place_result = item.name
|
item.place_result = item.name
|
||||||
item.order = 'c[combinators]-e[super-combinator]'
|
item.order = 'c[combinators]-e[super-combinator]'
|
||||||
item.icons = {{icon = '__base__/graphics/icons/constant-combinator.png', tint = items['tint'][2], icon_size = 64, icon_mipmaps = 4}}
|
item.icons = {{icon = '__base__/graphics/icons/constant-combinator.png', tint = param['tint'][2], icon_size = 64, icon_mipmaps = 4}}
|
||||||
item.icon = nil
|
item.icon = nil
|
||||||
item.icon_size = nil
|
item.icon_size = nil
|
||||||
item.icon_mipmaps = nil
|
item.icon_mipmaps = nil
|
||||||
@@ -87,7 +102,7 @@ if mods['space-exploration'] and settings.startup['PHI-MB'].value and settings.s
|
|||||||
item.name = 'se-core-miner-drill-' .. i
|
item.name = 'se-core-miner-drill-' .. i
|
||||||
item.place_result = miner_name
|
item.place_result = miner_name
|
||||||
item.order = 'zzzz-core-miner-drill-' .. i
|
item.order = 'zzzz-core-miner-drill-' .. i
|
||||||
item.icons = {{icon = '__space-exploration-graphics__/graphics/icons/core-miner.png', tint = items['tint'][i], icon_size = 64}}
|
item.icons = {{icon = '__space-exploration-graphics__/graphics/icons/core-miner.png', tint = param['tint'][i], icon_size = 64}}
|
||||||
item.icon = nil
|
item.icon = nil
|
||||||
item.icon_size = nil
|
item.icon_size = nil
|
||||||
item.localised_name = {'phi-cl.combine', {'entity-name.se-core-miner-drill'}, tostring(i)}
|
item.localised_name = {'phi-cl.combine', {'entity-name.se-core-miner-drill'}, tostring(i)}
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ local file_stage = 1
|
|||||||
|
|
||||||
if settings.startup['PHI-MB'].value then
|
if settings.startup['PHI-MB'].value then
|
||||||
if settings.startup['PHI-MB-ENERGY'].value then
|
if settings.startup['PHI-MB-ENERGY'].value then
|
||||||
require 'data.mbe'
|
require 'data.b.mbe'
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-MB-MACHINE'].value then
|
if settings.startup['PHI-MB-MACHINE'].value then
|
||||||
require 'data.mbm'
|
require 'data.b.mbm'
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-MB-EQUIPMENT'].value then
|
if settings.startup['PHI-MB-EQUIPMENT'].value then
|
||||||
require 'data.mbq'
|
require 'data.b.mbq'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -80,15 +80,4 @@ return {
|
|||||||
tech = 'heating-tower',
|
tech = 'heating-tower',
|
||||||
max = math.min(settings.startup['PHI-MB-ENERGY-POWER-TIER'].value, 5)
|
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 param = require 'config'
|
||||||
local main = require 'main'
|
local main = require 'main'
|
||||||
local items = require 'mbe-config'
|
local items = require 'mbe-c'
|
||||||
|
|
||||||
-- MBE C 1 BASE FLUID
|
-- 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
|
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
|
end
|
||||||
|
|
||||||
|
-- MBE A 38 BASE ENTITY,RECIPE,RESEARCH_EFFECT
|
||||||
|
-- MBE A 12 SPACE_AGE ENTITY,RECIPE,RESEARCH_EFFECT
|
||||||
for _, v in pairs(items) do
|
for _, v in pairs(items) do
|
||||||
if v.enabled and (v.max >= v.min) then
|
if v.enabled and (v.max >= v.min) then
|
||||||
v.mod = v.mod or 'base'
|
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