This commit is contained in:
2026-06-17 22:00:20 +09:00
parent a6c0c391db
commit 8259d8abf4
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ local items = {
}, },
['production-science-pack'] = { ['production-science-pack'] = {
type = 'tool', type = 'tool',
color = 'purple' color = 'pink'
}, },
['utility-science-pack'] = { ['utility-science-pack'] = {
type = 'tool', type = 'tool',
@@ -137,7 +137,7 @@ local items = {
}, },
['active-provider-chest'] = { ['active-provider-chest'] = {
type = 'logistic-container', type = 'logistic-container',
color = 'purple' color = 'pink'
}, },
['inserter'] = { ['inserter'] = {
type = 'inserter', type = 'inserter',
+2 -1
View File
@@ -703,8 +703,9 @@ 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
local custom_tooltip = { local custom_tooltip = {
name = k .. '-signal-color', name = '[virtual-signal=signal-info]',
value = '[virtual-signal=signal-' .. v.color .. ']', value = '[virtual-signal=signal-' .. v.color .. ']',
order = 99,
} }
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