This commit is contained in:
2026-03-19 21:34:04 +09:00
parent 5ead61f7af
commit 43e0453d08
3 changed files with 8 additions and 29 deletions

View File

@@ -1,17 +1 @@
local items = {}
if mods and mods['space-exploration'] then
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

View File

@@ -369,12 +369,6 @@ local items = {
} }
} }
if mods and mods['space-age'] then
items['equipment']['battery-equipment'].ref_name = 'battery-mk3-equipment'
items['equipment']['battery-equipment'].tech = 'battery-mk3-equipment'
items['equipment']['battery-equipment'].min = 4
end
if mods and mods['quality'] then if mods and mods['quality'] then
items['item']['recycler'] = { items['item']['recycler'] = {
enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value, enabled = settings.startup['PHI-MB'].value and settings.startup['PHI-MB-MACHINE'].value,

View File

@@ -3,9 +3,9 @@ return {
['battery-equipment'] = { ['battery-equipment'] = {
type = 'battery-equipment', type = 'battery-equipment',
name = 'battery', name = 'battery',
ref_name = 'battery-mk2-equipment', ref_name = (mods['space-age'] and 'battery-mk3-equipment') or 'battery-mk2-equipment',
tech = 'battery-mk2-equipment', tech = (mods['space-age'] and 'battery-mk3-equipment') or (mods['space-exploration'] and 'battery-equipment') or 'battery-mk2-equipment',
min = 3, min = (mods['space-age'] and 4) or (mods['space-exploration'] and 2) or 3,
max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value
}, },
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT -- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
@@ -19,9 +19,9 @@ return {
['energy-shield-equipment'] = { ['energy-shield-equipment'] = {
type = 'energy-shield-equipment', type = 'energy-shield-equipment',
name = 'energy-shield', name = 'energy-shield',
ref_name = 'energy-shield-mk2-equipment', ref_name = (mods['space-exploration'] and 'energy-shield-equipment') or 'energy-shield-mk2-equipment',
tech = 'energy-shield-mk2-equipment', tech = 'energy-shield-mk2-equipment',
min = 3, min = (mods['space-exploration'] and 2) or 3,
max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value
}, },
-- MBQ A 1 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT -- MBQ A 1 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
@@ -35,6 +35,7 @@ return {
['fission-reactor-equipment'] = { ['fission-reactor-equipment'] = {
type = 'generator-equipment', type = 'generator-equipment',
name = 'fission-reactor', name = 'fission-reactor',
ref_name = (mods['space-exploration'] and 'se-rtg-equipment') or 'fission-reactor-equipment',
tech = 'fission-reactor-equipment', tech = 'fission-reactor-equipment',
max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value
}, },
@@ -57,8 +58,8 @@ return {
type = 'roboport-equipment', type = 'roboport-equipment',
name = 'personal-roboport', name = 'personal-roboport',
ref_name = 'personal-roboport-mk2-equipment', ref_name = 'personal-roboport-mk2-equipment',
tech = 'personal-roboport-mk2-equipment', tech = (mods['space-exploration'] and 'personal-roboport-equipment') or 'personal-roboport-mk2-equipment',
min = 3, min = (mods['space-exploration'] and 2) or 3,
max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value
}, },
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT -- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT