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