This commit is contained in:
2026-06-05 17:37:46 +09:00
parent 3df0aa5e6b
commit 24ced28019
5 changed files with 47 additions and 44 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ for _, v in pairs(items) do
v.mod = v.mod or 'base'
v.min = v.min or 2
if (v.mod and mods[v.mod]) and (v.max >= v.min) then
if (v.mod and mods[v.mod]) and (v.max >= v.min) and data.raw[v.type] and data.raw[v.type][v.name] and not data.raw[v.type][v.name].hidden then
v.category = v.category or 'item'
v.ref_name = v.ref_name or v.name
v.tech = v.tech or 'compound-energy'