mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -1,204 +0,0 @@
|
||||
local items = {
|
||||
['tooltip'] = {
|
||||
-- BASE ITEM 0
|
||||
['electronic-circuit'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['advanced-circuit'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['processing-unit'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['automation-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['logistic-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
-- BASE ITEM 5
|
||||
['military-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'grey'
|
||||
},
|
||||
['chemical-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['production-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'pink'
|
||||
},
|
||||
['utility-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
['space-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'white'
|
||||
},
|
||||
-- BASE ITEM 10
|
||||
['speed-module'] = {
|
||||
type = 'module',
|
||||
color = 'blue'
|
||||
},
|
||||
['speed-module-2'] = {
|
||||
type = 'module',
|
||||
color = 'blue'
|
||||
},
|
||||
['speed-module-3'] = {
|
||||
type = 'module',
|
||||
color = 'blue'
|
||||
},
|
||||
['efficiency-module'] = {
|
||||
type = 'module',
|
||||
color = 'green'
|
||||
},
|
||||
['efficiency-module-2'] = {
|
||||
type = 'module',
|
||||
color = 'green'
|
||||
},
|
||||
-- BASE ITEM 15
|
||||
['efficiency-module-3'] = {
|
||||
type = 'module',
|
||||
color = 'green'
|
||||
},
|
||||
['productivity-module'] = {
|
||||
type = 'module',
|
||||
color = 'yellow'
|
||||
},
|
||||
['productivity-module-2'] = {
|
||||
type = 'module',
|
||||
color = 'yellow'
|
||||
},
|
||||
['productivity-module-3'] = {
|
||||
type = 'module',
|
||||
color = 'yellow'
|
||||
},
|
||||
['transport-belt'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
-- BASE ITEM 20
|
||||
['fast-transport-belt'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['express-transport-belt'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['underground-belt'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
['fast-underground-belt'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['express-underground-belt'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
-- BASE ITEM 25
|
||||
['splitter'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
['fast-splitter'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['express-splitter'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['passive-provider-chest'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['storage-chest'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
-- BASE ITEM 30
|
||||
['requester-chest'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['buffer-chest'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['active-provider-chest'] = {
|
||||
type = 'item',
|
||||
color = 'pink'
|
||||
},
|
||||
['burner-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'grey'
|
||||
},
|
||||
['inserter'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
-- BASE ITEM 35
|
||||
['long-handed-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'red'
|
||||
},
|
||||
['fast-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['bulk-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
-- SPACE_AGE ITEM 0
|
||||
['metallurgic-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'yellow'
|
||||
},
|
||||
['agricultural-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['electromagnetic-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'pink'
|
||||
},
|
||||
['cryogenic-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'blue'
|
||||
},
|
||||
['promethium-science-pack'] = {
|
||||
type = 'item',
|
||||
color = 'black'
|
||||
},
|
||||
-- SPACE_AGE ITEM 5
|
||||
['turbo-transport-belt'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['turbo-underground-belt'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['turbo-splitter'] = {
|
||||
type = 'item',
|
||||
color = 'green'
|
||||
},
|
||||
['stack-inserter'] = {
|
||||
type = 'item',
|
||||
color = 'white'
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
return items
|
||||
@@ -753,13 +753,3 @@ if data.raw['wall'] then
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- GM-VP C 38 BASE ITEM
|
||||
-- GM-VP C 9 SPACE_AGE ITEM
|
||||
if items['tooltip'] and data.raw.item then
|
||||
for k, v in pairs(items['tooltip']) do
|
||||
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
|
||||
|
||||
+2
-2
@@ -73,7 +73,7 @@ data:extend({
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.setting-class-color', 'MI1', {'phi-cl.enable'}, {'mod-setting-name.PHI-MI-GENERIC'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[243] A117 C126'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[205] A117 C79'}},
|
||||
order = 'B01'
|
||||
}, {
|
||||
type = 'bool-setting',
|
||||
@@ -163,7 +163,7 @@ data:extend({
|
||||
setting_type = 'startup',
|
||||
default_value = false,
|
||||
localised_name = {'phi-cl.setting-category-color', 'CT', {'phi-cl.enable'}, {'mod-setting-name.PHI-CT'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[24] A19 C2 U3'}},
|
||||
localised_description = {'', {'phi-cl.setting-change-color', '[25] A19 C3 U3'}},
|
||||
order = 'E00'
|
||||
}, {
|
||||
type = 'string-setting',
|
||||
|
||||
Reference in New Issue
Block a user