From 74d81f42f3f651849768a9afc6aea7e5bab9fc6c Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 5 Jun 2026 14:56:18 +0900 Subject: [PATCH] . --- PHI-CL/changelog.txt | 2 ++ PHI-CL/data/b/mbq-c.lua | 40 ++++++++++++++++++++-------------------- PHI-CL/settings.lua | 2 +- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 266b73b..a4daeef 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -5,6 +5,8 @@ Date: 2026-06-21 Changes: - [GM] Generic code layout restructure. - [MB] Dropped support for AAI, SE. + - [MB] Reduced MBE settings. + - [MB] Reduced MBQ settings. --------------------------------------------------------------------------------------------------- Version: 3.0.144 diff --git a/PHI-CL/data/b/mbq-c.lua b/PHI-CL/data/b/mbq-c.lua index 5c742a5..cbb5d1c 100644 --- a/PHI-CL/data/b/mbq-c.lua +++ b/PHI-CL/data/b/mbq-c.lua @@ -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) } } diff --git a/PHI-CL/settings.lua b/PHI-CL/settings.lua index 851d9b0..121b2bf 100644 --- a/PHI-CL/settings.lua +++ b/PHI-CL/settings.lua @@ -45,7 +45,7 @@ data:extend({ minimum_value = 1, maximum_value = 8, localised_name = {'phi-cl.setting-category-color', 'MBQ', {'phi-cl.enable'}, {'mod-setting-name.PHI-MB-EQUIPMENT'}}, - localised_description = {'', '[item=personal-laser-defense-equipment]', {'phi-cl.setting-change-color', '\n[168] A168'}}, + localised_description = {'', '[item=personal-laser-defense-equipment]', {'phi-cl.setting-change-color', '\n[63] A63'}}, order = 'AC00' }, { type = 'bool-setting',