Originally Posted by syncrow
Begun fixing the beacon bar part:
- Count display (fixed)
- Disabled "LeftClick" to prevent some annoying ContainerFrameItemButtonTemplate stuff working (we only want the click to use part here)
- Beacons are now sorted based on Quality > Count > Name
- Merged some functions together to make the code cleaner
By the way, searching for names rather than using predefined itemIDs like mentions in my first solution, will be an issue for non english clients
Except we want to handle each localization manually...
|
For localization we will ahve to do something like:
Code:
if name and name:find("Sentinax Beacon" or "Netherchunck") then
We also need to query other items, like nether shards and boss summon stones. This is going to require tables... bleh.
As for localization, we could simply search for local names, making our list, ostensibly, smaller, adding them to the table for Chinese, Russian, Portuguese, etc.
But you are correct that we wont have to worry about localization if we use item IDs.