This commit is contained in:
2026-03-19 20:22:11 +09:00
parent 37ef277789
commit 5ead61f7af
5 changed files with 39 additions and 24 deletions

View File

@@ -69,5 +69,21 @@ return {
max = settings.startup['PHI-MB-EQUIPMENT-TIER'].value,
base = 30,
graphics_name = 'solar-panel-equipment'
},
-- MBQ A 7 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-TIER'].value
},
-- MBQ A 1 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-TIER'].value) or 1, 2)
}
}

View File

@@ -100,6 +100,7 @@ if settings.startup['PHI-MB-EQUIPMENT-ARMOR'].value then
end
-- MBQ A 48 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
-- MBQ A 8 SPACE_AGE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
for _, v in pairs(items) do
v.mod = v.mod or 'base'
v.min = v.min or 2

View File

@@ -0,0 +1,2 @@
return {
}

View File

@@ -0,0 +1,20 @@
local main = require 'main'
local items = require 'mbq-c'
-- MBQ A 48 BASE ARMOR_EQUIPMENT,RECIPE,RESEARCH_EFFECT
for _, v in pairs(items) do
v.mod = v.mod or 'base'
v.min = v.min or 2
if v.enabled and (v.mod and mods[v.mod]) and (v.max >= v.min) then
v.category = 'equipment'
v.ref_name = v.ref_name or v.name .. '-equipment'
for j=v.min, v.max, 1 do
main.EEQ(v, j)
main.EI(v, j)
main.ER(v, j)
main.ET(v, j)
end
end
end