mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user