mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -5,6 +5,8 @@ Date: 2026-06-21
|
|||||||
Changes:
|
Changes:
|
||||||
- [GM] Generic code layout restructure.
|
- [GM] Generic code layout restructure.
|
||||||
- [MB] Dropped support for AAI, SE.
|
- [MB] Dropped support for AAI, SE.
|
||||||
|
- [MB] Reduced MBE settings.
|
||||||
|
- [MB] Reduced MBQ settings.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.144
|
Version: 3.0.144
|
||||||
|
|||||||
+20
-20
@@ -1,43 +1,43 @@
|
|||||||
return {
|
return {
|
||||||
-- MBQ A 6 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
||||||
['battery-equipment'] = {
|
['battery-equipment'] = {
|
||||||
type = 'battery-equipment',
|
type = 'battery-equipment',
|
||||||
name = 'battery',
|
name = 'battery',
|
||||||
ref_name = (mods['space-age'] and 'battery-mk3-equipment') or 'battery-mk2-equipment',
|
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',
|
tech = (mods['space-age'] and 'battery-mk3-equipment') or 'battery-mk2-equipment',
|
||||||
min = (mods['space-age'] and 4) or 3,
|
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'] = {
|
['discharge-defense-equipment'] = {
|
||||||
type = 'active-defense-equipment',
|
type = 'active-defense-equipment',
|
||||||
name = 'discharge-defense',
|
name = 'discharge-defense',
|
||||||
tech = 'discharge-defense-equipment',
|
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'] = {
|
['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 = 'energy-shield-mk2-equipment',
|
||||||
tech = 'energy-shield-mk2-equipment',
|
tech = 'energy-shield-mk2-equipment',
|
||||||
min = 3,
|
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'] = {
|
['exoskeleton-equipment'] = {
|
||||||
type = 'movement-bonus-equipment',
|
type = 'movement-bonus-equipment',
|
||||||
name = 'exoskeleton',
|
name = 'exoskeleton',
|
||||||
tech = 'exoskeleton-equipment',
|
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'] = {
|
['fission-reactor-equipment'] = {
|
||||||
type = 'generator-equipment',
|
type = 'generator-equipment',
|
||||||
name = 'fission-reactor',
|
name = 'fission-reactor',
|
||||||
ref_name = 'fission-reactor-equipment',
|
ref_name = 'fission-reactor-equipment',
|
||||||
tech = '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
|
-- MBQ A 1 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
||||||
['night-vision-equipment'] = {
|
['night-vision-equipment'] = {
|
||||||
@@ -46,45 +46,45 @@ return {
|
|||||||
tech = 'night-vision-equipment',
|
tech = 'night-vision-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, 2)
|
||||||
},
|
},
|
||||||
-- MBQ A 7 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
-- MBQ A 2 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
|
||||||
['personal-laser-defense-equipment'] = {
|
['personal-laser-defense-equipment'] = {
|
||||||
type = 'active-defense-equipment',
|
type = 'active-defense-equipment',
|
||||||
name = 'personal-laser-defense',
|
name = 'personal-laser-defense',
|
||||||
tech = 'personal-laser-defense-equipment',
|
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'] = {
|
['personal-roboport-equipment'] = {
|
||||||
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 = 'personal-roboport-mk2-equipment',
|
||||||
min = 3,
|
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'] = {
|
['solar-panel-equipment'] = {
|
||||||
type = 'solar-panel-equipment',
|
type = 'solar-panel-equipment',
|
||||||
name = 'solar-panel',
|
name = 'solar-panel',
|
||||||
tech = 'solar-panel-equipment',
|
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,
|
base = 30,
|
||||||
graphics_name = 'solar-panel-equipment'
|
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'] = {
|
['fusion-reactor-equipment'] = {
|
||||||
mod = 'space-age',
|
mod = 'space-age',
|
||||||
type = 'generator-equipment',
|
type = 'generator-equipment',
|
||||||
name = 'fusion-reactor',
|
name = 'fusion-reactor',
|
||||||
tech = 'fusion-reactor-equipment',
|
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'] = {
|
['toolbelt-equipment'] = {
|
||||||
mod = 'space-age',
|
mod = 'space-age',
|
||||||
type = 'inventory-bonus-equipment',
|
type = 'inventory-bonus-equipment',
|
||||||
name = 'toolbelt',
|
name = 'toolbelt',
|
||||||
tech = 'toolbelt-equipment',
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ data:extend({
|
|||||||
minimum_value = 1,
|
minimum_value = 1,
|
||||||
maximum_value = 8,
|
maximum_value = 8,
|
||||||
localised_name = {'phi-cl.setting-category-color', 'MBQ', {'phi-cl.enable'}, {'mod-setting-name.PHI-MB-EQUIPMENT'}},
|
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'
|
order = 'AC00'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
|
|||||||
Reference in New Issue
Block a user