Make ItemWithLabel::label accept LocalisedString
Posted: Mon Nov 02, 2020 2:21 pm
I have a tool that is used by holding it in the cursor. I'd like to use its label to provide feedback to the user, but it only supports strings, not LocalisedString. This would be fine for, say, numeric feedback, but I want it to say "no signal" under certain circumstances and I can't do that in a localised manner.
My current workaround is to just have it periodically pop up flying text over the player, which works but it could be much better.
My current workaround is to just have it periodically pop up flying text over the player, which works but it could be much better.