UFO - Universal FlyOut

UFO - Universal FlyOut

1.3k Downloads

isUsable() requires proper localization of the word "toy"

ScottIngram opened this issue ยท 0 comments

commented

Because Bliz provides no API to identify if an itemId represents a toy I scan the tooltip for "toy" but my localization is incomplete and so it fails for German and certainly many others. This causes my code that tests if a thing is usable to incorrectly test toys as if they are items. So, all toys failed to pass.

Luckily Bliz provides a global variable TOY which contains the correct localized string for "toy"

And while I'm here, I completed a few localizations for a handful of languages.

thanks for the report, @tasimi