This commit is contained in:
2026-06-17 22:36:50 +09:00
parent 3e39d27f27
commit 5fe6f4d4e0
-2
View File
@@ -715,7 +715,6 @@ if items['tooltip'] and data.raw.item then
table.insert(data.raw[v.type][k].custom_tooltip_fields, custom_tooltip) table.insert(data.raw[v.type][k].custom_tooltip_fields, custom_tooltip)
end end
--[[
if v.color and data.raw.recipe[k] then if v.color and data.raw.recipe[k] then
if not data.raw.recipe[k].custom_tooltip_fields then if not data.raw.recipe[k].custom_tooltip_fields then
data.raw.recipe[k].custom_tooltip_fields = {} data.raw.recipe[k].custom_tooltip_fields = {}
@@ -723,6 +722,5 @@ if items['tooltip'] and data.raw.item then
table.insert(data.raw.recipe[k].custom_tooltip_fields, custom_tooltip) table.insert(data.raw.recipe[k].custom_tooltip_fields, custom_tooltip)
end end
]]
end end
end end