This commit is contained in:
2026-06-05 14:56:18 +09:00
parent 106e039d30
commit 74d81f42f3
3 changed files with 23 additions and 21 deletions
+20 -20
View File
@@ -1,43 +1,43 @@
return {
-- MBQ A 6 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['battery-equipment'] = {
type = 'battery-equipment',
name = 'battery',
ref_name = (mods['space-age'] and 'battery-mk3-equipment') or 'battery-mk2-equipment',
tech = (mods['space-age'] and 'battery-mk3-equipment') or 'battery-mk2-equipment',
min = (mods['space-age'] and 4) or 3,
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, (mods['space-age'] and 5) or 4)
},
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['discharge-defense-equipment'] = {
type = 'active-defense-equipment',
name = 'discharge-defense',
tech = 'discharge-defense-equipment',
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
},
-- MBQ A 6 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['energy-shield-equipment'] = {
type = 'energy-shield-equipment',
name = 'energy-shield',
ref_name = 'energy-shield-mk2-equipment',
tech = 'energy-shield-mk2-equipment',
min = 3,
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 4)
},
-- MBQ A 1 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['exoskeleton-equipment'] = {
type = 'movement-bonus-equipment',
name = 'exoskeleton',
tech = 'exoskeleton-equipment',
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 2)
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
},
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['fission-reactor-equipment'] = {
type = 'generator-equipment',
name = 'fission-reactor',
ref_name = 'fission-reactor-equipment',
tech = 'fission-reactor-equipment',
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
},
-- MBQ A 1 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['night-vision-equipment'] = {
@@ -46,45 +46,45 @@ return {
tech = 'night-vision-equipment',
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 2)
},
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['personal-laser-defense-equipment'] = {
type = 'active-defense-equipment',
name = 'personal-laser-defense',
tech = 'personal-laser-defense-equipment',
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
},
-- MBQ A 6 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['personal-roboport-equipment'] = {
type = 'roboport-equipment',
name = 'personal-roboport',
ref_name = 'personal-roboport-mk2-equipment',
tech = 'personal-roboport-mk2-equipment',
min = 3,
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 4)
},
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['solar-panel-equipment'] = {
type = 'solar-panel-equipment',
name = 'solar-panel',
tech = 'solar-panel-equipment',
max = settings.startup['PHI-MB-EQUIPMENT'].value,
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3),
base = 30,
graphics_name = 'solar-panel-equipment'
},
-- MBQ A 7 SPACE_AGE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 SPACE_AGE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['fusion-reactor-equipment'] = {
mod = 'space-age',
type = 'generator-equipment',
name = 'fusion-reactor',
tech = 'fusion-reactor-equipment',
max = settings.startup['PHI-MB-EQUIPMENT'].value
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
},
-- MBQ A 1 SPACE_AGE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 2 SPACE_AGE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
['toolbelt-equipment'] = {
mod = 'space-age',
type = 'inventory-bonus-equipment',
name = 'toolbelt',
tech = 'toolbelt-equipment',
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 2)
max = math.min(tonumber(settings.startup['PHI-MB-EQUIPMENT'].value) or 1, 3)
}
}