This commit is contained in:
2026-07-01 19:48:37 +09:00
parent d4717e7463
commit 37fc01531c
2 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -763,9 +763,8 @@ end
-- GM-VP C 9 SPACE_AGE ITEM
if items['tooltip'] and data.raw.item then
for k, v in pairs(items['tooltip']) do
if v.type and v.color and data.raw[v.type] and data.raw[v.type][k] then
-- {'phi-cl.combine', '[virtual-signal=signal-' .. v.color .. ']', {'virtual-signal-name.signal-' .. v.color}}
data.raw[v.type][k].localised_name = {'phi-cl.combine', {'?', {'item-name.' .. k}, {'entity-name.' .. k}}, '[virtual-signal=signal-' .. v.color .. ']'}
if data.raw[v.type] and data.raw[v.type][k] then
data.raw[v.type][k].localised_name = {'phi-cl.combine', {'?', {'item-name.' .. k}, {'entity-name.' .. k}}, {'phi-cl.combine', '[virtual-signal=signal-' .. v.color .. ']', {'virtual-signal-name.signal-' .. v.color}}}
end
end
end