This commit is contained in:
2026-07-01 18:46:04 +09:00
parent c5fe9fa5c9
commit 70d1ec6e74
2 changed files with 11 additions and 24 deletions
+2
View File
@@ -279,7 +279,9 @@ end
for _, v in pairs(items) do
v.mod = v.mod or 'base'
v.min = v.min or 2
v.max = v.max or math.min(tonumber(settings.startup['PHI-MB-ENERGY'].value) or 1, 3)
v.ref_name = v.ref_name or v.name
v.type = v.type or v.name
if (v.mod and mods[v.mod]) and (v.max >= v.min) and data.raw[v.type] and data.raw[v.type][v.ref_name] and not data.raw[v.type][v.ref_name].hidden then
v.category = v.category or 'item'