mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-20 21:53:12 +09:00
.
This commit is contained in:
1 parent
d4717e7463
commit
37fc01531c
2 files changed
+5
-6
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user