mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -764,7 +764,8 @@ end
|
|||||||
if items['tooltip'] and data.raw.item then
|
if items['tooltip'] and data.raw.item then
|
||||||
for k, v in pairs(items['tooltip']) do
|
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
|
if v.type and v.color and data.raw[v.type] and data.raw[v.type][k] then
|
||||||
data.raw[v.type][k].localised_name = {'phi-cl.combine', {'item-name.' .. k}, {'phi-cl.combine', '[virtual-signal=signal-' .. v.color .. ']', {'virtual-signal-name.signal-' .. v.color}}}
|
-- {'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 .. ']'}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user