mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -28,7 +28,7 @@ local items = {
|
||||
},
|
||||
['chemical-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'cyan'
|
||||
color = 'blue'
|
||||
},
|
||||
['production-science-pack'] = {
|
||||
type = 'item',
|
||||
@@ -129,7 +129,7 @@ local items = {
|
||||
-- BASE ITEM 30
|
||||
['requester-chest'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
color = 'blue'
|
||||
},
|
||||
['buffer-chest'] = {
|
||||
type = 'item',
|
||||
@@ -141,7 +141,7 @@ local items = {
|
||||
},
|
||||
['burner-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'black'
|
||||
color = 'grey'
|
||||
},
|
||||
['inserter'] = {
|
||||
type = 'item',
|
||||
|
||||
@@ -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