Since it's on the Prototype I would've expected it to work on at least the major four (Items, Entities, Recipes, and Technologies).
I can concede it maybe not showing up on Technologies, but Recipes seems like an oversight.
Sample code snippet:
Code: Select all
local custom_tooltips = {
{
name = "TEST TOOLTIP",
value = "SHOULD SHOW UP"
}
}
data.raw["item"]["iron-plate"].custom_tooltip_fields = custom_tooltips
data.raw["recipe"]["basic-oil-processing"].custom_tooltip_fields = custom_tooltips
data.raw["technology"]["oil-processing"].custom_tooltip_fields = custom_tooltips
local custom_description = "TEST DESCRIPTION: SHOULD SHOW UP"
data.raw["item"]["iron-plate"].localised_description = custom_description
data.raw["recipe"]["basic-oil-processing"].localised_description = custom_description
data.raw["technology"]["oil-processing"].localised_description = custom_description