I want to change the texture of the control based on the title of the villager, however this doesn't work. I tried to bind the same binding to a text label, and it turns out it still prints the the title text that the vanilla UI shows, not the texture path I instructed to use.
"villager_sprite":{
"type":"image",
"anchor_from":"bottom_left",
"anchor_to":"bottom_left",
"size": [38,39],
"offset": [-2,7],
"bindings":[
{
"binding_name": "('textures/ui/trading/professions/' + (%12s * #name_label))",
"binding_name_override": "#texture"
}
]
},