mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 21:53:12 +09:00
.
This commit is contained in:
1 parent
135f922730
commit
47e282e48d
2 files changed
+9
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user