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
+3 -3
View File
@@ -28,7 +28,7 @@ local items = {
}, },
['chemical-science-pack'] = { ['chemical-science-pack'] = {
type = 'item', type = 'item',
color = 'cyan' color = 'blue'
}, },
['production-science-pack'] = { ['production-science-pack'] = {
type = 'item', type = 'item',
@@ -129,7 +129,7 @@ local items = {
-- BASE ITEM 30 -- BASE ITEM 30
['requester-chest'] = { ['requester-chest'] = {
type = 'item', type = 'item',
color = 'red' color = 'blue'
}, },
['buffer-chest'] = { ['buffer-chest'] = {
type = 'item', type = 'item',
@@ -141,7 +141,7 @@ local items = {
}, },
['burner-inserter'] = { ['burner-inserter'] = {
type = 'item', type = 'item',
color = 'black' color = 'grey'
}, },
['inserter'] = { ['inserter'] = {
type = 'item', type = 'item',
+2 -3
View File
@@ -763,9 +763,8 @@ end
-- GM-VP C 9 SPACE_AGE ITEM -- GM-VP C 9 SPACE_AGE ITEM
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 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}}, {'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