This commit is contained in:
2026-06-17 22:23:38 +09:00
parent 135f922730
commit 47e282e48d
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ local items = {
type = 'tool',
color = 'pink'
},
['cyrogenic-science-pack'] = {
['cryogenic-science-pack'] = {
type = 'tool',
color = 'blue'
},
+8
View File
@@ -714,5 +714,13 @@ 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 = {}
end
table.insert(data.raw.recipe[k].custom_tooltip_fields, custom_tooltip)
end
end
end