From 77fc6ef92bf2dfd40300a1aa2bde5579a15037fe Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 17 Jun 2026 22:28:28 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mig.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PHI-CL/data/b/mig.lua b/PHI-CL/data/b/mig.lua index 5c4fc23..1921a07 100644 --- a/PHI-CL/data/b/mig.lua +++ b/PHI-CL/data/b/mig.lua @@ -703,7 +703,7 @@ if items['tooltip'] and data.raw.item then for k, v in pairs(items['tooltip']) do local custom_tooltip = { name = '[virtual-signal=signal-info]', - value = '[virtual-signal=signal-' .. v.color .. ']', + value = {'', '[virtual-signal=signal-' .. v.color .. ']', {'virtual-signal.signal-' .. v.color}}, order = 99, } @@ -715,6 +715,7 @@ if items['tooltip'] and data.raw.item then table.insert(data.raw[v.type][k].custom_tooltip_fields, custom_tooltip) end + --[[ if v.color and data.raw.recipe[k] then if not data.raw.recipe[k].custom_tooltip_fields then data.raw.recipe[k].custom_tooltip_fields = {} @@ -722,5 +723,6 @@ if items['tooltip'] and data.raw.item then table.insert(data.raw.recipe[k].custom_tooltip_fields, custom_tooltip) end + ]] end end