Specifically, in base/data-updates.lua, line 59:
Code: Select all
local side_tint = util.table.deepcopy(fluid.base_color)
side_tint.a = side_alpha
local top_hoop_tint = util.table.deepcopy(fluid.flow_color)
top_hoop_tint.a = top_hoop_alpha
Code: Select all
22.741 Warning PrototypeLoader.cpp:205: Value ROOT.recipe.fill-DimensionalFluid-barrel.icons[1].tint.1 was not used.
22.741 Warning PrototypeLoader.cpp:205: Value ROOT.recipe.fill-DimensionalFluid-barrel.icons[1].tint.2 was not used.
22.741 Warning PrototypeLoader.cpp:205: Value ROOT.recipe.fill-DimensionalFluid-barrel.icons[1].tint.3 was not used.
58: local function generate_barrel_item_icons(fluid, empty_barrel_item)
115: local function generate_fill_barrel_icons(fluid)
158: local function generate_empty_barrel_icons(fluid)
A small patch would work, though isn't 100% correct. If the logic above is replaced with:
Code: Select all
local base_color = fluid.base_color
local side_tint = {
r = base_color.r or base_color[1],
g = base_color.g or base_color[2],
b = base_color.b or base_color[3],
a = side_alpha
}
local flow_color = fluid.flow_color
local top_hoop_tint = {
r = flow_color.r or flow_color[1],
g = flow_color.g or flow_color[2],
b = flow_color.b or flow_color[3],
a = top_hoop_alpha
}