From 37fc01531c739ef9ad1c5abd81da343a8ace6b90 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 1 Jul 2026 19:48:37 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mig-c.lua | 6 +++--- PHI-CL/data/b/mig.lua | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/PHI-CL/data/b/mig-c.lua b/PHI-CL/data/b/mig-c.lua index eb28806..32ac6fb 100644 --- a/PHI-CL/data/b/mig-c.lua +++ b/PHI-CL/data/b/mig-c.lua @@ -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', diff --git a/PHI-CL/data/b/mig.lua b/PHI-CL/data/b/mig.lua index e05e01e..6ef641f 100644 --- a/PHI-CL/data/b/mig.lua +++ b/PHI-CL/data/b/mig.lua @@ -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